/* ── DESIGN TOKENS ───────────────────────────────────── */
:root {
  --brand:      #1B4FD8;   /* deep blue */
  --brand-dark: #1340B8;
  --brand-light:#EEF3FF;
  --red:        #E63946;
  --red-dark:   #C8303C;
  --purple:     #7C3AED;
  --green:      #059669;

  --bg:         #F8FAFF;
  --white:      #FFFFFF;
  --surface:    #F1F5FD;
  --border:     #E2E8F4;
  --border-dark:#C7D4EC;

  --text:       #0F172A;
  --text-2:     #334155;
  --muted:      #64748B;
  --muted-light:#94A3B8;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.06);
  --shadow:    0 4px 16px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.05);
  --shadow-lg: 0 16px 48px rgba(15,23,42,0.12), 0 4px 16px rgba(15,23,42,0.08);
  --shadow-xl: 0 32px 80px rgba(15,23,42,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 0.925rem;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 20px rgba(27,79,216,0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.btn-ghost:hover { background: var(--surface); color: var(--brand); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  font-size: 0.925rem;
  font-weight: 700;
  padding: 9px 24px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s, transform 0.12s;
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--brand);
  font-size: 0.925rem;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  transition: box-shadow 0.18s, transform 0.12s;
  white-space: nowrap;
}
.btn-white:hover {
  box-shadow: 0 4px 16px rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }

.btn-block {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

nav.nav--scrolled {
  box-shadow: var(--shadow);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 2rem 100px;
  position: relative;
}

.hero-bg {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 700px;
  background: linear-gradient(135deg, #EEF3FF 0%, #F8FAFF 50%, #F0EBFF 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EEF3FF;
  border: 1px solid #C7D4EC;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.3);
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero-hl {
  color: var(--brand);
  position: relative;
  display: inline-block;
}

.hero-hl::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0; right: 0;
  height: 6px;
  background: #BFDBFE;
  border-radius: 3px;
  z-index: -1;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.trust-item svg {
  color: var(--green);
  flex-shrink: 0;
}

/* ── DASHBOARD MOCKUP ────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.dashboard-mockup {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  width: 100%;
  max-width: 440px;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-dark);
}

.mockup-bar span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}

.mockup-body {
  padding: 1.25rem;
}

.mockup-header {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 1.25rem;
}

.mockup-stat {
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
}
.mockup-stat--red    { background: #FEF2F2; }
.mockup-stat--orange { background: #FFF7ED; }
.mockup-stat--yellow { background: #FFFBEB; }
.mockup-stat--green  { background: #F0FDF4; }

.mockup-stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}
.mockup-stat--red    .mockup-stat-num { color: #DC2626; }
.mockup-stat--orange .mockup-stat-num { color: #EA580C; }
.mockup-stat--yellow .mockup-stat-num { color: #D97706; }
.mockup-stat--green  .mockup-stat-num { color: var(--green); }

.mockup-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mockup-findings {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

.mockup-finding {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
}
.mockup-finding--crit { background: #FEF2F2; border-color: #FECACA; }
.mockup-finding--high { background: #FFF7ED; border-color: #FED7AA; }
.mockup-finding--med  { background: #FFFBEB; border-color: #FDE68A; }

.mf-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}
.mockup-finding--crit .mf-badge { background: #DC2626; color: white; }
.mockup-finding--high .mf-badge { background: #EA580C; color: white; }
.mockup-finding--med  .mf-badge { background: #D97706; color: white; }

.mf-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-2);
}

.mockup-btn {
  background: var(--brand);
  color: white;
  text-align: center;
  padding: 9px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: default;
}

/* ── SECTION LAYOUT ──────────────────────────────────── */
.section {
  padding: 96px 2rem;
}

.section--light  { background: var(--bg); }
.section--white  { background: var(--white); }
.section--gradient {
  background: linear-gradient(135deg, var(--brand) 0%, #3B4FC8 50%, var(--purple) 100%);
}

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
  text-align: center;
}
.section-label--light { color: rgba(255,255,255,0.75); }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.section-title--light { color: #fff; }

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 3.5rem;
  font-size: 1rem;
  line-height: 1.7;
}
.section-sub--light { color: rgba(255,255,255,0.8); }

/* ── SERVICES ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card--featured {
  border-color: var(--brand);
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(27,79,216,0.1), var(--shadow);
}

.service-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon--red    { background: #FEF2F2; color: var(--red); }
.service-icon--blue   { background: #EEF3FF; color: var(--brand); }
.service-icon--purple { background: #F5F3FF; color: var(--purple); }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex: 1;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-2);
}

.service-features li::before {
  content: '';
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-price {
  font-size: 0.9rem;
  color: var(--text-2);
}
.service-price strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

/* ── WHY US ──────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.why-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  background: white;
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 0.875rem;
  line-height: 1;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── HOW IT WORKS ────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
}

.step-num {
  width: 52px; height: 52px;
  background: white;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
}

.step-connector {
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 52px;
}

/* ── CTA BANNER ──────────────────────────────────────── */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--brand) 0%, #3B4FC8 50%, var(--purple) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.07) 0%, transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 3.5rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: white;
  margin-bottom: 0.75rem;
}

.footer-logo .nav-logo-icon { background: var(--brand); }

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-links-col a:hover { color: white; }

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 60px 1.5rem 70px; }
  .hero p { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-trust { align-items: center; }
  .hero-visual { width: 100%; }
  .dashboard-mockup { max-width: 420px; margin: 0 auto; }

  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .section { padding: 64px 1.5rem; }

  .why-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .step-connector { transform: rotate(90deg); margin: 0; }

  .cta-banner { padding: 2.5rem 1.5rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; justify-content: center; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
}
