﻿@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@700;900&display=swap');

:root {
    --primary: #0F2027;
    --secondary: #203A43;
    --accent: #CFA670;
    --text-dark: #1A1A1A;
    --text-light: #F4F4F9;
    --bg-light: #FAFAFC;
    --border: #E0E0E0;
    --error: #D32F2F;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Pretendard', sans-serif; background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }

/* Typography */
h1, h2, h3 { font-family: 'Noto Serif KR', serif; word-break: keep-all; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.2; font-weight: 900; letter-spacing: -0.05em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--primary); margin-bottom: 1.5rem; }
p { font-size: 1.1rem; color: #555; }

/* Header */
header { position: fixed; top: 0; width: 100%; background: rgba(15, 32, 39, 0.95); backdrop-filter: blur(10px); z-index: 1000; padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(207, 166, 112, 0.2); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 700; font-size: 1.5rem; text-decoration: none; }
.logo img { height: 35px; }
nav ul { display: flex; gap: 2rem; list-style: none; }
nav a { color: var(--text-light); text-decoration: none; font-weight: 500; transition: color 0.3s; }
nav a:hover { color: var(--accent); }
.cta-btn { background: var(--accent); color: var(--primary); padding: 12px 24px; border-radius: 4px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: transform 0.3s; }
.cta-btn:hover { transform: translateY(-2px); }

/* Hero */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(to right, rgba(15,32,39,0.9), rgba(32,58,67,0.8)), url('hero-bg.jpg') center/cover; color: var(--text-light); padding: 0 5%; margin-top: 0; }
.hero p { color: #DDD; font-size: 1.2rem; max-width: 600px; margin: 1.5rem auto; }

/* Sections */
section { padding: 6rem 5%; }
.container { max-width: 1200px; margin: 0 auto; }

/* Random Section: Partners */
.partners { background: var(--primary); padding: 3rem 5%; text-align: center; }
.partners p { color: var(--text-light); margin-bottom: 1rem; font-size: 0.9rem; opacity: 0.7; }
.partner-logos { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; font-size: 2rem; color: rgba(255,255,255,0.3); }

/* About & Features (Asymmetric) */
.asymmetric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 4rem; }
.img-wrapper img { width: 100%; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); object-fit: cover; }
.feature-list { list-style: none; margin-top: 2rem; }
.feature-list li { margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 600; }
.feature-list i { color: var(--accent); }

/* FAQ */
.faq-wrap { max-width: 800px; margin: 0 auto; }
details { background: #FFF; margin-bottom: 1rem; padding: 1.5rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); cursor: pointer; border-left: 4px solid var(--accent); transition: background 0.3s; }
details summary { font-size: 1.2rem; font-weight: 700; list-style: none; outline: none; display: flex; justify-content: space-between; align-items: center; }
details summary::after { content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary); }
details[open] summary::after { content: '\f106'; }
details p { margin-top: 1rem; color: #666; font-size: 1rem; }

/* Form Section */
.form-section { background: var(--secondary); color: var(--text-light); }
.form-container { background: #FFF; color: var(--text-dark); border-radius: 12px; padding: 3rem; max-width: 800px; margin: 0 auto; box-shadow: 0 25px 50px rgba(0,0,0,0.2); position: relative; overflow: hidden; }
.step { display: none; animation: slideUp 0.5s ease; }
.step.active { display: block; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.step h3 { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--primary); }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.option-btn { padding: 1rem; border: 2px solid var(--border); border-radius: 8px; background: transparent; font-family: 'Pretendard'; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-align: left; display: flex; justify-content: space-between; }
.option-btn:hover, .option-btn.selected { border-color: var(--accent); background: rgba(207, 166, 112, 0.1); }
.range-wrap { margin: 2rem 0; }
input[type=range] { width: 100%; accent-color: var(--accent); }
.range-val { font-size: 2rem; font-weight: 800; color: var(--primary); margin-top: 1rem; text-align: center; }

/* Loader */
.loader-container { display: none; text-align: center; padding: 4rem 0; }
.spinner { width: 50px; height: 50px; border: 5px solid #f3f3f3; border-top: 5px solid var(--accent); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 2rem; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Final Form */
.input-group { margin-bottom: 1.5rem; text-align: left; }
.input-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.input-group input { width: 100%; padding: 1rem; border: 1px solid var(--border); border-radius: 4px; font-family: 'Pretendard'; font-size: 1rem; }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; margin-bottom: 1.5rem; }
.submit-btn { width: 100%; background: var(--primary); color: var(--text-light); font-size: 1.2rem; padding: 1rem; border: none; border-radius: 4px; font-weight: 700; cursor: pointer; transition: background 0.3s; }
.submit-btn:hover { background: var(--accent); }
.recaptcha-text { font-size: 0.75rem; color: #888; text-align: center; margin-top: 1rem; }
.success-message { display: none; text-align: center; padding: 3rem 0; }
.success-message i { font-size: 4rem; color: #4CAF50; margin-bottom: 1rem; }

/* Footer & Legal */
footer { background: var(--primary); color: #888; padding: 4rem 5% 2rem; font-size: 0.9rem; }
.footer-links { display: flex; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-links a { color: var(--accent); text-decoration: none; }
.company-info p { margin-bottom: 0.5rem; }
.trust-badges { display: flex; gap: 1rem; margin-top: 2rem; color: #555; font-size: 1.5rem; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: -100%; left: 0; width: 100%; background: #FFF; padding: 1.5rem 5%; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); display: flex; justify-content: space-between; align-items: center; z-index: 9999; transition: bottom 0.5s ease; border-top: 4px solid var(--accent); }
.cookie-banner.show { bottom: 0; }
.cookie-btns button { padding: 10px 20px; margin-left: 10px; border: none; border-radius: 4px; font-weight: 700; cursor: pointer; }
.btn-accept { background: var(--primary); color: #FFF; }
.btn-essential { background: #EEE; color: #333; }

/* Subpages Container */
.legal-page { padding-top: 100px; min-height: 80vh; background: var(--bg-light); }
.legal-card { background: #FFF; max-width: 900px; margin: 2rem auto; padding: 3rem; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.legal-card h1 { font-size: 2rem; color: var(--primary); margin-bottom: 2rem; font-family: 'Pretendard'; font-weight: 800; border-bottom: 2px solid var(--accent); padding-bottom: 10px; }
.legal-card h2 { font-size: 1.3rem; margin: 2rem 0 1rem; color: var(--secondary); font-family: 'Pretendard'; }
.legal-card p, .legal-card ul { margin-bottom: 1rem; color: #444; }
.legal-card ul { padding-left: 1.5rem; }

@media (max-width: 768px) {
    .asymmetric-grid { grid-template-columns: 1fr; gap: 2rem; }
    header nav { display: none; } /* Simplified for mobile-first */
    .options-grid { grid-template-columns: 1fr; }
    .cookie-banner { flex-direction: column; text-align: center; gap: 1rem; }
    .legal-card { padding: 1.5rem; margin: 1rem; }
}
