/* ============================================================
   와우굿 투자 플랫폼 - 메인 스타일시트
   Clean & Professional Investment Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── Reset & Variables ── */
:root {
    --primary: #1a1a2e;
    --primary-light: #2d2d4a;
    --accent: #3b82f6;
    --accent-dark: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --success: #10b981;
    --danger: #ef4444;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);
    --font-head: 'Outfit', 'Noto Sans KR', sans-serif;
    --font-body: 'Noto Sans KR', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: #fff;
    line-height: 1.7;
    font-size: 15px;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header / Navigation ── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-main a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: 8px;
    transition: var(--transition);
}

.nav-main a:hover,
.nav-main a.active {
    color: var(--accent-dark);
    background: var(--accent-glow);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--accent);
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}

/* Mobile menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    margin: 5px 0;
    transition: var(--transition);
}

/* ── Hero Section ── */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent-glow);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 28px;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(59,130,246,0.25);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59,130,246,0.35);
}

.btn-outline {
    background: #fff;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #fff;
    box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245,158,11,0.4);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.hero-stat-num {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -1px;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 4px;
}

/* ── Section Styles ── */
.section {
    padding: 100px 0;
}

.section-gray {
    background: var(--gray-50);
}

.section-dark {
    background: var(--primary);
    color: #fff;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-dark .section-title {
    color: #fff;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ── Platform Cards Grid ── */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.platform-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--card-gradient, var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.platform-card:hover::before {
    opacity: 1;
}

.platform-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.platform-card-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.platform-card h3 {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.platform-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.platform-card-meta {
    display: flex;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}

.platform-card-meta-item {
    flex: 1;
}

.platform-card-meta-label {
    font-size: 11px;
    color: var(--gray-400);
    font-weight: 500;
}

.platform-card-meta-value {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 2px;
}

.platform-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    transition: var(--transition);
}

.platform-card-link:hover {
    gap: 10px;
}

/* ── Investment Conditions ── */
.invest-condition-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.invest-flow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.invest-flow-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.invest-flow-step::after {
    content: '→';
    position: absolute;
    right: -18px;
    top: 30px;
    font-size: 20px;
    color: var(--gray-300);
}

.invest-flow-step:last-child::after {
    display: none;
}

.invest-flow-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: var(--accent-glow);
    border-radius: 20px;
}

.invest-flow-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.invest-flow-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Revenue split */
.revenue-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.revenue-card {
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
}

.revenue-card.before {
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    border: 1px solid #bfdbfe;
}

.revenue-card.after {
    background: linear-gradient(135deg, #dcfce7, #f0fdf4);
    border: 1px solid #bbf7d0;
}

.revenue-card h4 {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.revenue-pct {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
}

.revenue-card.before .revenue-pct {
    color: var(--accent-dark);
}

.revenue-card.after .revenue-pct {
    color: var(--success);
}

.revenue-note {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 6px;
}

/* ── Platform Detail Page ── */
.platform-hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.platform-hero-content {
    position: relative;
    z-index: 2;
}

.platform-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.platform-hero h1 {
    font-family: var(--font-head);
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.platform-hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    line-height: 1.8;
}

/* Detail sections */
.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.detail-main {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.sidebar-card h4 {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

.invest-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.invest-detail-row:last-child {
    border-bottom: none;
}

.invest-detail-label {
    font-size: 14px;
    color: var(--gray-500);
}

.invest-detail-value {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--gray-900);
}

/* Feature list */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: #ecfdf5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 14px;
    margin-top: 2px;
}

.feature-text {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.6;
}

/* Mock screen */
.mock-screen {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    margin: 32px 0;
}

.mock-screen-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.mock-screen-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.mock-screen-dot:first-child { background: #ef4444; }
.mock-screen-dot:nth-child(2) { background: #f59e0b; }
.mock-screen-dot:nth-child(3) { background: #10b981; }

.mock-screen-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mock-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
}

.mock-line {
    height: 10px;
    border-radius: 5px;
    background: var(--gray-100);
}

.mock-line-short { width: 40%; }
.mock-line-mid { width: 65%; }
.mock-line-long { width: 85%; }

.mock-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.mock-mini-card {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.mock-mini-card .num {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-700);
}

.mock-mini-card .label {
    font-size: 11px;
    color: var(--gray-400);
    margin-top: 4px;
}

/* ── Inquiry Form ── */
.inquiry-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.inquiry-box {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-row {
    margin-bottom: 24px;
}

.form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-row label .required {
    color: var(--danger);
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    transition: var(--transition);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-checkbox-item {
    position: relative;
}

.form-checkbox-item input[type="checkbox"] {
    display: none;
}

.form-checkbox-item label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 0;
}

.form-checkbox-item input:checked + label {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent-dark);
}

.spam-quiz {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spam-question {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-dark);
    white-space: nowrap;
}

.spam-input {
    width: 100px;
}

.form-submit-area {
    text-align: center;
    margin-top: 36px;
}

.btn-submit {
    width: 100%;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59,130,246,0.3);
}

/* ── Footer ── */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.footer-logo span { color: var(--accent); }

.footer-desc {
    font-size: 13px;
    line-height: 1.8;
}

.footer-links h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 12px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .hero-stats { gap: 30px; }
    .hero-stat-num { font-size: 28px; }
    .platform-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .section-title { font-size: 28px; }
    .invest-flow { flex-direction: column; }
    .invest-flow-step::after { display: none; }
    .revenue-split { grid-template-columns: 1fr; }
    .inquiry-box { padding: 28px; }
    .footer-inner { flex-direction: column; }

    .nav-main { 
        display: none; 
        position: absolute;
        top: 72px;
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }
    .nav-main.active { display: flex; }
    .mobile-toggle { display: block; }
    .platform-hero h1 { font-size: 32px; }
    .detail-main { padding: 28px; }
    .form-checkbox-group { gap: 6px; }
    .mock-card-row { grid-template-columns: 1fr; }
}

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── Misc ── */
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.text-success { color: var(--success); }
.fw-700 { font-weight: 700; }

.tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    background: var(--gray-100);
    color: var(--gray-600);
}

.divider {
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 16px 0;
}

h3.detail-section-title {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section:last-child {
    margin-bottom: 0;
}
