/* ============================================
   NeuralVane - AI Infrastructure
   Deep Purple/Indigo + Warm Orange on Dark
   ============================================ */

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

:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #3730a3;
    --accent: #f97316;
    --accent-light: #fb923c;
    --bg-darkest: #09090b;
    --bg-dark: #18181b;
    --bg-card: #1c1c22;
    --bg-elevated: #27272a;
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border: #27272a;
    --border-light: #3f3f46;
    --glow-purple: rgba(79, 70, 229, 0.3);
    --glow-orange: rgba(249, 115, 22, 0.3);
    --gradient-primary: linear-gradient(135deg, #4f46e5, #7c3aed);
    --gradient-accent: linear-gradient(135deg, #f97316, #ef4444);
    --gradient-mixed: linear-gradient(135deg, #4f46e5, #f97316);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-darkest);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(9, 9, 11, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 40px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-radius: 50%;
    opacity: 0.9;
}

/* Pill Navigation */
.nav-pill {
    display: flex;
    align-items: center;
    background: rgba(39, 39, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 4px;
    gap: 2px;
}

.nav-pill a {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.nav-pill a.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 10px var(--glow-purple);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--glow-purple);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow-purple);
}

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

.btn-secondary:hover {
    border-color: var(--primary-light);
    background: rgba(79, 70, 229, 0.1);
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px var(--glow-orange);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow-orange);
}

.btn-large {
    padding: 14px 36px;
    font-size: 1rem;
}

/* ============================================
   Hero Section with Particle Constellation
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 100px;
    overflow: hidden;
}

/* Particle Constellation Background */
.particle-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite ease-in-out;
}

.particle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.4), transparent);
    transform-origin: left center;
}

.particle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 25%; left: 85%; animation-delay: 1s; }
.particle:nth-child(3) { top: 45%; left: 20%; animation-delay: 2s; }
.particle:nth-child(4) { top: 60%; left: 75%; animation-delay: 0.5s; }
.particle:nth-child(5) { top: 80%; left: 30%; animation-delay: 3s; }
.particle:nth-child(6) { top: 10%; left: 50%; animation-delay: 1.5s; }
.particle:nth-child(7) { top: 70%; left: 60%; animation-delay: 2.5s; }
.particle:nth-child(8) { top: 35%; left: 40%; animation-delay: 4s; }
.particle:nth-child(9) { top: 90%; left: 80%; animation-delay: 0.8s; }
.particle:nth-child(10) { top: 50%; left: 5%; animation-delay: 3.5s; }
.particle:nth-child(11) { top: 20%; left: 65%; animation-delay: 1.2s; }
.particle:nth-child(12) { top: 75%; left: 45%; animation-delay: 2.8s; }
.particle:nth-child(13) { top: 5%; left: 30%; animation-delay: 4.5s; }
.particle:nth-child(14) { top: 55%; left: 90%; animation-delay: 0.3s; }
.particle:nth-child(15) { top: 40%; left: 70%; animation-delay: 3.2s; }
.particle:nth-child(16) { top: 85%; left: 15%; animation-delay: 1.8s; }
.particle:nth-child(17) { top: 30%; left: 55%; animation-delay: 5s; }
.particle:nth-child(18) { top: 65%; left: 35%; animation-delay: 2.2s; }
.particle:nth-child(19) { top: 12%; left: 78%; animation-delay: 4.2s; }
.particle:nth-child(20) { top: 48%; left: 48%; animation-delay: 1.7s; }

@keyframes particleFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
    20% { opacity: 0.8; }
    50% { opacity: 1; transform: translateY(-20px) scale(1.5); }
    80% { opacity: 0.6; }
}

/* Constellation Lines */
.constellation-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.constellation-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    animation: linePulse 6s infinite ease-in-out;
}

.constellation-line:nth-child(1) { top: 20%; left: 10%; width: 200px; transform: rotate(25deg); animation-delay: 0s; }
.constellation-line:nth-child(2) { top: 40%; left: 60%; width: 150px; transform: rotate(-15deg); animation-delay: 1s; }
.constellation-line:nth-child(3) { top: 60%; left: 25%; width: 180px; transform: rotate(40deg); animation-delay: 2s; }
.constellation-line:nth-child(4) { top: 30%; left: 70%; width: 120px; transform: rotate(-30deg); animation-delay: 3s; }
.constellation-line:nth-child(5) { top: 75%; left: 50%; width: 160px; transform: rotate(10deg); animation-delay: 1.5s; }
.constellation-line:nth-child(6) { top: 15%; left: 40%; width: 140px; transform: rotate(-45deg); animation-delay: 2.5s; }

@keyframes linePulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Hero Gradient Orbs */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15), transparent 70%);
    border-radius: 50%;
    animation: orbFloat 12s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1), transparent 70%);
    border-radius: 50%;
    animation: orbFloat 10s infinite ease-in-out reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

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

/* ============================================
   Infrastructure Diagram (CSS 3D-ish)
   ============================================ */
.infra-diagram {
    position: relative;
    margin-top: 80px;
    padding: 60px 20px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.infra-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
}

.infra-node {
    position: relative;
    width: 140px;
    height: 90px;
    background: rgba(28, 28, 34, 0.9);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.4s ease;
    animation: nodeAppear 0.6s ease both;
}

.infra-node:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--glow-purple);
    transform: translateY(-4px);
}

.infra-node-icon {
    font-size: 1.5rem;
}

.infra-node-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.infra-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    position: relative;
    opacity: 0.6;
}

.infra-connector::before,
.infra-connector::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.infra-connector::before {
    left: -4px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--glow-purple);
}

.infra-connector::after {
    right: -4px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--glow-orange);
}

.infra-connector .data-flow {
    position: absolute;
    top: -2px;
    left: 0;
    width: 12px;
    height: 6px;
    background: var(--accent);
    border-radius: 3px;
    animation: dataFlow 2s infinite linear;
    box-shadow: 0 0 6px var(--glow-orange);
}

@keyframes dataFlow {
    0% { left: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: calc(100% - 12px); opacity: 0; }
}

@keyframes nodeAppear {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.infra-node:nth-child(1) { animation-delay: 0.9s; }
.infra-node:nth-child(3) { animation-delay: 1.1s; }
.infra-node:nth-child(5) { animation-delay: 1.3s; }
.infra-node:nth-child(7) { animation-delay: 1.5s; }
.infra-node:nth-child(9) { animation-delay: 1.7s; }

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 48px 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--border-light);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   Products Section
   ============================================ */
.section {
    padding: 120px 24px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(79, 70, 229, 0.15);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:nth-child(2):hover {
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.15);
}

.product-card:nth-child(2)::before {
    background: var(--gradient-accent);
}

.product-icon {
    width: 56px;
    height: 56px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.product-card:nth-child(2) .product-icon {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.2);
}

.product-card:nth-child(3) .product-icon {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.2);
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.product-features li::before {
    content: '✓';
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.8rem;
}

/* ============================================
   How It Works - Horizontal Timeline
   ============================================ */
.how-it-works {
    background: var(--bg-dark);
}

.timeline-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.4;
}

.timeline-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-light);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step:hover .step-number {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 30px var(--glow-purple);
    transform: scale(1.1);
}

.timeline-step h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.timeline-step p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   Performance Comparison Table
   ============================================ */
.comparison-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table thead {
    background: var(--bg-dark);
}

.comparison-table th {
    padding: 18px 24px;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}

.comparison-table th:first-child {
    border-radius: var(--radius-lg) 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
}

.comparison-table th.highlight {
    color: var(--primary-light);
    background: rgba(79, 70, 229, 0.08);
}

.comparison-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.comparison-table td.highlight {
    color: var(--text-primary);
    font-weight: 600;
    background: rgba(79, 70, 229, 0.05);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr {
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(79, 70, 229, 0.03);
}

.check-icon {
    color: #22c55e;
    font-weight: 700;
}

.partial-icon {
    color: var(--accent);
}

/* ============================================
   Customer Logos - Infinite Scroll
   ============================================ */
.logos-section {
    padding: 80px 24px;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.logos-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.logos-track {
    display: flex;
    gap: 60px;
    animation: scrollLogos 30s linear infinite;
    width: max-content;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   Testimonial
   ============================================ */
.testimonial-section {
    padding: 120px 24px;
    background: var(--bg-dark);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.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: 1rem;
}

.testimonial-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   Enterprise Features Grid
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.feature-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

.cta-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 60px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(249, 115, 22, 0.1));
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(79, 70, 229, 0.1), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(249, 115, 22, 0.08), transparent 50%);
    animation: ctaGlow 8s infinite ease-in-out;
}

@keyframes ctaGlow {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.cta-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 80px 24px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h5 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(79, 70, 229, 0.1);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .timeline-horizontal::before {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .infra-grid {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .infra-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
    }
    
    .nav-pill {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-horizontal {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cta-card {
        padding: 48px 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .comparison-table-wrapper {
        margin: 0 -12px;
        border-radius: var(--radius-md);
    }
    
    .testimonial-text {
        font-size: 1.2rem;
    }
    
    .infra-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .section {
        padding: 80px 16px;
    }
}

/* ============================================
   Utility & Animation Classes
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px var(--glow-purple);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.pricing-tier {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ============================================
   Use Cases Section
   ============================================ */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.use-case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.1);
}

.use-case-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.use-case-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.use-case-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.use-case-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.use-case-stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.use-case-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   Partners / Ecosystem Section
   ============================================ */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.partner-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.partner-icon {
    font-size: 1.5rem;
}

.partner-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

/* Responsive additions for new sections */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Developer Experience Section
   ============================================ */
.dev-features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.dev-feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.dev-feature:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.1);
}

.dev-feature h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.dev-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .dev-features-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dev-features-row {
        grid-template-columns: 1fr;
    }
}
