/* =============================================
   GPU Cloud Tracker — ElevenLabs-Inspired Design
   Pure monochrome: black bg, white text, zero glow
   ============================================= */

/* ---------- 1. FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- 2. DESIGN TOKENS ---------- */
:root {
    /* Background */
    --bg-primary:   #080808;
    --bg-secondary: #111111;
    --bg-tertiary:  #1A1A1A;
    --bg-card:      #111111;

    /* Text */
    --text-primary:   #FFFFFF;
    --text-secondary: rgba(255,255,255,0.55);
    --text-muted:     rgba(255,255,255,0.28);

    /* Borders */
    --border-subtle:  rgba(255,255,255,0.07);
    --border-default: rgba(255,255,255,0.10);
    --border-strong:  rgba(255,255,255,0.18);

    /* Accent — pure white only */
    --accent: #FFFFFF;

    /* Typography */
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans:  'Inter', system-ui, sans-serif;
    --font-mono:  'JetBrains Mono', 'Menlo', monospace;

    /* Spacing */
    --max-width: 1200px;
    --section-pad: 8rem;

    /* Transitions */
    --t-fast:   0.15s ease;
    --t-normal: 0.25s ease;
}

/* ---------- 3. RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* No canvas background — solid black */
#grid-canvas { display: none; }

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ---------- 4. LAYOUT ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2.5rem;
}

section {
    padding: var(--section-pad) 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.text-center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-title em {
    font-style: italic;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
    margin: 1.5rem auto 0;
}

.section-header.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.section-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* ---------- 5. SPLIT LAYOUT ---------- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse > * {
    direction: ltr;
}

/* ---------- 6. BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-sans);
    border-radius: 6px;
    transition: all var(--t-fast);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.btn-primary {
    background: #FFFFFF;
    color: #000000;
    border: 1px solid #FFFFFF;
}

.btn-primary:hover {
    background: rgba(255,255,255,0.88);
    border-color: rgba(255,255,255,0.88);
}

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

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--border-strong);
    background: rgba(255,255,255,0.04);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
}

/* ---------- 7. NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    background: rgba(8,8,8,0.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--t-normal);
}

.nav-container {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2.5rem;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo svg rect, .logo svg path {
    stroke: #FFFFFF;
}

.logo svg circle {
    fill: #FFFFFF;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.logo-text > span:last-child {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.nav-link {
    font-size: 0.825rem;
    color: var(--text-muted);
    padding: 0.4rem 0.75rem;
    border-radius: 5px;
    transition: color var(--t-fast), background var(--t-fast);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-cta {
    font-size: 0.825rem;
    padding: 0.5rem 1.1rem;
}

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

.mobile-menu-toggle span {
    display: block;
    height: 1.5px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--t-fast);
}

/* ---------- 8. HERO ---------- */
.hero-section {
    padding-top: calc(64px + 7rem);
    padding-bottom: 7rem;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--border-strong);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6.5vw, 5.5rem);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    max-width: 900px;
    margin-bottom: 2rem;
}

.hero-title em {
    font-style: italic;
    color: rgba(255,255,255,0.65);
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 5rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
    max-width: 640px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.25rem;
}

/* Pulse dot (subtle) */
.pulse-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
}

.pulse-dot.green {
    background: rgba(255,255,255,0.5);
}

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

/* ---------- 9. SERVICES OVERVIEW ---------- */
.services-overview-section {
    border-top: 1px solid var(--border-subtle);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 4rem;
}

.service-card {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    transition: background var(--t-fast);
}

.service-card:hover {
    background: rgba(255,255,255,0.03);
}

.service-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-default);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-link {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color var(--t-fast);
}

.card-link:hover {
    color: var(--text-primary);
}

.arrow {
    transition: transform var(--t-fast);
}

.card-link:hover .arrow {
    transform: translateX(3px);
}

/* icon colors — monochrome */
.cyan-icon, .indigo-icon, .emerald-icon {
    color: var(--text-secondary);
}

/* ---------- 10. WORKFORCE SECTION ---------- */
.workforce-section {
    border-top: 1px solid var(--border-subtle);
}

.feature-bullets {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-bullets li {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    padding-left: 1.25rem;
    position: relative;
}

.feature-bullets li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--border-strong);
}

.feature-bullets li strong {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ---------- 11. TERMINAL ---------- */
.terminal-mockup {
    background: #0D0D0D;
    border: 1px solid var(--border-default);
    border-radius: 10px;
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-buttons {
    display: flex;
    gap: 6px;
}

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

.dot.red    { background: #3D1C1C; }
.dot.yellow { background: #3D3419; }
.dot.green  { background: #1C3320; }

.terminal-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    flex: 1;
    text-align: center;
}

.terminal-status {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
}

.terminal-body {
    padding: 1.25rem;
    min-height: 360px;
    max-height: 420px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    scrollbar-width: none;
}

.terminal-body::-webkit-scrollbar {
    display: none;
}

.terminal-body .cmd {
    color: rgba(255,255,255,0.85);
    margin-top: 0.75rem;
}

.terminal-body .cmd:first-child {
    margin-top: 0;
}

.terminal-body .dir {
    color: rgba(255,255,255,0.35);
    user-select: none;
}

.terminal-body .out {
    color: rgba(255,255,255,0.35);
    white-space: pre-wrap;
}

.terminal-body .success {
    color: rgba(255,255,255,0.55);
    white-space: pre-wrap;
}

/* ---------- 12. GPU SECTION ---------- */
.gpu-section {
    border-top: 1px solid var(--border-subtle);
}

.gpu-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 2rem;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    overflow: hidden;
}

.gpu-feature-item {
    padding: 1.5rem;
    border-right: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.gpu-feature-item:nth-child(even) {
    border-right: none;
}

.gpu-feature-item:nth-child(3),
.gpu-feature-item:nth-child(4) {
    border-bottom: none;
}

.gpu-feature-item h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

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

/* Token optimization box */
.token-optimization-box {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-default);
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
}

.opt-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.opt-header svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.token-optimization-box p {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* GPU server chassis */
.gpu-server-chassis {
    background: #0D0D0D;
    border: 1px solid var(--border-default);
    border-radius: 10px;
    overflow: hidden;
    font-family: var(--font-mono);
}

.chassis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.rack-unit-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

.connection-light {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

.connection-light.pulsing {
    animation: pulse 2s ease-in-out infinite;
}

.rack-slot-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gpu-module {
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 1.25rem;
}

.gpu-module:last-child {
    border-bottom: none;
}

.gpu-card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gpu-fan {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border-default);
    flex-shrink: 0;
    animation: spin 3s linear infinite;
}

.gpu-fan.speed-medium { animation-duration: 2s; }
.gpu-fan.speed-high   { animation-duration: 1s; }
.gpu-fan.idle         { animation: none; opacity: 0.3; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

.gpu-info {
    flex: 1;
}

.gpu-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.gpu-load-bar {
    height: 3px;
    background: rgba(255,255,255,0.07);
    border-radius: 2px;
    overflow: hidden;
}

.gpu-load-bar .fill {
    height: 100%;
    background: rgba(255,255,255,0.35);
    border-radius: 2px;
}

.active-gpu .gpu-load-bar .fill {
    background: rgba(255,255,255,0.45);
}

.led-indicators {
    display: flex;
    gap: 4px;
}

.led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.led.green   { background: rgba(255,255,255,0.4); }
.led.yellow  { background: rgba(255,255,255,0.25); }
.led.off     { background: rgba(255,255,255,0.07); }
.led.blinking { animation: pulse 1.5s ease-in-out infinite; }

.chassis-footer {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 1.25rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.temp-indicator { color: rgba(255,255,255,0.35); }

/* ---------- 13. SECURITY SECTION ---------- */
.security-section {
    border-top: 1px solid var(--border-subtle);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 4rem;
}

.security-card {
    background: var(--bg-primary);
    padding: 1.75rem 1.5rem;
    transition: background var(--t-fast);
}

.security-card:hover {
    background: rgba(255,255,255,0.02);
}

.sec-icon-circle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-default);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.sec-icon-circle svg {
    color: var(--text-muted);
    stroke: var(--text-muted);
}

.security-card h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.security-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ---------- 14. USE CASES ---------- */
.use-cases-section {
    border-top: 1px solid var(--border-subtle);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 4rem;
}

.use-case-item {
    background: var(--bg-primary);
    padding: 1.75rem 1.5rem;
    transition: background var(--t-fast);
}

.use-case-item:hover {
    background: rgba(255,255,255,0.02);
}

.use-case-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    padding: 0.18rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.75rem;
}

.use-case-item h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.use-case-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ---------- 15. DEPLOYMENT ---------- */
.deployment-section {
    border-top: 1px solid var(--border-subtle);
}

.deployment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 4rem;
}

.deployment-card {
    position: relative;
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    transition: background var(--t-fast);
}

.deployment-card:hover {
    background: rgba(255,255,255,0.02);
}

/* Remove old glow effect */
.card-glow { display: none; }

.card-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.card-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.deployment-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    text-transform: uppercase;
}

/* ---------- 16. CONTACT ---------- */
.contact-section {
    border-top: 1px solid var(--border-subtle);
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.contact-feat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-feat-item .icon {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* Contact form card */
.contact-form-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.45rem;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-default);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    padding: 0.65rem 0.9rem;
    outline: none;
    transition: border-color var(--t-fast);
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--border-strong);
    background: rgba(255,255,255,0.05);
}

.form-group select option {
    background: #111;
    color: var(--text-primary);
}

.form-success-wrapper {
    display: none;
    position: absolute;
    inset: 0;
    background: var(--bg-secondary);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
}

.form-success-wrapper.active {
    display: flex;
}

.success-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.success-icon svg {
    stroke: var(--text-secondary);
}

.success-message h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.success-message p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- 17. FOOTER ---------- */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-main {
    padding: 4rem 0 3rem;
}

.footer-main-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.footer-brand-link svg rect,
.footer-brand-link svg path {
    stroke: rgba(255,255,255,0.4);
}

.footer-brand-link svg circle {
    fill: rgba(255,255,255,0.4);
}

.footer-brand-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: -0.01em;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.65;
}

.footer-compliance-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.25rem;
}

.footer-compliance-links a {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--t-fast);
}

.footer-compliance-links a:hover {
    color: var(--text-secondary);
}

.footer-divider {
    color: var(--border-strong);
    font-size: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

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

.footer-secure-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    white-space: nowrap;
}

/* ---------- 18. COMPLIANCE MODAL ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 78vh;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transform: translateY(16px);
    transition: transform var(--t-normal);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    transition: color var(--t-fast);
    background: none;
    border: none;
    cursor: pointer;
}

.modal-close:hover { color: var(--text-primary); }

.modal-header {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
}

.modal-body {
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 0.5rem;
}

.modal-body h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 1.5rem 0 0.6rem;
}

.modal-body h4:first-child { margin-top: 0; }

.modal-body p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* ---------- 19. RESPONSIVE ---------- */
@media (max-width: 1024px) {
    :root { --section-pad: 5rem; }
    .container { padding: 0 1.75rem; }
    .services-grid,
    .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
    .security-grid  { grid-template-columns: repeat(2, 1fr); }
    .split-layout   { gap: 4rem; }
}

@media (max-width: 768px) {
    :root { --section-pad: 4rem; }
    .container { padding: 0 1.25rem; }

    .mobile-menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 3rem;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        z-index: 990;
        pointer-events: none;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-actions { display: none; }

    .split-layout,
    .split-layout.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }

    .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
    .hero-stats { gap: 2rem; flex-wrap: wrap; }

    .services-grid,
    .security-grid,
    .use-cases-grid,
    .deployment-grid { grid-template-columns: 1fr; }

    .gpu-features-grid { grid-template-columns: 1fr; }
    .gpu-feature-item { border-right: none !important; }

    .form-row { grid-template-columns: 1fr; gap: 0; }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* ---------- 20. PROFESSIONAL UI REFRESH ---------- */
:root {
    --bg-primary: #090b0f;
    --bg-secondary: #0f131a;
    --bg-tertiary: #151a23;
    --bg-card: #10151d;
    --text-primary: #f7f3ea;
    --text-secondary: rgba(247,243,234,0.72);
    --text-muted: rgba(247,243,234,0.46);
    --border-subtle: rgba(247,243,234,0.08);
    --border-default: rgba(247,243,234,0.13);
    --border-strong: rgba(247,243,234,0.24);
    --accent-cyan: #47c7d7;
    --accent-emerald: #55c99a;
    --accent-amber: #d9aa55;
    --accent-ink: #0b0f15;
    --max-width: 1180px;
    --section-pad: 7rem;
}

/* Selection + focus polish */
::selection {
    background: rgba(71,199,215,0.28);
    color: #ffffff;
}

:focus-visible {
    outline: 2px solid rgba(71,199,215,0.65);
    outline-offset: 2px;
    border-radius: 4px;
}

html {
    scrollbar-color: rgba(247,243,234,0.18) #0b0d11;
}

/* Anchor targets clear the fixed navbar */
section[id] {
    scroll-margin-top: 88px;
}

body {
    background:
        linear-gradient(180deg, #0b0f15 0%, #090b0f 28%, #0b0d11 100%);
    color: var(--text-primary);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.78), rgba(0,0,0,0.16) 72%, transparent);
}

.container,
.nav-container {
    max-width: var(--max-width);
}

section {
    position: relative;
}

/* Uppercase micro-labels read better with a little tracking */
.section-label,
.hero-eyebrow,
.use-case-tag,
.deployment-badge,
.rack-unit-label,
.terminal-status,
.panel-kicker,
.panel-status {
    letter-spacing: 0.1em;
}

.section-label,
.hero-eyebrow {
    color: var(--accent-cyan);
    font-size: 0.74rem;
    font-weight: 600;
}

.section-title {
    font-size: 3rem;
    max-width: 780px;
}

.section-header.text-center .section-title {
    margin-inline: auto;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 720px;
}

.navbar {
    height: 72px;
    background: rgba(9, 11, 15, 0.82);
    border-bottom: 1px solid var(--border-default);
    box-shadow: 0 18px 60px rgba(0,0,0,0.28);
}

.navbar.scrolled {
    background: rgba(9, 11, 15, 0.94);
}

.logo svg {
    width: 30px;
    height: 30px;
}

.logo svg rect,
.logo svg path,
.footer-brand-link svg rect,
.footer-brand-link svg path {
    stroke: var(--accent-cyan);
}

.logo svg circle,
.footer-brand-link svg circle {
    fill: var(--accent-emerald);
}

.logo-text {
    font-size: 0.96rem;
    width: max-content;
}

.logo-text > span:last-child {
    color: var(--accent-cyan);
}

.logo-subtitle {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.logo-subtitle span {
    margin-top: 0;
    font-size: inherit;
    color: inherit;
}

.nav-link {
    color: var(--text-secondary);
    padding: 0.55rem 0.72rem;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}

.btn {
    min-height: 42px;
    border-radius: 8px;
    font-weight: 650;
}

.btn-primary {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--accent-ink);
    box-shadow: 0 14px 34px rgba(247,243,234,0.12);
}

.btn-primary:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255,255,255,0.035);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.075);
    transform: translateY(-1px);
}

.hero-section {
    min-height: auto;
    padding-top: calc(72px + 3.5rem);
    padding-bottom: 3.25rem;
    text-align: left;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 4rem;
    align-items: center;
}

.hero-copy {
    min-width: 0;
}

.hero-eyebrow {
    justify-content: flex-start;
    margin-bottom: 1.4rem;
    color: var(--accent-cyan);
}

.hero-eyebrow::before {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent-emerald);
    border: 2px solid rgba(85,201,154,0.28);
}

.hero-eyebrow::after {
    display: none;
}

.hero-title {
    font-size: 4.05rem;
    line-height: 0.98;
    max-width: 780px;
    margin-bottom: 1.55rem;
}

.hero-title em {
    color: var(--accent-cyan);
}

.hero-subtitle {
    font-size: 1.02rem;
    max-width: 660px;
    color: var(--text-secondary);
    margin-bottom: 2.1rem;
}

.hero-actions {
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.hero-stats {
    justify-content: flex-start;
    gap: 0;
    max-width: 760px;
    padding-top: 0;
    border-top: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--border-default);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.025);
}

.stat-item {
    display: block;
    padding: 0.78rem 1rem;
    border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-num,
.stat-suffix {
    display: inline;
    font-size: 1.75rem;
    color: var(--text-primary);
}

.stat-label {
    display: block;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.76rem;
    text-transform: none;
}

.hero-system-panel {
    border: 1px solid var(--border-default);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
        #0d1219;
    box-shadow: 0 32px 90px rgba(0,0,0,0.42);
    padding: 0.95rem;
    overflow: hidden;
}

.system-panel-top,
.system-metrics,
.system-workflow,
.system-log {
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: rgba(9,11,15,0.64);
}

.system-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.95rem;
    margin-bottom: 0.65rem;
}

.panel-kicker {
    display: block;
    color: var(--accent-cyan);
    font-size: 0.76rem;
    font-weight: 650;
    margin-bottom: 0.5rem;
}

.system-panel-top h2 {
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 650;
}

.panel-status {
    color: var(--accent-emerald);
    border: 1px solid rgba(85,201,154,0.28);
    background: rgba(85,201,154,0.1);
    border-radius: 999px;
    padding: 0.25rem 0.62rem;
    font-size: 0.72rem;
}

.system-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border-subtle);
    overflow: hidden;
    margin-bottom: 0.65rem;
}

.system-metric {
    background: rgba(9,11,15,0.82);
    padding: 0.82rem;
}

.system-metric span {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 0.45rem;
}

.system-metric strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    margin-bottom: 0.8rem;
}

.metric-bar {
    height: 7px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    overflow: hidden;
}

.metric-bar span {
    height: 100%;
    background: var(--accent-cyan);
    border-radius: inherit;
    margin: 0;
}

.metric-bar.amber span {
    background: var(--accent-amber);
}

.system-workflow {
    padding: 0.45rem;
    margin-bottom: 0.65rem;
}

.workflow-step {
    display: grid;
    grid-template-columns: 2.3rem 1fr;
    align-items: center;
    gap: 0.85rem;
    padding: 0.56rem 0.7rem;
    color: var(--text-secondary);
}

.workflow-step + .workflow-step {
    border-top: 1px solid var(--border-subtle);
}

.workflow-step span {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.74rem;
}

.workflow-step p {
    font-size: 0.9rem;
}

.workflow-step.active p {
    color: var(--text-primary);
}

.system-log {
    padding: 0.85rem;
    border-left: 3px solid var(--accent-emerald);
}

.system-log span {
    display: block;
    color: var(--accent-emerald);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    margin-bottom: 0.45rem;
}

.system-log p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
}

.services-overview-section,
.workforce-section,
.gpu-section,
.security-section,
.use-cases-section,
.deployment-section,
.contact-section {
    border-top: 1px solid var(--border-default);
}

.services-grid,
.security-grid,
.use-cases-grid,
.deployment-grid,
.gpu-features-grid {
    border-radius: 8px;
    border-color: var(--border-default);
    background: var(--border-default);
}

.service-card,
.security-card,
.use-case-item,
.deployment-card,
.gpu-feature-item {
    background: rgba(15,19,26,0.78);
}

.service-card,
.security-card,
.use-case-item,
.deployment-card {
    transition: background var(--t-normal), box-shadow var(--t-normal);
}

.service-card:hover,
.security-card:hover,
.use-case-item:hover,
.deployment-card:hover {
    background: rgba(21,26,35,0.92);
    box-shadow: inset 0 0 0 1px rgba(71,199,215,0.22), inset 0 1px 0 rgba(247,243,234,0.06);
}

.service-icon-wrapper,
.sec-icon-circle {
    border-radius: 8px;
    background: rgba(71,199,215,0.08);
    border-color: rgba(71,199,215,0.22);
    color: var(--accent-cyan);
}

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

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

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

.service-card h3,
.use-case-item h3,
.card-content h3 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 650;
}

.service-card p,
.security-card p,
.use-case-item p,
.card-content p,
.section-text {
    color: var(--text-secondary);
}

.card-link {
    color: var(--accent-cyan);
    font-weight: 650;
}

.feature-bullets {
    border: 1px solid var(--border-default);
    border-radius: 8px;
    background: rgba(255,255,255,0.026);
    padding: 1rem;
}

.feature-bullets li {
    color: var(--text-secondary);
    padding-left: 1.45rem;
}

.feature-bullets li::before {
    content: "";
    width: 7px;
    height: 7px;
    top: 0.55rem;
    border-radius: 50%;
    background: var(--accent-emerald);
}

.terminal-mockup,
.gpu-server-chassis,
.contact-form-card,
.modal-card {
    border-radius: 8px;
    border-color: var(--border-default);
    background: #0d1219;
    box-shadow: 0 24px 70px rgba(0,0,0,0.32);
}

.terminal-header,
.chassis-header {
    background: rgba(255,255,255,0.035);
}

.dot.red { background: #d16b5d; }
.dot.yellow { background: #d6a84e; }
.dot.green { background: #55c99a; }

.terminal-status,
.connection-light.pulsing,
.led.green {
    color: var(--accent-emerald);
}

.terminal-body .dir {
    color: var(--accent-cyan);
}

.terminal-body .out {
    color: rgba(247,243,234,0.52);
}

.terminal-body .success {
    color: var(--accent-emerald);
}

.gpu-load-bar .fill,
.active-gpu .gpu-load-bar .fill {
    background: var(--accent-cyan);
}

.led.green {
    background: var(--accent-emerald);
}

.led.yellow {
    background: var(--accent-amber);
}

.token-optimization-box {
    border-radius: 8px;
    background: rgba(85,201,154,0.07);
    border-color: rgba(85,201,154,0.2);
}

.opt-header {
    color: var(--accent-emerald);
}

.use-case-tag,
.deployment-badge {
    border-color: var(--border-default);
    color: var(--accent-amber);
    background: rgba(217,170,85,0.075);
    border-radius: 6px;
}

.contact-feat-item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(85,201,154,0.12);
    color: var(--accent-emerald);
}

.form-group input,
.form-group select,
.form-group textarea {
    min-height: 44px;
    border-radius: 8px;
    background: rgba(255,255,255,0.045);
    color: var(--text-primary);
}

.form-group textarea {
    min-height: 112px;
}

/* Selects lost their native arrow to appearance:none — draw one */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23968f80' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.4rem;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(71,199,215,0.62);
    box-shadow: 0 0 0 3px rgba(71,199,215,0.1);
}

.form-error-message {
    color: #d16b5d;
    font-size: 0.82rem;
    line-height: 1.5;
    margin-top: 0.9rem;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
}

.footer {
    background: #080a0e;
}

.footer-brand-name {
    color: var(--text-secondary);
}

.footer-live-pricing {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 520px;
}

.footer-live-pricing a {
    color: var(--accent-cyan);
    font-weight: 650;
}

.footer-live-pricing a:hover {
    color: var(--text-primary);
}

.legal-page {
    min-height: 100vh;
}

.legal-hero {
    padding-top: calc(72px + 5rem);
    padding-bottom: 3rem;
}

.legal-container {
    max-width: 920px;
}

.legal-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 1rem;
}

.legal-updated {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 650;
    margin-bottom: 1.5rem;
}

.legal-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 780px;
}

.legal-content-section {
    padding-top: 0;
    padding-bottom: 6rem;
}

.legal-card {
    border: 1px solid var(--border-default);
    border-radius: 8px;
    background: rgba(15,19,26,0.82);
    padding: 3rem;
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.legal-card h2 {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.75;
}

.legal-card a {
    color: var(--accent-cyan);
    font-weight: 650;
}

.legal-card a:hover {
    color: var(--text-primary);
}

.legal-footer .footer-bottom-inner {
    justify-content: space-between;
    flex-wrap: wrap;
}

.legal-nav {
    margin-left: auto;
}

.hero-section {
    min-height: 88vh;
    padding-top: calc(72px + 5.5rem);
    padding-bottom: 5.5rem;
    overflow: hidden;
    isolation: isolate;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    inset: 72px 0 0;
    z-index: 0;
    pointer-events: none;
}

.hero-section::before {
    opacity: 0.58;
    background:
        linear-gradient(90deg, transparent 0 18%, rgba(71,199,215,0.18) 20%, transparent 23%, transparent 52%, rgba(85,201,154,0.12) 54%, transparent 57%, transparent 100%),
        linear-gradient(180deg, transparent 0 28%, rgba(247,243,234,0.07) 30%, transparent 32%, transparent 70%, rgba(71,199,215,0.1) 72%, transparent 74%, transparent 100%);
    background-size: 520px 100%, 100% 340px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,0.92), rgba(0,0,0,0.58) 58%, transparent 92%);
    animation: heroDataFlow 18s linear infinite;
}

.hero-section::after {
    opacity: 0.42;
    background:
        radial-gradient(circle at 18% 42%, rgba(71,199,215,0.12), transparent 28%),
        linear-gradient(115deg, transparent 0 38%, rgba(247,243,234,0.08) 43%, transparent 48% 100%);
    background-size: 100% 100%, 760px 100%;
    background-position: 0 0, -760px 0;
    mask-image: linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.32) 56%, transparent 88%);
    animation: heroScan 11s ease-in-out infinite;
}

.hero-container {
    display: block;
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 940px;
}

.hero-title {
    max-width: 940px;
    font-size: 5.1rem;
}

.hero-subtitle {
    max-width: 760px;
}

.hero-actions {
    margin-bottom: 0;
}

.hero-system-panel {
    display: none;
}

@keyframes heroDataFlow {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 520px 0, 0 340px;
    }
}

@keyframes heroScan {
    0%, 18% {
        background-position: 0 0, -760px 0;
    }
    62%, 100% {
        background-position: 0 0, 760px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section::before,
    .hero-section::after {
        animation: none;
    }
}

/* Scroll-reveal (class applied by JS so content stays visible without it) */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--reveal-delay, 0s);
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 1080px) {
    :root {
        --section-pad: 5.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-system-panel {
        width: 100%;
        max-width: 680px;
    }

    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 769px) and (max-height: 780px) {
    .hero-section {
        padding-top: calc(72px + 2.8rem);
        padding-bottom: 2rem;
    }

    .hero-container {
        align-items: center;
    }

    .hero-title {
        font-size: 3.7rem;
    }

    .hero-subtitle {
        margin-bottom: 1.55rem;
    }

    .hero-actions {
        margin-bottom: 0;
    }

    .hero-stats,
    .system-log {
        display: none;
    }

    .hero-system-panel {
        max-width: 520px;
        justify-self: end;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 4.25rem;
    }

    .navbar {
        height: 66px;
    }

    .nav-menu {
        top: 66px;
        height: calc(100vh - 66px);
    }

    .nav-actions {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding-top: calc(66px + 3rem);
        padding-bottom: 3.25rem;
    }

    .hero-title {
        font-size: 2.72rem;
        line-height: 1.02;
        margin-bottom: 1.2rem;
    }

    .hero-eyebrow {
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.96rem;
        line-height: 1.6;
        margin-bottom: 1.35rem;
    }

    .hero-container {
        gap: 1.35rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-bottom: 0;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .hero-stats {
        display: none;
    }

    .hero-system-panel {
        padding: 0.72rem;
    }

    .system-panel-top {
        padding: 0.82rem;
        margin-bottom: 0.5rem;
    }

    .panel-kicker {
        font-size: 0.7rem;
        margin-bottom: 0.32rem;
    }

    .system-panel-top h2 {
        font-size: 1rem;
    }

    .system-metrics {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 0;
    }

    .system-metric {
        padding: 0.72rem;
    }

    .system-metric span {
        font-size: 0.68rem;
    }

    .system-metric strong {
        font-size: 1.35rem;
        margin-bottom: 0.55rem;
    }

    .system-workflow,
    .system-log {
        display: none;
    }

    .terminal-body {
        min-height: 300px;
        max-height: 360px;
    }

    .chassis-footer {
        flex-direction: column;
        gap: 0.35rem;
    }

    .legal-nav {
        display: none;
    }

    .legal-hero {
        padding-top: calc(66px + 3rem);
        padding-bottom: 2rem;
    }

    .legal-title {
        font-size: 2.8rem;
    }

    .legal-card {
        padding: 1.5rem;
    }

    .legal-footer .footer-bottom-inner {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container,
    .nav-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-title {
        font-size: 2.42rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-system-panel,
    .contact-form-card,
    .modal-card {
        padding: 1rem;
    }

    .service-card,
    .deployment-card {
        padding: 1.55rem;
    }

    .security-card,
    .use-case-item {
        padding: 1.35rem;
    }
}
