:root {
    color-scheme: dark;
    --bg-color: #030303;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-primary: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    /* Using Outfit for body too for a cleaner look */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    color-scheme: light;
    --bg-color: #ffffff;
    --text-primary: #111111;
    --text-secondary: #555555;
    --accent-primary: #000000;
    --accent-glow: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
}

/* Auto-detect system color scheme preference */
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        color-scheme: light;
        --bg-color: #ffffff;
        --text-primary: #111111;
        --text-secondary: #555555;
        --accent-primary: #000000;
        --accent-glow: rgba(0, 0, 0, 0.1);
        --glass-bg: rgba(255, 255, 255, 0.7);
        --glass-border: rgba(0, 0, 0, 0.1);
    }
}

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

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Partners Section */
.partners {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
}

[data-theme="light"] .partners {
    border-bottom-color: rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.01);
}

.partners-header {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-header p {
    color: var(--text-secondary);
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.5px;
    opacity: 0.6;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
    opacity: 0.6;
    transition: var(--transition);
}

.partners-grid:hover {
    opacity: 1;
}

.partner-logo {
    height: 24px;
    width: auto;
    color: var(--text-primary);
    transition: var(--transition);
}

.partner-logo:hover {
    transform: scale(1.05);
    color: var(--text-primary);
}

/* Logo & Partner Colors */
.partner-logo svg,
.partner-logo img,
.footer-logo img {
    height: 100%;
    width: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1);
    /* Force White in Dark Mode */
}

.logo {
    transition: var(--transition);
    filter: brightness(0) invert(1);
    /* Force White in Dark Mode */
}

[data-theme="light"] .partner-logo svg,
[data-theme="light"] .partner-logo img,
[data-theme="light"] .footer-logo img,
[data-theme="light"] .logo {
    filter: brightness(0);
    /* Force Black in Light Mode */
}

/* Scrolled Header in Light Mode - Force Dark Theme Look */
[data-theme="light"] .header.scrolled {
    background: rgba(3, 3, 3, 0.9) !important;
    /* Force dark background */
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .header.scrolled .logo {
    filter: brightness(0) invert(1);
    /* Force White Logo */
}

[data-theme="light"] .header.scrolled .nav-link,
[data-theme="light"] .header.scrolled .btn-text,
[data-theme="light"] .header.scrolled .btn-icon {
    color: #ffffff;
    /* Force White Text */
}

[data-theme="light"] .header.scrolled .btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.partner-logo svg path {
    fill: currentColor;
    /* Reset fill so filter handles it */
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(3, 3, 3, 0.8);
    padding: 1rem 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link,
.nav .btn-text {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 0;
    display: flex;
    align-items: center;
    line-height: 1;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Controls */
.controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .controls {
    border-left-color: rgba(0, 0, 0, 0.1);
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-icon:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .btn-icon:hover {
    background: rgba(0, 0, 0, 0.05);
}

.lang-text {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.btn-text {
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
}

.btn-text:hover {
    opacity: 0.7;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: #ffd700;
    /* Gold for premium feel */
    backdrop-filter: blur(5px);
}

[data-theme="light"] .badge {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #d4af37;
    /* Darker gold for light mode */
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #000 0%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 90%;
}

/* Invite Form */
.invite-form {
    margin-bottom: 1rem;
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.4rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 450px;
    transition: var(--transition);
}

[data-theme="light"] .input-wrapper {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

.input-wrapper:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .input-wrapper:focus-within {
    border-color: rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.05);
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .input-wrapper input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.6;
    padding-left: 1.5rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-sphere {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(60, 20, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 8s infinite ease-in-out;
}

.glass-card {
    width: 380px;
    height: 480px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    position: relative;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

[data-theme="light"] .glass-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.skeleton-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-bottom: 1rem;
}

[data-theme="light"] .skeleton-line {
    background: rgba(0, 0, 0, 0.05);
}

.w-75 {
    width: 75%;
}

.w-50 {
    width: 50%;
}

.w-90 {
    width: 90%;
}

.w-60 {
    width: 60%;
}

.mt-4 {
    margin-top: 2rem;
}

.ai-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .ai-badge {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.sparkle {
    animation: spin 4s linear infinite;
}

/* Features */
.features {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--bg-color), #080808);
}

[data-theme="light"] .features {
    background: linear-gradient(to bottom, var(--bg-color), #f5f5f5);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
}

.highlight {
    color: #fff;
    font-weight: 600;
    position: relative;
}

[data-theme="light"] .highlight {
    color: #000;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
}

[data-theme="light"] .highlight::after {
    background: linear-gradient(90deg, transparent, #000, transparent);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: var(--transition);
}

[data-theme="light"] .feature-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

[data-theme="light"] .feature-card:hover {
    background: rgba(0, 0, 0, 0.04);
}

.icon-box {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    opacity: 0.8;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .footer {
    border-top-color: rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer-links {
    display: flex;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Glow Pulse */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    }
}

[data-theme="light"] .feature-card {
    animation: none;
}

/* Typing Animation */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Scale In */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Hero Animations */
.hero-content .badge {
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero-content .hero-title {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-content .hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-content .cta-group {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-visual {
    animation: slideInRight 1s ease-out 0.4s forwards;
    opacity: 0;
}

/* Glass Card Float Effect */
.glass-card {
    animation: float 6s ease-in-out infinite;
}

/* Feature Cards Hover Glow */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

[data-theme="light"] .feature-card::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 0, 0, 0.03),
        transparent
    );
}

/* Skeleton Line Shimmer */
.skeleton-line {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

[data-theme="light"] .skeleton-line {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.05) 75%
    );
    background-size: 200% 100%;
}

/* Partner Logo Hover */
.partner-logo {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-logo:hover {
    transform: scale(1.1) translateY(-5px);
}

/* Invite Only Section */
.invite-only {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .invite-only {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(0, 0, 0, 0.01) 100%);
    border-color: rgba(0, 0, 0, 0.05);
}

.invite-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.invite-icon {
    margin-bottom: 1.5rem;
    color: #ffd700;
}

[data-theme="light"] .invite-icon {
    color: #d4af37;
}

.invite-only h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffd700 0%, #fff 50%, #ffd700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .invite-only h2 {
    background: linear-gradient(135deg, #d4af37 0%, #000 50%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.invite-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.invite-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.invite-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.invite-check {
    color: #ffd700;
    font-weight: bold;
}

[data-theme="light"] .invite-check {
    color: #d4af37;
}

@media (max-width: 768px) {
    .invite-only h2 {
        font-size: 1.8rem;
    }
    
    .invite-desc {
        font-size: 1rem;
    }
    
    .invite-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .stats {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

[data-theme="light"] .stat-number {
    background: linear-gradient(135deg, #000 0%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Counter Animation */
.stat-number {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.stat-number.visible {
    opacity: 1;
    transform: translateY(0);
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 0;
    background: var(--bg-color);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

[data-theme="light"] .steps-container::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

[data-theme="light"] .step-number {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.step-card:hover .step-number {
    background: var(--text-primary);
    color: var(--bg-color);
    transform: scale(1.1);
}

/* Step Gold Style (Invite Friends) */
.step-number.step-gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-color: #ffd700;
    color: #ffd700;
}

[data-theme="light"] .step-number.step-gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-color: #d4af37;
    color: #d4af37;
}

.step-card:hover .step-number.step-gold {
    background: #ffd700;
    color: #000;
}

[data-theme="light"] .step-card:hover .step-number.step-gold {
    background: #d4af37;
    color: #fff;
}

/* Step 4 Gold Text - Same as Invite Only Section */
.step-title-gold {
    background: linear-gradient(135deg, #ffd700 0%, #fff 50%, #ffd700 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.step-desc-gold {
    background: linear-gradient(135deg, #ffd700 0%, #fff 50%, #ffd700 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    opacity: 0.85;
}

[data-theme="light"] .step-title-gold {
    background: linear-gradient(135deg, #d4af37 0%, #000 50%, #d4af37 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .step-desc-gold {
    background: linear-gradient(135deg, #d4af37 0%, #000 50%, #d4af37 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    opacity: 0.85;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: linear-gradient(to bottom, #080808, var(--bg-color));
}

[data-theme="light"] .testimonials {
    background: linear-gradient(to bottom, #f5f5f5, var(--bg-color));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: var(--transition);
}

[data-theme="light"] .testimonial-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .testimonial-card:hover {
    background: rgba(0, 0, 0, 0.04);
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 50, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-decoration: none;
}

[data-theme="light"] .btn-secondary {
    border-color: rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.4);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Responsive for new sections */
@media (max-width: 968px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 201;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .mobile-menu-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Drawer Overlay */
.drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: var(--bg-color);
    border-left: 1px solid var(--glass-border);
    z-index: 200;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.drawer-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 1.5rem;
    line-height: 1;
}

.drawer-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .drawer-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.drawer-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    font-size: 1rem;
}

.drawer-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .drawer-nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.drawer-nav-link svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.drawer-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 12px 0;
}

.drawer-controls {
    padding: 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 12px;
    justify-content: center;
}

.drawer-controls .btn-icon {
    width: 44px;
    height: 44px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .input-wrapper {
        margin: 0 auto;
    }

    .hero-title {
        font-size: 3rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        position: static;
        transform: none;
    }
}

@media (max-width: 768px) {
    /* Ensure header layout is correct on mobile */
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Logo container should be visible */
    .logo-container {
        display: flex;
        align-items: center;
    }

    .logo {
        height: 32px;
    }

    /* Hide desktop nav items but keep nav flex container */
    .nav > .nav-link,
    .nav > .btn,
    .nav > .btn-text,
    .nav > .controls {
        display: none !important;
    }

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex !important;
    }

    /* Ensure nav stays on the right */
    .nav {
        display: flex;
        align-items: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-visual {
        height: 350px;
    }

    .glass-card {
        width: 280px;
        height: 360px;
        transform: none;
    }

    .glass-card:hover {
        transform: none;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .partners-grid {
        gap: 2rem;
    }

    .partner-logo {
        height: 18px;
    }

    .container {
        padding: 0 1rem;
    }

    .header {
        padding: 1rem 0;
    }

    .header .container {
        padding: 0 1rem;
    }
}

/* 
Additional Mobile Optimizations */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .input-wrapper {
        flex-direction: column;
        border-radius: 16px;
        padding: 0.5rem;
    }

    .input-wrapper input {
        padding: 12px 16px;
        text-align: center;
    }

    .input-wrapper .btn-primary {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
    }

    .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .footer-content {
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 1rem;
    }

    .footer-links {
        gap: 1rem;
        margin-bottom: 1rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn, .btn-icon, .nav-link, .drawer-nav-link {
        min-height: 44px;
        min-width: 44px;
    }

    .drawer-nav-link {
        padding: 16px;
    }
}
