/* ---------- Tokens ---------- */
:root {
  --indigo-700: #4338CA;
  --indigo-600: #4F46E5;
  --indigo-500: #6366F1;
  --indigo-100: #E0E7FF;
  --indigo-50:  #EEF2FF;

  --navy-950: #070B16;
  --navy-900: #0B1120;
  --navy-800: #131B2E;

  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;

  --emerald-600: #059669;
  --emerald-500: #10B981;
  --emerald-50:  #ECFDF5;

  --amber-500: #F59E0B;
  --red-600: #DC2626;
  --red-50: #FEF2F2;

  --white: #FFFFFF;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.14);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
code, pre { font-family: var(--font-mono); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 768px) {
  section { padding: 56px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo-600);
  background: var(--indigo-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--slate-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--indigo-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--indigo-700); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--slate-200); color: var(--slate-900); }
.btn-outline:hover { border-color: var(--indigo-500); color: var(--indigo-600); }
.btn-white { background: var(--white); color: var(--indigo-700); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--slate-900);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-500));
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--slate-600); }
.main-nav a:not(.btn):hover, .main-nav a.active:not(.btn) { color: var(--indigo-600); }
.nav-divider { width: 1px; height: 20px; background: var(--slate-200); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--slate-900); border-radius: 2px; }

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 14px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .nav-divider { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1100px 500px at 50% -10%, #EEF2FF 0%, rgba(238,242,255,0) 60%), var(--white);
  padding: 96px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero h1 {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--indigo-600); }
.hero p.lead { margin-top: 20px; font-size: 18px; color: var(--slate-600); max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { margin-top: 28px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--slate-600); }
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.dot-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-500); display: inline-block; }

.code-card {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--navy-800);
}
.code-card-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.code-card-head span { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.code-card-head .fname { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--slate-400); }
.code-card pre {
  margin: 0; padding: 22px;
  font-size: 13px; line-height: 1.7;
  color: #E2E8F0;
  overflow-x: auto;
}
.code-card .c1 { color: #94A3B8; }
.code-card .c2 { color: #7DD3FC; }
.code-card .c3 { color: #A7F3D0; }
.code-card .c4 { color: #FCA5A5; }
.code-card .c5 { color: #FDE68A; }

/* ---------- Logos / trust strip ---------- */
.trust-strip { padding: 36px 0; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.trust-strip .container { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--slate-600); font-size: 14px; font-weight: 600; }
.trust-item svg { color: var(--indigo-600); }

/* ---------- Feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 > *, .grid-2 > *, .grid-4 > *, .dash-grid > *, .contact-grid > *, .pricing-grid > * { min-width: 0; }
@media (max-width: 900px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } .hero-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 38px; } }

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--indigo-50);
  color: var(--indigo-600);
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--slate-600); font-size: 15px; }
.card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.card ul li { font-size: 14px; color: var(--slate-600); display: flex; gap: 8px; align-items: flex-start; }
.card ul li svg { flex-shrink: 0; margin-top: 3px; color: var(--emerald-500); }

.section-dark {
  background: var(--navy-900);
  color: var(--white);
}
.section-dark .section-head h2 { color: var(--white); }
.section-dark .section-head p { color: #94A3B8; }
.section-dark .card { background: var(--navy-800); border-color: rgba(255,255,255,0.08); }
.section-dark .card h3 { color: var(--white); }
.section-dark .card p, .section-dark .card ul li { color: #94A3B8; }
.section-dark .card-icon { background: rgba(99,102,241,0.15); color: #A5B4FC; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 4px; }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--indigo-600); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--slate-600); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--indigo-700), var(--indigo-500));
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  color: var(--white);
}
.cta-band h2 { font-size: 30px; font-weight: 800; }
.cta-band p { margin-top: 12px; color: var(--indigo-100); font-size: 16px; }
.cta-band .hero-cta { justify-content: center; margin-top: 26px; }

/* ---------- Pricing ---------- */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 8px 0 44px; font-size: 14px; color: var(--slate-600); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.price-card.featured {
  border-color: var(--indigo-600);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-8px);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--indigo-600); color: var(--white);
  font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 18px; font-weight: 700; }
.price-card .tagline { color: var(--slate-600); font-size: 14px; margin-top: 6px; min-height: 40px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin: 22px 0 4px; }
.price-amount .num { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.price-amount .per { color: var(--slate-400); font-size: 14px; }
.price-vol { font-size: 13px; color: var(--slate-600); margin-bottom: 22px; }
.price-card .btn { margin-bottom: 24px; }
.price-features { display: flex; flex-direction: column; gap: 12px; }
.price-features li { display: flex; gap: 10px; font-size: 14px; color: var(--slate-700); align-items: flex-start; }
.price-features li svg { flex-shrink: 0; margin-top: 3px; color: var(--emerald-500); }

.compare-table { width: 100%; border-collapse: collapse; margin-top: 64px; font-size: 14px; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--slate-200); text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--slate-700); }
.compare-table thead th { font-weight: 700; color: var(--slate-900); }
.compare-table tbody tr:hover { background: var(--slate-50); }
.table-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-item summary {
  padding: 20px 4px; cursor: pointer; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--slate-400); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 4px 20px; color: var(--slate-600); font-size: 15px; }

/* ---------- Forms / Auth ---------- */
.auth-wrap {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 24px;
  background: var(--slate-50);
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.auth-card h1 { font-size: 24px; font-weight: 800; }
.auth-card .subtitle { margin-top: 8px; color: var(--slate-600); font-size: 15px; }
.auth-card .switch { margin-top: 24px; text-align: center; font-size: 14px; color: var(--slate-600); }
.auth-card .switch a { color: var(--indigo-600); font-weight: 600; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.form-group .hint { font-size: 13px; color: var(--slate-400); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

input[type=text], input[type=email], input[type=password], textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--slate-900);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 3px var(--indigo-100);
}
textarea { resize: vertical; min-height: 120px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--slate-600); }
.checkbox-row input { margin-top: 3px; }
.checkbox-row a { color: var(--indigo-600); font-weight: 600; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; margin: 18px 0; border: 1px solid transparent; }
.alert-success { background: var(--emerald-50); color: var(--emerald-600); border-color: #A7F3D0; }
.alert-error { background: var(--red-50); color: var(--red-600); border-color: #FECACA; }
.alert-info { background: var(--indigo-50); color: var(--indigo-700); border-color: var(--indigo-100); }

/* ---------- Simple content pages ---------- */
.page-hero { padding: 72px 0 20px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; }
.page-hero p { margin-top: 16px; font-size: 17px; color: var(--slate-600); max-width: 640px; margin-left: auto; margin-right: auto; }

.value-row { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--slate-200); }
.value-row:last-child { border-bottom: none; }
.value-row .num { font-size: 14px; font-weight: 700; color: var(--indigo-600); width: 32px; flex-shrink: 0; }
.value-row h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.value-row p { color: var(--slate-600); font-size: 15px; }

.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
@media (max-width: 700px) { .stat-strip { grid-template-columns: 1fr; } }
.stat-strip .num { font-size: 36px; font-weight: 800; color: var(--indigo-600); }
.stat-strip .label { color: var(--slate-600); font-size: 14px; margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info-item .card-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-info-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: var(--slate-600); font-size: 14px; }

/* ---------- Dashboard ---------- */
.dash-shell { background: var(--slate-50); min-height: 70vh; padding: 48px 0 80px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.dash-head h1 { font-size: 28px; font-weight: 800; }
.dash-head p { color: var(--slate-600); margin-top: 6px; }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }
.panel { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 28px; margin-bottom: 24px; }
.panel h2 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.panel .sub { color: var(--slate-600); font-size: 14px; margin-bottom: 18px; }

.key-box {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--navy-900); color: #A7F3D0;
  font-family: var(--font-mono); font-size: 14px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  overflow-x: auto;
}
.copy-btn { background: rgba(255,255,255,0.1); color: var(--white); border: none; border-radius: 6px; padding: 8px 12px; font-size: 12px; font-weight: 600; cursor: pointer; flex-shrink: 0; }
.copy-btn:hover { background: rgba(255,255,255,0.2); }

.domain-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--slate-200); }
.domain-row:last-child { border-bottom: none; }
.domain-row .dname { font-weight: 600; font-size: 14px; }
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge-pending { background: #FEF3C7; color: #92400E; }
.badge-verified { background: var(--emerald-50); color: var(--emerald-600); }
.dns-hint { background: var(--slate-50); border: 1px dashed var(--slate-200); border-radius: var(--radius-sm); padding: 14px; font-family: var(--font-mono); font-size: 12.5px; margin-top: 10px; overflow-x: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #CBD5E1; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p { margin-top: 14px; font-size: 14px; color: #94A3B8; max-width: 280px; }
.footer-brand .logo { color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: #94A3B8; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; font-size: 13px; color: #64748B; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
