/* ==========================================================================
   HONGKONG SINGYEUNG TECHNOLOGY CO., LIMITED
   Theme: Modern Cloud Console — Light-first with soft slate dark mode
   Palette: Ivory/White + Amber Gold + Teal Cyan (light) / Soft Slate (dark)
   Fonts: Space Grotesk (display) + Inter (body) + JetBrains Mono (data)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Light theme is the default, primary look */
  --navy-deep: #F0F3F8;
  --navy: #F9FAFC;
  --navy2: #EDF1F7;
  --surface: #FFFFFF;
  --surface2: #F3F6FA;
  --surface-hover: #E9EDF4;
  --line: rgba(10, 18, 32, 0.10);
  --line-soft: rgba(10, 18, 32, 0.06);
  --grid-line: rgba(10, 18, 32, 0.05);
  --nav-solid-bg: rgba(249, 250, 252, 0.88);
  --hero-glow: #EAF1FA;
  --stats-bg-1: #EEF3FA;
  --stats-bg-2: #F7F9FC;
  --cta-bg-1: #EDF3FB;
  --cta-bg-2: #F9FAFC;
  --logo-badge-bg: #F5F1E6;
  --logo-badge-border: rgba(10,18,32,0.08);
  --tint-a: rgba(10, 18, 32, 0.04);
  --tint-b: rgba(10, 18, 32, 0.025);
  --tint-c: rgba(10, 18, 32, 0.015);

  --text: #0B1526;
  --text2: #435164;
  --muted: #7C8AA0;

  --gold: #B9791F;
  --gold-light: #96601A;
  --cyan: #0E7F96;
  --cyan-deep: #0A6779;
  --green: #17925B;
  --red: #C93F3F;

  --grad-brand: linear-gradient(120deg, var(--gold) 0%, var(--cyan) 100%);

  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.14);
  --glow-gold: 0 0 0 1px rgba(185, 121, 31, 0.3), 0 12px 30px rgba(185, 121, 31, 0.14);
  --glow-cyan: 0 0 0 1px rgba(14, 127, 150, 0.25), 0 12px 30px rgba(14, 127, 150, 0.12);

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4.5rem;
  --space-xl: 8rem;

  --transition: 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Dark theme override — soft, muted slate tone (not pure black/navy)
   ========================================================================== */
:root[data-theme="dark"] {
  --navy-deep: #1C2129;
  --navy: #21272F;
  --navy2: #272E37;
  --surface: #2B323C;
  --surface2: #323A44;
  --surface-hover: #39424D;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);
  --grid-line: rgba(255, 255, 255, 0.045);
  --nav-solid-bg: rgba(28, 33, 41, 0.88);
  --hero-glow: #2C333D;
  --stats-bg-1: #262D36;
  --stats-bg-2: #1E242B;
  --cta-bg-1: #2C333D;
  --cta-bg-2: #1F252C;
  --logo-badge-bg: #F5F1E6;
  --logo-badge-border: rgba(255,255,255,0.1);
  --tint-a: rgba(255, 255, 255, 0.045);
  --tint-b: rgba(255, 255, 255, 0.03);
  --tint-c: rgba(255, 255, 255, 0.02);

  --text: #EDEFF2;
  --text2: #B7BFC9;
  --muted: #7E8994;

  --gold: #D9A857;
  --gold-light: #E8C583;
  --cyan: #6FBFCE;
  --cyan-deep: #4E9BAA;
  --green: #7BC99A;
  --red: #D97A78;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.38);
  --glow-gold: 0 0 0 1px rgba(217, 168, 87, 0.3), 0 12px 30px rgba(217, 168, 87, 0.1);
  --glow-cyan: 0 0 0 1px rgba(111, 191, 206, 0.28), 0 12px 30px rgba(111, 191, 206, 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 400ms ease, color 400ms ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--space-md); }
section { position: relative; }

/* Background grid + glow helpers */
.bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 40%, transparent 100%);
}
.glow-orb {
  position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none;
}

.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); cursor: pointer; transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold-light); }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: flex; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: flex; }
.mobile-drawer-actions { display: flex; align-items: center; gap: 0.7rem; margin-left: auto; }

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(185,121,31,0.16); }

.display-xl { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; line-height: 1.08; }
.display-lg { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
.display-md { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 600; }

.lede { font-size: clamp(1rem, 1.3vw, 1.14rem); color: var(--text2); font-weight: 400; line-height: 1.85; max-width: 60ch; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0 1.7rem; height: 52px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  cursor: pointer; border: 1.5px solid transparent; transition: var(--transition); white-space: nowrap;
}
.btn-solid { background: var(--grad-brand); color: #fff; box-shadow: var(--glow-gold); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: var(--glow-cyan); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); background: var(--tint-a); }
.btn-outline-light { background: var(--tint-a); color: var(--text); border-color: var(--line); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-light); }

/* ==========================================================================
   Navigation
   ========================================================================== */
#site-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 200;
  padding: 1.35rem 0; transition: var(--transition);
  border-bottom: 1px solid transparent;
}
#site-nav.solid {
  background: var(--nav-solid-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 0.7rem; }
.nav-logo-badge {
  background: var(--logo-badge-bg); border-radius: 10px; padding: 5px 8px;
  display: flex; align-items: center; box-shadow: var(--shadow-sm);
  border: 1px solid var(--logo-badge-border);
}
.nav-logo-badge img { height: 26px; width: auto; display: block; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name { font-family: var(--font-display); font-size: 0.98rem; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.nav-brand-sub { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-link { font-size: 0.88rem; font-weight: 500; color: var(--text2); position: relative; padding-bottom: 3px; transition: color var(--transition); }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--cyan); transition: width var(--transition); }
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--cyan); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px; cursor: pointer;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--text); transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: calc(var(--space-xl) + 20px);
  padding-bottom: var(--space-lg);
  overflow: hidden;
  background: radial-gradient(ellipse 120% 60% at 50% -10%, var(--hero-glow) 0%, var(--navy) 55%);
}
.glow-orb.orb-gold { width: 480px; height: 480px; top: -140px; right: -80px; background: rgba(185,121,31,0.16); }
.glow-orb.orb-cyan { width: 420px; height: 420px; bottom: -160px; left: -100px; background: rgba(14,127,150,0.12); }
[data-theme="dark"] .glow-orb.orb-gold { background: rgba(217,168,87,0.14); }
[data-theme="dark"] .glow-orb.orb-cyan { background: rgba(111,191,206,0.12); }

.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-lg); align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 0.95rem; border-radius: var(--radius-pill);
  background: var(--tint-a); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text2);
  margin-bottom: 1.6rem;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(23,146,91,0.18); }

.hero-title { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.4rem; max-width: 18ch; }
.hero-desc { color: var(--text2); font-size: clamp(1rem, 1.2vw, 1.1rem); max-width: 52ch; margin-bottom: 2.2rem; line-height: 1.85; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: flex; gap: var(--space-lg); flex-wrap: wrap; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.hero-stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.hero-stat-label { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }

/* Console mock */
.console-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--navy2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.console-header {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.95rem 1.2rem; border-bottom: 1px solid var(--line);
  background: var(--tint-c);
}
.console-dots { display: flex; gap: 6px; }
.console-dots span { width: 9px; height: 9px; border-radius: 50%; display: block; }
.console-dots span:nth-child(1) { background: var(--red); }
.console-dots span:nth-child(2) { background: var(--gold); }
.console-dots span:nth-child(3) { background: var(--green); }
.console-title { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); }
.console-body { padding: 1.3rem 1.3rem 1.5rem; }
.console-section-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }

.region-list { display: grid; gap: 0.55rem; margin-bottom: 1.4rem; }
.region-row {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0.75rem; border-radius: var(--radius-sm);
  background: var(--tint-b);
  font-family: var(--font-mono); font-size: 0.78rem;
}
.region-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(23,146,91,0.18); flex-shrink: 0; animation: pulseDot 2.4s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }
.region-name { color: var(--text2); flex: 1; }
.region-latency { color: var(--cyan); font-weight: 600; }

.console-chart { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 0.8rem; }
.chart-bars span { flex: 1; background: linear-gradient(180deg, var(--cyan) 0%, rgba(14,127,150,0.2) 100%); border-radius: 3px 3px 0 0; }

/* ==========================================================================
   Trust bar / tech stack marquee
   ========================================================================== */
.trust-bar { padding: var(--space-md) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy2); }
.trust-label { text-align: center; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy2), transparent); }
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: marqueeScroll 28s linear infinite; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tech-tag {
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--text2);
  padding: 0.6rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--tint-b); white-space: nowrap;
}

/* ==========================================================================
   Section head
   ========================================================================== */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: var(--space-lg); flex-wrap: wrap; }
.section-head .lede { margin-bottom: 0; }

/* ==========================================================================
   Bento services grid
   ========================================================================== */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.bento-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.1rem; transition: var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.bento-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity var(--transition);
  background: radial-gradient(240px circle at 20% 0%, rgba(14,127,150,0.1), transparent 70%);
}
.bento-card:hover { transform: translateY(-4px); border-color: rgba(14,127,150,0.35); box-shadow: var(--shadow-md); }
.bento-card:hover::before { opacity: 1; }
.bento-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(185,121,31,0.14), rgba(14,127,150,0.1));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); margin-bottom: 1.4rem;
}
.bento-title { font-size: 1.18rem; font-weight: 600; margin-bottom: 0.7rem; }
.bento-desc { font-size: 0.92rem; color: var(--text2); line-height: 1.75; margin-bottom: 1.2rem; }
.bento-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-chip { font-family: var(--font-mono); font-size: 0.68rem; color: var(--cyan); padding: 0.3rem 0.65rem; border-radius: var(--radius-sm); background: rgba(14,127,150,0.08); border: 1px solid rgba(14,127,150,0.18); }

/* ==========================================================================
   Differentiator rows (zigzag, diagram-based)
   ========================================================================== */
.diff-row { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: var(--space-lg); align-items: center; padding: var(--space-lg) 0; border-bottom: 1px solid var(--line-soft); }
.diff-row:last-child { border-bottom: none; }
.diff-row.reverse .diff-media { order: 2; }
.diff-row.reverse .diff-copy { order: 1; }
.diff-media {
  position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface) 0%, var(--navy2) 100%);
  padding: 2rem; min-height: 320px;
  display: flex; flex-direction: column; justify-content: center;
}
.diff-num {
  position: absolute; top: 1.4rem; left: 1.4rem;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.3rem 0.75rem;
}
.diff-copy .display-md { margin-bottom: 1.1rem; }
.diff-list { display: grid; gap: 0.7rem; margin-top: 1.5rem; }
.diff-list-item { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.92rem; color: var(--text2); }
.diff-list-item svg { flex-shrink: 0; margin-top: 3px; color: var(--gold-light); }

/* diagram bits used inside diff-media */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.pillar-chip {
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0.9rem 0.7rem;
  text-align: center; font-size: 0.76rem; color: var(--text2); background: var(--tint-b);
}
.pillar-chip .pillar-icon { color: var(--cyan); margin-bottom: 0.5rem; display: flex; justify-content: center; }

.tz-row { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 0.78rem; color: var(--text2); }
.tz-row:last-child { border-bottom: none; }
.tz-row .tz-status { color: var(--green); }

.lifecycle-track { position: relative; padding-left: 1.6rem; }
.lifecycle-track::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.lifecycle-item { position: relative; padding-bottom: 1.3rem; }
.lifecycle-item:last-child { padding-bottom: 0; }
.lifecycle-item::before { content: ''; position: absolute; left: -1.6rem; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--navy); border: 2px solid var(--gold); }
.lifecycle-item-title { font-weight: 600; font-size: 0.92rem; margin-bottom: 0.2rem; }
.lifecycle-item-desc { font-size: 0.82rem; color: var(--muted); }

/* ==========================================================================
   Process timeline (horizontal steps)
   ========================================================================== */
.process-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; position: relative; }
.process-step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem; position: relative;
}
.process-step-num {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.5px rgba(185,121,31,0.55);
  margin-bottom: 1rem;
}
.process-step-title { font-size: 1.02rem; font-weight: 600; margin-bottom: 0.5rem; }
.process-step-desc { font-size: 0.86rem; color: var(--text2); line-height: 1.7; }
.process-arrow { position: absolute; top: 50%; right: -1.6rem; transform: translateY(-50%); color: var(--muted); z-index: 2; }

/* ==========================================================================
   Industries grid
   ========================================================================== */
.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.industry-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem 1.3rem;
  text-align: center; background: var(--tint-c); transition: var(--transition);
}
.industry-card:hover { border-color: rgba(185,121,31,0.35); background: rgba(185,121,31,0.05); transform: translateY(-3px); }
.industry-icon {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(185,121,31,0.1); color: var(--gold-light); border: 1px solid var(--line);
}
.industry-name { font-weight: 600; font-size: 0.94rem; margin-bottom: 0.4rem; }
.industry-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   Stats banner
   ========================================================================== */
.stats-banner {
  position: relative; padding: var(--space-lg) 0; overflow: hidden;
  background: linear-gradient(160deg, var(--stats-bg-1) 0%, var(--stats-bg-2) 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; z-index: 1; }
.stat-block { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.stat-num { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section { padding: 0 var(--space-md) var(--space-xl); }
.cta-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  max-width: 1320px; margin: 0 auto; padding: var(--space-xl) var(--space-md);
  text-align: center;
  background: radial-gradient(ellipse 90% 100% at 50% 0%, var(--cta-bg-1) 0%, var(--cta-bg-2) 70%);
  border: 1px solid var(--line);
}
.cta-card .display-lg { margin-bottom: 1.1rem; }
.cta-card .lede { margin: 0 auto 2.2rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-lg); align-items: start; }
.info-list { display: grid; gap: 1.4rem; margin-top: 2.2rem; }
.info-row { display: flex; gap: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-soft); }
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--surface);
  color: var(--cyan); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-label { font-weight: 600; font-size: 0.94rem; margin-bottom: 0.25rem; }
.info-value { font-size: 0.9rem; color: var(--text2); line-height: 1.6; }
.info-value a:hover { color: var(--cyan); }

.contact-panel {
  background: linear-gradient(160deg, var(--surface) 0%, var(--navy2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.4rem;
}
.contact-panel h3 { font-size: 1.3rem; margin-bottom: 0.9rem; }
.contact-panel > p { color: var(--text2); font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.7rem; }
.form-field { margin-bottom: 1.05rem; }
.form-field-label { display: block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); margin-bottom: 0.4rem; letter-spacing: 0.05em; text-transform: uppercase; }
.form-field-value { background: var(--tint-b); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.8rem 1rem; font-size: 0.9rem; color: var(--text2); font-family: var(--font-mono); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: grid; gap: 0; max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 1.7rem 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.05rem; font-weight: 600; cursor: pointer; }
.faq-num { font-family: var(--font-mono); color: var(--gold); font-weight: 600; font-size: 0.82rem; margin-right: 0.8rem; }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--text2); }
.faq-answer { color: var(--text2); font-size: 0.93rem; line-height: 1.8; margin-top: 0.9rem; max-width: 70ch; display: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: var(--text2); padding: var(--space-lg) 0 var(--space-md); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-md); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; }
.footer-logo-badge { background: var(--logo-badge-bg); border-radius: 10px; padding: 5px 8px; display: flex; align-items: center; border: 1px solid var(--logo-badge-border); }
.footer-logo-badge img { height: 24px; width: auto; display: block; }
.footer-brand-name { font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: 1rem; }
.footer-desc { font-size: 0.88rem; line-height: 1.85; max-width: 340px; color: var(--muted); }
.footer-heading { color: var(--text); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-link { display: block; font-size: 0.88rem; margin-bottom: 0.7rem; color: var(--muted); transition: color var(--transition); }
.footer-link:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-md); font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; gap: 1rem; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 650ms cubic-bezier(0.22,1,0.36,1), transform 650ms cubic-bezier(0.22,1,0.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 100ms; }
.d2 { transition-delay: 200ms; }
.d3 { transition-delay: 300ms; }
.d4 { transition-delay: 400ms; }
.d5 { transition-delay: 500ms; }
.d6 { transition-delay: 600ms; }

/* Mobile nav drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 300; background: var(--navy-deep);
  display: none; flex-direction: column; padding: 2rem var(--space-md);
}
.mobile-drawer.open { display: flex; }
.mobile-drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.mobile-drawer a { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--text); padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.mobile-drawer .btn { margin-top: 2rem; align-self: flex-start; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-arrow { display: none; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 2rem; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .diff-row, .diff-row.reverse { grid-template-columns: 1fr; }
  .diff-row.reverse .diff-media { order: 1; }
  .diff-row.reverse .diff-copy { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --space-xl: 5rem; --space-lg: 3rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 2rem; }
}
