/* ==========================================================================
   G-Matrix — Marketing Site
   Direction: blueprint-grade / technical precision.
   Type: Clash Display (display) + Satoshi (body) + JetBrains Mono (technical)
   ========================================================================== */

:root {
  /* brand */
  --cyan:        #00D4FF;
  --blue:        #2979FF;
  --blue-dark:   #1565C0;
  --purple:      #5C35CC;
  --gradient:    linear-gradient(120deg, #00D4FF 0%, #2979FF 48%, #5C35CC 100%);
  --gradient-soft: linear-gradient(120deg, #19DBFF 0%, #3D86FF 50%, #6B43E0 100%);

  /* neutrals */
  --bg:          #FFFFFF;
  --ink:         #0A0C12;   /* near-black premium surface */
  --ink-2:       #11141C;
  --surface:     #F5F7FB;
  --surface-2:   #EBEFF6;
  --border:      #E3E7EF;
  --border-2:    #D3D9E4;
  --text:        #0D0F14;
  --text-muted:  #5B6573;
  --grid-line:   rgba(41, 121, 255, 0.05);

  /* type */
  --font-display: "Clash Display", "Satoshi", system-ui, sans-serif;
  --font-body:    "Satoshi", "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* depth */
  --shadow-sm:   0 1px 2px rgba(13, 15, 20, 0.04), 0 4px 16px rgba(41, 121, 255, 0.06);
  --shadow-md:   0 2px 6px rgba(13, 15, 20, 0.05), 0 18px 48px rgba(41, 121, 255, 0.13);
  --shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.45);
  --glow:        0 0 36px rgba(0, 212, 255, 0.30);

  --radius:      14px;
  --radius-sm:   9px;
  --nav-h:       74px;
  --maxw:        1180px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 28px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 30px;
}

.section { padding: 116px 0; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* eyebrow / technical label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 62px;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
}
.section-head p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --arrow-shift: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-smooth),
              box-shadow 0.2s var(--ease-smooth),
              filter 0.2s var(--ease-smooth),
              background 0.2s var(--ease-smooth),
              color 0.2s var(--ease-smooth);
}
.btn .arr { transition: transform 0.2s var(--ease-spring); display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-gradient {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-gradient:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: var(--bg);
  color: var(--blue);
  border-color: var(--border-2);
}
.btn-outline:hover { border-color: var(--blue); background: rgba(41, 121, 255, 0.05); transform: translateY(-2px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { filter: brightness(1.3); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22); }

.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Logo mark — three stacked PNG pieces (real artwork)
   -------------------------------------------------------------------------- */
.gmx-logo { position: relative; display: inline-block; aspect-ratio: 600 / 434; height: 40px; }
.gmx-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gmx-logo .gmx-p1,
.gmx-logo .gmx-p2,
.gmx-logo .gmx-p3 {
  transform-origin: center;
  will-change: transform, opacity;
}

.gmx-logo::after {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 26px;
  pointer-events: none;
  opacity: 0;
  box-shadow: var(--glow), 0 0 70px rgba(92, 53, 204, 0.22);
}

.gmx-logo.gmx-play .gmx-p1 { animation: gmx-p1 0.7s var(--ease-spring) both; }
.gmx-logo.gmx-play .gmx-p2 { animation: gmx-p2 0.7s var(--ease-spring) 0.15s both; }
.gmx-logo.gmx-play .gmx-p3 { animation: gmx-p3 0.7s var(--ease-spring) 0.3s both; }
.gmx-logo.gmx-play::after  { animation: gmx-glow 0.6s ease-out 0.95s 1 both; }

@keyframes gmx-p1 { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: translateX(0); } }
@keyframes gmx-p2 { from { opacity: 0; transform: scale(0.82); }       to { opacity: 1; transform: scale(1); } }
@keyframes gmx-p3 { from { opacity: 0; transform: translate(22px, 26px); } to { opacity: 1; transform: translate(0, 0); } }
@keyframes gmx-glow { 0% { opacity: 0; } 42% { opacity: 1; } 100% { opacity: 0; } }

.gmx-logo.gmx-static .gmx-p1,
.gmx-logo.gmx-static .gmx-p2,
.gmx-logo.gmx-static .gmx-p3 { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand .gmx-logo { height: 34px; }
.nav-brand .brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.18s var(--ease-smooth);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  height: 2px; width: 100%;
  background: var(--gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-spring);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease-smooth), opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 18px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease-smooth), transform 0.22s var(--ease-smooth), visibility 0.22s;
  z-index: 99;
}
.nav-drawer.open { transform: translateY(0); opacity: 1; visibility: visible; }
.nav-drawer a { padding: 14px 4px; font-size: 16px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--surface-2); }
.nav-drawer a:last-of-type { border-bottom: none; }
.nav-drawer .btn { margin-top: 14px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; text-align: center; padding: 132px 0 0; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle 640px at 50% 16%, rgba(0,212,255,0.10), rgba(92,53,204,0.05) 46%, transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  background-position: center, center, center;
  -webkit-mask-image: radial-gradient(ellipse 92% 72% at 50% 24%, #000 44%, transparent 100%);
  mask-image: radial-gradient(ellipse 92% 72% at 50% 24%, #000 44%, transparent 100%);
}
.hero .container { position: relative; z-index: 1; }

.hero-logo { height: 168px; margin: 0 auto 40px; }

.hero h1 {
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0 auto;
  max-width: 800px;
}
.hero-sub {
  margin: 24px auto 0;
  max-width: 560px;
  font-size: 20px;
  color: var(--text-muted);
}
.hero-ctas { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  margin: 32px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 8px 15px;
  border-radius: 999px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.hero-divider { margin-top: 100px; height: 1px; width: 100%; background: var(--gradient); opacity: 0.4; }

/* --------------------------------------------------------------------------
   Feature strip
   -------------------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.22s var(--ease-smooth), box-shadow 0.22s var(--ease-smooth), border-color 0.22s var(--ease-smooth);
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease-spring);
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: var(--shadow-md); }
.feature-card:hover::before { transform: scaleX(1); }
.f-idx {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--border-2);
  letter-spacing: 0.05em;
}
.feature-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

code.inline,
.feature-card code, .bim-copy code, .faq-q code, .faq-a code, .price-features code {
  font-family: var(--font-mono);
  font-size: 0.84em;
  background: var(--surface-2);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--blue-dark);
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.how { background: var(--surface); border-block: 1px solid var(--border); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps::before {
  content: "";
  position: absolute;
  top: 28px; left: 16%; right: 16%;
  height: 2px;
  background-image: repeating-linear-gradient(to right, var(--blue) 0 7px, transparent 7px 15px);
  opacity: 0.45;
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  box-shadow: var(--shadow-sm);
  border: 5px solid var(--surface);
}
.step h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--text-muted); max-width: 290px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   .bim showcase (dark band)
   -------------------------------------------------------------------------- */
.bim-section {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.bim-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 90% at 70% 50%, #000 30%, transparent 100%);
}
.bim { position: relative; display: grid; grid-template-columns: 1fr 1.12fr; gap: 60px; align-items: center; z-index: 1; }
.bim-copy .eyebrow { color: rgba(255, 255, 255, 0.65); margin-bottom: 18px; }
.bim-copy h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
.bim-copy p { margin-top: 18px; font-size: 17px; color: rgba(255, 255, 255, 0.62); max-width: 440px; }
.bim-copy code { background: rgba(0, 212, 255, 0.12); color: var(--cyan); }

.code-block {
  background: var(--ink-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.code-bar { display: flex; align-items: center; gap: 7px; padding: 14px 17px; background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.code-bar .cd { width: 11px; height: 11px; border-radius: 50%; }
.code-bar .cd:nth-child(1) { background: #FF5F57; }
.code-bar .cd:nth-child(2) { background: #FEBC2E; }
.code-bar .cd:nth-child(3) { background: #28C840; }
.code-bar .code-name { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: rgba(255, 255, 255, 0.4); }
.code-block pre { margin: 0; padding: 24px 26px; font-size: 13.5px; line-height: 1.95; color: #E8ECF4; overflow-x: auto; font-family: var(--font-mono); }
.tok-title   { color: rgba(255, 255, 255, 0.5); font-style: italic; }
.tok-comment { color: #5B6573; }
.tok-key     { color: var(--cyan); }
.tok-val     { color: #E8ECF4; }
.tok-punct   { color: rgba(255, 255, 255, 0.32); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.tt { background: var(--surface); border-bottom: 1px solid var(--border); }
.tt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tt-grid.two { grid-template-columns: 1fr 1fr; max-width: 960px; margin: 0 auto; }
.tt-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-image: var(--gradient) 1;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 32px 30px 28px;
  box-shadow: var(--shadow-sm);
}
.tt-mark { font-family: var(--font-display); font-size: 60px; line-height: 0.5; color: var(--cyan); height: 30px; }
.tt-quote { font-size: 16px; color: var(--text); margin: 8px 0 24px; }
.tt-who { display: flex; align-items: center; gap: 12px; }
.tt-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient); flex: none; }
.tt-name { font-weight: 600; font-size: 15px; }
.tt-role { font-size: 13px; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   CTA banner + footer
   -------------------------------------------------------------------------- */
.cta-banner { position: relative; background: var(--gradient); color: #fff; text-align: center; padding: 92px 0; overflow: hidden; }
.cta-banner::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000, transparent 75%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 600; max-width: 660px; margin: 0 auto; }
.cta-banner p { margin: 18px auto 32px; max-width: 480px; font-size: 18px; color: rgba(255, 255, 255, 0.9); }

.footer { background: #fff; border-top: 1px solid var(--border); padding: 70px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-brand .gmx-logo { height: 34px; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; color: var(--text-muted); max-width: 260px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.footer-col li { list-style: none; margin-bottom: 12px; }
.footer-col a { font-size: 15px; color: var(--text-muted); transition: color 0.15s var(--ease-smooth); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.price-header { text-align: center; padding: 116px 0 50px; }
.price-header .eyebrow { margin-bottom: 18px; }
.price-header h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; letter-spacing: -0.03em; }
.price-header p { margin: 18px auto 0; max-width: 520px; font-size: 19px; color: var(--text-muted); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; padding-bottom: 40px; }
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.price-card.featured { transform: scale(1.045); box-shadow: var(--shadow-md); z-index: 2; }
.price-card.featured::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap;
}
.price-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.price-amount { margin: 16px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.price-amount .amt { font-family: var(--font-display); font-size: 46px; font-weight: 700; letter-spacing: -0.03em; }
.price-amount .per { font-size: 14px; color: var(--text-muted); }
.price-tagline { font-size: 14px; color: var(--text-muted); margin-bottom: 26px; }
.price-features { margin: 0 0 30px; padding: 24px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.price-features li { position: relative; padding-left: 29px; font-size: 15px; color: var(--text); line-height: 1.45; list-style: none; }
.price-features li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat,
    var(--gradient);
}

.trust { border-block: 1px solid var(--border); background: var(--surface); }
.trust-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 56px; padding: 34px 0; }
.trust-item { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 500; color: var(--text); }
.trust-item svg { width: 19px; height: 19px; color: var(--blue); flex: none; }

.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; transition: border-color 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth); }
.faq-item.open { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; background: none; border: none; cursor: pointer;
  padding: 21px 24px;
  font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text);
}
.faq-chevron { flex: none; width: 20px; height: 20px; color: var(--blue); transition: transform 0.3s var(--ease-spring); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.35s var(--ease-smooth), opacity 0.3s var(--ease-smooth); }
.faq-a p { padding: 0 24px 22px; font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* --------------------------------------------------------------------------
   Reveal + hero sequence
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: translateY(0); }

.hero-seq { opacity: 0; transform: translateY(20px); animation: hero-up 0.6s var(--ease-smooth) forwards; }
.hero-badge.hero-seq    { animation-delay: 0.55s; }
.hero h1.hero-seq       { animation-delay: 0.66s; }
.hero-sub.hero-seq      { animation-delay: 0.78s; }
.hero-ctas.hero-seq     { animation-delay: 0.92s; }
.hero-standards.hero-seq{ animation-delay: 1.04s; }
@keyframes hero-up { to { opacity: 1; transform: translateY(0); } }

/* --------------------------------------------------------------------------
   3D build section (scroll-pinned)
   -------------------------------------------------------------------------- */
.build-stage { position: relative; height: 440vh; background: var(--ink); }
.build-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#build-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.build-sticky::before {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 35%, transparent 100%);
}
.build-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 56px 0;
}
.build-head { text-align: center; color: #fff; }
.build-head .eyebrow { color: rgba(255,255,255,0.6); justify-content: center; margin-bottom: 16px; }
.build-head h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 600; }
.build-head p { margin: 14px auto 0; max-width: 520px; font-size: 17px; color: rgba(255,255,255,0.6); }

.build-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.build-stats { display: flex; gap: 30px; color: #fff; }
.build-stat .n { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.build-stat .n .u { font-size: 14px; color: rgba(255,255,255,0.5); font-weight: 500; margin-left: 3px; }
.build-stat .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 4px; }

.build-steps { display: flex; gap: 14px; align-items: stretch; }
.build-rail { width: 2px; border-radius: 2px; background: rgba(255,255,255,0.12); position: relative; overflow: hidden; }
.build-rail-fill { position: absolute; inset: 0; transform-origin: top; transform: scaleY(0); background: var(--gradient); transition: transform 0.12s linear; }
.build-list { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.build-step { display: flex; flex-direction: column; opacity: 0.4; transition: opacity 0.3s var(--ease-smooth); }
.build-step.active { opacity: 1; }
.build-step .s-label { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: #fff; }
.build-step .s-sub { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.5); }
.build-scrollhint { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); display: flex; align-items: center; gap: 8px; }
.build-scrollhint::after { content: ""; width: 26px; height: 1px; background: rgba(255,255,255,0.3); }
.build-stage.no-webgl .build-sticky { display: flex; align-items: center; justify-content: center; }

/* --------------------------------------------------------------------------
   Bento feature grid
   -------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(190px, auto); gap: 18px; }
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  transition: transform 0.22s var(--ease-smooth), box-shadow 0.22s var(--ease-smooth), border-color 0.22s var(--ease-smooth);
}
.bento-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.32s var(--ease-spring);
}
.bento-card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-md); }
.bento-card:hover::before { transform: scaleX(1); }
.b-span4 { grid-column: span 4; }
.b-span3 { grid-column: span 3; }
.b-span2 { grid-column: span 2; }
.b-rows2 { grid-row: span 2; }

.bento-card .b-icon {
  width: 46px; height: 46px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px; background: var(--surface); border: 1px solid var(--border);
  margin-bottom: 20px;
}
.bento-card .b-icon svg { width: 23px; height: 23px; }
.bento-card h3 { font-size: 21px; font-weight: 600; margin-bottom: 9px; }
.bento-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.bento-card.dark { background: var(--ink); border-color: transparent; color: #fff; }
.bento-card.dark h3 { color: #fff; }
.bento-card.dark p { color: rgba(255,255,255,0.62); }
.bento-card.dark .b-icon { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.b-spacer { flex: 1; min-height: 18px; }

/* decorative chips / mini-visuals inside bento */
.b-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.b-chip { font-family: var(--font-mono); font-size: 11.5px; padding: 6px 11px; border-radius: 7px; background: var(--surface-2); color: var(--blue-dark); border: 1px solid var(--border); }
.bento-card.dark .b-chip { background: rgba(255,255,255,0.07); color: var(--cyan); border-color: rgba(255,255,255,0.1); }
.b-util { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.b-util-row { display: grid; grid-template-columns: 64px 1fr 40px; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.b-util .bar { height: 7px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.b-util .bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #16c784, #f5c043 70%, #ff5d5d); }
.b-bom { margin-top: 18px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; font-family: var(--font-mono); font-size: 12px; }
.b-bom .row { display: grid; grid-template-columns: 1fr auto; padding: 8px 13px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.b-bom .row:last-child { border-bottom: none; background: var(--surface); color: var(--text); font-weight: 600; }
.b-bom .row b { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   Standards strip (hero)
   -------------------------------------------------------------------------- */
.hero-standards {
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-standards span { position: relative; }
.hero-standards span + span::before {
  content: "";
  position: absolute; left: -10px; top: 50%;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--blue); transform: translateY(-50%);
}
.hero-badge .aw { width: 14px; height: 14px; color: var(--blue); }

/* --------------------------------------------------------------------------
   Industry insight band
   -------------------------------------------------------------------------- */
.insight { background: var(--surface); border-block: 1px solid var(--border); }
.insight-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.insight .eyebrow { justify-content: center; margin-bottom: 22px; }
.insight-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(23px, 3.1vw, 34px);
  line-height: 1.32;
  letter-spacing: -0.02em;
}
.insight-src { margin-top: 22px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Contact section
   -------------------------------------------------------------------------- */
.contact { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 30%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 90% at 80% 30%, #000 20%, transparent 100%);
}
.contact .container { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.contact .eyebrow { color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.contact h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
.contact-lead { margin-top: 18px; font-size: 17px; color: rgba(255,255,255,0.64); max-width: 460px; }
.contact-founder { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.contact-founder .fa { width: 48px; height: 48px; border-radius: 50%; background: var(--gradient); flex: none; }
.contact-founder .fn { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.contact-founder .fr { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; }
.contact-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.contact-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
}
.contact-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ic { width: 20px; height: 20px; color: var(--cyan); flex: none; margin-top: 2px; }
.contact-row .ck { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 5px; }
.contact-row .cv { font-size: 15px; color: #fff; line-height: 1.55; }
.contact-row .cv a { color: #fff; }
.contact-row .cv a:hover { color: var(--cyan); }
.phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 4px; }
.phone-grid .pl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.phone-grid .pv { font-size: 14.5px; color: #fff; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card { grid-column: span 1 !important; grid-row: auto !important; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .bim { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .tt-grid { grid-template-columns: 1fr; }
  .tt-grid.two { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .build-stage { height: 360vh; }
  .build-foot { flex-direction: column; align-items: stretch; gap: 22px; }
  .build-stats { gap: 22px; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .container { padding: 0 22px; }
  .hero { padding: 92px 0 0; }
  .hero-logo { height: 112px; margin-bottom: 30px; }
  .hero-sub { font-size: 17px; }
  .feature-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .build-stage { height: 300vh; }
  .build-overlay { padding: 28px 0; }
  .build-stats { flex-wrap: wrap; gap: 18px; }
  .build-stat .n { font-size: 24px; }
  .build-head p, .build-scrollhint { display: none; }
}
@media (max-width: 400px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-seq { opacity: 1; transform: none; animation: none; }
  .gmx-logo .gmx-p1, .gmx-logo .gmx-p2, .gmx-logo .gmx-p3 { opacity: 1; transform: none; }
  .gmx-logo::after { display: none; }
}
