/* ============================================================
   GroundVeri — On-site Factory Inspection
   Design System / Global Stylesheet
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Surfaces (dark tech) */
  --bg:        #070d19;
  --bg-2:      #0a1222;
  --bg-3:      #0e1930;
  --surface:   #111e36;
  --surface-2: #162541;
  --surface-3: #1c2e4f;

  /* Borders */
  --border:        rgba(150, 184, 232, 0.13);
  --border-strong: rgba(150, 184, 232, 0.24);
  --border-glow:   rgba(47, 125, 255, 0.45);

  /* Text */
  --text:   #eaf1fb;
  --text-2: #b6c6df;
  --muted:  #8096b6;

  /* Brand colors */
  --primary:       #2f7dff;
  --primary-light: #64a4ff;
  --primary-dark:  #1b5fe0;
  --accent:        #00d6a3;   /* trust / pass / safety */
  --accent-2:      #16b8d4;
  --gold:          #f6bd4a;   /* membership / pro */
  --danger:        #ff6b5e;   /* risk / warning */

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #2f7dff 0%, #00d6a3 100%);
  --grad-blue:  linear-gradient(135deg, #2f7dff 0%, #5b5bff 100%);
  --grad-gold:  linear-gradient(135deg, #f6bd4a 0%, #f7903a 100%);

  /* Typography */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

  /* Spacing / radius / shadow */
  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow:    0 18px 50px rgba(2, 8, 23, 0.55);
  --shadow-sm: 0 8px 24px rgba(2, 8, 23, 0.4);
  --maxw:      1200px;
  --nav-h:     76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(47,125,255,.4); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 10px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ---------- 3. Layout ---------- */
.container { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.container-narrow { width: min(100% - 48px, 860px); margin-inline: auto; }
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 68px 0; }
.section-alt { background: var(--bg-2); }

/* Grid background used on hero / dark sections */
.bg-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140,175,230,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,175,230,.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}

/* Glow blob */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .28;
  pointer-events: none;
  z-index: 0;
}
.glow-blue { background: #1b57ff; width: 520px; height: 520px; top: -180px; left: -120px; }
.glow-teal { background: #00d6a3; width: 440px; height: 440px; top: 40px; right: -140px; opacity: .16; }

/* ---------- 4. Typography ---------- */
h1, h2, h3, h4 { line-height: 1.18; font-weight: 750; letter-spacing: -.02em; margin: 0 0 16px; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 16px; color: var(--text-2); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: var(--text-2); max-width: 720px; }
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--primary-light);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-brand);
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { font-size: 1.06rem; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.tiny { font-size: .76rem; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 680; font-size: .96rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--grad-brand); color: #04121f;
  box-shadow: 0 10px 28px rgba(47,125,255,.32);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(47,125,255,.5); }

.btn-outline {
  background: rgba(255,255,255,.02);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); background: rgba(47,125,255,.08); }

.btn-ghost { background: transparent; color: var(--text-2); padding-inline: 14px; }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.04); }

.btn-gold { background: var(--grad-gold); color: #2b1c02; box-shadow: 0 10px 28px rgba(246,189,74,.22); }
.btn-gold:hover { box-shadow: 0 14px 36px rgba(246,189,74,.36); }

.btn-lg { min-height: 58px; padding-inline: 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- 6. Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(7,13,25,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled { background: rgba(7,13,25,.94); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--grad-brand); color: #04121f;
  box-shadow: 0 6px 18px rgba(47,125,255,.35);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-sub { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; line-height: 1; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: 8px; font-size: .9rem; font-weight: 560;
  color: var(--text-2); transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--text); background: rgba(47,125,255,.12); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { min-height: 42px; padding-inline: 18px; font-size: .88rem; }

.menu-toggle {
  display: none; width: 42px; height: 42px;
  border-radius: 9px; border: 1px solid var(--border-strong);
  background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; transition: .25s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); transition: .25s;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(7,13,25,.98); backdrop-filter: blur(20px);
  padding: 28px 24px 40px;
  transform: translateX(100%); transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block; padding: 15px 4px; font-size: 1.05rem; font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 24px; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; padding: 92px 0 108px; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 100px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  font-size: .82rem; font-weight: 600; color: var(--text-2);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--accent); }

/* Hero visual: inspection dashboard mock */
.hero-visual { position: relative; }
.dash {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02) inset;
  position: relative; z-index: 2;
}
.dash-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.dash-top .dots { display: flex; gap: 6px; }
.dash-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.dash-top .dots i:nth-child(1) { background: #ff6b5e; }
.dash-top .dots i:nth-child(2) { background: #f6bd4a; }
.dash-top .dots i:nth-child(3) { background: #00d6a3; }
.dash-top .dash-title { font-size: .76rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.dash-live { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.dash-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0,214,163,.15); animation: pulse 2s infinite; }

.dash-photo {
  height: 168px; border-radius: 11px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #1a2c4a, #0e1b30);
  display: grid; place-items: center;
  border: 1px solid var(--border);
}
/* stylized factory scene with CSS */
.factory-scene { position: absolute; inset: 0; overflow: hidden; }
.factory-scene .ceiling { position: absolute; top: 0; left: 0; right: 0; height: 38%; background: linear-gradient(180deg, rgba(47,125,255,.12), transparent); }
.factory-scene .beam { position: absolute; top: 14%; height: 60%; width: 2px; background: rgba(140,180,235,.18); }
.factory-scene .beam.b1 { left: 22%; } .factory-scene .beam.b2 { left: 50%; } .factory-scene .beam.b3 { left: 78%; }
.factory-scene .machine { position: absolute; bottom: 0; height: 46%; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #22375c, #14233e); border: 1px solid rgba(150,184,232,.16); }
.factory-scene .machine.m1 { left: 8%; width: 30%; }
.factory-scene .machine.m2 { left: 42%; width: 26%; height: 38%; }
.factory-scene .machine.m3 { right: 6%; width: 24%; height: 52%; }
.factory-scene .worker { position: absolute; bottom: 30%; left: 38%; width: 14px; height: 34px; background: #f6bd4a; border-radius: 6px 6px 3px 3px; box-shadow: 0 0 18px rgba(246,189,74,.4); }
.factory-scene .worker::before { content: ""; position: absolute; top: -9px; left: 1px; width: 12px; height: 12px; border-radius: 50%; background: #ffd88a; }
.scan-line { position: absolute; left: 8px; right: 8px; height: 2px; top: 20%; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 14px var(--accent); animation: scan 4s linear infinite; }
.dash-photo .photo-tag { position: absolute; left: 12px; bottom: 10px; background: rgba(4,12,24,.75); backdrop-filter: blur(6px); border: 1px solid var(--border); border-radius: 6px; padding: 4px 9px; font-size: .68rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.dash-photo .photo-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.dash-rows { margin-top: 16px; display: grid; gap: 9px; }
.dash-row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 9px; background: rgba(255,255,255,.025); border: 1px solid var(--border); }
.dash-row .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; background: rgba(0,214,163,.1); color: var(--accent); }
.dash-row .ic svg { width: 16px; height: 16px; }
.dash-row .ic.warn { background: rgba(246,189,74,.1); color: var(--gold); }
.dash-row .txt { flex: 1; min-width: 0; }
.dash-row .txt strong { display: block; font-size: .8rem; font-weight: 650; }
.dash-row .txt span { font-size: .68rem; color: var(--muted); }
.dash-row .status { font-size: .66rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; padding: 4px 9px; border-radius: 100px; }
.status.ok { color: var(--accent); background: rgba(0,214,163,.1); }
.status.check { color: var(--gold); background: rgba(246,189,74,.1); }

.float-card {
  position: absolute; z-index: 3;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 12px 16px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 11px;
  animation: float 6s ease-in-out infinite;
}
.float-card.one { top: -26px; right: -18px; }
.float-card.two { bottom: -24px; left: -24px; animation-delay: -3s; }
.float-card .fi { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(47,125,255,.14); color: var(--primary-light); }
.float-card .fi svg { width: 19px; height: 19px; }
.float-card strong { display: block; font-size: 1.1rem; line-height: 1.1; }
.float-card span { font-size: .68rem; color: var(--muted); }

@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(0,214,163,.15); } 50% { box-shadow: 0 0 0 8px rgba(0,214,163,0); } }
@keyframes scan { 0% { top: 8%; } 100% { top: 92%; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

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

.card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(47,125,255,.12); color: var(--primary-light);
  border: 1px solid rgba(47,125,255,.22);
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon.teal { background: rgba(0,214,163,.1); color: var(--accent); border-color: rgba(0,214,163,.22); }
.card-icon.gold { background: rgba(246,189,74,.1); color: var(--gold); border-color: rgba(246,189,74,.22); }
.card-icon.red { background: rgba(255,107,94,.1); color: var(--danger); border-color: rgba(255,107,94,.22); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .92rem; margin-bottom: 0; }

/* Check list */
.check-list { display: grid; gap: 12px; margin-top: 18px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; color: var(--text-2); }
.check-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.check-list li.cross svg { color: var(--danger); }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 24px 14px; border-radius: var(--radius); background: rgba(255,255,255,.02); border: 1px solid var(--border); }
.stat .num { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { font-size: .8rem; color: var(--muted); margin-top: 4px; }

/* ---------- 9. Steps (How it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 12px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: .95rem; font-weight: 800; letter-spacing: .05em;
  color: var(--primary); margin-bottom: 16px;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; left: 52px; right: -14px; height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .88rem; margin: 0; }

/* ---------- 10. Testimonial ---------- */
.testimonial {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 44px; position: relative; overflow: hidden;
}
.testimonial::before {
  content: "\201C"; position: absolute; top: -18px; left: 22px;
  font-size: 8rem; line-height: 1; color: rgba(47,125,255,.12); font-family: Georgia, serif;
}
.testimonial blockquote { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 550; line-height: 1.6; margin: 0 0 22px; position: relative; }
.testimonial .who { display: flex; align-items: center; gap: 13px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--grad-blue); color: #fff; flex: none; }
.testimonial .who strong { display: block; font-size: .94rem; }
.testimonial .who span { font-size: .8rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; margin-bottom: 12px; }

/* ---------- 11. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #12275c 0%, #0d1b38 55%, #0a2a3c 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 62px 56px;
  text-align: center;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 120% at 50% 120%, rgba(0,214,163,.16), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 620px; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- 12. Services ---------- */
.service-card { display: flex; flex-direction: column; }
.service-card .num-tag { position: absolute; top: 22px; right: 22px; font-size: .72rem; font-weight: 750; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 3px 9px; }
.service-card .deliver { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--border-strong); }
.service-card .deliver strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--primary-light); }
.service-card .deliver p { margin: 8px 0 0; font-size: .85rem; }

.note-box {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--radius);
  background: rgba(246,189,74,.05); border: 1px solid rgba(246,189,74,.25);
}
.note-box svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.note-box strong { display: block; color: var(--gold); margin-bottom: 5px; }
.note-box p { margin: 0; font-size: .9rem; }

/* ---------- 13. Membership / Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.plan.featured { border-color: rgba(246,189,74,.5); box-shadow: 0 0 0 1px rgba(246,189,74,.12), var(--shadow); }
.plan.featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-gold); }
.plan-badge { position: absolute; top: 18px; right: 18px; background: var(--grad-gold); color: #2b1c02; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }
.plan-name { font-size: 1.15rem; font-weight: 750; margin-bottom: 6px; }
.plan-desc { font-size: .84rem; color: var(--muted); min-height: 42px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 4px; }
.plan-price .cur { font-size: 1.25rem; font-weight: 700; color: var(--text-2); }
.plan-price .amt { font-size: 2.8rem; font-weight: 820; letter-spacing: -.04em; }
.plan-price .per { font-size: .86rem; color: var(--muted); }
.plan .btn { margin: 22px 0 26px; }
.plan-features { display: grid; gap: 13px; margin-top: auto; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--text-2); }
.plan-features svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.plan-features li.off { color: var(--muted); }
.plan-features li.off svg { color: var(--muted); opacity: .5; }
.plan-features li.no svg { color: var(--muted); }

.alacarte { margin-top: 48px; }
.alacarte-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.alacarte-item { padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.02); border: 1px solid var(--border); text-align: center; }
.alacarte-item .p { font-size: 1.35rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.alacarte-item .n { font-size: .82rem; color: var(--muted); }

/* ---------- 14. FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.02); overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--border-strong); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font-weight: 650; font-size: 1rem; color: var(--text);
}
.faq-q .qnum { color: var(--primary-light); font-size: .82rem; font-weight: 750; margin-right: 8px; }
.faq-q .ico { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; flex: none; transition: .25s; }
.faq-q .ico svg { width: 14px; height: 14px; transition: transform .25s; }
.faq-item.open .ico { background: var(--primary); border-color: var(--primary); color: #04121f; }
.faq-item.open .ico svg { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 22px; color: var(--text-2); font-size: .93rem; }
.faq-item.open .faq-a { display: block; animation: fadeUp .3s ease; }

/* ---------- 15. Forms ---------- */
.form-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 650; }
.field label .req { color: var(--danger); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: rgba(4,12,24,.5); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,125,255,.14);
}
.field input::placeholder, .field textarea::placeholder { color: #5c7191; }
.field .hint { font-size: .74rem; color: var(--muted); }
.field .err { font-size: .76rem; color: var(--danger); display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); }
.field.invalid .err { display: block; }

.checkbox-row { display: flex; gap: 11px; align-items: flex-start; font-size: .84rem; color: var(--text-2); }
.checkbox-row input { width: 18px; height: 18px; min-height: 0; accent-color: var(--primary); margin-top: 2px; flex: none; }
.checkbox-row a { color: var(--primary-light); text-decoration: underline; }

.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; animation: fadeUp .4s ease; }
.form-success .s-ic { width: 68px; height: 68px; border-radius: 50%; background: rgba(0,214,163,.12); color: var(--accent); display: grid; place-items: center; margin: 0 auto 20px; border: 1px solid rgba(0,214,163,.3); }
.form-success .s-ic svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 1.5rem; }

/* ---------- 16. Report template ---------- */
.report-paper {
  background: #f4f7fb; color: #16233a;
  border-radius: var(--radius); padding: 46px 50px;
  box-shadow: var(--shadow);
  font-size: .9rem;
}
.report-paper h1, .report-paper h2, .report-paper h3, .report-paper h4 { color: #0d1c33; }
.report-paper h1 { font-size: 1.7rem; text-align: center; letter-spacing: .04em; border-bottom: 3px solid #1b5fe0; padding-bottom: 16px; }
.report-paper h2 { font-size: 1.05rem; margin: 28px 0 12px; padding-left: 12px; border-left: 4px solid #1b5fe0; }
.report-paper h3 { font-size: .95rem; margin: 20px 0 8px; }
.report-paper p, .report-paper li { color: #3b4b64; }
.report-paper .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; margin: 24px 0; font-size: .85rem; }
.report-paper .meta div { border-bottom: 1px dashed #b8c6d8; padding: 5px 0; }
.report-paper .meta span { color: #73849b; }
.report-paper ul { list-style: none; display: grid; gap: 7px; }
.report-paper li::before { content: "☐"; color: #1b5fe0; margin-right: 9px; font-weight: 700; }
.report-paper .checked li::before { content: "☑"; }
.report-paper .line { border-bottom: 1px solid #c4d0df; height: 18px; margin: 6px 0 14px; }
.report-paper .risk-box { background: #fff2f0; border: 1px solid #f5b7b1; border-radius: 8px; padding: 16px 20px; }
.report-paper .risk-box h2 { border-left-color: #d93a2b; color: #a3271b; }
.report-paper .disclaimer { margin-top: 32px; padding: 18px 20px; background: #e9eef5; border-radius: 8px; font-size: .78rem; color: #5b6c83; line-height: 1.7; }
.report-paper .blanks { display: grid; gap: 10px; }
.report-paper .blanks div { display: flex; gap: 12px; align-items: center; }
.report-paper .blanks b { min-width: 190px; font-size: .83rem; color: #34465f; }
.report-paper .blanks i { flex: 1; border-bottom: 1px solid #9fb0c5; height: 16px; font-style: normal; }
.report-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; justify-content: flex-end; }

/* ---------- 17. Legal pages ---------- */
.legal { max-width: 880px; margin-inline: auto; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 14px; padding-top: 20px; border-top: 1px solid var(--border); }
.legal h2:first-child { border-top: 0; margin-top: 0; }
.legal p, .legal li { font-size: .95rem; }
.legal ol, .legal ul { display: grid; gap: 12px; margin: 16px 0; padding-left: 22px; list-style: auto; }
.legal ol li, .legal ul li { padding-left: 6px; }
.legal strong { color: var(--text); }
.legal .updated { font-size: .82rem; color: var(--muted); margin-bottom: 32px; }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 68px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: .88rem; max-width: 300px; margin-top: 18px; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 18px; }
.footer-col a { display: block; font-size: .88rem; color: var(--text-2); padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.footer-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- 19. Utilities / Animation ---------- */
/* Progressive enhancement: visible by default; JS adds .will-reveal to enable animation */
.reveal { opacity: 1; transform: none; }
.reveal.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.will-reveal.visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.divider { height: 1px; background: var(--border); margin: 48px 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; background: rgba(47,125,255,.1); color: var(--primary-light); border: 1px solid rgba(47,125,255,.2); }
.tag.teal { background: rgba(0,214,163,.1); color: var(--accent); border-color: rgba(0,214,163,.2); }
.tag.gold { background: rgba(246,189,74,.1); color: var(--gold); border-color: rgba(246,189,74,.2); }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.stack-lg > * + * { margin-top: 24px; }

/* Cookie banner */
.cookie {
  position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 720px; margin-inline: auto; z-index: 200;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: 18px 22px; display: none; align-items: center; gap: 20px; box-shadow: var(--shadow);
}
.cookie.show { display: flex; }
.cookie p { font-size: .83rem; margin: 0; flex: 1; }
.cookie .btn-row { gap: 10px; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .grid-3, .pricing { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .steps, .alacarte-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --nav-h: 68px; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 76px 0; }
  .hero { padding: 64px 0 80px; }
  .grid-3, .grid-2, .pricing { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 46px 28px; }
  .report-paper { padding: 28px 22px; }
  .float-card.one { right: -6px; } .float-card.two { left: -6px; }
}

@media (max-width: 560px) {
  .container, .container-narrow { width: min(100% - 32px, var(--maxw)); }
  h1 { font-size: 2.15rem; }
  .grid-4, .steps, .alacarte-grid, .stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 16px 20px; }
  .stat .num { font-size: 1.6rem; }
  .btn-row .btn { width: 100%; }
  .hero-badges { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie .btn-row .btn { flex: 1; }
  .testimonial { padding: 30px 24px; }
  .report-paper .meta { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
