/* ==========================================================================
   HamariTech Ltd – shared styles
   Dark navy, neon cyan + violet, rounded cards, subtle glow.
   ========================================================================== */

:root {
  --bg: #070b1f;
  --bg-deep: #050816;
  --surface: #0f1736;
  --surface-2: #131d44;
  --line: rgba(120, 160, 255, 0.16);
  --text: #e8edff;
  --muted: #c3cbe8;
  --cyan: #22e4ff;
  --cyan-soft: #8ff1ff;
  --violet: #a07bff;
  --field-border: #5b6bab;

  --glow-c: 0 0 28px rgba(34, 228, 255, 0.35);
  --glow-v: 0 0 30px rgba(160, 123, 255, 0.3);

  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --header-h: 72px;

  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;

  --circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' fill='none' stroke='%2322e4ff' stroke-opacity='.13' stroke-width='1.5'%3E%3Cpath d='M0 60h60l20 20h60M140 80v60l20 20h80M60 0v40M200 0v40l-20 20M0 180h40l20-20M100 240v-50l20-20h40'/%3E%3Cg fill='%2322e4ff' fill-opacity='.4' stroke='none'%3E%3Ccircle cx='140' cy='80' r='3'/%3E%3Ccircle cx='60' cy='40' r='3'/%3E%3Ccircle cx='160' cy='170' r='3'/%3E%3Ccircle cx='60' cy='160' r='3'/%3E%3C/g%3E%3C/svg%3E");

  color-scheme: dark;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

/* Backup for anchors so headings never sit under the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(109, 60, 255, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(34, 228, 255, 0.07), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--cyan); text-underline-offset: 0.2em; }
a:hover { color: var(--cyan-soft); }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
h1 { font-size: clamp(2.2rem, 4.5vw + 0.8rem, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.4vw + 1rem, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(34, 228, 255, 0.3); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--cyan);
  color: #03101e;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; color: #03101e; }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Layout helpers ---------- */

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Each section adds 40–48px top and bottom, so neighbouring sections sit 80–96px apart */
.section { padding: clamp(2.5rem, 4vw, 3rem) 0; }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(19, 29, 68, 0.45) 15%, rgba(19, 29, 68, 0.45) 85%, transparent);
}

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56em) {
  .split { grid-template-columns: 1.15fr 0.85fr; }
  .split-even { grid-template-columns: 1fr 1fr; }
  .split-top { align-items: start; }
}

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.lead { max-width: 640px; font-size: clamp(1.1rem, 0.6vw + 1rem, 1.25rem); color: #d3daf3; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.grad {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (forced-colors: active) {
  .grad { background: none; color: CanvasText; }
}

.subhead { margin: clamp(2rem, 4vw, 3rem) 0 1.25rem; font-size: 1.4rem; }

.group-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.group-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(34, 228, 255, 0.5), transparent); }
* + .group-label { margin-top: clamp(2rem, 4vw, 2.75rem); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn .icon { width: 1.2em; height: 1.2em; }

.btn-primary {
  background: linear-gradient(135deg, #6af2ff, var(--cyan) 50%, #3fb8ff);
  color: #03101e;
  box-shadow: 0 0 0 1px rgba(34, 228, 255, 0.4), 0 8px 30px rgba(34, 228, 255, 0.28);
}
.btn-primary:hover {
  color: #03101e;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(34, 228, 255, 0.6), 0 12px 40px rgba(34, 228, 255, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: rgba(160, 123, 255, 0.6);
}
.btn-ghost:hover { color: #fff; border-color: var(--violet); box-shadow: var(--glow-v); }

.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

/* ---------- Header & navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 31, 0.85);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand:hover { color: #fff; }
.brand img { display: block; width: auto; height: 48px; }
.accent { color: var(--cyan); }

.site-nav { display: flex; align-items: center; margin-left: auto; }
.header-cta { flex: none; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.nav-list a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-list a[aria-current="page"] { color: var(--cyan); }
.nav-list .nav-contact { display: flex; align-items: center; gap: 0.4rem; }
.nav-contact .icon { width: 16px; height: 16px; color: var(--cyan); }

.has-dropdown { position: relative; display: flex; align-items: center; }
.has-dropdown > a { padding-right: 0.2rem; }

.dropdown-toggle {
  display: inline-flex;
  padding: 0.5rem 0.35rem;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.dropdown-toggle:hover { color: #fff; }
.dropdown-toggle .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -1rem;
  width: 560px;
  padding: 1.1rem;
  background: rgba(13, 20, 52, 0.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--glow-v);
}
/* Bridge the gap so hover doesn't drop when moving down to the menu */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -0.6rem; height: 0.6rem; }

.has-dropdown.is-open .dropdown,
html:not(.js) .has-dropdown:focus-within .dropdown { display: block; }

/* Services menu: launch packages as cards, add-ons as small icon tiles */
.menu-group {
  margin: 0 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.menu-packages, .menu-addons { display: grid; margin: 0; padding: 0; list-style: none; }
.menu-packages { grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 1.1rem; }
.menu-addons { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }

.dropdown .menu-packages a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  height: 100%;
  padding: 0.85rem;
  border: 1px solid rgba(34, 228, 255, 0.25);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 228, 255, 0.08), rgba(160, 123, 255, 0.1));
}
.dropdown .menu-packages a:hover { border-color: rgba(34, 228, 255, 0.6); }
.menu-packages strong { display: block; color: #fff; font-size: 1rem; }
.menu-packages small { display: block; margin-top: 0.15rem; font-size: 0.82rem; font-weight: 400; line-height: 1.4; color: var(--muted); }

.menu-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(34, 228, 255, 0.4);
  border-radius: 10px;
  background: rgba(34, 228, 255, 0.12);
  color: var(--cyan);
}
.menu-icon .icon { width: 20px; height: 20px; }
.menu-icon-violet { border-color: rgba(160, 123, 255, 0.5); background: rgba(160, 123, 255, 0.14); color: var(--violet); }

.dropdown .menu-addons a {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  line-height: 1.3;
}
.dropdown .menu-addons a:hover { border-color: rgba(160, 123, 255, 0.6); }
.menu-addons .icon { width: 18px; height: 18px; color: var(--violet); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  cursor: pointer;
}
.bars, .bars::before, .bars::after {
  display: block;
  position: relative;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s, top 0.2s, background-color 0.2s;
}
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (hover: hover) and (min-width: 72em) {
  .has-dropdown:hover .dropdown { display: block; }
}

@media (max-width: 71.99em) {
  .js .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }

  .site-nav { flex-direction: column; align-items: stretch; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 1rem 1rem 7rem;
    overflow-y: auto;
    background: var(--bg);
    border-top: 1px solid var(--line);
  }
  .js .nav-open .site-nav { display: flex; }
  .nav-open { overflow: hidden; }

  html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: 1rem; }
  html:not(.js) .site-nav { order: 3; width: 100%; }

  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list a { padding: 0.85rem 0.75rem; font-size: 1.1rem; }
  .has-dropdown { flex-wrap: wrap; }
  .has-dropdown > a { flex: 1; }
  .dropdown-toggle { padding: 0.85rem; }
  .dropdown {
    position: static;
    width: 100%;
    padding: 0.85rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
  }
  .dropdown::before { display: none; }
  .menu-packages { grid-template-columns: 1fr; }
  .menu-addons { grid-template-columns: 1fr 1fr; }
}

/* Sticky call bar on phones (the header button is hidden there) */
.call-bar { display: none; }
@media (max-width: 47.99em) {
  .header-cta { display: none; }
  .call-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(7, 11, 31, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .call-bar .btn { width: 100%; }
  body { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); }
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 600px;
  min-height: min(calc(100svh - var(--header-h)), 760px);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
@media (max-width: 47.99em) {
  .hero { min-height: 0; padding: 3rem 0 3.5rem; }
}

.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--bg-deep); }
.hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-video { object-fit: cover; }
.js .hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero.has-poster .hero-video,
.hero.video-playing .hero-video { opacity: 1; }
.hero.has-poster .skyline,
.hero.video-playing .skyline { display: none; }

.hero-overlay {
  background:
    linear-gradient(100deg, rgba(5, 8, 22, 0.94) 0%, rgba(5, 8, 22, 0.8) 40%, rgba(5, 8, 22, 0.35) 75%, rgba(5, 8, 22, 0.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 31, 0) 30%);
}
@media (max-width: 48em) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 8, 22, 0.72), rgba(5, 8, 22, 0.86) 55%, var(--bg));
  }
}

.hero h1 { max-width: 15ch; font-size: clamp(2.4rem, 5.5vw + 0.5rem, 4.4rem); line-height: 1.06; }
.hero .lead { color: #c9d2f2; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.hero-number { margin-top: 1rem; font-family: var(--mono); font-size: 0.95rem; color: var(--muted); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: #c9d2f2;
}
.hero-trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero-trust .icon { width: 18px; height: 18px; color: var(--cyan); }

/* Animated skyline fallback – slow, low-contrast movement */
.skyline .blink { animation: blink 6s ease-in-out infinite; }
.skyline .blink:nth-of-type(2n) { animation-duration: 8s; animation-delay: -3s; }
.skyline .blink:nth-of-type(3n) { animation-duration: 10s; animation-delay: -5s; }
.skyline .walker { animation: walk 60s linear infinite; }
.skyline .walker-2 { animation: walk-back 80s linear infinite; animation-delay: -30s; }
.skyline .bob { animation: bob 0.8s ease-in-out infinite alternate; }
.skyline .drone { animation: fly 45s linear infinite; }
.skyline .trail { stroke-dasharray: 70 900; stroke-opacity: 0.6; animation: trail 12s linear infinite; }
.skyline .trail-2 { animation-duration: 16s; animation-delay: -6s; }
.skyline .trail-3 { animation-duration: 20s; animation-delay: -12s; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes walk { from { transform: translateX(-120px); } to { transform: translateX(1560px); } }
@keyframes walk-back { from { transform: translateX(1560px) scaleX(-1); } to { transform: translateX(-120px) scaleX(-1); } }
@keyframes bob { to { transform: translateY(-2px); } }
@keyframes fly {
  0% { transform: translate(-80px, 170px); }
  50% { transform: translate(720px, 130px); }
  100% { transform: translate(1540px, 180px); }
}
@keyframes trail { to { stroke-dashoffset: -970; } }

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--circuit);
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent);
  mask-image: linear-gradient(180deg, #000 20%, transparent);
}
.page-hero .lead { margin-bottom: 2rem; }
.page-hero .mascot img { max-width: 280px; }

/* ---------- Mascot ---------- */

.mascot { position: relative; isolation: isolate; display: grid; place-items: center; }
.mascot::before {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 123, 255, 0.35), rgba(34, 228, 255, 0.08) 50%, transparent 70%);
}
.mascot img { width: 100%; max-width: 340px; }
@media (max-width: 47.99em) { .mascot img { max-width: 220px; } }

/* ---------- Cards ---------- */

.card {
  position: relative;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 228, 255, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(34, 228, 255, 0.12);
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-static:hover { transform: none; box-shadow: none; border-color: var(--line); }

.card-feature {
  border-color: rgba(160, 123, 255, 0.4);
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(160, 123, 255, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(34, 228, 255, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 228, 255, 0.18), rgba(160, 123, 255, 0.18));
  box-shadow: inset 0 0 18px rgba(34, 228, 255, 0.15);
  color: var(--cyan);
}
.card-icon .icon { width: 26px; height: 26px; }

.card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.card-head .card-icon { margin-bottom: 0; }
.card-head h3, .card-head h4 { margin: 0; }

.tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(34, 228, 255, 0.45);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}
.tag-violet { border-color: rgba(160, 123, 255, 0.6); color: var(--violet); }

.checklist { margin: 1.2rem 0; padding: 0; list-style: none; }
.checklist li { position: relative; margin-bottom: 0.55rem; padding-left: 1.8rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid rgba(34, 228, 255, 0.55);
  border-radius: 50%;
  background: rgba(34, 228, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322e4ff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}
.card-link::after { content: "\2192"; transition: transform 0.2s; }
.card-link:hover::after { transform: translateX(4px); }

.mini-list { margin: 0.75rem 0 0; padding-left: 1.1em; color: var(--muted); font-size: 0.95rem; }
.mini-list li { margin-bottom: 0.25rem; }

/* ---------- Steps ("How it works") ---------- */

.steps {
  position: relative;
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.step {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(34, 228, 255, 0.12), 0 0 24px rgba(34, 228, 255, 0.5);
  color: #03101e;
  font-family: var(--mono);
  font-weight: 700;
}
.step:nth-child(even) .step-num {
  background: var(--violet);
  box-shadow: 0 0 0 6px rgba(160, 123, 255, 0.14), 0 0 24px rgba(160, 123, 255, 0.5);
}
@media (min-width: 72em) {
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps::before {
    content: "";
    position: absolute;
    top: calc(1.5rem + 22px);
    left: 3%;
    right: 3%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--violet), var(--cyan), var(--violet));
    opacity: 0.55;
  }
}

/* Vertical timeline (How it works page) */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 21px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  opacity: 0.5;
}
.timeline > li { position: relative; padding: 0 0 2.5rem 4.5rem; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline .step-num { position: absolute; left: 0; top: 0; }
.timeline > li:nth-child(even) .step-num {
  background: var(--violet);
  box-shadow: 0 0 0 6px rgba(160, 123, 255, 0.14), 0 0 24px rgba(160, 123, 255, 0.5);
}
.timeline h2 { font-size: clamp(1.4rem, 1.5vw + 1rem, 1.8rem); margin-bottom: 0.5rem; padding-top: 0.35rem; }
.who { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 40em) { .who { grid-template-columns: 1fr 1fr; } }
.who .card { padding: 1.25rem; }
.who h3 { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.who ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 0.97rem; }

/* ---------- Example conversation ---------- */

.chat { display: grid; gap: 0.75rem; margin: 0; padding: 1.5rem; }
.chat-label { margin-bottom: 0.25rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.bubble {
  max-width: 90%;
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  font-size: 0.97rem;
}
.bubble b { display: block; margin-bottom: 0.15rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.bubble-ai { border: 1px solid rgba(34, 228, 255, 0.35); border-bottom-left-radius: 4px; background: rgba(34, 228, 255, 0.08); }
.bubble-ai b { color: var(--cyan); }
.bubble-caller { justify-self: end; border: 1px solid rgba(160, 123, 255, 0.4); border-bottom-right-radius: 4px; background: rgba(160, 123, 255, 0.1); }
.bubble-caller b { color: var(--violet); }

/* ---------- Add-on tiles ---------- */

.addons {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.addon {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.addon:hover { border-color: rgba(160, 123, 255, 0.55); box-shadow: 0 0 22px rgba(160, 123, 255, 0.12); }
.addon .menu-icon { width: 40px; height: 40px; }
.addon h3, .addon h4 { margin: 0 0 0.2rem; font-size: 1rem; letter-spacing: 0; }
.addon p { margin: 0; font-size: 0.93rem; line-height: 1.5; color: var(--muted); }

/* Package cards */
.package { display: flex; flex-direction: column; align-items: flex-start; }
.package .card-icon { width: 60px; height: 60px; }
.package .card-icon .icon { width: 30px; height: 30px; }
.package h3 { font-size: 1.6rem; }
.package .checklist { margin-bottom: 1.5rem; }
.quote-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  width: 100%;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.quote-line p { margin: 0; color: #fff; font-weight: 600; }

.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.pills li { padding: 0.5rem 1rem; border: 1px solid rgba(160, 123, 255, 0.4); border-radius: 999px; background: rgba(160, 123, 255, 0.07); font-size: 0.95rem; }

/* ---------- Pilot ---------- */

.facts { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.facts li { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.03); }
.facts strong { display: block; margin-bottom: 0.25rem; color: #fff; font-size: 1.15rem; }
.facts span { color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 0.75rem; max-width: 820px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s;
}
.faq details[open] { border-color: rgba(34, 228, 255, 0.4); }
.faq summary {
  position: relative;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  color: #fff;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.4rem;
  color: var(--cyan);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Call-to-action band ---------- */

.cta-band { padding: clamp(2.5rem, 4vw, 3rem) 0; }
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid rgba(34, 228, 255, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(34, 228, 255, 0.18), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(160, 123, 255, 0.26), transparent 60%),
    var(--surface);
  box-shadow: 0 0 60px rgba(34, 228, 255, 0.08);
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--circuit);
  opacity: 0.7;
}
.cta-panel h2 { margin-bottom: 0.5rem; font-size: clamp(1.6rem, 2.4vw + 0.8rem, 2.4rem); }
.cta-panel p:last-child { margin-bottom: 0; }
@media (min-width: 56em) { .cta-panel { grid-template-columns: 1fr auto; } }

/* ---------- Forms ---------- */

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 40em) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 0.4rem; color: #fff; font-weight: 600; }
.field .hint { font-weight: 400; font-size: 0.875rem; color: var(--muted); }

input, textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--field-border);
  border-radius: 12px;
  background: #0a1130;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid transparent;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 228, 255, 0.25);
}
textarea { min-height: 150px; resize: vertical; }

.form-status {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(34, 228, 255, 0.4);
  border-radius: 12px;
  background: rgba(34, 228, 255, 0.08);
}
.form-status:empty { display: none; }

.contact-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .card-icon { width: 44px; height: 44px; margin: 0; }
.contact-list .card-icon .icon { width: 22px; height: 22px; }
.contact-list strong { display: block; color: #fff; }

/* ---------- Prose (privacy policy) ---------- */

.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.15rem; }
.prose li { margin-bottom: 0.4em; }
.prose .note {
  padding: 1rem 1.2rem;
  border: 1px dashed rgba(160, 123, 255, 0.6);
  border-radius: 12px;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.footer-grid h2 {
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-grid ul { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--cyan); text-decoration: underline; }
.footer-brand-name { margin-bottom: 0.75rem; color: #fff; font-size: 1.25rem; font-weight: 800; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover, .btn:hover { transform: none; }
}
