/* ============================================================
   TRUCXPRESS — dark premium design system
   ============================================================ */

/* ---- Fonts (self-hosted) ---- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --bg-0: #04060d;
  --bg-1: #080b16;
  --bg-2: #0d1122;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-strong: rgba(255, 255, 255, 0.16);

  --amber: #ffb31a;         /* headlight amber — primary accent   */
  --amber-soft: #ffcf66;
  --cyan: #37d5ff;          /* dashboard cyan — secondary accent  */
  --cyan-soft: #8ae9ff;

  --text-hi: #f4f6fc;
  --text-mid: #aab2c8;
  --text-lo: #6b7385;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --nav-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-hi);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(255, 179, 26, 0.35); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.01em; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

/* ---- Ambient page glow ---- */
.page-glow {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(52% 42% at 82% -8%, rgba(55, 213, 255, 0.10), transparent 62%),
    radial-gradient(56% 46% at 12% 112%, rgba(255, 179, 26, 0.07), transparent 60%),
    var(--bg-0);
}
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grain-shift 9s steps(6) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 14, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--stroke);
}
.nav-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
}
.logo .logo-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--amber), #ff8a00);
  box-shadow: 0 0 24px rgba(255, 179, 26, 0.45);
  color: #14100a;
}
.logo em { font-style: normal; color: var(--amber); }
.logo .logo-truck { height: 40px; width: auto; flex: none; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)); }
.logo .logo-script {
  font-style: italic; font-weight: 700; letter-spacing: 0.01em;
  background: linear-gradient(180deg, #ffffff 30%, #9fadc2 55%, #dfe6f0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.footer .logo .logo-truck { height: 46px; }
.nav-links { display: flex; align-items: center; gap: 34px; font-weight: 500; font-size: 0.95rem; }
.nav-links a { position: relative; color: var(--text-mid); transition: color 0.25s; padding: 6px 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-hi); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links .btn { display: none; } /* shown only inside the mobile menu */
.nav-links .btn::after { content: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text-hi); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.97rem; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, color 0.25s;
  will-change: transform;
}
.btn svg { transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(135deg, var(--amber), #ff8a00);
  color: #171105;
  box-shadow: 0 8px 30px rgba(255, 154, 26, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255, 154, 26, 0.5); }
.btn-ghost {
  border: 1px solid var(--stroke-strong); color: var(--text-hi);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); box-shadow: 0 8px 30px rgba(55, 213, 255, 0.18); }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-canvas canvas { width: 100%; height: 100%; }
.hero-fade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 6, 13, 0.55) 0%, rgba(4, 6, 13, 0.18) 40%, rgba(4, 6, 13, 0.32) 74%, var(--bg-0) 100%);
}
.hero-content { position: relative; z-index: 2; padding: calc(var(--nav-h) + 48px) 0 130px; max-width: 720px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 26px;
  border: 1px solid var(--stroke-strong);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber-soft);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.6); opacity: 0.6; } }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; margin-bottom: 24px;
}
.hero h1 .grad {
  background: linear-gradient(92deg, var(--amber) 10%, #ff8a00 45%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--text-mid); max-width: 560px; margin-bottom: 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 14px;
}
.stat-chip {
  padding: 16px 22px; border-radius: var(--radius-sm); min-width: 150px;
  border: 1px solid var(--stroke);
  background: rgba(10, 13, 26, 0.55);
  backdrop-filter: blur(12px);
}
.stat-chip .num {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--text-hi);
  display: flex; align-items: baseline; gap: 2px;
}
.stat-chip .num .suffix { color: var(--amber); }
.stat-chip .lbl { font-size: 0.82rem; color: var(--text-lo); margin-top: 2px; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-lo); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-hint .wheel {
  width: 24px; height: 38px; border: 1.5px solid var(--stroke-strong); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll-hint .wheel::after {
  content: ''; width: 3px; height: 8px; border-radius: 3px; background: var(--amber);
  animation: wheel-drop 1.8s var(--ease-out) infinite;
}
@keyframes wheel-drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---- Cinematic hero phase overlays ---- */
.hero-phase {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center; text-align: center;
  padding: 0 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.hero-phase h2 {
  font-size: clamp(2.2rem, 5.5vw, 4.4rem); font-weight: 700; max-width: 900px;
  text-shadow: 0 6px 46px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.4);
}
.hero-phase p {
  margin-top: 16px; font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #ffe9c9; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.hero-phase .btn { pointer-events: auto; margin-top: 30px; }

/* ---- Live load tracker ---- */
.tracker-card { max-width: 920px; margin-inline: auto; padding: 34px 38px 30px; transition: opacity 0.45s; }
.tracker-card.switching { opacity: 0.15; }
.tracker-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.live-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em;
  color: #ff5d5d; border: 1px solid rgba(255, 93, 93, 0.4); background: rgba(255, 93, 93, 0.08);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5d5d; box-shadow: 0 0 10px #ff5d5d; animation: pulse-dot 1.6s infinite; }
.load-id { font-family: var(--font-display); color: var(--text-mid); font-size: 0.95rem; }
.load-id strong { color: var(--text-hi); }
.load-status { margin-left: auto; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.verified-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em;
  color: #5ee8a4; border: 1px solid rgba(94, 232, 164, 0.35); background: rgba(94, 232, 164, 0.07);
}
.bar-node { position: absolute; top: 24px; width: 14px; height: 14px; border-radius: 50%; z-index: 2; }
.bar-node.start { left: -2px; background: var(--amber); box-shadow: 0 0 12px rgba(255, 179, 26, 0.7); }
.bar-node.end { right: -2px; background: var(--bg-2); border: 2.5px solid var(--text-lo); }
.tracker-route { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.route-city strong { display: block; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); }
.route-city span { color: var(--text-lo); font-size: 0.83rem; }
.route-city.right { text-align: right; }
.tracker-bar { position: relative; padding: 26px 0 10px; }
.bar-track {
  height: 10px; border-radius: 999px; overflow: hidden;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--stroke);
}
.bar-fill {
  height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, #b97700, var(--amber) 60%, #ffd97a);
  box-shadow: 0 0 18px rgba(255, 179, 26, 0.55);
  transition: none;
}
.bar-truck {
  position: absolute; top: -6px; left: 0%; transform: translateX(-50%);
  color: var(--amber); filter: drop-shadow(0 2px 8px rgba(255, 179, 26, 0.5));
}
.bar-node { position: absolute; top: 26px; width: 10px; height: 10px; border-radius: 50%; margin-top: 0; background: var(--text-lo); }
.bar-node.start { left: 0; background: var(--amber); }
.bar-node.end { right: 0; }
.tracker-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px;
  border-top: 1px solid var(--stroke); padding-top: 22px;
}
.tracker-stats .num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.45rem); }
.tracker-stats .num .unit { color: var(--amber); font-size: 0.75em; }
.tracker-stats .lbl { color: var(--text-lo); font-size: 0.8rem; }
@media (max-width: 720px) {
  .tracker-card { padding: 26px 20px; }
  .tracker-stats { grid-template-columns: 1fr 1fr; }
  .load-status { margin-left: 0; width: 100%; }
}

/* ---- Full-bleed statement panel (journey end-card) ---- */
.statement {
  min-height: 72vh; display: grid; place-items: center; text-align: center;
  padding: 90px 24px;
  background:
    radial-gradient(90% 130% at 50% -30%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(160deg, #ffb31a, #f07f00 60%, #c85f00);
  color: #1c1204;
}
.statement h2 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 700; max-width: 1000px; letter-spacing: -0.02em; }
.statement p { margin-top: 18px; font-size: clamp(1rem, 1.8vw, 1.25rem); color: rgba(28, 18, 4, 0.75); font-weight: 500; }
.statement .btn { margin-top: 36px; background: #14100a; color: #ffcf7a; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3); }
.statement .btn:hover { transform: translateY(-2px); }

/* ---- Page hero (inner pages) ---- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 110px) 0 90px; overflow: hidden; }
.page-hero .hero-canvas { opacity: 0.85; }
.page-hero .crumb {
  font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-soft);
  font-weight: 600; margin-bottom: 18px; display: block;
}
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); max-width: 780px; position: relative; z-index: 2; }
.page-hero p { position: relative; z-index: 2; color: var(--text-mid); max-width: 640px; margin-top: 20px; font-size: 1.08rem; }

/* ============================================================
   Sections & shared blocks
   ============================================================ */
.section { position: relative; padding: 110px 0; }
.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--cyan); border-radius: 2px; }
.section-head.center .eyebrow::after { content: ''; width: 26px; height: 2px; background: var(--cyan); border-radius: 2px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
.section-head p { color: var(--text-mid); margin-top: 16px; font-size: 1.05rem; }

/* ---- Glass card ---- */
.card {
  position: relative; border-radius: var(--radius); padding: 34px 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
  transform-style: preserve-3d;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 179, 26, 0.10), transparent 45%);
  opacity: 0; transition: opacity 0.35s;
}
.card:hover { border-color: rgba(255, 179, 26, 0.35); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.card:hover::before { opacity: 1; }

.card .icon {
  width: 56px; height: 56px; border-radius: 15px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(255, 179, 26, 0.16), rgba(55, 213, 255, 0.10));
  border: 1px solid rgba(255, 179, 26, 0.25);
  color: var(--amber);
  transform: translateZ(30px);
}
.card h3 { font-size: 1.22rem; margin-bottom: 12px; transform: translateZ(24px); }
.card p { color: var(--text-mid); font-size: 0.95rem; transform: translateZ(16px); }
.card .card-num {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--font-display); font-weight: 700; font-size: 2.4rem;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---- Marquee ---- */
.marquee-band {
  padding: 26px 0; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden; position: relative;
}
.marquee-band::before, .marquee-band::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee-band::before { left: 0; background: linear-gradient(90deg, var(--bg-0), transparent); }
.marquee-band::after { right: 0; background: linear-gradient(-90deg, var(--bg-0), transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-lo); display: flex; align-items: center; gap: 64px;
  white-space: nowrap;
}
.marquee-track span::after { content: '◆'; color: var(--amber); font-size: 0.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- About split ---- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.split .visual { position: relative; min-height: 420px; }
.split .visual canvas { width: 100%; height: 100%; }
.about-points { margin-top: 30px; display: grid; gap: 16px; }
.about-point { display: flex; gap: 16px; align-items: flex-start; }
.about-point .tick {
  flex: none; width: 26px; height: 26px; margin-top: 3px; border-radius: 8px;
  display: grid; place-items: center; font-size: 0.75rem; color: #14100a; font-weight: 800;
  background: linear-gradient(135deg, var(--amber), #ff8a00);
  box-shadow: 0 0 16px rgba(255, 179, 26, 0.4);
}
.about-point strong { display: block; font-family: var(--font-display); font-size: 1.02rem; }
.about-point span { color: var(--text-mid); font-size: 0.93rem; }

/* ---- Steps / how it works ---- */
.steps { position: relative; counter-reset: step; }
.steps .grid-4 { position: relative; z-index: 1; }
.step-line {
  position: absolute; top: 62px; left: 6%; right: 6%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, var(--stroke-strong) 12%, var(--stroke-strong) 88%, transparent);
}
.step-line .spark {
  position: absolute; top: 50%; width: 90px; height: 4px; border-radius: 4px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  box-shadow: 0 0 18px rgba(255, 179, 26, 0.8);
  animation: spark-run 4.5s linear infinite;
}
@keyframes spark-run { from { left: -10%; } to { left: 105%; } }
.step { text-align: center; padding: 28px 18px; }
.step .orb {
  width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  background: var(--bg-2); border: 1px solid var(--stroke-strong);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.02);
}
.step .orb::after {
  content: ''; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--amber), transparent 55%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.step h3 { font-size: 1.08rem; margin-bottom: 10px; }
.step p { color: var(--text-mid); font-size: 0.92rem; }

/* ---- Why choose / feature rows ---- */
.feature-row { display: flex; gap: 20px; padding: 26px 4px; border-bottom: 1px solid var(--stroke); align-items: flex-start; }
.feature-row:first-child { border-top: 1px solid var(--stroke); }
.feature-row .fx-ico { flex: none; color: var(--cyan); margin-top: 4px; }
.feature-row h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature-row p { color: var(--text-mid); font-size: 0.95rem; }

/* ---- Big stats band ---- */
.stats-band {
  border-radius: calc(var(--radius) + 8px); padding: 64px 48px;
  background:
    radial-gradient(120% 160% at 15% 0%, rgba(255, 179, 26, 0.13), transparent 55%),
    radial-gradient(120% 160% at 85% 100%, rgba(55, 213, 255, 0.12), transparent 55%),
    var(--bg-2);
  border: 1px solid var(--stroke-strong);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative; overflow: hidden;
}
.stats-band .big-stat { text-align: center; }
.stats-band .num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}
.stats-band .num .suffix { color: var(--amber); }
.stats-band .lbl { color: var(--text-mid); font-size: 0.93rem; margin-top: 6px; }

/* ---- Equipment cards ---- */
.equip-card { text-align: center; padding: 40px 24px; }
.equip-card .equip-art { height: 90px; margin-bottom: 20px; display: grid; place-items: center; color: var(--amber); }
.equip-card h3 { font-size: 1.1rem; }
.equip-card p { font-size: 0.88rem; margin-top: 8px; }

/* ---- Testimonials ---- */
.testi-card { display: flex; flex-direction: column; gap: 18px; }
.testi-card .quote-mark { color: var(--amber); }
.testi-card blockquote { color: var(--text-mid); font-size: 0.98rem; font-style: italic; flex: 1; }
.testi-card .who { display: flex; align-items: center; gap: 14px; }
.testi-card .avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  background: linear-gradient(135deg, rgba(255, 179, 26, 0.3), rgba(55, 213, 255, 0.25));
  border: 1px solid var(--stroke-strong);
}
.testi-card .who strong { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.testi-card .who span { color: var(--text-lo); font-size: 0.83rem; }
.stars { color: var(--amber); letter-spacing: 3px; font-size: 0.9rem; }

/* ---- CTA banner ---- */
.cta-banner {
  position: relative; border-radius: calc(var(--radius) + 10px); overflow: hidden;
  padding: 90px 56px; text-align: center;
  background:
    radial-gradient(90% 140% at 50% -20%, rgba(255, 154, 26, 0.22), transparent 60%),
    radial-gradient(70% 120% at 50% 130%, rgba(55, 213, 255, 0.14), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--stroke-strong);
}
.cta-banner h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 720px; margin: 0 auto 18px; }
.cta-banner p { color: var(--text-mid); max-width: 560px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-banner .road-line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--cyan), transparent);
  filter: blur(0.5px); opacity: 0.8;
}

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-line { display: flex; gap: 16px; align-items: center; padding: 20px 22px; }
.contact-line .c-ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 179, 26, 0.12); color: var(--amber); border: 1px solid rgba(255, 179, 26, 0.25);
}
.contact-line strong { display: block; font-family: var(--font-display); font-size: 0.95rem; }
.contact-line a, .contact-line span.val { color: var(--text-mid); font-size: 0.93rem; transition: color 0.25s; }
.contact-line a:hover { color: var(--amber); }

.form { display: grid; gap: 16px; padding: 36px 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-mid); margin-bottom: 8px; letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--stroke);
  color: var(--text-hi); font: inherit; font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aab2c8' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: var(--bg-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 179, 26, 0.15);
}
.field textarea { min-height: 120px; resize: vertical; }

/* ---- Blog ---- */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card .post-art {
  height: 170px; display: grid; place-items: center; color: var(--amber);
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(255, 179, 26, 0.14), transparent 55%),
    radial-gradient(120% 140% at 85% 100%, rgba(55, 213, 255, 0.12), transparent 55%),
    var(--bg-2);
  border-bottom: 1px solid var(--stroke);
}
.post-card .post-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-meta { display: flex; gap: 14px; align-items: center; font-size: 0.78rem; color: var(--text-lo); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.post-meta .tag { color: var(--cyan); border: 1px solid rgba(55, 213, 255, 0.35); padding: 3px 10px; border-radius: 999px; }
.post-card h3 { font-size: 1.18rem; }
.post-card p { color: var(--text-mid); font-size: 0.93rem; flex: 1; }
.read-more { color: var(--amber); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 8px; }
.read-more svg { transition: transform 0.25s var(--ease-out); }
.post-card:hover .read-more svg { transform: translateX(4px); }

/* ---- Article ---- */
.article { max-width: 760px; margin-inline: auto; }
.article .post-meta { margin-bottom: 18px; }
.article h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 22px; }
.article .lede { font-size: 1.12rem; color: var(--text-mid); margin-bottom: 40px; }
.article h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.article p { color: var(--text-mid); margin-bottom: 18px; }
.article strong { color: var(--text-hi); }
.article ul, .article ol { margin: 0 0 18px 22px; color: var(--text-mid); display: grid; gap: 8px; }
.article ul { list-style: none; margin-left: 0; }
.article ul li { position: relative; padding-left: 22px; }
.article ul li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 3px;
  background: linear-gradient(135deg, var(--amber), #ff8a00);
}
.article .back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-lo); font-size: 0.9rem; margin-bottom: 26px; transition: color 0.25s; }
.article .back-link:hover { color: var(--amber); }

/* ---- Service card bullet lists ---- */
.svc-list { margin-top: 16px; display: grid; gap: 10px; }
.svc-list li {
  position: relative; padding-left: 22px;
  color: var(--text-mid); font-size: 0.9rem; line-height: 1.5;
}
.svc-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 3px;
  background: linear-gradient(135deg, var(--amber), #ff8a00);
  box-shadow: 0 0 8px rgba(255, 179, 26, 0.5);
}
.svc-list li strong { color: var(--text-hi); font-weight: 600; }

/* ---- Founder quote ---- */
.founder-quote {
  margin-top: 30px; padding: 26px 28px; border-radius: var(--radius);
  border-left: 3px solid var(--amber);
  background: linear-gradient(160deg, rgba(255, 179, 26, 0.07), rgba(255, 255, 255, 0.02));
}
.founder-quote blockquote { color: var(--text-mid); font-style: italic; font-size: 0.98rem; }
.founder-quote cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--font-display); font-weight: 600; color: var(--amber-soft); font-size: 0.92rem; }

/* ---- FAQ accordion ---- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--stroke); border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  overflow: hidden; transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(255, 179, 26, 0.4); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-x {
  flex: none; width: 28px; height: 28px; border-radius: 8px; position: relative;
  border: 1px solid var(--stroke-strong); transition: transform 0.3s, border-color 0.3s;
}
.faq-item summary .faq-x::before, .faq-item summary .faq-x::after {
  content: ''; position: absolute; top: 50%; left: 50%; background: var(--amber);
  transform: translate(-50%, -50%); border-radius: 2px;
}
.faq-item summary .faq-x::before { width: 12px; height: 2px; }
.faq-item summary .faq-x::after { width: 2px; height: 12px; transition: opacity 0.3s; }
.faq-item[open] summary .faq-x { transform: rotate(90deg); border-color: var(--amber); }
.faq-item[open] summary .faq-x::after { opacity: 0; }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--text-mid); font-size: 0.95rem; }

/* ---- Office cards ---- */
.office-card { position: relative; }
.office-card .flag {
  display: inline-flex; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(255, 179, 26, 0.13); color: var(--amber-soft); border: 1px solid rgba(255, 179, 26, 0.3);
}
.office-card.alt .flag { background: rgba(55, 213, 255, 0.1); color: var(--cyan-soft); border-color: rgba(55, 213, 255, 0.3); }
.office-card h3 { font-size: 1.4rem; margin-bottom: 14px; }
.office-card .office-lines { display: grid; gap: 10px; color: var(--text-mid); font-size: 0.95rem; }
.office-card .office-lines a { color: var(--text-mid); transition: color 0.25s; }
.office-card .office-lines a:hover { color: var(--amber); }
.office-card .office-lines svg { flex: none; color: var(--amber); margin-top: 3px; }
.office-card .office-lines > div { display: flex; gap: 12px; align-items: flex-start; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--stroke); padding: 72px 0 34px; background: rgba(255, 255, 255, 0.012); position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; margin-bottom: 54px; }
.footer h4 { font-size: 0.92rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-lo); margin-bottom: 20px; }
.footer .f-about p { color: var(--text-mid); font-size: 0.93rem; margin-top: 16px; max-width: 300px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { color: var(--text-mid); font-size: 0.94rem; transition: color 0.25s, transform 0.25s; display: inline-block; }
.footer-links a:hover { color: var(--amber); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid var(--stroke); padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  color: var(--text-lo); font-size: 0.85rem;
}
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--stroke-strong); color: var(--text-mid);
  transition: color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.socials a:hover { color: var(--amber); border-color: var(--amber); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 179, 26, 0.2); }

/* ---- Reveal animation base states (GSAP takes over) ---- */
.reveal { opacity: 0; transform: translateY(44px); }
.reveal-l { opacity: 0; transform: translateX(-60px); }
.reveal-r { opacity: 0; transform: translateX(60px); }
.no-js .reveal, .no-js .reveal-l, .no-js .reveal-r { opacity: 1; transform: none; }

/* ---- Back to top ---- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(13, 17, 34, 0.8); border: 1px solid var(--stroke-strong); color: var(--amber);
  backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .step-line { display: none; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split .visual { min-height: 320px; order: -1; }
  .stats-band { grid-template-columns: repeat(2, 1fr); padding: 48px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 0; z-index: 100;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(4, 6, 13, 0.96); backdrop-filter: blur(20px);
    font-size: 1.3rem;
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .nav .btn { display: none; }
  .nav-links .btn { display: inline-flex; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero-content { padding-bottom: 100px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 64px 26px; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .grain, .step-line .spark, .scroll-hint .wheel::after, .hero-eyebrow .dot { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}
