/* ============================================================
   DomSnap — Global Stylesheet
   Palette: blue + white (white-dominant), clean & professional
   ============================================================ */

:root {
  /* Brand */
  --blue-700: #1746c6;
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eef4ff;

  --navy-900: #0a1b3d;
  --navy-800: #0f2350;

  --ink:      #0f172a;
  --slate-700:#334155;
  --slate-600:#475569;
  --slate-500:#64748b;
  --slate-400:#94a3b8;

  --line:     #e6ebf3;
  --line-2:   #eef2f8;
  --surface:  #f6f9fd;
  --surface-2:#f0f5fc;
  --white:    #ffffff;

  --green:    #16a34a;
  --green-bg: #e7f6ee;
  --amber:    #d97706;
  --amber-bg: #fdf1e0;
  --red:      #dc2626;
  --red-bg:   #fdeaea;

  --shadow-sm: 0 1px 2px rgba(15, 35, 80, .06);
  --shadow:    0 6px 24px rgba(15, 35, 80, .08);
  --shadow-lg: 0 18px 50px rgba(15, 35, 80, .14);

  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --maxw: 1200px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: 74px 0; }
.section--tight { padding: 52px 0; }
.section--surface { background: var(--surface); }
.eyebrow {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-600);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue-500); border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 14px 0 12px; }
.section-head p { color: var(--slate-500); font-size: 1.04rem; }
.text-muted { color: var(--slate-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 12px 22px; border-radius: 11px; border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px rgba(29,78,216,.28); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(29,78,216,.34); }
.btn-ghost { background: #fff; color: var(--blue-700); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-700); transform: translateY(-2px); }
.btn-tg { background: #229ED9; color:#fff; box-shadow: 0 8px 20px rgba(34,158,217,.3); }
.btn-tg:hover { background: #1b8ec4; transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: .86rem; border-radius: 9px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .logo { height: 34px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--navy-900); letter-spacing: -.02em; }
.brand-name b { color: var(--blue-600); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  color: var(--slate-600); padding: 9px 14px; border-radius: 9px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--blue-700); background: var(--blue-50); }
.nav-links a.active { color: var(--blue-700); background: var(--blue-50); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; padding: 8px; }
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 18px 18px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(1200px 480px at 82% -8%, var(--blue-50), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%); }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center;
  padding: 78px 0 86px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); color: var(--navy-900); margin: 18px 0 18px; }
.hero h1 .hl { color: var(--blue-600); position: relative; }
.hero p.lead { font-size: 1.14rem; color: var(--slate-600); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .t-item strong { font-family: var(--font-display); font-size: 1.55rem; color: var(--navy-900); display: block; }
.hero-trust .t-item span { font-size: .84rem; color: var(--slate-500); }

/* Hero card — "domain snapshot" signature element */
.snapshot {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.snapshot::before {
  content: "LIVE SNAPSHOT"; position: absolute; top: -12px; left: 22px;
  font-family: var(--font-display); font-size: .66rem; font-weight: 600; letter-spacing: .13em;
  background: var(--blue-600); color: #fff; padding: 5px 11px; border-radius: 20px;
}
.snapshot-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.snapshot-domain { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: var(--navy-900); }
.snapshot-price { font-family: var(--font-display); font-weight: 700; color: var(--blue-600); font-size: 1.2rem; }
.snapshot-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.snap-metric { text-align: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 6px; }
.snap-metric .val { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.snap-metric .lbl { font-size: .66rem; letter-spacing: .09em; color: var(--slate-500); text-transform: uppercase; margin-top: 2px; }
.snap-foot { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 54px 0 60px; }
  .snapshot { max-width: 460px; }
}

/* ---------- Metric chips (signature) ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: .74rem;
  padding: 5px 10px; border-radius: 20px; border: 1px solid var(--line);
  background: var(--surface); color: var(--slate-600); letter-spacing: .02em;
}
.chip b { color: var(--navy-900); font-variant-numeric: tabular-nums; }
.chip--blue  { background: var(--blue-50);  border-color: var(--blue-100); color: var(--blue-700); }
.chip--green { background: var(--green-bg); border-color: #cfeeda; color: var(--green); }
.chip--amber { background: var(--amber-bg); border-color: #f6e0bd; color: var(--amber); }
.chip--red   { background: var(--red-bg);   border-color: #f6cccc; color: var(--red); }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px){ .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr;} }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dbe6f6; }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600); margin-bottom: 16px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.14rem; margin-bottom: 8px; }
.card p { color: var(--slate-500); font-size: .96rem; }

/* ---------- Education split (expired vs aged) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } }
.split .card { padding: 30px; }
.split .tag { display:inline-block; font-family: var(--font-display); font-weight:600; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--blue-700); background:var(--blue-50); padding:5px 11px; border-radius:20px; margin-bottom:14px; }
.split ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.split ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--slate-600); font-size: .95rem; }
.split ul li svg { width: 18px; height: 18px; color: var(--green); flex: 0 0 auto; margin-top: 3px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 820px){ .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 22px; background:#fff; border:1px solid var(--line); border-radius: var(--radius); }
.step .num { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color:#fff; background: var(--blue-600); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; }
.step h4 { font-size: 1.04rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--slate-500); }

/* ---------- Testimonials ---------- */
.quote { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.quote .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; font-size: .95rem; }
.quote p { color: var(--slate-700); font-size: .98rem; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); display:grid; place-items:center; font-family: var(--font-display); font-weight:700; }
.quote .who b { display:block; color: var(--ink); font-size: .92rem; }
.quote .who span { font-size: .82rem; color: var(--slate-500); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background:#fff; border:1px solid var(--line); border-radius: 12px; padding: 4px 20px; transition: border-color .15s; }
.faq details[open] { border-color: var(--blue-200, #c9dbf7); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 600; color: var(--ink); padding: 16px 0; display:flex; justify-content: space-between; align-items:center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue-500); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--slate-500); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); border-radius: var(--radius-lg); padding: 54px; text-align: center; color:#fff; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(600px 200px at 50% -30%, rgba(255,255,255,.16), transparent 70%); }
.cta-band h2 { color:#fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); position: relative; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 560px; margin: 12px auto 26px; position: relative; }
.cta-band .btn-primary { background:#fff; color: var(--blue-700); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.cta-band .btn-primary:hover { background:#f2f6ff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c3cede; padding: 62px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-name { color:#fff; }
.site-footer .brand-name b { color: var(--blue-400); }
.footer-about p { color: #90a0b8; font-size: .92rem; margin-top: 14px; max-width: 300px; }
.footer-social { display:flex; gap:10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display:grid; place-items:center; transition: background .15s; }
.footer-social a:hover { background: var(--blue-600); }
.footer-social a svg { width: 18px; height: 18px; color:#fff; }
.footer-col h5 { font-family: var(--font-display); color:#fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #90a0b8; font-size: .92rem; transition: color .15s; }
.footer-col a:hover { color:#fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; display:flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color:#7c8ba3; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); border-bottom: 1px solid var(--line); padding: 54px 0; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--navy-900); }
.page-hero p { color: var(--slate-500); margin-top: 12px; max-width: 620px; }
.breadcrumb { display:flex; gap: 8px; align-items:center; font-size: .85rem; color: var(--slate-400); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--blue-600); }

/* ---------- Utility ---------- */
.badge-index { display:inline-flex; align-items:center; gap:6px; font-size:.78rem; font-weight:600; }
.dot { width:8px;height:8px;border-radius:50%; display:inline-block; }
.dot.green{background:var(--green);} .dot.red{background:var(--red);} .dot.amber{background:var(--amber);}
.hidden { display: none !important; }
.center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mt-2 { margin-top: 16px; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
