/* ============================================
   PROXIMA - Enterprise Landing Page Styles
   Aesthetic: Cyber-Industrial / Technical Futurist
   ============================================ */

:root {
    /* Base Colors */
    --bg-void: #030305;
    --bg-panel: #0a0a0c;
    --bg-surface: #111114;

    /* Text Colors */
    --text-primary: #f0f0f5;
    --text-secondary: #888899;
    --text-dim: #444455;

    /* Accents - High Contrast Neon */
    --accent-core: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.4);

    /* Semantic Colors */
    --neon-blue: #3b82f6;
    --neon-purple: #8b5cf6;
    --neon-cyan: #06b6d4;

    /* Technical Grid */
    --grid-color: rgba(255, 255, 255, 0.03);

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Layout */
    --container-width: 1440px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Base Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--bg-void);
}

body {
    font-family: var(--font-body);
    background: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   GRID BACKGROUND SYSTEM
   ============================================ */
.bg-grid-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-void);
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.horizontal {
    background: linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 100% 60px;
}

.vertical {
    background: linear-gradient(to right, var(--grid-color) 1px, transparent 1px);
    background-size: 60px 100%;
}

.grid-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-void) 90%);
}

/* ============================================
   NAVIGATION - TECHNICAL BAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(3, 3, 5, 0.8);
    backdrop-filter: blur(12px);
    padding: 0 40px;
    height: 80px;
}

.nav-container {
    max-width: var(--container-width);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Area */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-box {
    width: 40px;
    height: 40px;
    background: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.logo-initial {
    color: var(--bg-void);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 1.25rem;
}

.version-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    margin-left: 8px;
}

/* Nav Link Hover Effect */
.nav-links {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: 4px;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 8px 16px;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(100%);
    transition: transform 0.3sVar(--font-mono);
}

.nav-link:hover::before {
    transform: translateY(0);
}

/* Buttons (Cyber Style - Enhanced) */
.cyber-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 44px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.cyber-btn:hover {
    color: var(--bg-void);
    border-color: var(--text-primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.cyber-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.primary-btn {
    background: var(--text-primary);
    color: var(--bg-void);
    border-color: var(--text-primary);
}

.primary-btn::before {
    background: var(--bg-void);
}

.primary-btn:hover {
    color: var(--text-primary);
    background: transparent;
}

.cyber-btn-lg {
    height: 60px;
    padding: 0 40px;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

/* ============================================
   HERO SECTION - ASYMMETRIC
   ============================================ */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.hero-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Status Indicator */
.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-blue);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    padding-bottom: 4px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Typography */
.hero-title {
    font-family: var(--font-display);
    line-height: 0.9;
    margin-bottom: 32px;
}

.hero-text-main {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    letter-spacing: -0.04em;
    position: relative;
}

.hero-text-main::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    color: var(--text-primary);
    border-right: 2px solid var(--text-primary);
    -webkit-text-stroke: 0;
    overflow: hidden;
    animation: typeReveal 2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes typeReveal {
    to {
        width: 100%;
        border-color: transparent;
    }
}

.hero-text-sub {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--text-primary);
    margin-top: -10px;
}

.hero-subtitle {
    max-width: 600px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    padding-left: 20px;
    border-left: 2px solid var(--neon-purple);
}

.terminal-prompt {
    color: var(--neon-purple);
    font-weight: 700;
}

.highlight-ai {
    color: var(--text-primary);
    font-weight: 600;
}

/* Mega Button (Hero CTA - Enhanced) */
.mega-btn {
    height: 80px;
    padding: 0 40px;
    background: var(--text-primary);
    color: var(--bg-void);
    border: none;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.mega-btn::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--text-primary);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.mega-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.mega-btn:hover::after {
    opacity: 1;
    transform: scale(1);
}

.mega-btn .btn-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 1.2rem;
    z-index: 2;
}

.mega-btn .btn-sub {
    font-size: 0.7rem;
    opacity: 0.7;
    font-weight: 500;
}

/* Stats */
.hero-stats {
    margin-top: 80px;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
}

.stat-unit {
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-val {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

.stat-sep {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    transform: skew(-20deg);
}

/* Visual (Right Side) */
/* ============================================
   VISUAL - THE SENTIENT CORE
   ============================================ */
.hero-visual {
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    perspective: 2000px;
    z-index: 1;
    pointer-events: none;
    /* Slightly offset to right for asymmetry */
    margin-right: -100px;
}

.core-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    /* Smooth follow delay */
}

/* Central Nucleus */
.core-nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at 30% 30%, #fff, var(--neon-cyan));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 60px var(--neon-cyan),
        0 0 100px var(--neon-purple),
        inset 0 0 40px rgba(0, 0, 0, 0.5);
    animation: corePulse 4s ease-in-out infinite;
    z-index: 10;
}

@keyframes corePulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.8;
    }
}

/* Gyroscopic Rings */
.core-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.ring-1 {
    width: 600px;
    height: 600px;
    border-color: rgba(6, 182, 212, 0.3);
    border-width: 2px;
    border-left-color: transparent;
    border-right-color: transparent;
    animation: spin3D_1 20s linear infinite;
}

.ring-2 {
    width: 480px;
    height: 480px;
    border-color: rgba(139, 92, 246, 0.3);
    border-style: dashed;
    animation: spin3D_2 15s linear infinite reverse;
}

.ring-3 {
    width: 340px;
    height: 340px;
    border-color: rgba(255, 255, 255, 0.2);
    border-top: 4px solid var(--text-primary);
    border-bottom: 4px solid var(--text-primary);
    animation: spin3D_3 10s linear infinite;
}

/* Scanner Effect */
.core-scanner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 650px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    transform: translate(-50%, -50%);
    opacity: 0.5;
    animation: scan 4s ease-in-out infinite;
}

@keyframes scan {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg) scaleX(0.5);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) rotate(180deg) scaleX(1);
        opacity: 1;
    }
}

/* 3D Spin Animations */
@keyframes spin3D_1 {
    0% {
        transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg);
    }
}

@keyframes spin3D_2 {
    0% {
        transform: translate(-50%, -50%) rotateY(60deg) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateY(60deg) rotateZ(360deg);
    }
}

@keyframes spin3D_3 {
    0% {
        transform: translate(-50%, -50%) rotateX(-45deg) rotateY(30deg) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(-45deg) rotateY(30deg) rotateZ(360deg);
    }
}

/* Particles */
.particle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px white;
}

.p-1 {
    animation: orbit1 8s infinite linear;
}

.p-2 {
    animation: orbit2 12s infinite linear;
}

.p-3 {
    animation: orbit3 5s infinite linear;
}

@keyframes orbit1 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(300px) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(300px) rotate(-360deg);
    }
}

@keyframes orbit2 {
    0% {
        transform: translate(-50%, -50%) rotate(120deg) translateX(240px) rotate(-120deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(480deg) translateX(240px) rotate(-480deg);
    }
}

@keyframes orbit3 {
    0% {
        transform: translate(-50%, -50%) rotate(240deg) translateX(180px) rotate(-240deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(600deg) translateX(180px) rotate(-600deg);
    }
}

/* Mobile */
@media (max-width: 1024px) {
    .hero-visual {
        opacity: 0.3;
        right: -20%;
    }

    .hero-container {
        padding: 0 24px;
    }
}

/* ============================================
   FEATURES SECTION - DATA PANELS
   ============================================ */
.features {
    padding: 120px 0;
    position: relative;
    border-top: 1px solid var(--grid-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    margin-bottom: 80px;
    padding-left: 40px;
    border-left: 2px solid var(--neon-cyan);
}

.section-tag {
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    font-size: 0.8rem;
    margin-bottom: 16px;
    display: block;
    letter-spacing: 0.1em;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    /* Increased gap slightly for effect */
    background: transparent;
}

.feature-card {
    background: var(--bg-void);
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);

    /* Spotlight Setup */
    --mouse-x: 0px;
    --mouse-y: 0px;
}

/* The Spotlight Glow */
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-card-large {
    grid-column: span 2;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon svg {
    stroke: var(--text-primary);
    width: 24px;
    height: 24px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Feature Visuals */
.feature-visual {
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.5);
    padding: 24px;
    display: flex;
    justify-content: center;
}

.key-animation {
    display: flex;
    gap: 20px;
    font-family: var(--font-mono);
    font-size: 2rem;
}

.key-crossed {
    color: var(--text-dim);
    text-decoration: line-through;
    opacity: 0.5;
}

.checkmark {
    color: var(--neon-cyan);
}

/* ============================================
   PROVIDERS SECTION
   ============================================ */
.providers {
    padding: 120px 0;
    background: var(--bg-panel);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.providers-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.provider-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-void);
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.provider-card:hover {
    border-color: var(--text-primary);
    transform: translateY(-5px);
}

.provider-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.provider-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
}

.provider-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.provider-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

.provider-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
    min-height: 40px;
}

.provider-features {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.provider-features li {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    padding: 4px 0;
    display: flex;
    justify-content: space-between;
}

.provider-features li::after {
    content: '[OK]';
    color: var(--neon-blue);
    opacity: 0;
    transition: opacity 0.3s;
}

.provider-card:hover .provider-features li::after {
    opacity: 1;
}

/* ============================================
   TOOLS SECTION - TERMINAL STYLE
   ============================================ */
.tools {
    padding: 120px 0;
}

.tools-tabs {
    display: flex;
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-tab {
    background: var(--bg-void);
    border: none;
    padding: 12px 24px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.tool-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.tool-tab.active {
    background: var(--text-primary);
    color: var(--bg-void);
    font-weight: 700;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tool-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s;
    font-family: var(--font-mono);
}

.tool-item:hover {
    border-color: var(--neon-purple);
    background: rgba(139, 92, 246, 0.05);
}

.tool-item code {
    color: var(--neon-cyan);
    font-size: 0.9rem;
}

.tool-item span {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ============================================
   DEMO & FOOTER
   ============================================ */
.demo {
    padding: 120px 0;
    background: var(--bg-panel);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-frame {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-void);
    padding: 4px;
}

.demo-header {
    background: #1a1a1e;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-content video {
    width: 100%;
    display: block;
}

/* Steps (Quick Start) */
.quickstart {
    padding: 120px 0;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step-card {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 32px;
    position: relative;
    padding-bottom: 40px;
}

.step-number {
    position: absolute;
    left: -12px;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--bg-void);
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
}

.step-link {
    color: var(--neon-blue);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-flex;
    margin-top: 8px;
}

/* Compatible Apps */
.compatible {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-panel);
}

.apps-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.app-item:hover {
    opacity: 1;
    color: var(--text-primary);
}

.app-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

/* Footer */
.footer {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-void);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer h4 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.footer-column a:hover {
    color: var(--neon-cyan);
    transform: translateX(4px);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

.footer-social a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
        margin-bottom: 20px;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

/* Code Block wrapper for Copy Button */
.code-block-wrapper {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 16px;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.code-block {
    padding: 16px;
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #a78bfa;
}

.copy-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 4px 12px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--text-primary);
    color: var(--bg-void);
}

/* CTA */
.cta {
    padding: 120px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-subtitle {
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 768px) {

    .features-grid,
    .providers-showcase,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-column: span 1;
    }
}

/* ============================================
   MOUSE FOLLOWER & SCROLL FX
   ============================================ */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.06) 30%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    /* Behind content but above background */
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    mix-blend-mode: screen;
    will-change: transform;
}

/* Scroll Velocity Blur Class */
.blur-content {
    filter: blur(2px);
    transition: filter 0.1s;
}