/* ═══════════════════════════════════════════════════════════
   NIRAVI DESIGN SYSTEM — theme.css
   Glassmorphism + Gradient design language.
   Source of truth extracted from pitch.html.
   ═══════════════════════════════════════════════════════════ */

/* ─── RESET ─── */

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

/* ─── CSS VARIABLES ─── */

:root {
    --bg: #050509;
    --bg-secondary: #0a0a12;
    --bg-card: rgba(15, 15, 25, 0.6);
    --bg-card-solid: #0f0f19;
    --bg-card-hover: rgba(25, 25, 45, 0.7);
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(99, 102, 241, 0.3);
    --text: #e4e4e7;
    --text-dim: #a1a1aa;
    --text-muted: #71717a;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --emerald: #34d399;
    --emerald-dim: rgba(52, 211, 153, 0.12);
    --red: #f87171;
    --red-dim: rgba(248, 113, 113, 0.12);
    --yellow: #fbbf24;
    --yellow-dim: rgba(251, 191, 36, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 20px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ─── Typography ─── */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.mono {
    font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 30%, #34d399 70%, #6ee7b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-hero {
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 25%, #34d399 75%, #6ee7b7 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease-in-out infinite;
}

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

/* ─── Layout ─── */

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

section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

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

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 16px;
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-glow);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 660px;
    line-height: 1.7;
}

/* ─── Glassmorphism Card ─── */

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(99, 102, 241, 0.06);
    border-color: var(--border-light);
}

/* ─── Radial Glow Backgrounds ─── */

.glow-purple::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.glow-emerald::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(52, 211, 153, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.glow-mixed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 700px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.glow-mixed::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(52, 211, 153, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ─── NAV BAR ─── */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.site-nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-nav .nav-brand img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.site-nav .nav-brand span {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    list-style: none;
}

.site-nav .nav-links a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.15s;
}

.site-nav .nav-links a:hover {
    color: #fff;
}

.site-nav .nav-links a.active {
    color: #fff;
}

/* ─── HERO ─── */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.04) 30%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 960px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    background: var(--emerald);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(52, 211, 153, 0.5); }
    50% { opacity: 0.4; box-shadow: 0 0 4px rgba(52, 211, 153, 0.2); }
}

.hero-tagline-top {
    font-size: clamp(22px, 3.5vw, 32px);
    color: var(--text-dim);
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.4;
}

.hero-logo {
    font-size: clamp(72px, 14vw, 140px);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(44px, 7vw, 80px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
    color: #fff;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-dim);
    font-weight: 400;
    max-width: 580px;
    margin: 0 auto 56px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    max-width: 780px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
}

.hero-stats-card {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.hero-stat {
    background: rgba(10, 10, 18, 0.8);
    padding: 32px 20px;
    text-align: center;
}

.hero-stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.hero-stat-value .emerald { color: var(--emerald); }
.hero-stat-value .accent { color: var(--accent-light); }

.hero-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    line-height: 1.4;
}

.hero-etymology {
    margin-top: 40px;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-etymology span {
    color: var(--accent-light);
    font-weight: 500;
}

.hero-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* Privacy Badge */
.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 12px 24px;
    background: rgba(52, 211, 153, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--emerald);
    backdrop-filter: blur(10px);
}

.privacy-badge svg {
    flex-shrink: 0;
}

/* ─── BUTTONS ─── */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.35);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.btn-primary.btn-large {
    padding: 20px 48px;
    font-size: 18px;
    border-radius: 14px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.btn-ghost svg {
    width: 16px;
    height: 16px;
}

/* ─── PILLARS (Numbered Sections) ─── */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.pillar {
    padding: 40px 28px;
    text-align: center;
    position: relative;
}

.pillar-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.3) 0%, rgba(99, 102, 241, 0.05) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pillar-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 14px;
    font-size: 24px;
}

.pillar h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}

.pillar p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.65;
}

.pillar-note {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 16px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 8px;
    font-size: 12px;
    color: var(--yellow);
    font-weight: 500;
}

/* ─── CAPABILITY / FEATURE CARDS ─── */

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.capability-card {
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--emerald), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.capability-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 22px;
}

.capability-card h3 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 6px;
}

.capability-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

.capability-stat {
    display: inline-block;
    margin-top: 12px;
    padding: 5px 14px;
    background: var(--emerald-dim);
    border: 1px solid rgba(52, 211, 153, 0.15);
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--emerald);
}

/* ─── PRIVACY SECTION ─── */

.privacy-banner {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.privacy-inner {
    padding: 56px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.06), rgba(99, 102, 241, 0.04));
    border: 1px solid rgba(52, 211, 153, 0.15);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    text-align: center;
}

.privacy-inner h2 {
    font-size: clamp(28px, 4vw, 44px);
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.privacy-inner > p {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.privacy-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: start;
    max-width: 800px;
    margin: 0 auto 48px;
}

.privacy-col {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: left;
}

.privacy-col.niravi-col {
    background: rgba(52, 211, 153, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.privacy-col.cloud-col {
    background: rgba(248, 113, 113, 0.06);
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.privacy-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.privacy-col.niravi-col h3 { color: var(--emerald); }
.privacy-col.cloud-col h3 { color: var(--red); }

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

.privacy-col ul li {
    font-size: 14px;
    color: var(--text-dim);
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.privacy-col.niravi-col ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: 700;
}

.privacy-col.cloud-col ul li::before {
    content: '\2717';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
    opacity: 0.7;
}

.privacy-vs {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    align-self: center;
    padding-top: 48px;
}

.privacy-note {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ─── PRICING ─── */

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.price-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.price-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, rgba(15, 15, 25, 0.6) 30%);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.08);
}

.price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 18px;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.price-card .price-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.price-amount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.price-amount .emerald { color: var(--emerald); }
.price-amount .period {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.price-detail {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    width: 100%;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    text-align: left;
}

.price-features li {
    font-size: 14px;
    color: var(--text-dim);
    padding-left: 26px;
    position: relative;
    line-height: 1.5;
}

.price-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: 700;
}

/* ─── PIPELINE FLOW TABLE ─── */

.pipeline-flow {
    margin-top: 48px;
    display: grid;
    gap: 2px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.pipeline-step {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    background: rgba(10, 10, 18, 0.7);
    padding: 20px 28px;
    gap: 20px;
    transition: background 0.2s;
}

.pipeline-step:hover {
    background: rgba(15, 15, 28, 0.9);
}

.pipeline-step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-light);
    text-align: center;
    padding: 6px 0;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 6px;
}

.pipeline-step-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.pipeline-step-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.pipeline-step-output,
.pipeline-step-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--emerald);
    text-align: right;
    white-space: nowrap;
}

.pipeline-summary {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pipeline-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.pipeline-summary-card .value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.pipeline-summary-card .label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ─── TECH DETAILS ─── */

.tech-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.tech-detail-card {
    padding: 32px;
}

.tech-detail-card h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}

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

.tech-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 14px;
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-list .tech-name {
    color: var(--text-dim);
}

.tech-list .tech-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

/* ─── COMPARISON TABLE ─── */

.comparison-wrapper {
    margin-top: 48px;
    overflow-x: auto;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 720px;
}

.comparison-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    background: rgba(10, 10, 18, 0.9);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
}

.comparison-table thead th:first-child {
    width: 240px;
}

.comparison-table thead th.niravi-col {
    color: var(--accent-light);
    background: rgba(99, 102, 241, 0.06);
}

.comparison-table tbody td {
    padding: 13px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    vertical-align: middle;
    background: rgba(5, 5, 9, 0.5);
}

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

.comparison-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody td:first-child {
    font-weight: 500;
    color: var(--text);
}

.comparison-table td.niravi-col {
    background: rgba(99, 102, 241, 0.03);
}

.comparison-table tr:hover td.niravi-col {
    background: rgba(99, 102, 241, 0.06);
}

.check {
    color: var(--emerald);
    font-weight: 700;
    font-size: 16px;
}

.cross {
    color: var(--red);
    font-weight: 400;
    font-size: 16px;
    opacity: 0.7;
}

.partial {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 500;
}

.category-row td {
    padding: 10px 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.dim {
    color: var(--text-muted);
    font-size: 12px;
}

/* ─── CODE BLOCK ─── */

.code-block {
    background: rgba(10, 10, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--text);
    line-height: 1.8;
    white-space: pre;
}

.code-block .prompt {
    color: var(--emerald);
}

.code-block .comment {
    color: var(--text-muted);
}

/* Code block with header (terminal style) */
.code-section {
    margin-top: 48px;
}

.code-block-terminal {
    background: rgba(10, 10, 18, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(15, 15, 25, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }

.code-header span {
    margin-left: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.code-body {
    padding: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dim);
    overflow-x: auto;
}

.code-body .keyword { color: #c792ea; }
.code-body .string { color: #c3e88d; }
.code-body .comment { color: #546e7a; }
.code-body .func { color: #82aaff; }
.code-body .var { color: #f78c6c; }

/* ─── DMG CARD (Download) ─── */

.dmg-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px;
    text-align: center;
}

.dmg-card .dmg-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.25);
    position: relative;
}

.dmg-card .dmg-icon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
    pointer-events: none;
}

.dmg-filename {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 16px;
}

.dmg-details {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.dmg-detail-item {
    text-align: center;
}

.dmg-detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.dmg-detail-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.dmg-requirements {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.dmg-req-tag {
    font-size: 12px;
    padding: 5px 14px;
    background: var(--emerald-dim);
    border: 1px solid rgba(52, 211, 153, 0.15);
    border-radius: 100px;
    color: var(--emerald);
    font-weight: 500;
}

/* ─── BUNDLED GRID (Download) ─── */

.bundled-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.bundled-card {
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
}

.bundled-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--emerald), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.bundled-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 22px;
}

.bundled-icon.emerald {
    background: var(--emerald-dim);
    border-color: rgba(52, 211, 153, 0.2);
}

.bundled-card h3 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 6px;
}

.bundled-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

.bundled-stat {
    display: inline-block;
    margin-top: 12px;
    padding: 5px 14px;
    background: var(--emerald-dim);
    border: 1px solid rgba(52, 211, 153, 0.15);
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--emerald);
}

/* ─── REQUIREMENTS TABLE ─── */

.req-table {
    max-width: 720px;
    margin: 56px auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.req-row {
    display: flex;
    align-items: center;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    gap: 16px;
}

.req-row:last-child {
    border-bottom: none;
}

.req-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-glow);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.req-info {
    flex: 1;
}

.req-label {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.req-value {
    font-size: 13px;
    color: var(--text-dim);
}

.req-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--emerald-dim);
    color: var(--emerald);
    border: 1px solid rgba(52, 211, 153, 0.15);
    white-space: nowrap;
}

.req-badge.optional {
    background: rgba(161, 161, 170, 0.06);
    color: var(--text-muted);
    border-color: rgba(161, 161, 170, 0.1);
}

/* ─── DEVELOPER SECTION ─── */

.dev-card {
    max-width: 720px;
    margin: 56px auto 0;
    padding: 40px;
}

.dev-card h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}

.dev-card > p {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 24px;
    line-height: 1.65;
}

.dev-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.dev-link:hover {
    color: #fff;
}

.dev-link svg {
    width: 16px;
    height: 16px;
}

/* ─── CTA SECTION ─── */

.cta-section {
    text-align: center;
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

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

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: #fff;
}

.cta-btn.primary:hover {
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.35);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    color: var(--text);
    backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ─── FOOTER ─── */

footer {
    padding: 48px 24px 40px;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--accent), var(--emerald), transparent) 1;
    position: relative;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand,
.footer-brand-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer-brand {
    background: linear-gradient(135deg, #818cf8, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-legal {
    width: 100%;
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-legal p {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ─── ANIMATED STAT COUNTERS ─── */

@keyframes count-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.95);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.animate-stat {
    animation: count-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-stat:nth-child(1) { animation-delay: 0.1s; }
.animate-stat:nth-child(2) { animation-delay: 0.2s; }
.animate-stat:nth-child(3) { animation-delay: 0.3s; }
.animate-stat:nth-child(4) { animation-delay: 0.4s; }

/* ─── Reveal Animations (scroll) ─── */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */

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

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-details {
        grid-template-columns: 1fr;
    }

    .bundled-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero {
        padding: 120px 24px 60px;
    }

    .hero-stats,
    .hero-stats-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .bundled-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .privacy-comparison {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .privacy-vs {
        text-align: center;
        padding-top: 0;
    }

    .pipeline-step {
        grid-template-columns: 56px 1fr;
        gap: 12px;
    }

    .pipeline-step-output,
    .pipeline-step-time {
        grid-column: 1 / -1;
        text-align: left;
        padding-left: 68px;
        margin-top: -8px;
    }

    .pipeline-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-details {
        grid-template-columns: 1fr;
    }

    .dmg-details {
        flex-direction: column;
        gap: 16px;
    }

    .dmg-requirements {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .dmg-card {
        padding: 32px 20px;
    }

    .dev-card {
        padding: 28px 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .site-nav .nav-links {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-logo {
        font-size: 56px;
    }

    .hero-stats,
    .hero-stats-card {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stat {
        padding: 20px 12px;
    }

    .hero-stat-value {
        font-size: 20px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary, .btn-ghost {
        justify-content: center;
    }

    .btn-primary.btn-large {
        padding: 16px 32px;
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }
}

/* ─── Print ─── */

@media print {
    nav, .site-nav {
        display: none !important;
    }

    section {
        padding: 40px 0;
        page-break-inside: avoid;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .container {
        max-width: 100%;
    }

    .glass-card {
        backdrop-filter: none;
        border: 1px solid #ddd;
    }

    body {
        background: #fff;
        color: #111;
    }

    .hero-stat, .pipeline-step, .price-card {
        background: #f9f9f9;
    }

    .gradient-text, .gradient-text-hero {
        -webkit-text-fill-color: #333;
    }

    .cta-section {
        display: none;
    }
}

/* ─── Scrollbar ─── */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ─── ACCESSIBILITY ─── */

/* Focus styles for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .gradient-text-hero {
        animation: none;
    }
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 8px 16px;
    background: var(--accent);
    color: white;
    font-size: 14px;
    z-index: 10000;
    transition: top 0.15s;
}
.skip-link:focus {
    top: 0;
}
