/* ============================================
   BizHan Landing Page — Main Stylesheet
   Design inspired by goldenhazestudio.com
   ============================================ */

/* ============ CSS VARIABLES ============ */
:root {
    /* Colors - Chinese Red & Gold Theme */
    --color-primary: #DC2626;
    --color-primary-dark: #B91C1C;
    --color-primary-light: #FCA5A5;
    --color-secondary: #F59E0B;
    --color-secondary-dark: #D97706;
    --color-accent: #EF4444;
    
    --color-bg: #0A0A0A;
    --color-bg-secondary: #111111;
    --color-bg-card: #1A1A1A;
    --color-bg-card-hover: #222222;
    
    --color-text: #F5F5F5;
    --color-text-secondary: #A3A3A3;
    --color-text-muted: #737373;
    
    --color-border: #262626;
    --color-border-light: #333333;
    
    --color-lucky: #FFD700;
    --color-discount: #22C55E;
    --color-success: #10B981;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #DC2626, #F59E0B);
    --gradient-hero: linear-gradient(135deg, #1a0000 0%, #0A0A0A 40%, #0A0A0A 60%, #1a0f00 100%);
    --gradient-card: linear-gradient(145deg, #1A1A1A, #111111);
    --gradient-gold: linear-gradient(135deg, #FFD700, #FFA500);
    
    /* Typography */
    --font-primary: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-chinese: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(220, 38, 38, 0.3);
    --shadow-gold: 0 0 30px rgba(255, 215, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* ============ RESET & BASE ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ============ UTILITY CLASSES ============ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-lucky {
    color: var(--color-lucky);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.text-discount {
    color: var(--color-discount);
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section__header {
    text-align: center;
    margin-bottom: 64px;
}

.section__tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section__desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(220, 38, 38, 0.5);
}

.btn--outline {
    border: 2px solid var(--color-border-light);
    color: var(--color-text);
    background: transparent;
}

.btn--outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(220, 38, 38, 0.05);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn--full {
    width: 100%;
}

.btn--nav {
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 0 40px rgba(220, 38, 38, 0.6), 0 0 80px rgba(245, 158, 11, 0.3); }
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    z-index: 1001;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-chinese);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar__links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.navbar__links a:hover,
.navbar__links a.active {
    color: var(--color-text);
}

.navbar__links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.navbar__links a:not(.btn):hover::after,
.navbar__links a:not(.btn).active::after {
    width: 100%;
}

.navbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-fast);
    -webkit-user-select: none;
    user-select: none;
}

.lang-switcher:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.4);
    color: var(--color-text);
}

.lang-switcher__flag {
    font-size: 1.05rem;
    line-height: 1;
}

.lang-switcher__label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Language switching animation */
.lang-switching [data-i18n] {
    animation: langFade 0.3s ease;
}

@keyframes langFade {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.navbar__toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-normal);
}

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(245, 158, 11, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 50% 0%, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--color-primary-light);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero__title-line {
    display: block;
    color: var(--color-text);
}

.hero__title-highlight {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat__label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    animation: fadeInUp 0.8s ease 0.5s both;
}

/* ============ ABOUT SECTION ============ */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__lead {
    font-size: 1.2rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__content p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about__card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.hanzi-showcase {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.hanzi-char {
    font-family: var(--font-chinese);
    font-size: 4.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.hanzi-char:hover {
    transform: scale(1.15) translateY(-5px);
}

.hanzi-char::after {
    content: attr(data-pinyin) ' — ' attr(data-meaning);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    -webkit-text-fill-color: var(--color-text-muted);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.hanzi-char:hover::after {
    opacity: 1;
}

.about__card-footer {
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-family: var(--font-chinese);
}

/* ============ FEATURES SECTION ============ */
.features {
    background: var(--color-bg-secondary);
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
    padding: 48px;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.feature-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.feature-showcase--reverse {
    direction: rtl;
}

.feature-showcase--reverse > * {
    direction: ltr;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-icon--ocr {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

.feature-icon--grammar {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-showcase__title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-showcase__desc {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    padding-left: 4px;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    margin: 0 auto;
    background: #000;
    border-radius: 36px;
    padding: 12px;
    border: 3px solid #333;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(220, 38, 38, 0.1);
}

.phone-mockup__screen {
    background: #1a1a2e;
    border-radius: 26px;
    overflow: hidden;
    aspect-ratio: 9/16;
    display: flex;
    flex-direction: column;
}

/* OCR Demo */
.ocr-demo {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ocr-demo__image {
    flex: 1;
    background: 
        linear-gradient(135deg, #1a1a3e 0%, #2d1b4e 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ocr-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #DC2626, transparent);
    animation: scanLine 2.5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

@keyframes scanLine {
    0% { top: 0; }
    100% { top: 100%; }
}

.ocr-text-overlay {
    display: flex;
    gap: 4px;
    font-family: var(--font-chinese);
}

.ocr-char {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    animation: ocrReveal 0.5s ease var(--delay) both;
}

@keyframes ocrReveal {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.ocr-demo__result {
    padding: 16px;
    background: rgba(0, 0, 0, 0.5);
}

.ocr-result-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ocr-pinyin {
    font-size: 0.85rem;
    color: var(--color-secondary);
}

.ocr-meaning {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 600;
}

/* Grammar Demo */
.grammar-demo {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
    gap: 16px;
}

.grammar-input {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-family: var(--font-chinese);
    font-size: 1.3rem;
    text-align: center;
    color: white;
}

.grammar-analysis {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    flex: 1;
    align-content: center;
}

.grammar-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: grammarReveal 0.5s ease var(--delay) both;
}

@keyframes grammarReveal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.grammar-word {
    font-family: var(--font-chinese);
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}

.grammar-role {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.grammar-role.subject { background: rgba(59, 130, 246, 0.2); color: #60A5FA; }
.grammar-role.adverb { background: rgba(168, 85, 247, 0.2); color: #C084FC; }
.grammar-role.verb { background: rgba(220, 38, 38, 0.2); color: #FCA5A5; }
.grammar-role.object { background: rgba(16, 185, 129, 0.2); color: #6EE7B7; }

.grammar-translation {
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    text-align: center;
    color: var(--color-discount);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============ WAITLIST SECTION ============ */
.waitlist {
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.waitlist__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.lixi-float {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: lixiFloat 8s ease-in-out infinite;
}

.lixi-float--1 { top: 10%; left: 5%; animation-delay: 0s; }
.lixi-float--2 { top: 20%; right: 8%; animation-delay: 1.5s; }
.lixi-float--3 { top: 50%; left: 3%; animation-delay: 3s; }
.lixi-float--4 { top: 70%; right: 5%; animation-delay: 4.5s; }
.lixi-float--5 { top: 85%; left: 10%; animation-delay: 6s; }
.lixi-float--6 { top: 40%; right: 15%; animation-delay: 2s; }

@keyframes lixiFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    75% { transform: translateY(-25px) rotate(4deg); }
}

.waitlist__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.waitlist__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--color-lucky);
    margin-bottom: 24px;
}

.badge-fire {
    animation: fireShake 0.5s ease infinite alternate;
}

@keyframes fireShake {
    from { transform: rotate(-5deg); }
    to { transform: rotate(5deg); }
}

.waitlist__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.waitlist__desc {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.waitlist__urgency {
    margin-bottom: 32px;
}

.urgency-bar {
    width: 100%;
    height: 12px;
    background: var(--color-bg-card);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid var(--color-border);
}

.urgency-bar__fill {
    height: 100%;
    width: 74.5%;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    position: relative;
    transition: width 2s ease;
    animation: urgencyPulse 2s ease infinite;
}

@keyframes urgencyPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.urgency-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.urgency-count {
    color: var(--color-lucky);
    font-weight: 700;
}

.waitlist__benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.benefit-item {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Waitlist Form */
.waitlist__form-wrapper {
    position: sticky;
    top: 100px;
}

.waitlist__form {
    background: var(--gradient-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.waitlist__form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.form__title {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
}

.form__group {
    margin-bottom: 20px;
}

.form__group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 6px;
}

.form__group input,
.form__group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 1rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form__group input::placeholder {
    color: var(--color-text-muted);
}

.form__group input:focus,
.form__group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form__group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23737373'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form__group select option {
    background: var(--color-bg-card);
    color: var(--color-text);
}

.form__note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 16px;
}

/* Success State */
.waitlist__success {
    background: var(--gradient-card);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-xl);
    padding: 48px 32px;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.waitlist__success h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-success);
    margin-bottom: 12px;
}

.lucky-code {
    margin: 24px 0;
    padding: 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px dashed var(--color-lucky);
    border-radius: var(--radius-md);
}

.lucky-code span {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.lucky-code strong {
    font-size: 1.5rem;
    color: var(--color-lucky);
    letter-spacing: 3px;
}

.success-note {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* ============ MISSION SECTION ============ */
.mission {
    background: var(--color-bg-secondary);
}

.mission__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.mission-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition-normal);
}

.mission-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: var(--shadow-glow);
}

.mission-card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mission-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.mission-card__desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.mission__quote {
    text-align: center;
}

.mission__quote blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-text-secondary);
    padding: 40px;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    position: relative;
}

.mission__quote blockquote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.mission__quote small {
    display: block;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: normal;
}

/* ============ FAQ SECTION ============ */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(220, 38, 38, 0.3);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    text-align: left;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.faq-item__question:hover {
    color: var(--color-primary-light);
}

.faq-arrow {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-item__answer {
    max-height: 300px;
}

.faq-item__answer p {
    padding: 0 24px 20px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ============ CTA SECTION ============ */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    text-align: center;
    padding: 64px 48px;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 64px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__brand p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.7;
}

.footer__links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-primary);
}

.footer__bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(220, 38, 38, 0.5);
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ============ PARTICLE ============ */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    20% { opacity: 0.6; }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-100px) scale(1); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .navbar__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 20px;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--color-border);
    }

    .navbar__links.open {
        right: 0;
    }

    .navbar__right {
        gap: 10px;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .lang-switcher {
        padding: 5px 10px;
        font-size: 0.78rem;
    }

    .lang-switcher__label {
        font-size: 0.72rem;
    }

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

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

    .feature-showcase {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }

    .feature-showcase--reverse {
        direction: ltr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .waitlist__form-wrapper {
        position: static;
    }

    .waitlist__benefits {
        grid-template-columns: 1fr;
    }

    .mission__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-box {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2.2rem;
    }

    .hero__cta {
        flex-direction: column;
    }

    .hero__cta .btn {
        width: 100%;
    }

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hanzi-char {
        font-size: 3rem;
    }

    .phone-mockup {
        width: 240px;
    }

    .waitlist__form {
        padding: 28px 20px;
    }
}
