/* ============================================
   Modern, Dark Theme with Vibrant Gradients
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ============================================
   CSS VARIABLES - Design Tokens
   ============================================ */
:root {
    /* Colors - Custom Palette */
    --color-bg-primary: #575D7A;
    --color-bg-secondary: #4C516C;
    --color-bg-tertiary: #3f4459;
    --color-bg-elevated: #4C516C;

    /* Brand Colors */
    --color-blue-primary: #4DA3FF;
    --color-blue-light: #8FB3FF;
    --color-success: #4CD4A4;
    --color-warning: #F4C26B;
    --color-error: #E06C75;

    /* Text Colors */
    --color-text-primary: #F1F2F6;
    --color-text-secondary: #C7CAD9;
    --color-text-tertiary: #9EA3B8;

    /* Accent Colors */
    --color-accent-link: #8FB3FF;
    --color-accent-glow: rgba(77, 163, 255, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4DA3FF 0%, #8FB3FF 100%);
    --gradient-secondary: linear-gradient(135deg, #8FB3FF 0%, #4DA3FF 100%);
    --gradient-neon: linear-gradient(135deg, #4DA3FF 0%, #4CD4A4 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(77, 163, 255, 0.1) 0%, rgba(143, 179, 255, 0.05) 100%);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Border Radius - Reduced for harder edges */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.625rem;
    --radius-2xl: 0.75rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(77, 163, 255, 0.4);
    --shadow-glow-sm: 0 0 15px rgba(77, 163, 255, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: linear-gradient(180deg, #4E536D 0%, #575D7A 40%, #5F6585 100%);
    background-attachment: fixed;
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;


}

/* Subtle grid pattern for structure */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--text-6xl);
    font-weight: 900;
}

h2 {
    font-size: var(--text-5xl);
    font-weight: 800;
}

h3 {
    font-size: var(--text-4xl);
}

h4 {
    font-size: var(--text-3xl);
}

p {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

a {
    color: var(--color-accent-link);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-blue-primary);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--space-sm);
    padding-left: var(--space-sm);
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
        padding-right: var(--space-lg);
        padding-left: var(--space-lg);
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1280px;
        /* Custom max-width closer to original design */
    }
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-neon {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow {
    box-shadow: var(--shadow-glow);
}

.glow-sm {
    box-shadow: var(--shadow-glow-sm);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    font-family: var(--font-sans);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-blue-primary);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-blue-primary);
    border-radius: 4px;
}

.btn-secondary:hover {
    background: rgba(77, 163, 255, 0.1);
    border-color: var(--color-blue-light);
    transform: translateY(-2px);
}

.btn-warning {
    background: var(--color-warning);
    color: #0f172a;
    /* Dark text for contrast */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
}

.btn-warning:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.btn-danger {
    background: var(--color-error);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
}

.btn-danger:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: var(--text-lg);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #3f4459;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-md) 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    font-size: var(--text-2xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-logo-img {
    max-height: 50px;
    width: auto;
    max-width: 100%;
}

/* Global Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

.navbar-menu {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
    align-items: center;
}

.navbar-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.navbar-link:hover {
    color: var(--color-text-primary);
}

.navbar-github {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
}

/* ============================================
   HERO SECTION
   ============================================ */
/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-3xl) 0;
    padding-top: 100px;
    /* Offset for fixed navbar */
    overflow: hidden;
}

@media (max-width: 991px) {
    .hero {
        min-height: auto;
        /* Allow natural height on mobile */
        padding-top: 120px;
        padding-bottom: var(--space-2xl);
    }
}

/* Sharp separator line after hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77, 163, 255, 0.6) 20%, rgba(77, 163, 255, 0.6) 80%, transparent);
    box-shadow: 0 0 8px rgba(77, 163, 255, 0.4);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(77, 163, 255, 0.15), transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1.25rem;
    background: rgba(77, 163, 255, 0.15);
    border: 1px solid rgba(77, 163, 255, 0.4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 5rem);
    /* Smaller minimum size for mobile */
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    word-break: break-word;
    /* Ensure long words like 'Lightspeed' don't overflow */
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    /* Responsive subtitle */
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-code {
    margin-top: var(--space-2xl);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* ============================================
   CODE BLOCKS
   ============================================ */
.code-block {
    background: #3a3f56;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

.code-language {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    font-family: var(--font-mono);
}

pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: 1.6;
    overflow-x: auto;
}

code {
    font-family: var(--font-mono);
    color: var(--color-blue-light);
}

/* ============================================
   SECTIONS
   ============================================ */
/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-xl) 0;
        /* Reduced padding on mobile */
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: var(--space-xl);
    }
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(77, 163, 255, 0.15);
    border: 1px solid rgba(77, 163, 255, 0.4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-blue-light);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-description {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   FEATURE GRID
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.feature-card {
    background: var(--color-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: var(--space-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-subtle);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(77, 163, 255, 0.4);
    box-shadow: 0 20px 40px rgba(77, 163, 255, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: var(--text-3xl);
    position: relative;
    z-index: 1;
}

.feature-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--color-text-secondary);
    position: relative;
    z-index: 1;
}

/* ============================================
   BENCHMARK
   ============================================ */

.benchmark-card {
    margin-top: 1rem;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow-x: auto;
    /* Ensure table scrolls on mobile */
}

.benchmark-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
}

.benchmark-table thead th {
    padding: 0.9rem 1rem;
    text-align: center;
    font-weight: 600;
    opacity: 0.85;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.benchmark-table thead th:first-child {
    text-align: left;
}

.benchmark-table tbody td {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.benchmark-table tbody tr {
    transition: background var(--transition-fast);
}

.benchmark-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    opacity: 0.9;
}

/* Highlight Soul column */
.benchmark-table th:nth-child(2),
.benchmark-table td:nth-child(2) {
    background: linear-gradient(180deg,
            rgba(77, 163, 255, 0.18),
            rgba(77, 163, 255, 0.05));
    font-weight: 600;
    color: #eaf3ff;
}

/* Hover row */
.benchmark-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Small note text */
.benchmark-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    opacity: 0.6;
    text-align: center;
}



/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--color-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: var(--space-xl);
}

.testimonial-text {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-lg);
}

.testimonial-info h4 {
    font-size: var(--text-base);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.pricing-card {
    background: var(--color-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: var(--space-xl);
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--color-blue-primary);
    box-shadow: var(--shadow-glow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: var(--space-lg);
    background: var(--gradient-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
}

.pricing-name {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.pricing-price {
    font-size: var(--text-5xl);
    font-weight: 800;
    margin-bottom: var(--space-xs);
}

.pricing-period {
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-lg);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    padding: var(--space-sm) 0;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.pricing-features li::before {
    content: '✓';
    color: var(--color-success);
    font-weight: 700;
}

/* ============================================
   BENCHMARK TABLE
   ============================================ */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: var(--space-2xl);
    border-radius: 6px;
    background: var(--color-bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.benchmark-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
}

.benchmark-table thead {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid var(--color-blue-primary);
}

.benchmark-table thead th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.benchmark-table thead th:first-child {
    color: var(--color-text-primary);
    font-size: 0.8rem;
}

.benchmark-table thead th:nth-child(2) {
    color: var(--color-blue-light);
    background: rgba(77, 163, 255, 0.08);
}

.benchmark-table thead th:nth-child(3) {
    color: var(--color-blue-light);
    background: rgba(77, 163, 255, 0.08);
}


.benchmark-table thead th:last-child {
    border-right: none;
}

.benchmark-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--transition-fast);
}

.benchmark-table tbody tr:hover {
    background: rgba(77, 163, 255, 0.05);
}

.benchmark-table tbody tr:last-child {
    border-bottom: none;
}

.benchmark-table td {
    padding: var(--space-md) var(--space-lg);
    color: var(--color-text-secondary);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.benchmark-table td:first-child {
    color: var(--color-text-primary);
    font-weight: 500;
    font-size: var(--text-base);
    font-family: var(--font-sans);
}

.benchmark-table td:first-child small {
    color: var(--color-text-tertiary);
    font-size: 0.75rem;
    font-weight: 400;
}

/* Soul column - highlighted */
.benchmark-table td:nth-child(2) {
    background: rgba(77, 163, 255, 0.08);
    color: var(--color-blue-light);
    font-weight: 700;
    font-size: var(--text-lg);
    position: relative;
}

.benchmark-table td:nth-child(3) {
    background: rgba(77, 163, 255, 0.08);
    color: var(--color-blue-light);
    font-weight: 700;
    font-size: var(--text-lg);
    position: relative;
}

.benchmark-table td:nth-child(2)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-blue-primary);
}

.benchmark-table td:nth-child(2) strong {
    color: var(--color-blue-primary);
}

.benchmark-table td:nth-child(3)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-blue-primary);
}

.benchmark-table td:nth-child(3) strong {
    color: var(--color-blue-primary);
}

.benchmark-table td:last-child {
    border-right: none;
}

/* Responsive table */
@media (max-width: 768px) {
    .benchmark-table {
        font-size: 0.75rem;
    }

    .benchmark-table th,
    .benchmark-table td {
        padding: var(--space-sm) var(--space-md);
    }

    .benchmark-table td:first-child {
        font-size: 0.875rem;
    }

    .benchmark-table td:nth-child(2) {
        font-size: var(--text-base);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-text-primary);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--color-text-tertiary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    :root {
        --text-6xl: 3rem;
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
    }

    .navbar-menu {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: var(--space-2xl) 0;
    }

    .hero-cta {
        flex-direction: column;
    }

    .features-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    /* Stack hero two-column layout on mobile */
    .hero .container>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-blue-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-blue-light);
}

/* Dark Mode Autofill Fix */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1e202f inset !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ============================================
   BOOTSTRAP UTILITIES COMPATIBILITY
   ============================================ */
.text-primary {
    color: var(--color-blue-primary) !important;
}

.text-secondary {
    color: var(--color-text-secondary) !important;
}

.text-success {
    color: var(--color-success) !important;
}

.text-danger {
    color: var(--color-error) !important;
}

.text-warning {
    color: var(--color-warning) !important;
}

.text-info {
    color: var(--color-blue-light) !important;
}

.text-light {
    color: var(--color-text-primary) !important;
}

.text-dark {
    color: #1e202f !important;
}

.bg-dark {
    background-color: #1e202f !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}