/* ==========================================================
   GSM UI System — Shield Blue→Green Brand
   ========================================================== */

:root {
  --primary:        #0d6ef0;
  --primary-hover:  #0a5ad1;
  --primary-soft:   rgba(13, 110, 240, 0.10);
  --primary-border: rgba(13, 110, 240, 0.28);
  --green:          #19b857;
  --green-hover:    #149a48;
  --green-soft:     rgba(25, 184, 87, 0.12);
  --grad:           linear-gradient(120deg, #0d6ef0, #0fa5a0 55%, #19b857);

  --bg:             #f5f9fe;
  --surface:        #ffffff;
  --surface-soft:   #ecf3fc;
  --surface-raised: #ffffff;

  --text:           #22364c;
  --text-muted:     #5c6f84;
  --heading:        #0a2540;
  --inverse:        #ffffff;

  --border:         rgba(13, 110, 240, 0.12);
  --border-strong:  rgba(13, 110, 240, 0.24);

  --hero-from:      #071a30;
  --hero-via:       #0a2540;
  --hero-to:        #06121f;

  --amber:  #f59e0b;
  --red:    #ef4444;

  --shadow-sm: 0 4px 16px rgba(10, 37, 64, 0.07);
  --shadow-md: 0 8px 32px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 16px 56px rgba(10, 37, 64, 0.14);
  --shadow-card: 0 2px 12px rgba(10, 37, 64, 0.07);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;

  --transition: 0.26s ease;
  --font: 'Inter', Arial, sans-serif;
}

html[data-theme="dark"] {
  --primary:        #4d9bff;
  --primary-hover:  #77b3ff;
  --primary-soft:   rgba(77, 155, 255, 0.12);
  --primary-border: rgba(77, 155, 255, 0.30);
  --green:          #2bd46f;
  --green-soft:     rgba(43, 212, 111, 0.14);

  --bg:             #081524;
  --surface:        #0e2138;
  --surface-soft:   #122944;
  --surface-raised: #16304f;

  --text:           #c9dcf2;
  --text-muted:     #8aa4c2;
  --heading:        #eef5fd;
  --inverse:        #ffffff;

  --border:         rgba(77, 155, 255, 0.14);
  --border-strong:  rgba(77, 155, 255, 0.26);

  --hero-from:      #060f1c;
  --hero-via:       #081524;
  --hero-to:        #04090f;

  --shadow-sm: 0 4px 16px rgba(0,0,0,0.32);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.40);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.50);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.28);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.68;
  transition: background var(--transition), color var(--transition);
}

img, svg { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; }

h1,h2,h3,h4,h5,h6 {
  color: var(--heading);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

p { color: var(--text); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.text-center { text-align: center; }
.text-white  { color: #ffffff !important; }
.text-white-70 { color: rgba(255,255,255,0.72) !important; }
.small { font-size: 0.875rem; }
.lead-text { font-size: 1.08rem; color: var(--text-muted); line-height: 1.75; }
.w-100 { width: 100%; }
.mt-3 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.75rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #fff; padding: 0.5rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ── Eyebrow / labels ─────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.eyebrow-dark { color: var(--primary); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font); font-weight: 700; cursor: pointer;
  border: 2px solid transparent; border-radius: 999px;
  transition: all var(--transition); white-space: nowrap;
}
.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.875rem; }
.btn-lg { padding: 0.85rem 1.9rem; font-size: 1rem; }
.btn:not(.btn-sm):not(.btn-lg) { padding: 0.65rem 1.5rem; font-size: 0.94rem; }

.btn-primary {
  background: var(--grad);
  background-size: 130% 130%;
  color: #fff;
  box-shadow: 0 6px 20px rgba(13, 110, 240, 0.30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13, 110, 240, 0.38); }

.btn-outline { border-color: var(--primary-border); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary-soft); }

.btn-ghost-white { border-color: rgba(255,255,255,0.35); color: #fff; background: rgba(255,255,255,0.06); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.6); }

/* ── Navbar ───────────────────────────────────────────────── */
.site-navbar {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--hero-via) 92%, transparent);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}
.site-navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }

.nav-brand { display: flex; align-items: center; gap: 0.6rem; }
.nav-logo-badge { width: 34px; height: 34px; }
.brand-name { font-weight: 900; font-size: 1.25rem; color: #fff; letter-spacing: -0.01em; }
.brand-sub {
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); font-weight: 600;
}
@media (max-width: 560px) { .brand-sub { display: none; } }

.nav-menu { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }

.nav-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.9rem; border-radius: 999px;
  color: rgba(255,255,255,0.78); font-weight: 600; font-size: 0.94rem;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,0.10); }

.nav-cta-group { display: flex; align-items: center; gap: 0.6rem; }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; order: 3; }
.theme-btn {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  color: #fff; width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.theme-btn:hover { background: rgba(255,255,255,0.18); }

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: transparent; border: none; cursor: pointer;
}
.nav-hamburger span {
  display: block; height: 2px; width: 22px; margin: 0 auto;
  background: #fff; border-radius: 2px; transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.75rem;
    background: var(--hero-via);
    padding: 1.25rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-link { justify-content: flex-start; }
  .nav-cta-group { flex-direction: column; align-items: stretch; }
}

/* ── Flash messages ───────────────────────────────────────── */
.flash-container { position: fixed; top: 84px; right: 1.25rem; z-index: 150; display: grid; gap: 0.5rem; max-width: 380px; }
.flash {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: var(--surface-raised); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; box-shadow: var(--shadow-md); font-size: 0.92rem;
}
.flash-success { border-left: 4px solid var(--green); }
.flash-error   { border-left: 4px solid var(--red); }
.flash-info    { border-left: 4px solid var(--primary); }
.flash-close { margin-left: auto; background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--text-muted); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero-section {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--hero-from), var(--hero-via) 55%, var(--hero-to));
  padding: 5.5rem 0 4.5rem;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 60% 45% at 82% 8%, rgba(13,110,240,0.28), transparent),
    radial-gradient(ellipse 45% 40% at 8% 96%, rgba(25,184,87,0.16), transparent),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  pointer-events: none;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem; align-items: center;
}
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-title { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 1.25rem; }
.hero-lead { color: rgba(255,255,255,0.74); font-size: 1.12rem; line-height: 1.75; max-width: 560px; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.5rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 2.2rem; }
.hero-stat strong {
  display: block; font-size: 1.6rem; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stat span { color: rgba(255,255,255,0.60); font-size: 0.85rem; }

/* ── Dashboard mockup ─────────────────────────────────────── */
.dashboard-mockup {
  background: #0c1f36; border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mockup-bar {
  display: flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.05); padding: 0.6rem 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.mockup-url { margin-left: 0.6rem; color: rgba(255,255,255,0.45); font-size: 0.72rem; }

.mockup-body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.mockup-sidebar { border-right: 1px solid rgba(255,255,255,0.07); padding: 0.9rem 0.6rem; display: grid; gap: 0.3rem; align-content: start; }
.sidebar-item {
  color: rgba(255,255,255,0.55); font-size: 0.78rem; font-weight: 600;
  padding: 0.45rem 0.6rem; border-radius: 8px;
}
.sidebar-item.active { background: rgba(13,110,240,0.25); color: #fff; }

.mockup-content { padding: 1rem; display: grid; gap: 0.9rem; align-content: start; }
.mockup-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.mkpi { border-radius: 10px; padding: 0.55rem 0.6rem; border: 1px solid rgba(255,255,255,0.08); }
.mkpi span { display: block; font-size: 0.62rem; color: rgba(255,255,255,0.55); }
.mkpi strong { color: #fff; font-size: 1.05rem; }
.mkpi-green { background: rgba(25,184,87,0.16); }
.mkpi-amber { background: rgba(245,158,11,0.14); }
.mkpi-blue  { background: rgba(13,110,240,0.18); }
.mkpi-red   { background: rgba(239,68,68,0.14); }

.mockup-chart-bar {
  height: 64px; border-radius: 10px;
  background:
    linear-gradient(to top, rgba(13,110,240,0.4) 0%, transparent 65%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.16) 0 14px, transparent 14px 24px);
  border: 1px solid rgba(255,255,255,0.08);
}
.mockup-rows { display: grid; gap: 0.45rem; }
.mockup-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 9px; padding: 0.5rem 0.7rem;
  color: rgba(255,255,255,0.78); font-size: 0.8rem;
}
.mockup-pill { font-size: 0.68rem; font-weight: 700; border-radius: 999px; padding: 0.16rem 0.6rem; }
.pill-green { background: rgba(25,184,87,0.22); color: #5ee89a; }
.pill-amber { background: rgba(245,158,11,0.2); color: #ffd479; }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 4.5rem 0; }
.section-soft { background: var(--surface-soft); }
.section-dark {
  background: linear-gradient(140deg, var(--hero-from), var(--hero-via) 60%, var(--hero-to));
}
.section-head { max-width: 720px; margin: 0 auto 2.75rem; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 0.9rem; }

/* ── Cards ────────────────────────────────────────────────── */
.card-grid { display: grid; gap: 1.4rem; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .card-grid-3 { grid-template-columns: 1fr; } .card-grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 1080px) { .flow-grid.card-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card h5 { font-size: 1.05rem; margin: 0.9rem 0 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.93rem; }

.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft); font-size: 1.45rem;
}
.icon-green { background: var(--green-soft); }

.dark-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md); padding: 1.6rem;
}
.dark-card h5 { margin: 0.9rem 0 0.5rem; font-size: 1.05rem; }

.integrity-claim {
  margin: 2.5rem auto 0; max-width: 780px; text-align: center;
  color: rgba(255,255,255,0.78); font-size: 1.05rem;
  border: 1px solid rgba(43, 212, 111, 0.45); border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem; background: rgba(25,184,87,0.08);
}
.integrity-claim strong { color: #fff; }

.flow-card { position: relative; }
.flow-step {
  font-size: 1rem; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Split sections / value cards ─────────────────────────── */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .split-section { grid-template-columns: 1fr; } }

.value-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-card);
}
.value-card h4 { margin-bottom: 1.1rem; font-size: 1.2rem; }

.check-list { display: grid; gap: 0.65rem; margin-top: 1.1rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--text); font-size: 0.98rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  font-size: 0.8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ── Ledger visual ────────────────────────────────────────── */
.ledger-visual { display: grid; gap: 1.1rem; }
.ledger-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-card);
}
.ledger-title {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.8rem;
}
.ledger-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.5rem 0; border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
}
.ledger-row:last-of-type { border-bottom: none; }
.lr-dr { color: var(--primary); font-weight: 700; }
.lr-cr { color: var(--green); font-weight: 700; }
.ledger-meta { margin-top: 0.6rem; font-size: 0.78rem; color: var(--text-muted); }

/* ── Page hero (interior pages) ───────────────────────────── */
.page-hero {
  background: linear-gradient(140deg, var(--hero-from), var(--hero-via) 60%, var(--hero-to));
  padding: 5rem 0 4rem; text-align: left;
}
.page-hero-sm { padding: 3.5rem 0 3rem; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-hero .hero-lead { margin-bottom: 1.2rem; }
.page-hero .text-center .hero-lead { margin-left: auto; margin-right: auto; }

.thanks-badge {
  width: 74px; height: 74px; margin: 0 auto 1.4rem; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 2rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 34px rgba(25, 184, 87, 0.4);
}

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band {
  background:
    radial-gradient(ellipse 55% 70% at 88% 20%, rgba(25,184,87,0.25), transparent),
    radial-gradient(ellipse 55% 70% at 10% 90%, rgba(13,110,240,0.3), transparent),
    linear-gradient(140deg, var(--hero-from), var(--hero-via) 60%, var(--hero-to));
  padding: 4.5rem 0; text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 0.6rem; }
.cta-band p { margin-bottom: 1.8rem; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ── Forms ────────────────────────────────────────────────── */
.form-wrap { max-width: 780px; }
.lead-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; margin-bottom: 1.6rem; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--heading); margin-bottom: 0.35rem; }
.form-field-full { grid-column: 1 / -1; }

.form-control, .form-select {
  width: 100%; font-family: var(--font); font-size: 0.95rem;
  color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border-strong); border-radius: 12px;
  padding: 0.7rem 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.form-field .errorlist { color: var(--red); font-size: 0.8rem; margin-top: 0.3rem; }
.form-errors { color: var(--red); margin-bottom: 1rem; font-size: 0.9rem; }

/* honeypot — visually hidden but focusable-by-bots */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* AOS fallback — if AOS never initialises (CDN blocked, JS off), animated
   elements must not stay hidden. AOS marks prepared elements with .aos-init;
   anything unprepared renders fully visible. */
[data-aos]:not(.aos-init) { opacity: 1 !important; transform: none !important; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--hero-to);
  color: rgba(255,255,255,0.66);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding-bottom: 2.25rem; border-bottom: 1px solid rgba(255,255,255,0.10);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 0.9rem; }
.footer-tagline { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 320px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-heading {
  color: #fff; font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-links { display: grid; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.60); font-size: 0.92rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-contact-line { font-size: 0.92rem; margin-bottom: 0.4rem; }
.footer-contact-line a { color: rgba(255,255,255,0.75); }
.footer-contact-line a:hover { color: #fff; }
.footer-ctas { margin-top: 1rem; }

.footer-bottom { padding-top: 1.4rem; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.40); }
