/* ================================================================
   LUMA SEMICONDUCTOR — Design System (Light Theme)
   style.css
   ================================================================ */

/* ----------------------------------------------------------------
   1. TOKENS & RESET
   ---------------------------------------------------------------- */
:root {
    --bg:           #FFFFFF;
    --bg-alt:       #F4F7FE;
    --bg-surface:   #EBF0FB;
    --bg-elevated:  #E2EAF8;
    --border:       #D8E2F0;
    --border-light: #C0CFEA;

    --text:         #0B1222;
    --text-muted:   #3D5070;
    --text-dim:     #8498B8;

    --accent:       #1E60D5;
    --accent-hover: #1849B0;
    --accent-dim:   rgba(30, 96, 213, 0.08);
    --accent-glow:  rgba(30, 96, 213, 0.15);
    --accent-glow2: rgba(30, 96, 213, 0.05);

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --font-mono:    'JetBrains Mono', 'Courier New', monospace;

    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out:     cubic-bezier(0, 0, 0.2, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

    --nav-h: 68px;
    --container: 1160px;
    --section-pad: 120px;
    --radius:    12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img, svg { display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; }


/* ----------------------------------------------------------------
   2. UTILITY CLASSES
   ---------------------------------------------------------------- */
.mono    { font-family: var(--font-mono); letter-spacing: 0.04em; }
.accent  { color: var(--accent); }
.muted   { color: var(--text-muted); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}


/* ----------------------------------------------------------------
   3. TYPOGRAPHY SCALE
   ---------------------------------------------------------------- */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--text);
}

.section-sub {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--text-muted);
    margin-top: 18px;
    line-height: 1.7;
    max-width: 560px;
}

.body-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 520px;
}

.body-text + .body-text { margin-top: 16px; }


/* ----------------------------------------------------------------
   4. SECTION SCAFFOLDING
   ---------------------------------------------------------------- */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-alt {
    background: var(--bg-alt);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 52px;
}

.label-num {
    font-size: 11px;
    color: var(--accent);
    font-weight: 500;
}

.label-divider {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--border-light);
    flex-shrink: 0;
}

.label-text {
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}


/* ----------------------------------------------------------------
   5. NAVIGATION
   ---------------------------------------------------------------- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: background 0.4s var(--ease),
                border-color 0.4s var(--ease),
                box-shadow 0.4s var(--ease);
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(11, 18, 34, 0.06);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-icon { flex-shrink: 0; }

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
    filter: drop-shadow(0 2px 8px rgba(30, 96, 213, 0.25));
}

.logo-img-sm {
    width: 28px;
    height: 28px;
}

.logo-wordmark {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--text);
}

.logo-semi {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--text-dim);
    line-height: 1;
    padding-left: 4px;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: var(--text);
    background: var(--bg-surface);
}

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    box-shadow: 0 4px 16px rgba(30, 96, 213, 0.3);
    transform: translateY(-1px);
    color: #fff !important;
}

/* Mobile menu btn */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    border-radius: 6px;
}

.bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s;
}

.mobile-menu-btn.open .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-btn.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.open .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ----------------------------------------------------------------
   6. BUTTONS
   ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    padding: 14px 28px;
    transition: all 0.25s var(--ease);
    cursor: pointer;
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(30, 96, 213, 0.3);
}

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

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border-light);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-2px);
}

.btn-sm {
    font-size: 14px;
    padding: 11px 22px;
}


/* ----------------------------------------------------------------
   7. HERO
   ---------------------------------------------------------------- */
#hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 65% at 90% -10%, rgba(30, 96, 213, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 10% 110%, rgba(30, 96, 213, 0.05) 0%, transparent 55%),
        #FFFFFF;
}

#circuit-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.7;
}

.hero-noise {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: calc(var(--nav-h) + 40px) 40px 80px;
    width: 100%;
}

/* Hero tag */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 36px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(30, 96, 213, 0.08);
    opacity: 0;
    animation: fadeSlideDown 0.7s var(--ease-out) 0.2s forwards;
}

.tag-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(30, 96, 213, 0.4);
    animation: pulse 2.5s ease infinite 1s;
    flex-shrink: 0;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(30, 96, 213, 0.4); }
    70%  { box-shadow: 0 0 0 8px rgba(30, 96, 213, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 96, 213, 0); }
}

/* Hero title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(64px, 9.5vw, 130px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: var(--text);
    margin-bottom: 36px;
}

.title-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}

.reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: wordReveal 0.9s var(--ease-spring) forwards;
}

.reveal-word[data-delay="0"]   { animation-delay: 0.3s; }
.reveal-word[data-delay="120"] { animation-delay: 0.42s; }
.reveal-word[data-delay="240"] { animation-delay: 0.54s; }

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

/* Hero sub */
.hero-sub {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 580px;
    margin-bottom: 40px;
}

.hero-br { display: block; }

/* Hero actions */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Reveal-fade */
.reveal-fade {
    opacity: 0;
    transform: translateY(16px);
    animation: revealFade 0.7s var(--ease-out) forwards;
}

.reveal-fade[data-delay="500"]  { animation-delay: 0.5s; }
.reveal-fade[data-delay="600"]  { animation-delay: 0.6s; }
.reveal-fade[data-delay="700"]  { animation-delay: 0.7s; }
.reveal-fade[data-delay="1000"] { animation-delay: 1.0s; }

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

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, transparent, var(--accent));
    animation: scrollPulse 2s ease infinite;
    opacity: 0.5;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.2; transform: scaleY(1); }
    50% { opacity: 0.6; transform: scaleY(1.1); }
}

.hero-scroll-hint .mono {
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 0.2em;
    order: -1;
}

/* Hero badge (bottom-right) */
.hero-badge {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    z-index: 2;
}

.badge-sep { color: var(--border-light); }


/* ----------------------------------------------------------------
   8. PROBLEM SECTION
   ---------------------------------------------------------------- */
.problem-single {
    max-width: 800px;
}

.problem-left .section-title {
    margin-bottom: 28px;
}

/* Gap chart */
.gap-chart {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 4px 24px rgba(11, 18, 34, 0.06);
}

.chart-header {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.12em;
    margin-bottom: 36px;
}

.chart-rows {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 28px;
}

.chart-row {
    display: grid;
    grid-template-columns: 140px 1fr 60px;
    align-items: center;
    gap: 16px;
}

.chart-row-label {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

.chart-track {
    height: 8px;
    background: var(--bg-surface);
    border-radius: 100px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.chart-bar {
    height: 100%;
    width: 0;
    border-radius: 100px;
    transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-compute {
    background: linear-gradient(90deg, var(--accent), #5B8FFF);
}

.bar-bw {
    background: linear-gradient(90deg, #94A8C8, #B8C8DC);
}

.chart-val {
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

/* Gap callout */
.gap-callout {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.gap-line-vis {
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #94A8C8);
    border-radius: 2px;
    flex-shrink: 0;
}

.gap-text {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}


/* ----------------------------------------------------------------
   9. TECHNOLOGY CARDS
   ---------------------------------------------------------------- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.tech-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    overflow: hidden;
    transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    cursor: default;
    box-shadow: 0 2px 12px rgba(11, 18, 34, 0.04);
}

.tech-card:hover {
    border-color: rgba(30, 96, 213, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(30, 96, 213, 0.10), 0 2px 12px rgba(11, 18, 34, 0.06);
}

.tech-card:hover .card-glow {
    opacity: 1;
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at 50% -40%, rgba(30, 96, 213, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.card-num {
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 500;
}

.card-icon {
    padding: 10px;
    background: var(--accent-dim);
    border: 1px solid rgba(30, 96, 213, 0.12);
    border-radius: var(--radius);
}

.card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.card-body {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--accent-dim);
    border: 1px solid rgba(30, 96, 213, 0.15);
    color: var(--accent);
}


/* ----------------------------------------------------------------
   10. ARCHITECTURE DIAGRAM
   ---------------------------------------------------------------- */
.arch-diagram {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.arch-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Nodes */
.arch-node {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    padding: 18px 24px;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(11, 18, 34, 0.05);
    transition: border-color 0.4s, box-shadow 0.4s, background 0.4s;
}

.arch-node.lit {
    border-color: rgba(30, 96, 213, 0.45);
    box-shadow: 0 0 24px rgba(30, 96, 213, 0.12), 0 2px 12px rgba(11, 18, 34, 0.06);
    background: var(--bg-surface);
}

.arch-node-faded {
    opacity: 0.45;
}

.arch-node-core {
    background: linear-gradient(135deg, #EEF4FF, #E0ECFF);
    border: 1.5px solid rgba(30, 96, 213, 0.3);
    min-width: 240px;
    padding: 22px 36px;
    box-shadow: 0 4px 20px rgba(30, 96, 213, 0.10);
}

.arch-node-core.lit {
    border-color: rgba(30, 96, 213, 0.7);
    box-shadow: 0 0 40px rgba(30, 96, 213, 0.18), 0 4px 20px rgba(11, 18, 34, 0.08);
    background: linear-gradient(135deg, #E4EEFF, #D4E4FF);
}

.arch-node-sm {
    min-width: 160px;
    padding: 16px 20px;
}

.node-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.node-icon {
    font-size: 20px;
    color: var(--accent);
    opacity: 0.4;
    margin-bottom: 4px;
}

.node-logo-icon {
    margin-bottom: 6px;
}

.node-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.08em;
}

.arch-node-core .node-label {
    font-size: 12px;
    color: var(--accent);
}

.node-sub {
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 0.06em;
}

/* Connectors */
.arch-connectors {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    width: 100%;
    padding: 8px 0;
}

.conn-group {
    display: flex;
    gap: 116px;
    justify-content: center;
}

.conn-group-bot {
    gap: 112px;
}

.conn-vert {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--border-light), var(--accent));
    opacity: 0.25;
    transition: opacity 0.5s, background 0.5s;
    position: relative;
}

.conn-vert.lit {
    opacity: 0.8;
    background: linear-gradient(to bottom, var(--accent), rgba(30, 96, 213, 0.3));
}

.conn-vert::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%) rotate(45deg);
    width: 5px;
    height: 5px;
    border-right: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
    opacity: 0;
    transition: opacity 0.5s;
}

.conn-vert.lit::after { opacity: 0.7; }

.conn-proto-label {
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 0.12em;
    margin-top: 4px;
}


/* ----------------------------------------------------------------
   11. VALIDATION
   ---------------------------------------------------------------- */
.val-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-top: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 24px rgba(11, 18, 34, 0.06);
}

.val-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.8;
}

.val-platform-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 44px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.platform-chip {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(30, 96, 213, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
}

.platform-detail {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

.val-metrics {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
}

.metric {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.metric-div {
    width: 1px;
    height: 64px;
    background: var(--border);
    flex-shrink: 0;
}

.metric-num {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.metric-unit {
    font-size: 0.42em;
    font-weight: 600;
    letter-spacing: 0.06em;
    opacity: 0.8;
}

.metric-name {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.metric-desc {
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 0.06em;
}

.val-disclaimer {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* Val highlights */
.val-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.val-hl {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 2px 12px rgba(11, 18, 34, 0.04);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.val-hl:hover {
    border-color: rgba(30, 96, 213, 0.3);
    box-shadow: 0 4px 20px rgba(30, 96, 213, 0.08);
}

.hl-icon {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.hl-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.hl-body {
    font-size: 14px;
    line-height: 1.7;
}


/* ----------------------------------------------------------------
   12. PRODUCT / IP
   ---------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.product-left .section-title {
    margin-bottom: 24px;
}

.product-left .body-text {
    margin-bottom: 32px;
}

.product-right {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg);
    box-shadow: 0 4px 24px rgba(11, 18, 34, 0.06);
}

.ip-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.ip-item:last-child { border-bottom: none; }

.ip-item:hover {
    background: var(--bg-surface);
}

.ip-arrow {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform 0.2s;
}

.ip-item:hover .ip-arrow {
    transform: translateX(4px);
}

.ip-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.ip-sub {
    font-size: 12px;
    letter-spacing: 0.04em;
}


/* ----------------------------------------------------------------
   13. CONTACT
   ---------------------------------------------------------------- */
.section-contact {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
    padding-bottom: var(--section-pad);
}

.contact-glow {
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 96, 213, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    text-align: center;
    margin-bottom: 72px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg);
    box-shadow: 0 4px 32px rgba(11, 18, 34, 0.07);
}

.contact-cell {
    padding: 44px 40px;
}

.contact-cell-mid {
    border-left: 1px solid var(--border);
}

.contact-cell-right {
    /* right cell - no extra border needed */
}

.contact-label {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
}

.contact-email {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    transition: color 0.2s;
    word-break: break-all;
}

.contact-email:hover { color: var(--accent); }

.contact-phone {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(15px, 1.6vw, 19px);
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.contact-phone:hover { color: var(--accent); }

.contact-note {
    font-size: 14px;
    line-height: 1.7;
}

/* Office address */
.office-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.office-address {
    font-style: normal;
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--text-muted);
}

/* Hiring */
.hiring-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.role-item {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.role-item::before {
    content: '—';
    color: var(--accent);
    opacity: 0.6;
    font-size: 10px;
}


/* ----------------------------------------------------------------
   14. FOOTER
   ---------------------------------------------------------------- */
#footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 28px 0;
}

.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-tagline {
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 0.18em;
}

.footer-right {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}


/* ----------------------------------------------------------------
   15. SCROLL ANIMATIONS
   ---------------------------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

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

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ----------------------------------------------------------------
   16. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
    :root { --section-pad: 88px; }

    .problem-grid,
    .product-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

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

    .val-metrics {
        flex-direction: column;
        gap: 32px;
    }

    .metric-div { width: 80%; height: 1px; }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-cell-mid {
        border-right: none;
    }

    .contact-cell:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid var(--border);
        border-left: none;
    }
}

@media (max-width: 768px) {
    :root { --section-pad: 72px; --container: 100%; }

    .container { padding: 0 24px; }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px 32px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(11, 18, 34, 0.08);
        gap: 4px;
    }

    .nav-links.open { display: flex; }
    .nav-link { padding: 14px 12px; font-size: 15px; }
    .mobile-menu-btn { display: flex; }

    .hero-title { font-size: clamp(52px, 14vw, 80px); }
    .hero-badge { display: none; }
    .hero-sub br { display: none; }

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

    .val-card { padding: 28px 24px; }
    .val-highlights { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-cell-mid { border-left: none; border-right: none; border-top: 1px solid var(--border); }
    .contact-cell-right { border-top: 1px solid var(--border); }
    .contact-cell:last-child { grid-column: auto; }
    .contact-cell { padding: 32px 28px; }
    .contact-title { font-size: clamp(44px, 12vw, 72px); }

    .arch-row { gap: 10px; }
    .arch-node { min-width: 110px; padding: 14px 16px; }
    .arch-node-core { min-width: 180px; }
    .arch-node-sm { min-width: 110px; }
    .conn-group { gap: 76px; }
    .conn-group-bot { gap: 76px; }

    .logo-semi { display: none; }
    .footer-container { flex-direction: column; align-items: flex-start; gap: 16px; }
    .footer-right { font-size: 9px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .btn { width: 100%; justify-content: center; }
    .arch-diagram { transform: scale(0.85); transform-origin: top center; }
}


/* ----------------------------------------------------------------
   17. SELECTION & FOCUS
   ---------------------------------------------------------------- */
::selection {
    background: rgba(30, 96, 213, 0.15);
    color: var(--text);
}

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

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }
