/* ===========================================================
   GMCTech — Global Module Core Technology
   One-page marketing site
   =========================================================== */

:root {
  /* Brand */
  --blue:        #2f73d6;
  --blue-light:  #5a9bea;
  --blue-deep:   #1d4f9e;
  --green:       #35e07a;
  --green-bright:#62f29a;

  /* Surfaces */
  --navy-900: #07111f;
  --navy-800: #0b1c30;
  --navy-700: #112a44;
  --ink:      #0d1b2a;

  --bg:        #ffffff;
  --bg-soft:   #f4f7fb;
  --text:      #16222f;
  --text-soft: #51606e;
  --line:      #e2e9f1;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -22px rgba(13, 27, 42, .35);
  --shadow-lg: 0 30px 80px -30px rgba(13, 27, 42, .45);
  --maxw: 1180px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: "Poppins", "Inter", sans-serif; line-height: 1.15; margin: 0; letter-spacing: -.01em; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: .98rem;
  padding: .85em 1.6em; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-sm { padding: .65em 1.25em; font-size: .9rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; box-shadow: 0 12px 26px -12px rgba(47,115,214,.8);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(47,115,214,.9); }
.btn-white {
  background: #fff; color: var(--blue);
  border-color: var(--line); box-shadow: var(--shadow);
}
.btn-white:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.section .btn-ghost { border-color: var(--line); color: var(--text); }
.section .btn-ghost:hover { background: var(--bg-soft); border-color: var(--blue); color: var(--blue); }
.btn-play::before {
  content: ""; width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.btn-nav { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; padding: .6em 1.3em; }
.btn-nav:hover { background: var(--green); border-color: var(--green); color: var(--navy-900); }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0;
  transition: background .3s var(--ease), box-shadow .3s, padding .3s;
}
.site-header.scrolled {
  background: rgba(7,17,31,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px -16px rgba(0,0,0,.6);
  padding: 8px 0;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: "Poppins"; font-weight: 800; font-size: 1.45rem;
  color: #fff; letter-spacing: .01em;
}
.brand-tag {
  font-size: .58rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue-light); margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a { color: rgba(255,255,255,.85); font-weight: 500; font-size: .98rem; position: relative; }
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--green); transition: width .25s var(--ease);
}
.nav > a:not(.btn):hover { color: #fff; }
.nav > a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-backdrop { display: none; }
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===========================================================
   HERO
   =========================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(115deg, rgba(7,17,31,.55) 0%, rgba(7,17,31,.85) 45%, rgba(7,17,31,.97) 70%),
    url("assets/circuit-hero.jpg") center/cover no-repeat,
    var(--navy-900);
  background-blend-mode: normal;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 18% 40%, rgba(53,224,122,.18), transparent 45%),
    radial-gradient(ellipse at 80% 70%, rgba(47,115,214,.22), transparent 50%);
}
.hero-inner { padding-top: 120px; padding-bottom: 80px; }
.hero-content { max-width: 760px; color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-bright); padding: 7px 16px; border-radius: 999px;
  background: rgba(53,224,122,.12); border: 1px solid rgba(53,224,122,.3); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
.grad {
  background: linear-gradient(100deg, var(--green-bright), var(--blue-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.82); margin: 24px 0 34px; max-width: 640px; }
.hero-sub strong { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; margin-bottom: 42px; }

.trust-pills { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.trust-pills li {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.92);
}
.trust-pills svg { color: var(--green); flex-shrink: 0; }

/* ===========================================================
   SECTION SHELL
   =========================================================== */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark .section-head p { color: rgba(255,255,255,.72); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.kicker-green { color: var(--green); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 700; }
.section-head p { color: var(--text-soft); font-size: 1.1rem; margin-top: 16px; }
.sub-head { font-size: clamp(1.4rem, 3vw, 1.9rem); text-align: center; margin-bottom: 36px; }

/* ===========================================================
   PRODUCTS
   =========================================================== */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.product-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media { position: relative; aspect-ratio: 16/8; overflow: hidden; background: var(--navy-900); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--green); color: var(--navy-900);
  font-weight: 700; font-size: .8rem; letter-spacing: .08em;
  padding: 5px 13px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.5);
}
.product-badge.badge-blue { background: var(--blue); color: #fff; }

.product-body { padding: 30px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.4rem; font-weight: 700; }
.product-lead { color: var(--text-soft); margin: 12px 0 22px; }

.spec-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; margin-bottom: 22px;
}
.spec-grid li {
  background: var(--bg-soft); padding: 11px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.spec-grid span { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-soft); }
.spec-grid strong { font-size: .96rem; font-weight: 600; color: var(--text); }

.feature-list { display: grid; gap: 10px; margin-bottom: 24px; }
.feature-list li { position: relative; padding-left: 28px; font-size: .95rem; color: var(--text-soft); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  background: var(--green); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.price-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  padding: 16px 0; border-top: 1px solid var(--line); margin-top: auto;
}
.price { display: flex; align-items: baseline; gap: 7px; }
.price strong { font-family: "Poppins"; font-size: 1.7rem; font-weight: 800; color: var(--blue); }
.price small { color: var(--text-soft); font-size: .82rem; }
.price-sub { font-size: .82rem; color: var(--text-soft); }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* Limited stock card */
.stock-card { grid-column: 1 / -1; }
.stock-badge {
  align-self: flex-start; display: inline-block; margin-bottom: 14px;
  background: #f5a623; color: var(--navy-900);
  font-weight: 700; font-size: .8rem; letter-spacing: .08em;
  padding: 5px 13px; border-radius: 999px;
}
.stock-groups { display: grid; gap: 22px; margin-bottom: 22px; }
.stock-group-label {
  display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 700; color: var(--text-soft); margin-bottom: 12px;
}
.stock-chips li[data-spec] { cursor: help; }
.gmc-tip {
  position: fixed; z-index: 9999; width: max-content; max-width: 320px;
  background: var(--navy-900); color: #fff;
  border: 1px solid rgba(255,255,255,.14); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  pointer-events: none; opacity: 0; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
}
.gmc-tip.show { opacity: 1; transform: translateY(0); }
.gmc-tip-title {
  background: linear-gradient(135deg, var(--green), var(--blue-light));
  color: var(--navy-900); font-family: "Poppins"; font-weight: 800;
  font-size: .9rem; letter-spacing: .01em; padding: 9px 14px;
}
.gmc-tip-table { width: 100%; border-collapse: collapse; }
.gmc-tip-table th, .gmc-tip-table td {
  text-align: left; vertical-align: top; padding: 6px 14px;
  font-size: .78rem; line-height: 1.4; border-top: 1px solid rgba(255,255,255,.08);
}
.gmc-tip-table th { color: rgba(255,255,255,.55); font-weight: 600; white-space: nowrap; padding-right: 10px; }
.gmc-tip-table td { color: #fff; font-weight: 500; }
.gmc-tip-table tr:nth-child(even) { background: rgba(255,255,255,.04); }
.stock-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.stock-chips li {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 17px 9px 14px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .9rem; font-weight: 600; color: var(--text);
  transition: transform .2s var(--ease), border-color .2s, background .2s, box-shadow .2s;
}
.stock-chips li:hover {
  transform: translateY(-3px); background: #fff;
  border-color: var(--green); box-shadow: var(--shadow);
}
.stock-chips li::before {
  content: ""; width: 15px; height: 15px; flex: none; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 00-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 00-7-7zm0 9.5A2.5 2.5 0 1112 6.5a2.5 2.5 0 010 5z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 00-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 00-7-7zm0 9.5A2.5 2.5 0 1112 6.5a2.5 2.5 0 010 5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.stock-chips.evk li:hover { border-color: var(--blue); }
.stock-chips.evk li::before {
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 3h6v2h3a2 2 0 012 2v3h2v6h-2v3a2 2 0 01-2 2h-3v2H9v-2H6a2 2 0 01-2-2v-3H2V10h2V7a2 2 0 012-2h3V3zm-3 4v10h12V7H6zm3 3h6v4H9v-4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 3h6v2h3a2 2 0 012 2v3h2v6h-2v3a2 2 0 01-2 2h-3v2H9v-2H6a2 2 0 01-2-2v-3H2V10h2V7a2 2 0 012-2h3V3zm-3 4v10h12V7H6zm3 3h6v4H9v-4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===========================================================
   PILLARS (mission)
   =========================================================== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 32px 26px; transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(53,224,122,.5); background: linear-gradient(180deg, rgba(53,224,122,.08), rgba(255,255,255,.02)); }
.pillar-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(53,224,122,.12); color: var(--green); margin-bottom: 18px;
}
.pillar h3 { font-size: 1.25rem; margin-bottom: 8px; color: #fff; }
.pillar p { color: rgba(255,255,255,.72); font-size: .96rem; margin: 0; }

/* ===========================================================
   MARKETS
   =========================================================== */
.markets-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.market {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 26px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.market:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: var(--shadow); }
.market-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(47,115,214,.12), rgba(53,224,122,.12)); color: var(--blue);
}
.market span { font-weight: 600; font-size: .9rem; line-height: 1.3; }

/* ===========================================================
   TIMELINE
   =========================================================== */
.timeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  position: relative; margin-bottom: 90px;
}
.timeline::before {
  content: ""; position: absolute; top: 9px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.t-item { position: relative; padding: 30px 16px 0; text-align: center; }
.t-item::before {
  content: ""; position: absolute; top: 2px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%; background: var(--navy-900);
  border: 3px solid var(--blue-light); box-shadow: 0 0 0 4px rgba(47,115,214,.18);
}
.t-item.t-now::before { border-color: var(--green); box-shadow: 0 0 0 4px rgba(53,224,122,.25); background: var(--green); }
.t-year { display: block; font-family: "Poppins"; font-weight: 700; color: var(--green-bright); font-size: .9rem; margin-bottom: 8px; }
.t-item h4 { font-size: 1.05rem; color: #fff; margin-bottom: 6px; }
.t-item p { font-size: .88rem; color: rgba(255,255,255,.65); margin: 0; }

/* Leadership */
.leadership { margin-bottom: 80px; }
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin-inline: auto; }
.leader {
  display: flex; gap: 20px; padding: 28px; min-width: 0;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
}
.leader-avatar {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; overflow: hidden;
  display: grid; place-items: center; font-family: "Poppins"; font-weight: 800; font-size: 1.3rem;
  color: var(--navy-900); background: linear-gradient(135deg, var(--green), var(--blue-light));
}
.leader-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leader h4 { font-size: 1.2rem; color: #fff; }
.leader-role { display: block; color: var(--green-bright); font-size: .85rem; font-weight: 600; margin: 2px 0 12px; }
.leader ul { display: grid; gap: 6px; }
.leader li { font-size: .9rem; color: rgba(255,255,255,.72); padding-left: 16px; position: relative; }
.leader li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); }

/* Customers */
.customers { text-align: center; }
.customers-note { color: rgba(255,255,255,.7); max-width: 640px; margin: -18px auto 30px; }
.customer-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
.customer-logos li {
  font-family: "Poppins"; font-weight: 700; font-size: 1.3rem; color: rgba(255,255,255,.55);
  transition: color .25s, transform .25s; cursor: default;
}
.customer-logos li:hover { color: #fff; transform: translateY(-2px); }

/* ===========================================================
   ROADMAP
   =========================================================== */
.roadmap-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.rm-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative; box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
}
.rm-item:nth-child(odd) { border-top-color: var(--green); }
.rm-q { display: block; font-family: "Poppins"; font-weight: 800; font-size: 1.25rem; color: var(--text); margin-bottom: 14px; }
.rm-item ul { display: grid; gap: 9px; }
.rm-item li { font-size: .9rem; color: var(--text-soft); padding-left: 18px; position: relative; }
.rm-item li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); }
.rm-item strong { color: var(--text); }

/* ===========================================================
   CONTACT
   =========================================================== */
.section-contact { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 12px 0 16px; }
.contact-info > p { color: rgba(255,255,255,.75); margin-bottom: 30px; max-width: 460px; }
.contact-list { display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.85); }
.contact-list svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.contact-list a:hover { color: var(--green-bright); }

.contact-form {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 34px; display: grid; gap: 18px; backdrop-filter: blur(6px);
}
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.85); }
.field input, .field textarea {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm); padding: 12px 14px; color: #fff; font: inherit; font-size: .95rem;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: rgba(255,255,255,.1);
}
.field textarea { resize: vertical; }
.form-note { font-size: .9rem; margin: 4px 0 0; }
.form-note.ok { color: var(--green-bright); }
.form-note.err { color: #ff8080; }
.form-privacy { font-size: .8rem; margin: 0; color: rgba(255,255,255,.55); }
.form-privacy a { color: var(--blue-light); text-decoration: underline; }
/* Honeypot: hidden from people, visible to naive bots */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nowrap { white-space: nowrap; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: #050c16; color: rgba(255,255,255,.7); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer-brand .brand-name { color: #fff; font-size: 1.5rem; }
.footer-brand .brand-tag { color: var(--blue-light); display: block; margin: 4px 0 14px; }
.footer-brand p { max-width: 320px; font-size: .92rem; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav a:hover, .footer-meta a:hover { color: var(--green-bright); }
.footer-meta { display: grid; gap: 10px; align-content: start; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .85rem; color: rgba(255,255,255,.5);
}

/* ===========================================================
   LEGAL PAGES (privacy.html)
   =========================================================== */
.legal { padding: 130px 0 70px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.2rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--text-soft); }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal-updated { font-size: .9rem; }

/* ===========================================================
   REVEAL ANIMATION
   =========================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .markets-grid { grid-template-columns: repeat(4, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .roadmap-track { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .timeline::before { display: none; }
  .t-item { text-align: left; padding-left: 26px; }
  .t-item::before { left: 0; transform: none; }
}

@media (max-width: 820px) {
  /* Full-screen centered overlay menu */
  .nav {
    position: fixed; inset: 0; width: 100%;
    flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    background:
      linear-gradient(160deg, rgba(7,17,31,.86) 0%, rgba(7,17,31,.93) 100%),
      url("assets/circuit-hero.jpg") center/cover no-repeat,
      var(--navy-900);
    padding: 92px 24px 48px;
    opacity: 0; visibility: hidden; transform: translateY(-10px); z-index: 2;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { font-size: 1.4rem; }
  .nav > a.btn-nav { margin-top: 6px; padding: .7em 1.6em; }
  /* Keep the logo and the close (X) button above the overlay */
  .brand { position: relative; z-index: 3; }
  .nav-toggle { display: flex; z-index: 4; }
  /* Backdrop unused for full-screen menu */
  .nav-backdrop { display: none; }
  body.nav-open { overflow: hidden; }
  /* The header's blur creates a containing block that would trap the
     fixed menu inside the header bar — disable it while the menu is open
     so the overlay can fill the entire screen. */
  body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .products { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .leaders { grid-template-columns: 1fr; }
  /* Long role lines use inline white-space:nowrap for desktop line control;
     let them wrap on narrower screens so the card can't overflow the viewport. */
  .leader li, .leader li span { white-space: normal !important; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .roadmap-track { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  /* Card buttons: one per row, full width. Side by side they wrap into a
     ragged stack, and a long label (e.g. "Watch GPS/GNSS basics") can run
     past the card edge because .btn is white-space:nowrap. */
  .product-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .product-actions .btn { justify-content: center; text-align: center; white-space: normal; }
  .brand-tag { display: none; }
  /* Neutralize desktop no-wrap spans so nothing overflows the phone viewport. */
  .section-head p span { white-space: normal !important; }
}
