/* ===== CSS Reset ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CSS Variables ===== */
:root {
    /* Brand Colors */
    --brand-50: #f0f0ff;
    --brand-100: #e6e5ff;
    --brand-200: #d0cfff;
    --brand-300: #a7a4ff;
    --brand-400: #7a75ff;
    --brand-500: #4F45E4;
    --brand-600: #3f35d4;
    --brand-700: #332bc4;
    --brand-800: #2a23a3;
    --brand-900: #252082;

    /* Dark Theme Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #141419;
    --bg-tertiary: #1a1a23;
    --bg-elevated: #212129;
    
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --border-primary: #27272a;
    --border-secondary: #3f3f46;
    
    /* Accent Colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-400) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--brand-300) 0%, var(--brand-600) 100%);
    --gradient-bg: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Base Styles ===== */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* ===== Utility Classes ===== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Button Components ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    background: var(--brand-500);
    border-color: var(--brand-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-secondary);
}

.btn-ghost:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--brand-500);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
    z-index: 100;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo {
    width: 2rem;
    height: 2rem;
    color: var(--brand-500);
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-by {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.nav-by a {
    color: var(--brand-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-by a:hover {
    color: var(--brand-300);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--gradient-bg);
    overflow: hidden;
}

.hero-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--brand-500), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--brand-400), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--brand-300), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--brand-500), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: sparkle 20s linear infinite;
    opacity: 0.3;
}

@keyframes sparkle {
    from { transform: translateX(0); }
    to { transform: translateX(-150px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--warning), #fb923c);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

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

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

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.countdown-timer {
    background: var(--bg-elevated);
    border: 1px solid var(--border-secondary);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.countdown-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.countdown-unit {
    text-align: center;
}

.countdown-unit span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-500);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.countdown-unit label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    animation: slideInRight 1s ease-out;
    perspective: 1000px;
}

.hero-mockup {
    transform: rotateY(-15deg) rotateX(15deg);
    transition: transform 0.3s ease;
}

.hero-mockup:hover {
    transform: rotateY(-10deg) rotateX(10deg) scale(1.02);
}

.mockup-window {
    background: var(--bg-elevated);
    border: 1px solid var(--border-secondary);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.mockup-header {
    background: var(--bg-tertiary);
    padding: 1rem;
    border-bottom: 1px solid var(--border-primary);
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28ca42; }

.mockup-content {
    padding: 2rem;
}

.invoice-preview {
    background: white;
    color: #333;
    border-radius: 0.5rem;
    padding: 1.5rem;
    font-size: 0.875rem;
}

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

.invoice-logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--brand-500);
}

.invoice-title {
    font-weight: 600;
    color: #666;
}

.invoice-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.invoice-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0 0;
    margin-top: 1rem;
    border-top: 2px solid #333;
    font-weight: 700;
    font-size: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.scroll-indicator svg {
    width: 1.5rem;
    height: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--bg-elevated);
    color: var(--brand-500);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--border-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Features Section ===== */
.features {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
}

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

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

.feature-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-500);
}

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

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Demo Section ===== */
.demo {
    padding: 8rem 0;
    background: var(--bg-primary);
    position: relative;
}

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

.demo-showcase {
    margin-bottom: 4rem;
}

.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.demo-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-secondary);
    border-radius: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.demo-tab:hover {
    border-color: var(--brand-500);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.demo-tab.active {
    background: var(--gradient-primary);
    border-color: var(--brand-500);
    color: white;
    box-shadow: var(--shadow-md);
}

.demo-tab svg {
    width: 1.25rem;
    height: 1.25rem;
}

.demo-content {
    position: relative;
}

.demo-screen {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    animation: fadeInUp 0.6s ease-out;
}

.demo-screen.active {
    display: grid;
}

.demo-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-elevated);
    border: 1px solid var(--border-secondary);
}

.demo-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.demo-image:hover::before {
    opacity: 0.1;
}

.demo-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.demo-image:hover img {
    transform: scale(1.02);
}

.demo-description {
    padding: 1rem 0;
}

.demo-description h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.demo-description p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.demo-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.demo-features li::before {
    content: '✓';
    width: 1.25rem;
    height: 1.25rem;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.demo-cta {
    text-align: center;
    padding: 3rem 0;
    background: rgba(79, 69, 228, 0.05);
    border: 1px solid rgba(79, 69, 228, 0.2);
    border-radius: 1.5rem;
}

.demo-cta p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.pricing-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-card {
    background: var(--bg-elevated);
    border: 2px solid var(--brand-500);
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 1.5rem;
    z-index: -1;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-badge {
    display: inline-block;
    background: #faa055;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.price-amount {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

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

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.feature-check {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--success);
    flex-shrink: 0;
}

.pricing-cta {
    width: 100%;
    justify-content: center;
}

/* ===== CTA Section ===== */
.cta {
    padding: 6rem 0;
    background: var(--gradient-bg);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-primary);
    padding: 3rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 2rem;
    height: 2rem;
    color: var(--brand-500);
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

/* ===== Footer Updates ===== */
.footer-by {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.footer-by a {
    color: var(--brand-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-by a:hover {
    color: var(--brand-300);
}

.footer-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ===== CTA Support ===== */
.cta-support {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.cta-support a {
    color: var(--brand-400);
    text-decoration: none;
}

.cta-support a:hover {
    color: var(--brand-300);
    text-decoration: underline;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-elevated);
        border: 1px solid var(--border-secondary);
        border-radius: 0 0 1rem 1rem;
        padding: 1rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .language-switcher {
        order: -1;
    }
    
    .language-dropdown {
        position: static;
        margin-top: 0;
        box-shadow: none;
        border: none;
        background: var(--bg-tertiary);
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
    }
    
    .language-dropdown.active {
        display: block;
    }
    
    .language-dropdown:not(.active) {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .countdown-display {
        gap: 1rem;
    }
    
    .countdown-unit span {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .demo-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .demo-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .demo-tab {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .demo-screen {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .demo-screen .demo-image {
        order: 2;
    }
    
    .demo-screen .demo-description {
        order: 1;
    }
    
    .demo-description h3 {
        font-size: 1.5rem;
    }
    
    .demo-description p {
        font-size: 1rem;
    }
    
    .demo-cta {
        padding: 2rem 1rem;
    }
    
    .demo-cta p {
        font-size: 1.125rem;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .price-amount {
        font-size: 3rem;
    }
    
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* ===== Parallax Effects ===== */
.parallax-element {
    transition: transform 0.1s ease-out;
}

/* ===== Smooth Scrolling Enhancements ===== */
@media (prefers-reduced-motion: no-preference) {
    .feature-card {
        opacity: 0;
        transform: translateY(50px);
        animation: fadeInUp 0.6s ease-out forwards;
    }
    
    .feature-card:nth-child(1) { animation-delay: 0.1s; }
    .feature-card:nth-child(2) { animation-delay: 0.2s; }
    .feature-card:nth-child(3) { animation-delay: 0.3s; }
    .feature-card:nth-child(4) { animation-delay: 0.4s; }
    .feature-card:nth-child(5) { animation-delay: 0.5s; }
    .feature-card:nth-child(6) { animation-delay: 0.6s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Hero Badge ===== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(79, 69, 228, 0.1);
    border: 1px solid rgba(79, 69, 228, 0.3);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-badge a {
    color: var(--brand-400);
    text-decoration: none;
    font-weight: 500;
}

.hero-badge a:hover {
    color: var(--brand-300);
}

/* ===== Brainboom Section ===== */
.brainboom-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    position: relative;
    overflow: hidden;
}

.brainboom-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(79,69,228,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.brainboom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

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

.ecosystem-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ecosystem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.ecosystem-card:hover::before {
    opacity: 0.05;
}

.ecosystem-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-500);
    box-shadow: var(--shadow-lg);
}

.ecosystem-card > * {
    position: relative;
    z-index: 1;
}

.ecosystem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.ecosystem-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ecosystem-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ecosystem-link {
    color: var(--brand-400);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.ecosystem-link:hover {
    color: var(--brand-300);
}

.brainboom-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(79, 69, 228, 0.05);
    border: 1px solid rgba(79, 69, 228, 0.2);
    border-radius: 1rem;
}

.brainboom-cta p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* ===== Legal Pages ===== */
.legal-content {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-primary);
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.brainboom-link {
    color: var(--brand-400);
    text-decoration: none;
    font-weight: 500;
}

.brainboom-link:hover {
    color: var(--brand-300);
    text-decoration: underline;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-section ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-secondary);
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section a {
    color: var(--brand-400);
    text-decoration: none;
}

.legal-section a:hover {
    color: var(--brand-300);
    text-decoration: underline;
}

.contact-info {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* ===== Language Switcher ===== */
.language-switcher {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--border-secondary);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.language-btn:hover {
    background: var(--bg-elevated);
    border-color: var(--brand-500);
    color: var(--text-primary);
}

.language-icon {
    width: 1rem;
    height: 1rem;
}

.dropdown-icon {
    width: 0.875rem;
    height: 0.875rem;
    transition: transform 0.2s ease;
}

.language-btn.active .dropdown-icon {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-secondary);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 160px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    text-align: left;
}

.language-option:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.language-option.current {
    background: rgba(79, 69, 228, 0.1);
    color: var(--brand-400);
}

.language-option img {
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
} 