:root {
  --navy:   #0a1628;
  --blue:   #1a3a6b;
  --accent: #2563eb;
  --green:  #16a34a;
  --light:  #f8fafc;
  --muted:  #64748b;
  --border: #e2e8f0;
  --text:   #1e293b;
  --font:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 70px; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; }

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .8; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: baseline; text-decoration: none; }
.nav-logo-name { font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: .03em; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 14px; color: var(--muted); text-decoration: none; transition: color .15s; }
.nav-link:hover { color: var(--text); opacity: 1; }
.nav-back { font-size: 14px; color: var(--muted); text-decoration: none; }
.nav-back:hover { color: var(--text); opacity: 1; }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #1a3a6b 60%, #1e4d8c 100%);
  color: #fff; padding: 100px 40px 90px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px; padding: 5px 14px; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8);
  margin-bottom: 28px;
}
.hero-eyebrow span { color: #4ade80; font-weight: 700; }
.hero h1 {
  font-size: clamp(32px, 5vw, 58px); font-weight: 800;
  line-height: 1.1; letter-spacing: -.02em; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: #4ade80; }
.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px); color: rgba(255,255,255,.75);
  max-width: 560px; margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.btn-primary {
  background: var(--accent); color: #fff; border: none; border-radius: 8px;
  padding: 13px 28px; font-size: 15px; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: background .15s, transform .1s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); opacity: 1; }
.btn-outline {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.35); border-radius: 8px;
  padding: 13px 28px; font-size: 15px; font-weight: 500; cursor: pointer;
  text-decoration: none; transition: border-color .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: rgba(255,255,255,.75); opacity: 1; }

/* ── Sections ── */
section { padding: 80px 40px; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 36px); font-weight: 800;
  line-height: 1.2; letter-spacing: -.02em; color: var(--navy); margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--muted); max-width: 560px; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ── Stats bar ── */
.stats-bar {
  background: var(--navy); padding: 0 40px;
  display: flex; justify-content: center; flex-wrap: wrap;
}
.stat-item {
  padding: 28px 48px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 28px; font-weight: 800; color: #4ade80; letter-spacing: -.02em; }
.stat-label { font-size: 11px; color: rgba(255,255,255,.45); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }

/* ── Cards ── */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 48px;
}
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 32px; position: relative; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
}
.card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-icon { font-size: 28px; margin-bottom: 16px; }
.card-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }
.card-badge {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 2px 8px; border-radius: 10px;
  background: rgba(37,99,235,.1); color: var(--accent); margin-bottom: 12px;
}
.card-link {
  display: inline-block; margin-top: 20px; font-size: 14px;
  font-weight: 600; color: var(--accent);
}

/* ── Domain label pill ── */
.domain-label {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 20px;
  background: rgba(37,99,235,.08); color: var(--accent);
  border: 1px solid rgba(37,99,235,.2); margin-bottom: 10px;
}

/* ── Product cards (home page tools section) ── */
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 36px; position: relative; overflow: hidden;
  transition: box-shadow .2s, transform .2s; cursor: pointer;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #4ade80);
}
.product-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.1); transform: translateY(-2px); }
/* Card click handled via JS — no CSS stretched link needed */
.product-name { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: .02em; margin-bottom: 4px; }
.product-tagline { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.product-desc { font-size: 15px; color: var(--text); line-height: 1.65; margin-bottom: 24px; }
.product-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ── CTA banner ── */
.cta-section {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  text-align: center;
}
.cta-section .section-title { color: var(--navy); }
.cta-section .section-sub { color: var(--muted); margin: 12px auto 32px; }

/* ── Footer ── */
footer {
  background: var(--navy); color: rgba(255,255,255,.4);
  padding: 40px 40px 24px; font-size: 13px;
}
.footer-top {
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-brand-name { font-size: 15px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 4px; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,.35); max-width: 240px; line-height: 1.5; }
.footer-heading { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 4px; }
footer a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; transition: color .15s; }
footer a:hover { color: rgba(255,255,255,.9); opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,.25); line-height: 1.6; max-width: 560px; text-align: right; }

/* ── Utilities ── */
.bg-light { background: var(--light); }

@media (max-width: 700px) {
  /* Nav */
  nav { padding: 0 20px; height: auto; min-height: 56px; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .nav-logo-tag { display: none; }
  .nav-right { gap: 16px; }
  .nav-link, .nav-back { font-size: 13px; }

  /* Hero */
  .hero { padding: 56px 20px 48px; }
  .hero h1 { font-size: 36px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; justify-content: center; }

  /* Sections */
  section { padding: 48px 20px; }
  .section-title { font-size: 26px; }

  /* Stats bar */
  .stats-bar { padding: 0; }
  .stat-item { flex: 1 1 50%; padding: 18px 16px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }

  /* Cards grids — single column */
  .cards-grid { grid-template-columns: 1fr !important; gap: 16px; }

  /* Product cards */
  .product-card { padding: 24px; }
  .product-cta { flex-direction: column; align-items: flex-start; }
  .product-cta .btn-primary { width: 100%; justify-content: center; }

  /* Footer */
  footer { padding: 32px 20px 20px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-tagline { max-width: 100%; }
  .footer-disclaimer { text-align: left; max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
