/* BuildBase - Enhanced Glassmorphism & Smooth Animations */

:root {
    /* Light Theme */
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    
    /* Enhanced Vibrant Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #fa709a 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #43e97b 100%);
    --gradient-success: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Strong Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-strong: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-blur: 40px;
    
    /* Accent Colors */
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
}

[data-theme="dark"] {
    --bg-primary: radial-gradient(circle at 20% 50%, rgba(29, 29, 31, 1) 0%, rgba(0, 0, 0, 1) 50%),
                  radial-gradient(circle at 80% 80%, rgba(20, 20, 40, 1) 0%, rgba(0, 0, 0, 1) 50%);
    --bg-secondary: linear-gradient(135deg, rgba(15, 15, 20, 1) 0%, rgba(10, 10, 15, 1) 100%);
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    
    /* Dark Mode Strong Glass */
    --glass-bg: rgba(20, 20, 20, 0.4);
    --glass-bg-strong: rgba(30, 30, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s ease;
    line-height: 1.6;
    position: relative;
}

/* Animated Background Particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(240, 147, 251, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.03) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

/* ==========================================
   ANIMATED BACKGROUNDS FOR ALL SECTIONS
   ========================================== */

/* Animated grid background */
.animated-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* Floating particles */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translate(100vw, -100vh);
        opacity: 0;
    }
}

/* Universal section background - consistent across all sections */
section:not(.hero) {
    position: relative;
    overflow: hidden;
}

section:not(.hero)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(102, 126, 234, 0.06), transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(240, 147, 251, 0.06), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.04), transparent 50%);
    animation: bgPulse 15s ease-in-out infinite;
    pointer-events: none;
}

section:not(.hero)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridFloat 25s linear infinite;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes gridFloat {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 80px 80px, 80px 80px; }
}

/* Ensure content stays above backgrounds */
section .container {
    position: relative;
    z-index: 1;
}

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

/* Section Styling */
section {
    padding: 5rem 0;
}

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

.section-badge {
    display: inline-block;
    padding: 0.6rem 1.75rem;
    border-radius: 50px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* Ultra-Enhanced Glassmorphism Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    backdrop-filter: blur(var(--glass-blur)) saturate(200%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(200%);
    background: var(--glass-bg-strong);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav.scrolled {
    padding: 0.5rem 0;
    background: var(--glass-bg-strong);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2),
                inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: all 0.4s ease;
    display: block;
}

.logo-image:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Theme-based logo visibility */
[data-theme="dark"] .dark-logo {
    display: block;
}

[data-theme="dark"] .light-logo {
    display: block;
}

[data-theme="light"] .dark-logo {
    display: block;
}

[data-theme="light"] .light-logo {
    display: block;
}

/* Hide text logo completely - image only */
.logo-fallback {
    display: none !important;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 4s ease infinite;
    cursor: pointer;
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo-highlight {
    background: var(--gradient-secondary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 4s ease infinite reverse;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

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

.nav-link:hover::after {
    width: 100%;
}

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

/* Ultra-Enhanced Glass Buttons */
.glass-button {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.glass-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.glass-button:hover::before {
    left: 100%;
}

.glass-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2),
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.glass-button:active {
    transform: translateY(-1px) scale(0.98);
}

.primary-cta {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    animation: gradient-flow 4s ease infinite;
}

.primary-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: none;
}

.primary-cta:hover::before {
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.primary-cta .button-shine {
    display: none;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    transform: scale(1.15) rotate(180deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.theme-icon {
    font-size: 1.2rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section with Smooth Gradients */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.15), transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(240, 147, 251, 0.15), transparent 50%),
                radial-gradient(circle at 50% 80%, rgba(79, 172, 254, 0.15), transparent 50%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.7;
    animation: float 25s infinite ease-in-out;
    will-change: transform;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.4));
    top: -15%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.8), rgba(245, 87, 108, 0.4));
    top: 30%;
    right: -8%;
    animation-delay: -8s;
}

.orb-3 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.8), rgba(0, 242, 254, 0.4));
    bottom: -15%;
    left: 25%;
    animation-delay: -16s;
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% { 
        transform: translate(60px, -60px) scale(1.15) rotate(90deg);
    }
    50% { 
        transform: translate(-40px, 40px) scale(0.9) rotate(180deg);
    }
    75% { 
        transform: translate(80px, 20px) scale(1.1) rotate(270deg);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.65rem 1.75rem;
    border-radius: 50px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.hero-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.badge-text {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1rem;
    animation: gradient-flow 4s ease infinite;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 5s ease infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-subtitle code {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.9rem;
    border-radius: 8px;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    border: 1px solid var(--glass-border);
    font-size: 1.1rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.subtitle-highlight {
    color: var(--text-primary);
    font-weight: 700;
}

/* Enhanced Stats Section */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.hero-stats:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 4s ease infinite;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.large-cta {
    padding: 1.15rem 3rem;
    font-size: 1.15rem;
    border-radius: 16px;
}

.secondary-cta {
    background: var(--glass-bg-strong);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 28px;
    height: 45px;
    border: 2px solid var(--text-secondary);
    border-radius: 24px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--text-secondary);
    border-radius: 4px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0; transform: translateX(-50%) translateY(18px); }
}

/* Ultra Glass Cards */
.glass-card {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25),
                inset 0 1px 1px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.cta-card:hover {
    transform: none !important;
}

/* Completely disable glass-button shine effects in CTA section */
.cta-section .glass-button::before,
.cta-section .primary-cta::before,
.cta-section .large-cta::before {
    display: none !important;
}

.cta-section .glass-button,
.cta-section .primary-cta,
.cta-section .large-cta {
    overflow: hidden;
}

/* Compact Footer */
.footer {
    position: relative;
    background: var(--bg-secondary);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.footer-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.6), rgba(118, 75, 162, 0.3));
    top: -50%;
    left: 10%;
    animation-delay: 0s;
}

.footer-orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.6), rgba(245, 87, 108, 0.3));
    bottom: -50%;
    right: 15%;
    animation-delay: -10s;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 4s ease infinite;
    letter-spacing: -0.02em;
}

.footer-logo-highlight {
    background: var(--gradient-secondary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 4s ease infinite reverse;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-links-compact {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.footer-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-credit {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-secondary);
}

.heart {
    display: inline-block;
    color: #ff6b6b;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1); }
}

.creator-link {
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.creator-link:hover {
    transform: translateY(-2px);
}

.creator-name {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: gradient-flow 3s ease infinite;
}

.creator-link::after {
    content: '↗';
    font-size: 0.75rem;
    opacity: 0;
    transform: translate(-5px, 5px);
    transition: all 0.3s ease;
}

.creator-link:hover::after {
    opacity: 1;
    transform: translate(0, 0);
}

/* Easter Egg Modal */
.easter-egg-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.easter-egg-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    padding: 4rem;
    max-width: 550px;
    position: relative;
    text-align: center;
}

.modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--gradient-primary);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

/* CTA Section - Clean Design */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
    background: var(--bg-primary);
}

.cta-background {
    display: none;
}

.animated-grid {
    display: none;
}

.orb-4,
.orb-5 {
    display: none;
}

.cta-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-header {
    margin-bottom: 3rem;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

.cta-card {
    padding: 3.5rem;
    max-width: 900px;
    margin: 0 auto;
    overflow: visible !important;
}

.cta-card::before {
    display: none !important;
}

.cta-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    text-align: left;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.benefit-text h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.benefit-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cta-action {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Remove all shine/translation effects from CTA section */
.cta-section *,
.cta-section *::before,
.cta-section *::after {
    overflow: visible !important;
    transform: none !important;
}

.cta-section *::before,
.cta-section *::after {
    content: none !important;
    display: none !important;
}

.cta-card,
.cta-card *,
.benefit-item,
.benefit-icon {
    transform: none !important;
    overflow: visible !important;
}

.cta-card:hover,
.cta-card:hover::before,
.cta-card:hover::after {
    transform: none !important;
}

/* Hero Join Button - Bigger Size */
.hero-join-btn {
    padding: 1.5rem 4rem !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    border-radius: 18px !important;
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4) !important;
    overflow: visible !important;
    border: none !important;
}

.hero-join-btn::before {
    display: none !important;
}

.hero-join-btn::after {
    display: none !important;
}

.hero-join-btn:hover {
    transform: translateY(-5px) scale(1.08) !important;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5) !important;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--glass-bg-strong);
        backdrop-filter: blur(40px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-actions {
        gap: 0.75rem;
    }
    
    .nav-actions .cta-button {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-join-btn {
        padding: 1rem 2.5rem !important;
        font-size: 1.1rem !important;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    
    .footer-links-compact {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .gradient-orb {
        opacity: 0.3;
        filter: blur(80px);
    }
    
    .about-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .cta-section {
        padding: 5rem 0;
    }
    
    .cta-card {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-benefits {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 5rem 1rem 2rem;
    }
    
    .hero-join-btn {
        padding: 0.9rem 2rem !important;
        font-size: 1rem !important;
    }
    
    .hero-stats {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

/* Fix: prevent partner logo stretching and tune navbar logo on mobile */
.partner-logo {
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-image {
        height: 44px;
        max-width: 160px;
        width: auto;
    }
    .partner-logo {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 38px;
        max-width: 140px;
    }
}

/* Loading Animation */
@keyframes contentLoad {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section > .container > * {
    animation: contentLoad 0.8s ease-out backwards;
}

section:nth-child(1) > .container > * { animation-delay: 0.1s; }
section:nth-child(2) > .container > * { animation-delay: 0.2s; }
section:nth-child(3) > .container > * { animation-delay: 0.3s; }

/* Print Styles for SEO */
@media print {
    .glass-nav,
    .scroll-indicator,
    .cta-section,
    .easter-egg-modal,
    .theme-toggle {
        display: none;
    }
    
    .hero-background {
        display: none;
    }
}

/* About Section Styles */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.about-card {
    padding: 3rem;
    text-align: center;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.75rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.about-card h3 {
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 4s ease infinite;
}

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

/* Features Section Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.35),
                inset 0 1px 1px rgba(255, 255, 255, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

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

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

/* Testimonials Section Styles */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

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

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 1.05rem;
}

.author-role {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Contact Section Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-details h4 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.contact-details a,
.contact-details p {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.contact-details a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: all 0.4s ease;
    color: var(--text-primary);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

/* Contact Form Styles */
.contact-form-wrapper {
    display: flex;
    align-items: stretch;
}

.contact-form {
    padding: 3rem;
    width: 100%;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.15rem;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--glass-bg-strong);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

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

/* Rocket Launch Animation */
.rocket-launch-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rocket-launch-container.active {
    opacity: 1;
    pointer-events: all;
}

.rocket-wrapper {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.rocket {
    position: relative;
    width: 80px;
    height: 120px;
    animation: rocketShake 0.5s ease-in-out infinite;
}

.rocket-launch-container.launching .rocket {
    animation: rocketLaunch 3s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes rocketShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px) rotate(-1deg); }
    75% { transform: translateX(2px) rotate(1deg); }
}

@keyframes rocketLaunch {
    0% { transform: translateY(0) scale(1); }
    20% { transform: translateY(-50px) scale(1.05); }
    100% { transform: translateY(-150vh) scale(0.5); }
}

.rocket-body {
    position: relative;
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 30px 30px 10px 10px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.6);
}

.rocket-body::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 30px solid #667eea;
}

.rocket-window {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rocket-fins {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.fin {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 30px solid #764ba2;
    border-bottom: 10px solid transparent;
}

.fin-left {
    left: -20px;
    border-left: 20px solid transparent;
    border-right: 20px solid #764ba2;
}

.fin-right {
    right: -20px;
    border-right: 20px solid transparent;
    border-left: 20px solid #764ba2;
}

.rocket-flame {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 60px;
    opacity: 0;
}

.rocket-launch-container.launching .rocket-flame {
    opacity: 1;
}

.flame {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 40px;
    background: linear-gradient(to bottom, #ff6b6b, #ffa500, #ffff00);
    border-radius: 50% 50% 0 0;
    animation: flameFlicker 0.1s ease-in-out infinite;
}

.flame-1 {
    width: 30px;
    animation-delay: 0s;
}

.flame-2 {
    width: 25px;
    height: 35px;
    animation-delay: 0.05s;
}

.flame-3 {
    width: 20px;
    height: 30px;
    animation-delay: 0.1s;
}

@keyframes flameFlicker {
    0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
    50% { opacity: 0; transform: translateX(-50%) scale(1.1, 0.9); }
}

.smoke-trail {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 100px;
    opacity: 0;
}

.rocket-launch-container.launching .smoke-trail {
    opacity: 1;
    animation: smokeRise 1s ease-out infinite;
}

@keyframes smokeRise {
    0% {
        background: radial-gradient(circle, rgba(150, 150, 150, 0.6), transparent);
        transform: translateX(-50%) translateY(0) scale(1);
    }
    100% {
        background: radial-gradient(circle, rgba(150, 150, 150, 0), transparent);
        transform: translateX(-50%) translateY(-80px) scale(1.8);
    }
}

.launch-platform {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 10px;
    background: linear-gradient(to right, #444, #666, #444);
    border-radius: 5px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: countdownPulse 1s ease-in-out;
}

@keyframes countdownPulse {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

/* Join Form Modal */
.join-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.join-form-modal.active {
    display: flex;
    opacity: 1;
}

.form-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
}

.form-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    animation: formDrop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes formDrop {
    0% { transform: translateY(-100vh) rotate(-10deg); opacity: 0; }
    60% { transform: translateY(20px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0); opacity: 1; }
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pulsing-badge {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

.pulse-ring.delay-1 {
    animation-delay: 0.3s;
}

.pulse-ring.delay-2 {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.badge-icon {
    font-size: 3rem;
    z-index: 1;
}

.form-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.form-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.urgency-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 165, 0, 0.2));
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 50px;
    font-weight: 600;
    animation: urgencyPulse 2s ease-in-out infinite;
}

@keyframes urgencyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.urgency-icon {
    font-size: 1.2rem;
}

.join-form {
    position: relative;
}

.form-step {
    display: none;
    animation: stepFadeIn 0.5s ease forwards;
}

.form-step.active {
    display: block;
}

@keyframes stepFadeIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.step-indicator {
    margin-bottom: 2rem;
}

.step-number {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--glass-bg);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group-animated {
    position: relative;
    margin-bottom: 1.75rem;
}

.form-group-animated label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
}

.required {
    color: #ff6b6b;
}

.form-group-animated input,
.form-group-animated textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group-animated input:focus,
.form-group-animated textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--glass-bg-strong);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
}

.form-group-animated input:focus + .input-focus-border {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-animated.half {
    margin-bottom: 0;
}

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

.interest-card {
    position: relative;
    cursor: pointer;
}

.interest-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.interest-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.interest-card input:checked + .interest-content {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.interest-icon {
    font-size: 2.5rem;
}

.interest-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.interest-card input:checked + .interest-content .interest-label {
    color: white;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-btn {
    flex: 1;
    padding: 1.15rem 2rem;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.primary-form-btn {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.primary-form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

.secondary-form-btn {
    background: var(--glass-bg-strong);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.secondary-form-btn:hover {
    background: var(--glass-bg);
    transform: translateY(-2px);
}

.submit-form-btn {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    animation: submitPulse 2s ease-in-out infinite;
}

@keyframes submitPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(67, 233, 123, 0.4); }
    50% { box-shadow: 0 12px 32px rgba(67, 233, 123, 0.6); }
}

.btn-loader .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.fomo-section {
    margin-top: 2rem;
}

.fomo-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
}

.fomo-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.fomo-content h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.success-message {
    text-align: center;
    padding: 2rem;
}

.success-animation {
    margin-bottom: 2rem;
}

.success-checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.success-checkmark svg {
    width: 100%;
    height: 100%;
}

.checkmark-circle {
    stroke: #43e97b;
    stroke-width: 3;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    stroke: #43e97b;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    to { stroke-dashoffset: 0; }
}

.success-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.success-text {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.success-subtext {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-modal-content {
        width: 95%;
        padding: 2rem 1.5rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .interest-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-buttons {
        flex-direction: column;
    }
}

/* Careers Link with Gradient */
.careers-link {
    position: relative;
}

.careers-gradient {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: gradient-flow 3s ease infinite;
}

.careers-link:hover .careers-gradient {
    background: var(--gradient-secondary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 3s ease infinite;
}

/* ==========================================
   PARTNERS SECTION - COMPACT & CLEAN
   ========================================== */

.partners-section {
    position: relative;
    padding: 4rem 2rem;
    overflow: hidden;
    background: var(--bg-primary);
}

.partners-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Animated gradient orbs - smaller */
.orb-partner-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -50px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1), transparent);
    animation: float 20s ease-in-out infinite, pulse 8s ease-in-out infinite;
}

.orb-partner-2 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    right: -50px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1), transparent);
    animation: float 25s ease-in-out infinite reverse, pulse 10s ease-in-out infinite;
}

.orb-partner-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(67, 233, 123, 0.08), transparent);
    animation: rotate 30s linear infinite, pulse 12s ease-in-out infinite;
}

/* Floating geometric shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.shape {
    position: absolute;
    opacity: 0.08;
    animation: floatShape 15s ease-in-out infinite;
}

.shape-1 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.shape-2 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    border-radius: 50%;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    bottom: 25%;
    left: 25%;
    animation-delay: 4s;
}

.shape-4 {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    border-radius: 20% 80% 20% 80% / 80% 20% 80% 20%;
    top: 35%;
    right: 30%;
    animation-delay: 6s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -15px) rotate(90deg); }
    50% { transform: translate(0, -30px) rotate(180deg); }
    75% { transform: translate(-15px, -15px) rotate(270deg); }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
}

/* Partners Grid - compact */
.partners-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 2rem;
    position: relative;
    z-index: 1;
    /* Enable wrapping for responsiveness */
    flex-wrap: wrap;
}

/* Partner Card - much smaller */
.partner-card {
    position: relative;
    max-width: 400px;
    padding: 2rem 2rem 1.5rem;
    background: var(--glass-bg-strong);
       backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    cursor: pointer;
}

.partner-card::before {
    display: none;
}

.partner-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.partner-glow {
    display: none;
}

/* Logo wrapper - compact */
.partner-logo-wrapper {
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    padding: 0rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo-wrapper {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.partner-logo {
    max-width: 250%;
    max-height: 250%;
    width: 250%;
    height: 250%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    transform: scale(1.08);
}

/* Partner Info - compact */
.partner-info {
    text-align: center;
    margin-bottom: 1rem;
}

.partner-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partner-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Partner Badge - smaller */
.partner-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(67, 233, 123, 0.25);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-badge {
    box-shadow: 0 4px 15px rgba(67, 233, 123, 0.4);
}

/* Partner CTA - compact */
.partner-cta {
    text-align: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.partner-cta-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Light mode */
[data-theme="light"] .partner-logo-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 249, 253, 1));
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .partner-card:hover .partner-logo-wrapper {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.18);
}

/* Responsive */
@media (max-width: 768px) {
    .partners-section {
        padding: 3rem 1.5rem;
    }
    .partners-grid {
        width: 100%;
        gap: 1.25rem;
        justify-content: center;
    }
    .partner-card {
        /* Make card full-width on mobile and fix excessive padding */
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }
    .partner-logo-wrapper {
        height: 70px;
    }
    .shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .partner-logo-wrapper {
        height: 60px;
    }
    .partner-name {
        font-size: 1.15rem;
    }
    .partner-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 7rem 2rem 4rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .hero-stats {
        gap: 2rem;
        padding: 2rem;
    }
    
    .partners-grid {
        /* Keep centered layout and allow wrapping on tablets */
        max-width: 700px;
        margin: 2rem auto;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}
