/* ============================================================
   Score Guardians — shared.css  (v4 — LIGHT restyle)
   Same "three guardians, one shield" monitoring console, in a
   bright, high-tech light palette: cool near-white base, white
   elevated cards with soft shadow, deeper teal→indigo→magenta
   accent that holds contrast on light.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* base (light) */
  --bg:      #f4f7fc;
  --panel:   #ffffff;
  --panel-2: #eaf0f8;
  --line:    rgba(13,20,40,0.10);
  --line-2:  rgba(13,20,40,0.18);

  /* holographic signature (deeper for contrast on light) */
  --aqua:    #06b6a4;
  --violet:  #6a5cff;
  --magenta: #d24ec0;
  --gold:    #e6951b;
  --grad:    linear-gradient(100deg, #06c2ac 0%, #6a5cff 55%, #d24ec0 100%);
  --grad-soft: linear-gradient(135deg, rgba(6,194,172,0.12), rgba(106,92,255,0.12) 55%, rgba(210,78,192,0.12));

  /* text */
  --ink:     #0c1326;
  --muted:   #545f78;
  --muted-2: #8a93a9;

  /* type */
  --display: 'Space Grotesk', sans-serif;
  --body:    'Inter', sans-serif;
  --mono:    'JetBrains Mono', monospace;

  --radius: 16px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 18px 50px -28px rgba(13,20,40,0.4);
  --shadow-sm: 0 6px 20px -12px rgba(13,20,40,0.35);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Ambient light grid + soft color glows */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 80% -8%, rgba(106,92,255,0.12), transparent 60%),
    radial-gradient(820px 540px at 6% 4%, rgba(6,194,172,0.12), transparent 60%),
    linear-gradient(transparent 0 96%, rgba(13,20,40,0.035) 96%) 0 0 / 100% 46px,
    linear-gradient(90deg, transparent 0 96%, rgba(13,20,40,0.035) 96%) 0 0 / 46px 100%;
}
.bg-noise::after { content: none; }

a { color: var(--aqua); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   TYPE SCALE
   ============================================================ */
h1, h2, h3, h4, h5 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; color: var(--ink); }
.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--aqua);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--aqua); opacity: 0.6; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 10px 26px -10px rgba(106,92,255,0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(210,78,192,0.55); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: #fff; }
.btn-ghost:hover { border-color: var(--aqua); color: var(--aqua); background: rgba(6,194,172,0.06); }
.btn-lg { font-size: 1rem; padding: 16px 30px; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   NAV
   ============================================================ */
#sg-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 48px); height: 70px;
  background: rgba(255,255,255,0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
#sg-nav .logo { display: flex; align-items: center; gap: 10px; }
#sg-nav .logo img { height: 30px; width: auto; }
#sg-nav .logo b { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-right .btn { padding: 9px 18px; font-size: 0.88rem; }
.nav-burger { display: none; background: none; border: none; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; width: 100%; }
section { position: relative; z-index: 1; padding: clamp(72px, 10vw, 116px) clamp(18px, 5vw, 48px); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; font-weight: 300; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Glass panel → light "elevated card" */
.glass {
  background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
}
.glass::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: 0.9; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { position: relative; z-index: 1; padding: 132px clamp(18px,5vw,48px) 48px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin: 16px auto 16px; max-width: 16ch; }
.page-hero p { color: var(--muted); font-size: 1.05rem; font-weight: 300; max-width: 620px; margin: 0 auto; }

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.faq-groups { display: flex; flex-direction: column; gap: 40px; }
.faq-group > h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; font-family: var(--mono); font-weight: 500; letter-spacing: 0.04em; }
.accordion { display: flex; flex-direction: column; }
.ac-item { border-bottom: 1px solid var(--line); }
.ac-item:first-child { border-top: 1px solid var(--line); }
.ac-btn { width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 4px; }
.ac-q { font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink); transition: color 0.2s; }
.ac-btn:hover .ac-q { color: var(--aqua); }
.ac-icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.ac-icon::before, .ac-icon::after { content: ''; position: absolute; background: var(--aqua); transition: transform 0.3s var(--ease); }
.ac-icon::before { top: 10px; left: 3px; width: 16px; height: 2px; }
.ac-icon::after  { top: 3px; left: 10px; width: 2px; height: 16px; }
.ac-item.open .ac-icon::after { transform: scaleY(0); }
.ac-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.ac-body-inner { padding: 0 4px 22px; color: var(--muted); font-size: 0.95rem; line-height: 1.75; }
.ac-body-inner p { margin-bottom: 12px; }
.ac-body-inner p:last-child { margin-bottom: 0; }
.ac-body-inner ul { margin: 8px 0 12px 20px; }
.ac-body-inner li { margin-bottom: 6px; }

/* ============================================================
   LEGAL / LONGFORM
   ============================================================ */
.legal { max-width: 820px; margin: 0 auto; padding: 0 clamp(18px,5vw,48px) 110px; position: relative; z-index: 1; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 14px; }
.legal h3 { font-size: 1.1rem; margin: 26px 0 10px; color: var(--aqua); font-family: var(--mono); font-weight: 500; }
.legal p, .legal li { color: var(--muted); font-size: 0.96rem; line-height: 1.8; margin-bottom: 14px; }
.legal ul, .legal ol { margin: 0 0 16px 22px; }
.legal strong { color: var(--ink); }
.legal .updated { font-family: var(--mono); font-size: 0.8rem; color: var(--muted-2); }
.legal .callout { background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--aqua);
  border-radius: 10px; padding: 16px 20px; margin: 0 0 22px; }
.legal .callout p { margin: 0; color: var(--ink); font-size: 0.92rem; }

/* ============================================================
   COMPLIANCE DISCLOSURE BLOCKS
   ============================================================ */
.disclosure { font-size: 0.78rem; line-height: 1.6; color: var(--muted-2);
  border: 1px dashed var(--line-2); border-radius: 10px; padding: 14px 16px; }
.disclosure strong { color: var(--muted); }
.rosca { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; text-align: left; font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
.rosca b { color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { position: relative; z-index: 1; background: #0c1326; border-top: 1px solid var(--line); padding: 64px clamp(18px,5vw,48px) 34px; }
.foot-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand .logo img { height: 28px; }
.foot-brand .logo b { font-family: var(--display); font-weight: 700; color: #fff; }
.foot-brand p { color: #9aa6c0; font-size: 0.85rem; max-width: 260px; }
.foot-col h5 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 500; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { color: #9aa6c0; font-size: 0.88rem; transition: color 0.2s; }
.foot-col a:hover { color: #fff; }
.foot-legal { max-width: var(--maxw); margin: 44px auto 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 26px;
  display: flex; flex-direction: column; gap: 14px; }
.foot-disclaimer { color: #7e8aa6; font-size: 0.76rem; line-height: 1.7; }
.foot-disclaimer b { color: #aab4cc; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-bottom span { color: #7e8aa6; font-size: 0.76rem; }
.foot-bottom .foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom .foot-links a { color: #7e8aa6; font-size: 0.76rem; }
.foot-bottom .foot-links a:hover { color: #fff; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--ink); font-family: var(--body); font-size: 0.95rem; padding: 13px 15px; width: 100%; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(6,194,172,0.16); }
.field textarea { resize: vertical; min-height: 130px; }
.field select option { background: #fff; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 30px 26px; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.feature .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 22px;
  background: var(--grad-soft); border: 1px solid var(--line-2); margin-bottom: 18px; color: var(--ink); }
.feature h3 { font-size: 1.12rem; margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.stat { background: var(--panel); padding: 28px 22px; text-align: center; }
.stat .num { font-family: var(--mono); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink); letter-spacing: -0.02em; }
.stat .lbl { color: var(--muted); font-size: 0.8rem; margin-top: 6px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 30px 26px; }
.step .idx { font-family: var(--mono); font-size: 0.82rem; color: var(--aqua); letter-spacing: 0.1em; }
.step h3 { font-size: 1.1rem; margin: 14px 0 9px; }
.step p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan-card { padding: 32px 28px; display: flex; flex-direction: column; }
.plan-featured { border-color: rgba(6,194,172,0.5); box-shadow: 0 30px 70px -34px rgba(106,92,255,0.5); }
.plan-badge { align-self: flex-start; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--ink); margin-bottom: 18px; }
.plan-name { font-size: 1.4rem; }
.plan-tag { color: var(--muted); font-size: 0.9rem; margin: 8px 0 20px; min-height: 40px; }
.plan-price { font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.plan-cur { font-size: 1.5rem; vertical-align: super; margin-right: 2px; }
.plan-cents { font-size: 1.5rem; }
.plan-price.plan-soon { font-size: 1.7rem; color: var(--muted); }
.plan-per { color: var(--muted-2); font-size: 0.82rem; margin: 6px 0 22px; }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.plan-feats li { position: relative; padding-left: 26px; color: var(--ink); font-size: 0.9rem; }
.plan-feats li::before { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 8px;
  border-left: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua); transform: rotate(-45deg); }

.compare { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.compare th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.compare th.us, .compare td.us { background: rgba(6,194,172,0.07); color: var(--ink); }
.compare td:first-child, .compare th:first-child { text-align: left; color: var(--ink); }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--aqua); font-weight: 700; }
.compare .no { color: var(--muted-2); }

.cta-band { text-align: center; padding: clamp(40px, 6vw, 64px); }
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 540px; margin: 0 auto 28px; }

/* ============================================================
   MOTION
   ============================================================ */
@keyframes pulse { 0%,100%{ opacity: 1; transform: scale(1);} 50%{ opacity: 0.35; transform: scale(0.7);} }
@keyframes floatUp { from { opacity: 0; transform: translateY(26px);} to { opacity: 1; transform: translateY(0);} }
@keyframes sweep { to { transform: rotate(360deg); } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: fixed; top: 70px; left: 0; right: 0; background: rgba(255,255,255,0.98);
    padding: 24px clamp(18px,5vw,48px); border-bottom: 1px solid var(--line); }
  .nav-burger { display: block; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .row-2 { grid-template-columns: 1fr; }
  .card-grid, .steps, .plan-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .nav-right .btn-ghost { display: none; }
  .stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

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