/* ===== LANDING PAGE V2 - GUMIHO ===== */

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

:root {
    --bg: #F2F0ED;
    --surface: #FFFFFF;
    --dark: #1A1A1A;
    --dark-lighter: #242424;
    --text-primary: #2C2C2C;
    --text-light: #F2F0ED;
    --text-secondary: #6B6B6B;
    --text-muted: #9A9A9A;
    --text-dark-muted: #888888;
    --accent: #2C2C2C;
    --accent-subtle: #E8E6E3;
    --border: #D8D6D3;
    --border-dark: #333333;
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.v2-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.v2-nav.dark {
    background: transparent;
}

.v2-nav.light {
    background: rgba(242, 240, 237, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--accent-subtle);
}

.nav-logo-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-v2 img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    background: var(--surface);
    border-radius: 6px;
    padding: 4px;
}

.nav-logo-v2 span {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-logo-v2.dark-text span {
    color: var(--text-light);
}

.nav-logo-v2.light-text span {
    color: var(--text-primary);
}

.nav-cta-v2 {
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all var(--transition-fast);
    letter-spacing: 0.02em;
}

.nav-cta-v2.dark {
    color: var(--text-light);
    border: 1px solid rgba(242, 240, 237, 0.3);
}

.nav-cta-v2.dark:hover {
    background: var(--text-light);
    color: var(--dark);
    border-color: var(--text-light);
}

.nav-cta-v2.light {
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.nav-cta-v2.light:hover {
    background: var(--accent);
    color: var(--surface);
    border-color: var(--accent);
}

/* ===== HERO ===== */
.v2-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 100px 40px 80px;
    background: var(--dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero-content-v2 {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-title-v2 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 200;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title-v2 strong {
    font-weight: 600;
    color: var(--text-light);
}

.hero-subtitle-v2 {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 300;
    color: #A0A0A0;
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-cta-v2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--text-light);
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all var(--transition-base);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-cta-v2:hover {
    background: var(--bg);
    transform: translateX(4px);
}

.hero-cta-arrow-v2 {
    transition: transform var(--transition-fast);
}

.hero-cta-v2:hover .hero-cta-arrow-v2 {
    transform: translateX(4px);
}

/* ===== HERO VISUAL ===== */
.hero-visual {
    margin-top: 72px;
    padding: 32px 36px;
    border: 1px solid rgba(242, 240, 237, 0.12);
    border-radius: 10px;
    width: 420px;
    min-height: 180px;
    position: relative;
}

.visual-label {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dark-muted);
    margin-bottom: 20px;
}

.visual-lang {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dark-muted);
    margin-bottom: 20px;
}

.phrase-line {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 16px;
}

.phrase-foreign {
    font-size: 1.375rem;
    font-weight: 400;
    color: rgba(242, 240, 237, 0.18);
    line-height: 1.6;
}

.v-word {
    display: inline-block;
    color: rgba(242, 240, 237, 0.18);
}

.v-word.target {
    color: rgba(242, 240, 237, 0.18);
    position: relative;
    animation: targetGlow 8s ease infinite;
}

.v-word.target::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineGrow 8s ease infinite;
}

.word-trans {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 12px;
    opacity: 0;
    transform: translateX(-8px);
    animation: wordTransAppear 8s ease infinite;
    animation-delay: 1.2s;
}

.sentence-trans {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--text-dark-muted);
    margin-top: 4px;
    opacity: 0;
    animation: sentenceTransAppear 8s ease infinite;
    animation-delay: 2.5s;
}

.phrase-trans {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--text-dark-muted);
    margin-top: 4px;
}

.t-word {
    display: inline-block;
    opacity: 0;
    animation: transWord 8s ease infinite;
}

.t-word:nth-child(1) { animation-delay: 2.0s; }
.t-word:nth-child(2) { animation-delay: 2.15s; }
.t-word:nth-child(3) { animation-delay: 2.3s; }
.t-word:nth-child(4) { animation-delay: 2.45s; }
.t-word:nth-child(5) { animation-delay: 2.6s; }

@keyframes targetGlow {
    0%, 8% { color: rgba(242, 240, 237, 0.18); }
    16%, 72% { color: var(--text-light); }
    82%, 100% { color: rgba(242, 240, 237, 0.18); }
}

@keyframes underlineGrow {
    0%, 8% { transform: scaleX(0); }
    16%, 72% { transform: scaleX(1); }
    82%, 100% { transform: scaleX(0); }
}

@keyframes wordTransAppear {
    0%, 12% { opacity: 0; transform: translateX(-8px); }
    22%, 72% { opacity: 1; transform: translateX(0); }
    82%, 100% { opacity: 0; transform: translateX(-4px); }
}

@keyframes sentenceTransAppear {
    0%, 20% { opacity: 0; transform: translateY(6px); }
    30%, 72% { opacity: 1; transform: translateY(0); }
    82%, 100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes transWord {
    0%, 10% { opacity: 0; transform: translateY(6px); }
    20%, 55% { opacity: 1; transform: translateY(0); }
    65%, 100% { opacity: 0; transform: translateY(-4px); }
}

/* ===== SECTIONS ===== */
.v2-section {
    padding: 140px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.v2-section-wide {
    padding: 140px 40px;
}

.section-label-v2 {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title-v2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 200;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 40px;
}

.section-title-v2 strong {
    font-weight: 600;
    display: block;
}

.section-lead-v2 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 300;
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 80px;
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
    background: var(--bg);
    color: var(--text-primary);
}

.problem-section .section-label-v2 {
    color: var(--text-muted);
}

.problem-section .section-title-v2 {
    color: var(--text-primary);
}

.problem-section .section-lead-v2 {
    color: var(--text-secondary);
}

/* ===== METHOD GRID ===== */
.method-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.method-item-v2 {
    padding: 32px 0 0;
    border-top: 1px solid var(--border);
}

.method-item-v2 h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.method-item-v2 p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== DEMO SECTION ===== */
.demo-section {
    background: var(--surface);
    color: var(--text-primary);
}

.demo-section .section-label-v2 {
    color: var(--text-muted);
}

.lang-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lang-card-v2 {
    background: var(--bg);
    border-radius: 12px;
    padding: 40px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    border: 1px solid transparent;
    display: block;
    position: relative;
    overflow: hidden;
}

.lang-card-v2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lang-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-subtle);
}

.lang-card-v2:hover::after {
    transform: scaleX(1);
}

.lang-card-arrow-v2 {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-family: 'Inter', monospace;
}

.lang-card-v2:hover .lang-card-arrow-v2 {
    color: var(--accent);
    transform: translateY(-50%) translateX(6px);
}

.lang-card-v2 h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    padding-right: 48px;
}

.lang-card-native-v2 {
    font-size: 1.125rem;
    color: var(--text-secondary);
    padding-right: 48px;
    font-family: 'Noto Sans KR', 'Noto Sans SC', 'Noto Sans Arabic', 'Inter', sans-serif;
}

/* ===== METRIC SECTION ===== */
.metric-section-v2 {
    background: var(--dark);
    color: var(--text-light);
    text-align: center;
    padding: 160px 40px;
    position: relative;
}

.metric-section-v2::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--text-dark-muted);
    margin: 0 auto 48px;
}

.metric-section-v2 .section-label-v2 {
    color: var(--text-dark-muted);
}

.metric-section-v2 .section-title-v2 {
    color: var(--text-light);
    margin-bottom: 48px;
}

.metric-caption-v2 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--text-dark-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.v2-footer {
    background: var(--dark);
    color: var(--text-dark-muted);
    padding: 48px 40px;
    text-align: center;
    border-top: 1px solid var(--border-dark);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.v2-footer p {
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .v2-nav {
        padding: 16px 20px;
    }

    .v2-hero {
        padding: 90px 20px 60px;
        min-height: auto;
    }

    .v2-section,
    .v2-section-wide {
        padding: 80px 20px;
    }

    .section-title-v2 strong {
        display: inline;
    }

    .method-grid-v2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lang-grid-v2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lang-card-v2 {
        padding: 28px;
    }

    .lang-card-v2 h3,
    .lang-card-native-v2 {
        padding-right: 40px;
    }

    .metric-section-v2 {
        padding: 100px 20px;
    }
}
