/* ===== Split Page Design ===== */
:root {
    --org-bg: #f2e4d0;
    --org-bg-alt: #e8d6be;
    --org-accent: #b8864e;
    --ai-bg: #0a0e1a;
    --ai-bg-alt: #0f1428;
    --ai-accent: #7c4dff;
    --ai-accent2: #00bcd4;
    --text: #f0ece4;
    --text-body: #d5cfc6;
    --text-muted: #b0a898;
    --divider: rgba(255, 255, 255, 0.12);
    --surface: rgba(0, 0, 0, 0.4);
    --surface-hover: rgba(0, 0, 0, 0.5);
    --border: rgba(255, 255, 255, 0.12);
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --font-heading: 'Space Grotesk', 'Inter', 'Noto Sans KR', sans-serif;
    --font-body: 'Noto Sans KR', 'Inter', sans-serif;
    --font-organic: 'Gaegu', 'Noto Sans KR', cursive;
    --max-width: 900px;
    --section-padding: 5rem 2rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.75;
    font-weight: 400;
    overflow-x: hidden;
    background: linear-gradient(to right, var(--org-bg) 0%, var(--org-bg) 50%, var(--ai-bg) 50%, var(--ai-bg) 100%);
}

/* Organic side texture */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 50%; height: 100%;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(255,220,160,0.12) 0%, transparent 60%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(160,120,60,0.04) 2px, rgba(160,120,60,0.04) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(160,120,60,0.03) 3px, rgba(160,120,60,0.03) 6px);
}

/* AI side texture */
body::after {
    content: '';
    position: fixed;
    top: 0; right: 0;
    width: 50%; height: 100%;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    background-image: radial-gradient(circle, rgba(124,77,255,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.page-divider {
    position: fixed;
    left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: var(--divider);
    z-index: 60;
    pointer-events: none;
    transform: translateX(-50%);
}

/* ===== Navigation ===== */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1rem 2rem;
}

.nav-back {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.nav-back:hover { color: #fff; }

/* ===== Section layout ===== */
.section {
    position: relative;
    padding: var(--section-padding);
    z-index: 2;
}

.section:nth-child(even) {
    background: linear-gradient(to right, var(--org-bg-alt) 0%, var(--org-bg-alt) 50%, var(--ai-bg-alt) 50%, var(--ai-bg-alt) 100%);
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 2.5rem;
    position: relative;
    z-index: 2;
    background: rgba(18, 16, 28, 0.82);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
    will-change: transform;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    min-height: 2.5rem;
    background: linear-gradient(to right, var(--org-accent) 45%, var(--ai-accent) 55%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 0;
}

.hero-half {
    width: 50%; height: 100%;
    overflow: hidden;
    position: relative;
}

.hero-scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 50%; height: 100%;
    background: linear-gradient(180deg, rgba(242,228,208,0.45) 0%, rgba(242,228,208,0.2) 40%, rgba(242,228,208,0.5) 100%);
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: linear-gradient(180deg, rgba(10,14,26,0.65) 0%, rgba(10,14,26,0.35) 40%, rgba(10,14,26,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 700px;
    padding: 0 2rem;
}

.hero-mode-labels {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.hero-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    line-height: 1.2;
    min-height: 2rem;
    display: flex;
    align-items: center;
}

.organic-label {
    font-family: var(--font-organic);
    font-size: 1rem;
    background: rgba(196,164,108,0.15);
    color: var(--org-accent);
    border: 1px solid rgba(196,164,108,0.25);
}

.ai-label {
    background: rgba(124,77,255,0.15);
    color: #b8a0ff;
    border: 1px solid rgba(124,77,255,0.25);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 2px 30px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 3rem;
}

.hero-cta .btn-primary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    color: #fff;
}
.hero-cta .btn-primary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* ===== About ===== */
.about-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--text);
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.85;
}

.about-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text) !important;
    margin-top: 1.5rem;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(to right, var(--org-accent) 40%, var(--ai-accent) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.25rem;
    line-height: 1.2;
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--surface-hover);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
    line-height: 1.3;
    min-height: 1.5rem;
}

.feature-card p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.9;
}

/* ===== Scenes ===== */
.scenes-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.compare-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all 0.3s ease;
}

.compare-card:hover {
    box-shadow: var(--card-shadow);
    transform: translateY(-3px);
}

.compare-images {
    display: flex;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.compare-images::after {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.3);
    z-index: 3;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.compare-half {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.compare-half img {
    position: absolute;
    top: 0; left: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.compare-badge {
    position: absolute;
    bottom: 0.5rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 10px;
    z-index: 4;
}

.organic-badge {
    left: 0.5rem;
    font-family: var(--font-organic);
    font-size: 0.8rem;
    background: rgba(30,26,20,0.8);
    color: var(--org-accent);
    border: 1px solid rgba(196,164,108,0.3);
}

.ai-badge {
    right: 0.5rem;
    font-family: var(--font-heading);
    background: rgba(10,14,26,0.85);
    color: #b8a0ff;
    border: 1px solid rgba(124,77,255,0.3);
}


/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer .section-inner {
    padding: 1.5rem 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.footer-link:hover { color: var(--text); }

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.8;
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    :root { --section-padding: 3.5rem 1.25rem; }
    .hero-mode-labels { gap: 1.5rem; }
    .hero-label { font-size: 0.7rem; padding: 0.3rem 0.7rem; }
    .about-stats { gap: 1.5rem; }
    .stat-number { font-size: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .section-inner { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
    .footer-links { flex-direction: column; gap: 0.75rem; }
    .hero-mode-labels { gap: 1rem; }
}