/* ============================================================
   EX-N CYBERSECURITY — v2 Stylesheet
   Lucide icons via CDN, custom cursor, GSAP animations,
   fully responsive (mobile/tablet/desktop)
   ============================================================ */

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --navy:       #0a1628;
  --navy-mid:   #0f2040;
  --blue:       #1a56db;
  --blue-mid:   #2563eb;
  --blue-light: #3b82f6;
  --blue-glow:  rgba(26,86,219,.35);
  --sky:        #eff6ff;
  --sky-mid:    #dbeafe;
  --white:      #ffffff;
  --grey:       #f8fafc;
  --grey-mid:   #f1f5f9;
  --text:       #0f172a;
  --text-mid:   #334155;
  --text-light: #64748b;
  --border:     #e2e8f0;
  --border-mid: #cbd5e1;
  --green:      #16a34a;
  --green-bg:   #dcfce7;
  --amber:      #ca8a04;
  --amber-bg:   #fef9c3;
  --red:        #dc2626;
  --red-bg:     #fee2e2;
  --sans: 'Plus Jakarta Sans', sans-serif;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 20px rgba(0,0,0,.08),0 2px 8px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12),0 8px 24px rgba(0,0,0,.06);
  --shadow-blue: 0 8px 32px rgba(26,86,219,.25);
}

body {
  background: var(--white); color: var(--text);
  font-family: var(--sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none; /* custom cursor */
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: var(--sans); }

/* ── CUSTOM CURSOR ─────────────────────────────────────────── */
#cursor-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  position: fixed; pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%);
  transition: transform .1s, background .2s;
  box-shadow: 0 0 12px 4px rgba(26,86,219,.5);
}
#cursor-ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(26,86,219,.5);
  position: fixed; pointer-events: none; z-index: 99998;
  transform: translate(-50%,-50%);
  transition: transform .12s ease, width .2s, height .2s, border-color .2s, background .2s;
}
body.cursor-hover #cursor-ring {
  width: 52px; height: 52px;
  border-color: rgba(26,86,219,.8);
  background: rgba(26,86,219,.06);
}
body.cursor-clicking #cursor-dot {
  transform: translate(-50%,-50%) scale(1.8);
}

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.js-loaded .reveal          { opacity: 0; transform: translateY(32px); }
.js-loaded .reveal.in       { opacity: 1; transform: none; }
.js-loaded .reveal-left     { opacity: 0; transform: translateX(-32px); }
.js-loaded .reveal-left.in  { opacity: 1; transform: none; }
.js-loaded .reveal-right    { opacity: 0; transform: translateX(32px); }
.js-loaded .reveal-right.in { opacity: 1; transform: none; }
.reveal-left, .reveal-right { transition: opacity .7s ease, transform .7s ease; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .925rem; font-weight: 700; color: #fff;
  background: var(--blue); border: none;
  padding: .875rem 2rem; border-radius: 10px; cursor: none;
  box-shadow: var(--shadow-blue);
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
  opacity: 0; transition: opacity .2s;
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(26,86,219,.4); }
.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .925rem; font-weight: 600; color: var(--blue);
  background: transparent; border: 2px solid var(--blue);
  padding: .825rem 1.75rem; border-radius: 10px; cursor: none;
  transition: background .2s, color .2s, transform .15s;
}
.btn-secondary:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

.btn-ghost {
  font-size: .875rem; font-weight: 600; color: var(--blue);
  border: 1.5px solid var(--border-mid); padding: .5rem 1.1rem;
  border-radius: 8px; cursor: none;
  transition: background .2s, color .2s, border-color .2s;
  background: none;
}
.btn-ghost:hover { background: var(--sky); border-color: var(--blue); }

/* ── NAVIGATION ────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .875rem 2rem; position: relative;
}
.logo { display: flex; align-items: center; gap: .6rem; }
.logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; }
.logo-name { font-size: 1.05rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.logo-name span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: .1rem; list-style: none; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--text-mid);
  padding: .5rem .875rem; border-radius: 8px;
  transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--sky); }
.nav-right { display: flex; align-items: center; gap: .75rem; }
.btn-nav-ghost {
  font-size: .875rem; font-weight: 600; color: var(--text-mid);
  border: 1.5px solid var(--border); padding: .5rem 1.1rem;
  border-radius: 8px; transition: color .2s, border-color .2s, background .2s;
  background: none; cursor: none;
}
.btn-nav-ghost:hover { color: var(--blue); border-color: var(--blue); background: var(--sky); }
.btn-nav-solid {
  font-size: .875rem; font-weight: 700; color: #fff;
  background: var(--blue); padding: .55rem 1.25rem;
  border-radius: 8px; cursor: none;
  box-shadow: 0 2px 10px rgba(26,86,219,.3);
  transition: background .2s, transform .15s;
}
.btn-nav-solid:hover { background: #1d4ed8; transform: translateY(-1px); }
.pro-badge-nav {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; background: var(--green-bg); color: var(--green);
  border: 1px solid #bbf7d0; padding: .25rem .65rem; border-radius: 100px;
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: none; padding: .4rem; background: none; border: none;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── LAYOUT ────────────────────────────────────────────────── */
.section { padding: 6rem 2rem; }
.section-alt { background: var(--grey); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.center { text-align: center; }
.divider { height: 1px; background: var(--border); }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--blue); margin-bottom: .875rem;
}
.chip::before { content: ''; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.section-inner h2 {
  font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 800;
  color: var(--navy); letter-spacing: -.03em; line-height: 1.15; margin-bottom: .75rem;
}
.section-sub { font-size: 1rem; color: var(--text-light); line-height: 1.8; max-width: 580px; margin: 0 auto; }

/* ── HERO ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 7rem 2rem 5rem;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(59,130,246,.1) 0%, transparent 60%),
              linear-gradient(180deg, var(--sky) 0%, #fff 70%);
  position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(26,86,219,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(26,86,219,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-left { display: flex; flex-direction: column; gap: 1.75rem; }
.hero-right { display: flex; justify-content: flex-end; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--sky); border: 1px solid #bfdbfe;
  border-radius: 100px; padding: .4rem 1rem .4rem .6rem;
  font-size: .8rem; font-weight: 600; color: var(--blue);
  width: fit-content;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.2);
  animation: badge-pulse 2.5s infinite;
}
@keyframes badge-pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(26,86,219,.2); }
  50%      { box-shadow: 0 0 0 6px rgba(26,86,219,.08); }
}
#hero h1 {
  font-size: clamp(2.4rem,5vw,3.6rem); font-weight: 800;
  color: var(--navy); letter-spacing: -.04em; line-height: 1.08;
}
#hero h1 em { font-style: normal; color: var(--blue); }
#hero h1 .typed-cursor { color: var(--blue); }
.hero-sub { font-size: 1.1rem; color: var(--text-light); line-height: 1.85; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.trust-item { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--text-light); }
.trust-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-bg); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Hero card */
.hero-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 2rem; box-shadow: var(--shadow-lg); width: 100%; max-width: 400px;
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #60a5fa 100%);
}
.hc-label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--text-light); margin-bottom: 1.25rem;
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.stat-n {
  font-size: 2.2rem; font-weight: 800; color: var(--navy);
  letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-l { font-size: .78rem; color: var(--text-light); line-height: 1.4; margin-top: .2rem; }
.partners-divider { height: 1px; background: var(--border); margin-bottom: 1.25rem; }
.partners-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); margin-bottom: .75rem; }
.partner-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.partner-chip {
  font-size: .75rem; font-weight: 600; color: var(--blue);
  background: var(--sky); border: 1px solid #bfdbfe;
  padding: .25rem .75rem; border-radius: 100px;
}

/* ── COMMITMENT ────────────────────────────────────────────── */
.commit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.commit-text { display: flex; flex-direction: column; gap: 1.1rem; }
.commit-text p { font-size: .975rem; color: var(--text-mid); line-height: 1.85; }
.commit-cards { display: flex; flex-direction: column; gap: 1rem; }
.commit-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.commit-card:hover { box-shadow: var(--shadow); transform: translateX(4px); border-color: #bfdbfe; }
.commit-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--sky); border: 1px solid #bfdbfe;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--blue);
}
.commit-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.commit-card-title { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.commit-card-desc  { font-size: .85rem; color: var(--text-light); line-height: 1.6; }

/* ── SERVICES ──────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 3rem; }
.svc-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem;
  cursor: none; transition: box-shadow .3s, transform .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #60a5fa 100%);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: #bfdbfe; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-num { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); }
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--sky); border: 1px solid #bfdbfe;
  display: flex; align-items: center; justify-content: center;
}
.svc-icon svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-name { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.svc-desc { font-size: .875rem; color: var(--text-light); line-height: 1.7; flex: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.svc-tag { font-size: .68rem; font-weight: 600; color: var(--text-mid); background: var(--grey); border: 1px solid var(--border); padding: .2rem .55rem; border-radius: 4px; }
.svc-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 700; color: var(--blue);
  margin-top: .25rem; transition: gap .15s;
}
.svc-link:hover { gap: .65rem; }
.svc-link svg { width: 14px; height: 14px; stroke: var(--blue); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── SCOPE ─────────────────────────────────────────────────── */
.scope-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-top: 3rem; }
.scope-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s;
}
.scope-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.scope-num { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: .5rem; }
.scope-name { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.scope-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.scope-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; color: var(--text-mid); line-height: 1.5; }
.scope-list li svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2.5; flex-shrink: 0; margin-top: 2px; }

/* ── SCANNER ───────────────────────────────────────────────── */
.scanner-wrap { max-width: 680px; margin: 3rem auto 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.scanner-note { font-size: .85rem; color: var(--text-light); margin-bottom: 1.25rem; line-height: 1.6; }
.scanner-note strong { color: var(--text-mid); }
.scan-input-row { display: flex; gap: .75rem; margin-bottom: 1rem; }
.scan-input-row input {
  flex: 1; font-size: .95rem; font-family: var(--sans);
  color: var(--text); background: var(--grey);
  border: 1.5px solid var(--border); border-radius: 10px; padding: .8rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.scan-input-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.scan-btn {
  font-size: .9rem; font-weight: 700; color: #fff;
  background: var(--blue); border: none;
  padding: .8rem 1.5rem; border-radius: 10px; cursor: none;
  box-shadow: var(--shadow-blue); white-space: nowrap;
  transition: background .2s, transform .15s;
}
.scan-btn:hover  { background: #1d4ed8; transform: translateY(-1px); }
.scan-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.scanner-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .875rem; }
.stag { font-size: .75rem; font-weight: 600; color: var(--text-light); display: flex; align-items: center; gap: .35rem; }
.stag svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.stag.free  { color: var(--green); }
.stag.pro   { color: var(--blue); opacity: .7; }
#sp { display: none; margin: .75rem 0; }
.pt { height: 4px; background: var(--sky-mid); border-radius: 100px; overflow: hidden; }
.pf { height: 100%; background: var(--blue); border-radius: 100px; width: 0; transition: width .4s ease; }
.pl { font-size: .78rem; color: var(--text-light); margin-top: .4rem; }
#serr { display: none; background: var(--red-bg); border: 1px solid #fecaca; border-radius: 10px; padding: .875rem 1rem; font-size: .85rem; color: var(--red); margin-bottom: .75rem; }
#sr  { display: none; margin-bottom: 1.25rem; }
.res-card { background: var(--grey); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.res-top { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem; background: #fff; border-bottom: 1px solid var(--border); }
.grade { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; flex-shrink: 0; background: var(--grey); }
.gA { background: var(--green-bg); color: var(--green); }
.gB { background: var(--sky-mid); color: var(--blue); }
.gC { background: var(--amber-bg); color: var(--amber); }
.gD { background: #ffedd5; color: #ea580c; }
.gF { background: var(--red-bg); color: var(--red); }
.res-domain { font-size: 1rem; font-weight: 700; color: var(--navy); }
.res-score  { font-size: .82rem; color: var(--text-light); margin-top: .2rem; }
.res-rows   { padding: .5rem 1.5rem; }
.res-row { display: flex; align-items: center; justify-content: space-between; padding: .65rem 0; border-bottom: 1px solid var(--border); font-size: .875rem; }
.res-row:last-child { border: none; }
.rlab { color: var(--text-mid); font-weight: 500; }
.vp { color: var(--green); font-weight: 600; }
.vw { color: var(--amber); font-weight: 600; }
.vf { color: var(--red); font-weight: 600; }
.res-source { padding: .75rem 1.5rem; font-size: .75rem; color: var(--text-light); border-top: 1px solid var(--border); }

/* ── AUDIENCE ──────────────────────────────────────────────── */
.aud-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.aud-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm); text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.aud-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.aud-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--sky); border: 1px solid #bfdbfe;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; color: var(--blue);
}
.aud-icon svg { width: 28px; height: 28px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aud-name { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.aud-desc { font-size: .9rem; color: var(--text-light); line-height: 1.75; }

/* ── TOOLS GRID ────────────────────────────────────────────── */
.tools-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 3rem; }
.tool-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .6rem;
  transition: box-shadow .25s, transform .25s; cursor: none;
}
.tool-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.tool-card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--sky); border: 1px solid #bfdbfe;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .25rem;
}
.tool-card-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-name  { font-size: .95rem; font-weight: 700; color: var(--navy); }
.tool-desc  { font-size: .85rem; color: var(--text-light); line-height: 1.6; flex: 1; }
.tb-free { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--green-bg); color: var(--green); padding: .15rem .5rem; border-radius: 4px; width: fit-content; }
.tb-pro  { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--sky-mid); color: var(--blue); padding: .15rem .5rem; border-radius: 4px; width: fit-content; }

/* ── ABOUT / STORY ─────────────────────────────────────────── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.story-block { display: flex; flex-direction: column; gap: 1rem; }
.story-block h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.story-block p  { font-size: .975rem; color: var(--text-mid); line-height: 1.85; }
.story-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.story-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--text-mid); }
.story-list li svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2.5; flex-shrink: 0; margin-top: 2px; }
.vision-card {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3468 100%);
  border-radius: var(--radius-xl); padding: 2.5rem; color: #fff;
}
.vision-card h3 { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.vision-card p  { font-size: .95rem; color: #94a3b8; line-height: 1.8; margin-bottom: 1rem; }
.vision-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.vision-list li { display: flex; gap: .65rem; align-items: center; font-size: .875rem; color: #94a3b8; }
.vision-list li svg { width: 16px; height: 16px; stroke: #93c5fd; fill: none; stroke-width: 2.5; flex-shrink: 0; }

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonial-wrap { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.testimonial {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s;
}
.testimonial:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.quote-icon { color: var(--blue); margin-bottom: .75rem; }
.quote-icon svg { width: 28px; height: 28px; fill: var(--blue); opacity: .3; }
.testimonial-text { font-size: .925rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sky); border: 2px solid #bfdbfe;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--blue);
}
.author-avatar svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.author-name { font-size: .9rem; font-weight: 700; color: var(--navy); }
.author-role { font-size: .8rem; color: var(--text-light); }

/* ── CONTACT / CTA ─────────────────────────────────────────── */
#contact { background: var(--navy); padding: 6rem 2rem; }
.cta-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.cta-left { display: flex; flex-direction: column; gap: 1.75rem; }
.cta-left .chip { color: #93c5fd; }
.cta-left .chip::before { background: #93c5fd; }
.cta-left h2 { font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.15; }
.cta-left p { font-size: .975rem; color: #94a3b8; line-height: 1.8; }
.cta-contacts { display: flex; flex-direction: column; gap: 1rem; }
.cta-contact { display: flex; align-items: center; gap: 1rem; }
.cta-contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cta-contact-icon svg { width: 20px; height: 20px; stroke: #93c5fd; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cta-contact a, .cta-contact span { font-size: .9rem; color: #94a3b8; transition: color .2s; }
.cta-contact a:hover { color: #fff; }
.cta-form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-xl); padding: 2rem; }
.form-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: #94a3b8; margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; font-family: var(--sans); font-size: .9rem; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; padding: .8rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #475569; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,.15); }
.form-group select { cursor: none; }
.form-group select option { background: var(--navy); }
.form-group textarea { height: 110px; resize: vertical; }
.form-submit {
  width: 100%; font-family: var(--sans); font-size: .95rem; font-weight: 700;
  color: #fff; background: var(--blue); border: none;
  padding: .9rem; border-radius: 10px; cursor: none;
  box-shadow: 0 4px 20px rgba(26,86,219,.4);
  transition: background .2s, transform .15s;
}
.form-submit:hover { background: #1d4ed8; transform: translateY(-2px); }
.form-note { font-size: .78rem; color: #475569; text-align: center; margin-top: .75rem; }

/* ── FOOTER ────────────────────────────────────────────────── */
footer { background: var(--navy); padding: 4rem 2rem 2rem; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: .6rem; }
.footer-logo  { display: flex; align-items: center; gap: .5rem; }
.footer-logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.footer-logo-name { font-size: 1.1rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.footer-tagline { font-size: .85rem; color: #475569; line-height: 1.75; max-width: 260px; margin-top: .25rem; }
.footer-socials { display: flex; gap: .6rem; margin-top: .5rem; }
.footer-social { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.footer-social:hover { background: rgba(255,255,255,.12); }
.footer-social svg { width: 16px; height: 16px; stroke: #94a3b8; fill: none; stroke-width: 2; }
.footer-col-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #475569; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { font-size: .875rem; color: #64748b; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .8rem; color: #334155; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .8rem; color: #334155; transition: color .2s; }
.footer-legal a:hover { color: #64748b; }

/* ── PAGE HERO (inner pages) ───────────────────────────────── */
.page-hero {
  padding: 9rem 2rem 5rem; position: relative; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(59,130,246,.1) 0%, transparent 60%),
              linear-gradient(180deg, var(--sky) 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.page-hero h1 { font-size: clamp(2rem,4vw,2.9rem); font-weight: 800; letter-spacing: -.03em; color: var(--navy); margin-bottom: 1rem; line-height: 1.15; }
.page-hero .lead { font-size: 1.05rem; color: var(--text-light); line-height: 1.75; max-width: 560px; margin: .75rem auto 0; }
.hero-orb { position: absolute; top: -160px; right: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,.09) 0%, transparent 70%); pointer-events: none; }

/* ── SERVICE DETAIL PAGES ──────────────────────────────────── */
.service-detail { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem 7rem; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 3.5rem; align-items: start; }
.service-content { display: flex; flex-direction: column; gap: 2rem; }
.service-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.service-content p { font-size: .975rem; color: var(--text-mid); line-height: 1.9; }
.service-content ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.service-content ul li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; color: var(--text-mid); line-height: 1.6; }
.service-content ul li svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2.5; flex-shrink: 0; margin-top: 3px; }
.service-sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 6rem; }
.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.sidebar-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.sidebar-cta { background: linear-gradient(135deg, var(--navy) 0%, #1a3468 100%); border-radius: var(--radius-lg); padding: 1.75rem; text-align: center; }
.sidebar-cta h3 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; }
.sidebar-cta p  { color: #94a3b8; font-size: .85rem; line-height: 1.6; margin-bottom: 1.25rem; }
.process-list { list-style: none; display: flex; flex-direction: column; gap: .875rem; }
.process-item { display: flex; gap: .875rem; align-items: flex-start; }
.process-num { width: 28px; height: 28px; border-radius: 50%; background: var(--sky); border: 1.5px solid #bfdbfe; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; color: var(--blue); flex-shrink: 0; }
.process-text { font-size: .875rem; color: var(--text-mid); line-height: 1.6; }
.process-text strong { color: var(--navy); display: block; margin-bottom: .15rem; font-size: .875rem; }

/* ── DOC PAGES ─────────────────────────────────────────────── */
.doc-wrap { max-width: 760px; margin: 0 auto; padding: 4.5rem 2rem 7rem; }
.doc-meta { font-size: .8rem; color: var(--text-light); padding: .75rem 1rem; background: var(--grey); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 3rem; }
.doc-meta strong { color: var(--text-mid); }
.doc-wrap h2 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 2.75rem 0 .75rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border); }
.doc-wrap h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 1.75rem 0 .5rem; }
.doc-wrap p  { font-size: .97rem; color: var(--text-mid); line-height: 1.9; margin-bottom: .9rem; }
.doc-wrap ul { margin: .5rem 0 1rem 1.5rem; display: flex; flex-direction: column; gap: .45rem; }
.doc-wrap ul li { font-size: .97rem; color: var(--text-mid); line-height: 1.75; }
.doc-wrap a  { color: var(--blue); }

/* ── BLOG ──────────────────────────────────────────────────── */
.blog-wrap { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem 7rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.blog-cover { height: 180px; display: flex; align-items: center; justify-content: center; }
.blog-cover svg { width: 64px; height: 64px; stroke: var(--blue); fill: none; stroke-width: 1.5; opacity: .4; }
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); background: var(--sky); border: 1px solid #bfdbfe; border-radius: 100px; padding: .2rem .7rem; display: inline-block; margin-bottom: .75rem; width: fit-content; }
.blog-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .6rem; line-height: 1.4; }
.blog-excerpt { font-size: .875rem; color: var(--text-light); line-height: 1.7; flex: 1; margin-bottom: 1rem; }
.blog-meta { display: flex; justify-content: space-between; font-size: .78rem; color: var(--text-light); margin-bottom: .75rem; }
.read-link { font-size: .85rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: .3rem; margin-top: auto; transition: gap .15s; }
.read-link svg { width: 14px; height: 14px; stroke: var(--blue); fill: none; stroke-width: 2.5; }
.read-link:hover { gap: .55rem; }

/* ── ARTICLE ───────────────────────────────────────────────── */
.article-wrap { max-width: 740px; margin: 0 auto; padding: 4.5rem 2rem 7rem; }
.article-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; }
.a-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); background: var(--sky); border: 1px solid #bfdbfe; border-radius: 100px; padding: .2rem .7rem; }
.a-date, .a-read { font-size: .82rem; color: var(--text-light); }
.article-body h2 { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin: 2.5rem 0 .8rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.article-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 1.75rem 0 .5rem; }
.article-body p  { font-size: 1rem; color: var(--text-mid); line-height: 1.9; margin-bottom: 1rem; }
.article-body ul,
.article-body ol { margin: .5rem 0 1.1rem 1.5rem; display: flex; flex-direction: column; gap: .45rem; }
.article-body li { font-size: 1rem; color: var(--text-mid); line-height: 1.75; }
.callout { background: var(--sky); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: .95rem; color: var(--text-mid); line-height: 1.75; }
.callout strong { color: var(--navy); }
code { font-family: 'Courier New', monospace; font-size: .875rem; background: var(--grey); border: 1px solid var(--border); border-radius: 4px; padding: .15rem .4rem; color: var(--navy); }
.article-cta { background: var(--navy); border-radius: var(--radius-lg); padding: 2.5rem; margin-top: 3.5rem; text-align: center; }
.article-cta h3 { color: #fff; font-size: 1.3rem; font-weight: 700; margin-bottom: .75rem; }
.article-cta p  { color: #94a3b8; font-size: .95rem; line-height: 1.75; margin-bottom: 1.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.article-nav { display: flex; align-items: center; justify-content: space-between; padding: 2rem 0; border-top: 1px solid var(--border); margin-top: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.article-nav a { font-size: .875rem; font-weight: 600; color: var(--blue); }
.article-nav a:hover { text-decoration: underline; }

/* ── DASHBOARD ─────────────────────────────────────────────── */
.dash-page { padding: 7rem 2rem 5rem; max-width: 1200px; margin: 0 auto; width: 100%; }
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.dash-header h1 { font-size: 1.8rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.dash-header p { font-size: .9rem; color: var(--text-light); margin-top: .25rem; }
.dash-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; width: 100%; }
.dash-sidebar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; position: sticky; top: 6rem; align-self: start; width: 100%; }
.dash-profile { padding: 1.75rem; border-bottom: 1px solid var(--border); }
.dash-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--sky); border: 3px solid var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: .875rem; color: var(--blue); }
.dash-avatar svg { width: 32px; height: 32px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.dash-uname { font-size: 1rem; font-weight: 700; color: var(--navy); }
.dash-uemail { font-size: .8rem; color: var(--text-light); margin-top: .2rem; }
.dash-plan-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .75rem; border-radius: 100px; margin-top: .75rem; }
.plan-free { background: var(--sky-mid); color: var(--blue); }
.plan-pro  { background: var(--green-bg); color: var(--green); }
.dash-nav  { padding: .75rem; }
.dash-nav-item { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border-radius: 10px; font-size: .875rem; font-weight: 500; color: var(--text-mid); cursor: none; transition: background .2s, color .2s; border: none; background: none; width: 100%; font-family: var(--sans); text-align: left; }
.dash-nav-item svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.dash-nav-item:hover  { background: var(--sky); color: var(--blue); }
.dash-nav-item.active { background: var(--sky); color: var(--blue); font-weight: 600; }
.dash-nav-divider { height: 1px; background: var(--border); margin: .5rem 0; }
.dash-signout { color: var(--red) !important; }
.dash-signout:hover { background: var(--red-bg) !important; }
.dash-main { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; overflow: hidden; }
.dash-section { display: none; flex-direction: column; gap: 1.25rem; }
.dash-section.active { display: flex; }
.dash-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.dash-card-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); margin-bottom: 1.25rem; }
.dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.dash-stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.dash-stat-n { font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -.04em; line-height: 1; }
.dash-stat-l { font-size: .8rem; color: var(--text-light); margin-top: .3rem; }
.scan-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.scan-table th { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); padding: .6rem .75rem; text-align: left; border-bottom: 1px solid var(--border); }
.scan-table td { font-size: .875rem; color: var(--text-mid); padding: .75rem; border-bottom: 1px solid var(--border); }
.scan-table tr:last-child td { border: none; }
.scan-table tr:hover td { background: var(--grey); }
.scan-grade { display: inline-block; font-weight: 700; font-size: .82rem; padding: .2rem .55rem; border-radius: 6px; background: var(--grey); }
.upgrade-card { background: linear-gradient(135deg, var(--navy) 0%, #1a3468 100%); border-radius: var(--radius-lg); padding: 2rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.upgrade-card h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.upgrade-card p  { font-size: .875rem; color: #94a3b8; line-height: 1.6; }
.upgrade-card .flex-1 { flex: 1; }
.upgrade-btn { flex-shrink: 0; font-size: .9rem; font-weight: 700; color: var(--navy); background: #fff; padding: .75rem 1.5rem; border-radius: 10px; white-space: nowrap; transition: opacity .2s; }
.upgrade-btn:hover { opacity: .9; }
.pro-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; }
.pro-feat { background: var(--grey); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; position: relative; }
.pro-feat.locked::after { content: 'PRO'; position: absolute; top: .75rem; right: .75rem; font-size: .65rem; font-weight: 700; color: var(--blue); background: var(--sky-mid); border: 1px solid #bfdbfe; padding: .15rem .5rem; border-radius: 100px; }
.pro-feat .feat-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--sky); border: 1px solid #bfdbfe; display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.pro-feat .feat-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; }
.pro-feat h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.pro-feat p  { font-size: .82rem; color: var(--text-light); line-height: 1.5; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-light); }
.empty-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--grey); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.empty-icon svg { width: 28px; height: 28px; stroke: var(--text-light); fill: none; stroke-width: 1.8; }
.empty-state p { font-size: .9rem; line-height: 1.7; }

/* ── AUTH ──────────────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 6rem 1.5rem 3rem; background: radial-gradient(ellipse 70% 70% at 50% 30%, rgba(59,130,246,.08) 0%, transparent 70%), linear-gradient(180deg, var(--sky) 0%, #fff 100%); }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.75rem 2.5rem; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: 2rem; }
.auth-logo img { width: 32px; height: 32px; object-fit: contain; }
.auth-logo-name { font-size: 1rem; font-weight: 800; color: var(--navy); }
.auth-logo-name span { color: var(--blue); }
.auth-title { font-size: 1.5rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; margin-bottom: .4rem; }
.auth-sub   { font-size: .9rem; color: var(--text-light); margin-bottom: 1.75rem; }
.auth-tabs { display: flex; gap: 0; background: var(--grey); border-radius: 10px; padding: .3rem; margin-bottom: 2rem; }
.auth-tab { flex: 1; text-align: center; padding: .55rem; border-radius: 8px; font-size: .875rem; font-weight: 600; color: var(--text-light); cursor: none; transition: background .2s, color .2s; border: none; background: none; font-family: var(--sans); }
.auth-tab.active { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.auth-group { margin-bottom: 1rem; }
.auth-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-mid); margin-bottom: .4rem; }
.auth-group input { width: 100%; font-family: var(--sans); font-size: .95rem; color: var(--text); background: var(--grey); border: 1.5px solid var(--border); border-radius: 10px; padding: .8rem 1rem; transition: border-color .2s, box-shadow .2s; }
.auth-group input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.auth-submit { width: 100%; font-family: var(--sans); font-size: .95rem; font-weight: 700; color: #fff; background: var(--blue); border: none; padding: .9rem; border-radius: 10px; cursor: none; box-shadow: var(--shadow-blue); transition: background .2s, transform .15s; margin-top: .5rem; }
.auth-submit:hover { background: #1d4ed8; transform: translateY(-1px); }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.auth-forgot { font-size: .82rem; color: var(--blue); text-align: right; display: block; margin-top: -.5rem; margin-bottom: .25rem; }
.auth-err { background: var(--red-bg); border: 1px solid #fecaca; border-radius: 8px; padding: .75rem 1rem; font-size: .85rem; color: var(--red); display: none; margin-bottom: 1rem; }
.auth-ok  { background: var(--green-bg); border: 1px solid #bbf7d0; border-radius: 8px; padding: .75rem 1rem; font-size: .85rem; color: var(--green); display: none; margin-bottom: 1rem; }
.auth-err.show, .auth-ok.show { display: block; }

/* ── TOOLS PAGE ────────────────────────────────────────────── */
.tools-page { max-width: 900px; margin: 0 auto; padding: 4rem 2rem 7rem; display: flex; flex-direction: column; gap: 2.5rem; }
.tool-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s; }
.tool-panel:hover { box-shadow: var(--shadow); }
.tool-panel-hd { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); background: var(--grey); }
.tool-panel-icon { width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tool-panel-icon svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-panel-title { font-size: 1rem; font-weight: 700; color: var(--navy); }
.tool-panel-desc  { font-size: .82rem; color: var(--text-light); margin-top: .2rem; line-height: 1.5; }
.tool-panel-body  { padding: 1.75rem 2rem; }
.tool-input-row { display: flex; gap: .75rem; margin-bottom: .875rem; }
.tool-input-row input { flex: 1; font-size: .95rem; font-family: var(--sans); color: var(--text); background: var(--grey); border: 1.5px solid var(--border); border-radius: 10px; padding: .75rem 1rem; transition: border-color .2s, box-shadow .2s; }
.tool-input-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.tool-run-btn { font-size: .875rem; font-weight: 700; color: #fff; background: var(--blue); border: none; padding: .75rem 1.25rem; border-radius: 10px; cursor: none; white-space: nowrap; box-shadow: 0 3px 12px rgba(26,86,219,.3); transition: background .2s, transform .15s; }
.tool-run-btn:hover { background: #1d4ed8; transform: translateY(-1px); }
.tool-run-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.tool-note { font-size: .82rem; color: var(--text-light); background: var(--sky); border: 1px solid #bfdbfe; border-radius: 8px; padding: .75rem 1rem; margin-bottom: 1rem; line-height: 1.6; }
.tool-note strong { color: var(--navy); }
.tool-err  { display: none; background: var(--red-bg); border: 1px solid #fecaca; border-radius: 10px; padding: .875rem 1rem; font-size: .85rem; color: var(--red); margin-top: .75rem; }
.tool-err.show { display: block; }
.tool-progress { display: none; margin: .75rem 0; }
.tool-progress.show { display: block; }
.tp-bar  { height: 4px; background: var(--sky-mid); border-radius: 100px; overflow: hidden; }
.tp-fill { height: 100%; background: var(--blue); border-radius: 100px; width: 0; transition: width .4s ease; }
.tp-lbl  { font-size: .78rem; color: var(--text-light); margin-top: .35rem; }
.tool-result { display: none; margin-top: 1.25rem; }
.tool-result.show { display: block; }
.t-res-card { background: var(--grey); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.t-res-hd { padding: 1rem 1.5rem; background: #fff; border-bottom: 1px solid var(--border); }
.t-res-title { font-size: .9rem; font-weight: 700; color: var(--navy); }
.t-res-sub   { font-size: .8rem; color: var(--text-light); margin-top: .15rem; }
.t-res-rows  { padding: .5rem 1.5rem; }
.t-row { display: flex; align-items: flex-start; justify-content: space-between; padding: .65rem 0; border-bottom: 1px solid var(--border); gap: 1rem; font-size: .875rem; }
.t-row:last-child { border: none; }
.t-row-lbl { color: var(--text-mid); font-weight: 500; flex-shrink: 0; max-width: 55%; }
.t-row-val { text-align: right; word-break: break-all; max-width: 45%; color: var(--text); }
.t-res-ft  { padding: .75rem 1.5rem; font-size: .75rem; color: var(--text-light); border-top: 1px solid var(--border); }
.pro-lock-wrap { position: relative; }
.pro-lock-overlay { position: absolute; inset: 0; background: rgba(255,255,255,.9); backdrop-filter: blur(4px); border-radius: var(--radius-xl); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; z-index: 10; padding: 2rem; text-align: center; }
.pro-lock-overlay .lock-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sky); border: 1px solid #bfdbfe; display: flex; align-items: center; justify-content: center; }
.pro-lock-overlay .lock-icon svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 2; }
.pro-lock-overlay p { font-size: .9rem; color: var(--text-mid); max-width: 260px; line-height: 1.6; }
.pro-lock-overlay a { font-size: .875rem; font-weight: 700; color: #fff; background: var(--blue); padding: .65rem 1.4rem; border-radius: 8px; }
.pro-lock-overlay.unlocked { display: none; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { justify-content: flex-start; }
  .hero-card  { max-width: 480px; }
  .commit-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-inner   { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
}
@media (max-width: 900px) {
  .dash-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .dash-sidebar { position: static; width: 100%; }
  .dash-main { min-width: 0; }
  .pro-features-grid { grid-template-columns: 1fr; }
  .scope-grid    { grid-template-columns: 1fr; }
  .aud-grid      { grid-template-columns: 1fr 1fr; }
  .blog-grid     { grid-template-columns: 1fr 1fr; }
  .testimonial-wrap { grid-template-columns: 1fr; }
  .upgrade-card  { flex-direction: column; }
  .pro-features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; position: absolute; top: 100%;
    left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem; gap: .15rem; z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .nav-right .btn-nav-ghost { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .tools-grid    { grid-template-columns: 1fr 1fr; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
  .dash-stats    { grid-template-columns: 1fr 1fr; }
  #hero { padding: 6rem 1.5rem 4rem; min-height: auto; }
  .section { padding: 4.5rem 1.5rem; }
}
@media (max-width: 500px) {
  .aud-grid      { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }
  .tools-grid    { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr; }
  .dash-stats    { grid-template-columns: 1fr; }
  .scan-input-row { flex-direction: column; }
  .tool-input-row { flex-direction: column; }
  .auth-card { padding: 2rem 1.5rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
}
