/* ============================================================
   Speedotrack — Reimagined GPS Fleet Platform
   Design system + components
   ============================================================ */

:root {
  /* Palette */
  --bg:            #070b18;
  --bg-2:          #0b1226;
  --surface:       #10182e;
  --surface-2:     #141d38;
  --line:          rgba(255,255,255,.08);
  --line-strong:   rgba(255,255,255,.16);

  --text:          #eef2ff;
  --muted:         #9aa6c4;
  --muted-2:       #6d7aa0;

  --brand:         #3d7bff;
  --brand-2:       #22d3ee;
  --accent:        #7c5cff;
  --success:       #2fe6a8;
  --warn:          #ffb547;

  --gold:       #d4af37;
  --gold-2:     #f4dd94;
  --grad-gold:  linear-gradient(120deg, #f4dd94 0%, #d4af37 45%, #b8860b 100%);

  --grad-brand: linear-gradient(120deg, #3d7bff 0%, #22d3ee 100%);
  --grad-accent: linear-gradient(120deg, #7c5cff 0%, #3d7bff 100%);
  --grad-text: linear-gradient(120deg, #eaf2ff 0%, #9fc7ff 40%, #6fe9ff 100%);

  --radius:   18px;
  --radius-sm:12px;
  --radius-lg:28px;

  --shadow:   0 24px 60px -20px rgba(3, 8, 25, .8);
  --shadow-glow: 0 0 0 1px rgba(61,123,255,.25), 0 20px 60px -18px rgba(34,211,238,.35);

  --maxw: 1180px;
  --nav-h: 94px;

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(61,123,255,.22), transparent 60%),
    radial-gradient(800px 600px at 100% 0%, rgba(124,92,255,.18), transparent 55%),
    radial-gradient(700px 500px at 50% 120%, rgba(34,211,238,.10), transparent 60%);
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  opacity: .5;
  z-index: -2;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 92px 0; position: relative; }
.section-sm { padding: 60px 0; }

/* ---------- Utility / typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-2);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.22);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 12px var(--brand-2); }

.h-xl { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.h-lg { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 620px; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-left: auto; margin-right: auto; }
.section-head { max-width: 680px; margin: 0 auto 54px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: .96rem;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad-gold); color: #241a00;
  box-shadow: 0 12px 30px -10px rgba(212,175,55,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -12px rgba(212,175,55,.78); }
.btn-ghost {
  background: rgba(255,255,255,.04); color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(255,255,255,.97); border-bottom-color: rgba(0,0,0,.1); box-shadow: 0 8px 24px -14px rgba(0,0,0,.25); }

/* White navbar — dark text & controls */
.nav .nav-links a { color: #3a4256; }
.nav .nav-links a:hover { color: #0b1124; background: rgba(0,0,0,.05); }
.nav .nav-links a.active { color: #0b1124; }
.nav .nav-cta .btn-ghost { color: #a97c1a; border-color: rgba(212,175,55,.55); background: rgba(212,175,55,.08); }
.nav .nav-cta .btn-ghost:hover { background: rgba(212,175,55,.16); color: #8a6410; }
.nav .nav-toggle { color: #16203a; border-color: rgba(0,0,0,.16); background: rgba(0,0,0,.03); }
.nav.open .nav-links { background: #ffffff; border-bottom-color: rgba(0,0,0,.1); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-brand);
  display: grid; place-items: center; color: #05122b;
  box-shadow: 0 8px 20px -6px rgba(34,211,238,.6);
}
.brand .logo-mark svg { width: 20px; height: 20px; }
.brand .brand-logo { height: 80px; width: auto; max-width: none; flex: none; display: block; }
.footer .brand-footer .brand-logo { height: 102px; }
.brand b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: .93rem; color: var(--muted); font-weight: 500;
  padding: 9px 13px; border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content:""; display:block; height:2px; margin-top:5px; border-radius:2px;
  background: var(--grad-brand);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.04);
  color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 70px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); margin-bottom: 18px; }
.hero .lead { font-size: 1.18rem; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: .9rem; }
.hero-note .avatars { display: flex; }
.hero-note .avatars span {
  width: 30px; height: 30px; border-radius: 50%; margin-left: -8px;
  border: 2px solid var(--bg); background: var(--grad-accent);
  display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: #fff;
}

/* Hero visual — animated map card */
.hero-visual { position: relative; }
.map-card {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); overflow: hidden;
  padding: 18px;
}
.map-card .map-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.map-card .map-top .dot-row { display: flex; gap: 6px; }
.map-card .map-top .dot-row i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: block; }
.map-card .map-top .live { font-size: .74rem; color: var(--success); display: flex; align-items: center; gap: 6px; font-weight: 600; }
.map-card .map-top .live::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); animation: pulse 1.6s infinite; }
.map-face {
  position: relative; height: 300px; border-radius: 16px; overflow: hidden;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(61,123,255,.16), transparent 50%),
    linear-gradient(180deg, #0c1430, #0a1024);
}
.map-face .roads { position: absolute; inset: 0; opacity: .5; }
.map-face .route {
  fill: none; stroke: url(#routeGrad); stroke-width: 3.5; stroke-linecap: round;
  stroke-dasharray: 8 10; animation: dash 1.4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(34,211,238,.6));
}
.map-pin {
  position: absolute; width: 34px; height: 34px; border-radius: 50% 50% 50% 2px;
  transform: rotate(45deg); background: var(--grad-brand);
  box-shadow: 0 8px 20px -4px rgba(34,211,238,.7); display: grid; place-items: center;
  animation: float 3.6s ease-in-out infinite;
}
.map-pin::after { content:""; width: 12px; height: 12px; border-radius: 50%; background: #05122b; transform: rotate(-45deg); }
.map-stat {
  position: absolute; padding: 10px 13px; border-radius: 12px;
  background: rgba(9,14,32,.82); border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px); font-size: .78rem;
  box-shadow: var(--shadow);
}
.map-stat b { color: var(--text); font-size: .98rem; display: block; }
.map-stat span { color: var(--muted-2); }
.chip-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.chip {
  font-size: .76rem; color: var(--muted); padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 7px;
}
.chip svg { width: 14px; height: 14px; color: var(--brand-2); }

/* ---------- Marquee (clients) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 26px; width: max-content; animation: scroll-x 32s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 1.3rem; font-weight: 800; letter-spacing: .02em; color: var(--muted-2); opacity: .8; white-space: nowrap; }
.trust-line { text-align: center; color: var(--muted-2); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 26px; }
.logo-chip {
  flex: none; width: 128px; height: 74px; border-radius: 14px;
  background: #fff; display: grid; place-items: center; padding: 12px 16px;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.12);
}
.logo-chip img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- Device screenshot gallery (phone mockups) ---------- */
.shots { display: flex; gap: 30px; justify-content: center; align-items: center; flex-wrap: wrap; }
.shot {
  position: relative; width: 216px; flex: none;
  border-radius: 34px; padding: 10px;
  background: linear-gradient(160deg, #202b4d, #0b1124);
  border: 1px solid var(--line-strong);
  box-shadow: 0 34px 70px -24px rgba(3,8,25,.9), inset 0 0 0 1px rgba(255,255,255,.04);
  transition: transform .35s var(--ease);
}
/* phone notch */
.shot::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 58px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.22); z-index: 2;
}
.shot:hover { transform: translateY(-10px); }
.shot img {
  width: 100%; height: 420px; object-fit: cover; object-position: center top;
  border-radius: 26px; display: block; background: #0a1024;
}
.shot.mid { transform: translateY(-22px); z-index: 1; }
.shot.mid:hover { transform: translateY(-32px); }
@media (max-width: 760px) {
  .shot { width: 180px; }
  .shot img { height: 360px; }
  .shot.mid { transform: none; }
}

/* ---------- Solution image rows ---------- */
.sol-media {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(160deg, rgba(61,123,255,.14), rgba(124,92,255,.1));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  display: grid; place-items: center; padding: 26px; min-height: 300px;
}
.sol-media img { max-height: 340px; width: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.know-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  color: var(--brand-2); font-weight: 600; font-size: .95rem;
}
.know-more svg { width: 18px; height: 18px; transition: transform .2s; }
.know-more:hover svg { transform: translateX(4px); }
.sol-tag { display:inline-block; font-size:.82rem; font-weight:700; color:var(--brand-2); text-transform:uppercase; letter-spacing:.12em; margin-bottom:14px; }

/* Clean solution rows — matching reference site (simple, professional) */
.sol-row h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.14; margin-bottom: 16px; }
.sol-media { transition: box-shadow .35s var(--ease); }
.sol-media img { transition: transform .5s var(--ease); }
.sol-media:hover img { transform: scale(1.03); }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.stat {
  text-align: center; padding: 26px 12px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), rgba(16,24,46,.4));
  border: 1px solid var(--line);
}
.stat .num { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { font-size: .82rem; color: var(--muted); margin-top: 4px; }

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

.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.card::before {
  content:""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(61,123,255,.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-glow); }
.card:hover::before { opacity: 1; }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: rgba(61,123,255,.12); border: 1px solid rgba(61,123,255,.24);
  color: var(--brand-2);
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.16rem; }
.card p { margin: 0; font-size: .95rem; }

/* Feature list rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-row.rev .feature-media,
.feature-row.rev .sol-media { order: -1; }
.feature-media {
  border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  padding: 22px; box-shadow: var(--shadow); min-height: 300px;
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.mini-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--muted); }
.mini-list li svg { flex: none; width: 22px; height: 22px; color: var(--success); margin-top: 2px; }
.mini-list li b { color: var(--text); font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card {
  display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); position: relative; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.price-card.featured { border-color: rgba(34,211,238,.4); box-shadow: var(--shadow-glow); }
.price-card.featured::after {
  content: "Most Popular"; position: absolute; top: 18px; right: 18px;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--grad-brand); color: #05122b;
}
.price-card .plan-name { font-size: 1.1rem; font-weight: 700; }
.price-card .plan-tag { font-size: .82rem; color: var(--muted-2); margin-bottom: 18px; min-height: 20px; }
.price-card .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-card .price .cur { color: var(--muted); font-weight: 600; font-size: 1rem; }
.price-card .price .amt { font-size: 2.4rem; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-card .price .per { color: var(--muted-2); font-size: .9rem; }
.price-card .sub-line { font-size: .85rem; color: var(--brand-2); margin-bottom: 20px; }
.price-card .incl { font-size: .82rem; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); margin-bottom: 20px; }
.price-card ul.feats { flex: 1; margin-bottom: 22px; }
.price-card ul.feats li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 9px; }
.price-card ul.feats li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px;
  background: rgba(47,230,168,.14); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%232fe6a8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 13px;
}

/* ---------- Device grid ---------- */
.device-cat { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-pill {
  padding: 20px 12px; border-radius: 14px; text-align: center; font-weight: 700;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); color: var(--muted);
  transition: transform .25s var(--ease), color .25s, border-color .25s;
}
.brand-pill:hover { transform: translateY(-4px); color: var(--text); border-color: var(--line-strong); }
.brand-pill small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted-2); margin-top: 4px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: s; }
.step { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; }
.step .n {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; color: #05122b; background: var(--grad-brand); margin-bottom: 16px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  padding: 60px; text-align: center;
  background: linear-gradient(130deg, rgba(61,123,255,.2), rgba(124,92,255,.16));
  border: 1px solid var(--line-strong);
}
.cta-band::before { content:""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -20%, rgba(34,211,238,.3), transparent 70%); }
.cta-band > * { position: relative; }

/* ---------- FAQ / accordion ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: var(--surface); }
.faq-q { width: 100%; text-align: left; padding: 20px 22px; background: transparent; border: 0; color: var(--text); font-weight: 600; font-size: 1.02rem; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q .ico { flex: none; transition: transform .3s; color: var(--brand-2); }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 22px 20px; margin: 0; }

/* ---------- Forms ---------- */
.form-card { padding: 32px; border-radius: var(--radius-lg); background: linear-gradient(165deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 12px; font: inherit; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(61,123,255,.2); }
.field textarea { resize: vertical; min-height: 120px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-card .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(61,123,255,.12); border: 1px solid rgba(61,123,255,.24); color: var(--brand-2); }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card b { display: block; }
.contact-card a, .contact-card span { color: var(--muted); font-size: .92rem; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.post { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), border-color .3s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.post .thumb { height: 170px; background: var(--grad-accent); position: relative; overflow: hidden; }
.post .thumb.b { background: linear-gradient(130deg,#0ea5e9,#22d3ee); }
.post .thumb.c { background: linear-gradient(130deg,#7c5cff,#22d3ee); }
.post .thumb.d { background: linear-gradient(130deg,#3d7bff,#7c5cff); }
.post .thumb.e { background: linear-gradient(130deg,#22d3ee,#2fe6a8); }
.post .thumb.f { background: linear-gradient(130deg,#ff7eb3,#7c5cff); }
.post .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post .cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); font-weight: 700; margin-bottom: 10px; }
.post h3 { font-size: 1.1rem; margin-bottom: 10px; }
.post .meta { margin-top: auto; font-size: .8rem; color: var(--muted-2); padding-top: 14px; }

/* ---------- Product / Solution catalog ---------- */
.cat-title { display:flex; align-items:center; gap:14px; margin: 0 0 26px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cat-title::after { content:""; flex:1; height:1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); position: relative;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.prod-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-glow); }
.prod-thumb { height: 172px; overflow: hidden; background: linear-gradient(160deg, #f3f7ff, #dfe8fb); display:grid; place-items:center; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prod-card:hover .prod-thumb img { transform: scale(1.07); }
.prod-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-body h3 { font-size: 1.02rem; margin: 0; line-height: 1.3; }
.prod-link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600; color: var(--brand-2); }
.prod-link svg { width: 16px; height: 16px; transition: transform .2s; }
.prod-card:hover .prod-link svg { transform: translateX(4px); }
.prod-card .stretch { position: absolute; inset: 0; z-index: 2; }

@media (max-width: 980px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .prod-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 40px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(0,0,0,.08); padding: 54px 0 30px; margin-top: 40px; background: #ffffff; color: #55607a; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #8792a8; margin-bottom: 16px; }
.footer a { color: #4a5266; font-size: .92rem; display: block; margin-bottom: 10px; transition: color .2s; }
.footer a:hover { color: #0b1124; }
.footer .about p { font-size: .92rem; max-width: 300px; color: #55607a; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.14); background: rgba(0,0,0,.03); color: #16203a; margin: 0; }
.socials a:hover { background: var(--grad-gold); color: #241a00; border-color: transparent; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(0,0,0,.08); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8792a8; font-size: .86rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- About page logo showcase ---------- */
.about-logo {
  display: block; width: 70%; max-width: 420px; margin: 0 auto 20px;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.5));
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 66px 0 30px; text-align: center; }
.breadcrumb { color: var(--muted-2); font-size: .86rem; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--brand-2); }

/* ---------- Fancy animated section heading ---------- */
.fancy-head { position: relative; text-align: center; max-width: 820px; margin: 0 auto 60px; }
.fancy-head .glow-orb {
  position: absolute; left: 50%; top: 40%; width: 340px; height: 340px; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(61,123,255,.28), rgba(124,92,255,.14) 45%, transparent 70%);
  filter: blur(10px); z-index: -1; pointer-events: none; animation: orbPulse 5s ease-in-out infinite;
}
.fancy-head .eyebrow { animation: fadeUp .7s var(--ease) both; }
.fancy-head h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; margin-bottom: 18px;
}
.fancy-head h2 .line { display: block; overflow: hidden; }
.fancy-head h2 .line > span { display: inline-block; animation: fadeUp .8s var(--ease) both; }
.fancy-head h2 .line:nth-child(1) > span { animation-delay: .08s; }
.fancy-head h2 .line:nth-child(2) > span { animation-delay: .22s; }
.gradient-flow {
  background: linear-gradient(100deg, #6fa8ff 0%, #22d3ee 25%, #7c5cff 50%, #22d3ee 75%, #6fa8ff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flow 5.5s linear infinite;
}
/* gradient line needs BOTH the entrance fade AND the continuous gradient flow */
.fancy-head h2 .line > span.gradient-flow {
  animation: fadeUp .8s var(--ease) .22s both, flow 5.5s linear infinite;
}
.fancy-head .lead { animation: fadeUp .8s var(--ease) .34s both; }
.fancy-head .head-underline {
  width: 0; height: 4px; margin: 22px auto 0; border-radius: 4px;
  background: var(--grad-brand); box-shadow: 0 0 18px rgba(34,211,238,.7);
  animation: growLine .9s var(--ease) .5s forwards;
}
.fancy-head .spark { position: absolute; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 12px var(--brand-2); opacity: .0; }
.fancy-head .spark.s1 { width: 8px; height: 8px; left: 12%; top: 12%; animation: twinkle 3.2s ease-in-out infinite; }
.fancy-head .spark.s2 { width: 6px; height: 6px; right: 16%; top: 20%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: twinkle 3.2s ease-in-out .7s infinite; }
.fancy-head .spark.s3 { width: 5px; height: 5px; right: 24%; bottom: 8%; animation: twinkle 3.2s ease-in-out 1.4s infinite; }
.fancy-head .spark.s4 { width: 7px; height: 7px; left: 22%; bottom: 6%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: twinkle 3.2s ease-in-out 2.1s infinite; }

/* ---------- Animations ---------- */
@keyframes flow { to { background-position: 250% 0; } }
@keyframes orbPulse { 0%,100% { opacity: .55; transform: translate(-50%,-50%) scale(1); } 50% { opacity: .9; transform: translate(-50%,-50%) scale(1.12); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes growLine { to { width: 90px; } }
@keyframes growTag { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes twinkle { 0%,100% { opacity: 0; transform: scale(.6); } 50% { opacity: .9; transform: scale(1); } }
@keyframes dash { to { stroke-dashoffset: -36; } }
@keyframes float { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(-8px); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes scroll-x { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; }
  .feature-row, .feature-row.rev { grid-template-columns: 1fr; gap: 30px; }
  .feature-row.rev .feature-media,
  .feature-row.rev .sol-media { order: 0; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .device-cat, .steps, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(9,14,32,.97); backdrop-filter: blur(14px);
    padding: 14px; gap: 4px; border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links a { padding: 13px; border-radius: 10px; }
  .section { padding: 66px 0; }
  .grid-2, .grid-3, .grid-4, .pricing-grid, .device-cat, .steps, .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 24px; }
  .h-xl { font-size: 2.3rem; }
}
@media (max-width: 460px) {
  .brand-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 1; }
}
