/* ============================================================
   ByteHostBD — Design Tokens
   Palette: deep signal-blue base, cyan pulse accent, warm amber
   used sparingly for "live" indicators only.
   Type: Space Grotesk (display) + Inter (body) + JetBrains Mono (data/specs)
   ============================================================ */

:root {
  --ink-950: #050b16;
  --ink-900: #0a1428;
  --ink-800: #101d38;
  --ink-700: #182a4d;
  --line: #22345c;
  --blue-500: #2f7dfa;
  --blue-400: #4e94ff;
  --cyan-400: #29e0ff;
  --cyan-300: #7cf0ff;
  --amber-400: #ffb547;
  --paper: #f5f8fd;
  --paper-dim: #c9d6ec;
  --text-dim: #8fa2c7;
  --paper-white: #ffffff;
  --ink-on-light: #0b1526;
  --text-dim-on-light: #5b6b8c;
  --line-light: #e3e8f4;
  --card-shadow-light: 0 10px 30px -14px rgba(15,35,70,0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

section[id] { scroll-margin-top: 84px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: #fff;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cyan-300); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan-300); box-shadow: 0 0 0 4px rgba(41,224,255,0.18);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: #04101f; box-shadow: 0 8px 24px -8px rgba(47,125,250,0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(47,125,250,0.75); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cyan-400); color: var(--cyan-300); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,11,22,0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px -18px rgba(0,0,0,0.7);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; min-width: 0; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; color: #04101f; font-size: 15px;
}
.brand-logo-img { height: 34px; width: auto; max-width: 160px; border-radius: 6px; object-fit: contain; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14.5px; font-weight: 500; color: var(--paper-dim); }
.nav-links a:hover { color: var(--cyan-300); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; font-size: 16px; flex-shrink: 0;
  transition: border-color .18s ease;
}
.theme-toggle:hover { border-color: var(--cyan-400); }
.theme-icon-light { display: none; }
html.light-mode .theme-icon-dark { display: none; }
html.light-mode .theme-icon-light { display: inline; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--paper);
  border-radius: 8px; padding: 8px 11px; cursor: pointer; font-size: 16px; line-height: 1;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* Progressively condense header controls as space shrinks */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .site-header .container { padding-left: 22px; }
  .nav { padding: 13px 0; gap: 8px; }
  .nav-cta { gap: 8px; }
  .brand { font-size: 16px; gap: 7px; }
  .brand-mark { width: 28px; height: 28px; font-size: 12px; border-radius: 7px; }
  .brand-logo-img { height: 28px; max-width: 110px; }
  .nav-cta .btn-primary.btn-sm { display: none; } /* "Order Now" moves into the drawer only on mobile */
  .nav-cta .btn-ghost.btn-sm { padding: 9px 14px; font-size: 13px; }
  .theme-toggle { width: 34px; height: 34px; font-size: 14px; }
  .nav-toggle { padding: 7px 10px; }
}

@media (max-width: 360px) {
  .nav-cta .btn-ghost.btn-sm { padding: 8px 11px; font-size: 12.5px; }
  .theme-toggle { width: 32px; height: 32px; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative; padding: 100px 0 80px; overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(47,125,250,0.35), transparent 60%),
    radial-gradient(ellipse 700px 500px at 90% 10%, rgba(41,224,255,0.18), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .hero { padding: 52px 0 48px; } }

.hero h1 { font-size: clamp(30px, 8vw, 54px); line-height: 1.12; margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--cyan-300), var(--blue-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--text-dim); font-size: 17px; max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-actions .btn { flex: 1 1 auto; justify-content: center; white-space: nowrap; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--paper-dim); font-family: var(--font-mono); }
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-400); }
@media (max-width: 380px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Signature element: live uptime terminal */
.uptime-console { background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6); }
.console-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--ink-800); border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.console-dots { display: flex; gap: 6px; margin-right: 8px; }
.console-dots span { width: 9px; height: 9px; border-radius: 50%; display: block; }
.console-dots span:nth-child(1) { background: #ff5f57; }
.console-dots span:nth-child(2) { background: #febc2e; }
.console-dots span:nth-child(3) { background: #28c840; }
.console-body { padding: 22px 20px; font-family: var(--font-mono); font-size: 13px; }
.console-line { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.console-line:last-child { border-bottom: none; }
.console-node { color: var(--paper-dim); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(41,224,255,0.1); color: var(--cyan-300); font-size: 11px; }
.status-pill.warn { background: rgba(255,181,71,0.12); color: var(--amber-400); }
.status-pill .blip { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }
.console-footer { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.console-footer strong { color: var(--cyan-300); }

/* Signature element: feature/benefit highlight card */
.feature-card {
  background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 8px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.feature-card-head { padding: 14px 16px 6px; }
.feature-card-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cyan-300); background: rgba(41,224,255,0.1);
  padding: 5px 12px; border-radius: 999px;
}
.feature-list { display: flex; flex-direction: column; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px;
  border-top: 1px dashed var(--line);
}
.feature-list li:first-child { border-top: none; }
.feature-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px;
  background: rgba(47,125,250,0.14); display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.feature-list strong { display: block; font-family: var(--font-display); font-size: 15px; color: #fff; margin-bottom: 3px; }
.feature-list p { margin: 0; font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* ---------------- Domain Search ---------------- */
.domain-search-card {
  background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.domain-search-head { max-width: 420px; }
.domain-search-head h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 4px 0 8px; }
.domain-search-head p { color: var(--text-dim); font-size: 14.5px; margin: 0; }
.domain-search-form { display: flex; gap: 10px; flex: 1 1 420px; min-width: 280px; flex-wrap: wrap; }
.domain-search-form input[type="text"] {
  flex: 1 1 200px; min-width: 160px; padding: 13px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--ink-800); color: var(--paper);
  font-family: var(--font-body); font-size: 14.5px;
}
.domain-search-form select {
  padding: 13px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--ink-800); color: var(--paper); font-family: var(--font-mono); font-size: 14px;
}
.domain-search-form input[type="text"]:focus,
.domain-search-form select:focus { outline: none; border-color: var(--cyan-400); }
.domain-search-form .btn { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 700px) {
  .domain-search-card { padding: 28px 22px; flex-direction: column; align-items: stretch; }
  .domain-search-form { flex: 0 0 auto; flex-direction: column; }
  .domain-search-form input[type="text"],
  .domain-search-form select,
  .domain-search-form .btn { flex: 0 0 auto; width: 100%; }
}

/* ---------------- Stats ---------------- */
.stats-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-900); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 30px 0; }
.stat { text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; }
.stat .label { font-size: 12.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .stat:nth-child(2n) { border-right: none; }
}

/* ---------------- Section shared ---------------- */
.section { padding: 90px 0; }
@media (max-width: 700px) { .section { padding: 56px 0; } }
.section-head { max-width: 620px; margin-bottom: 46px; }
@media (max-width: 700px) { .section-head { margin-bottom: 32px; } }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); }
.section-head p { color: var(--text-dim); margin-top: 12px; font-size: 15.5px; }
.section-alt { background: var(--ink-900); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------------- Services grid ---------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.card { background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: var(--blue-400); transform: translateY(-3px); }
.card .icon { width: 46px; height: 46px; border-radius: 11px; background: rgba(47,125,250,0.14); display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 16px; }
.card h3 { font-size: 17.5px; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 14px; margin: 0; }

/* ---------------- Why choose ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.why-item .icon { font-size: 24px; margin-bottom: 12px; }
.why-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.why-item p { color: var(--text-dim); font-size: 13.5px; margin: 0; }

/* ---------------- Plans / Pricing ---------------- */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans-grid { grid-template-columns: 1fr; } }
.plan-card { background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 22px; position: relative; display: flex; flex-direction: column; }
.plan-card.popular { border-color: var(--cyan-400); box-shadow: 0 0 0 1px var(--cyan-400), 0 20px 40px -18px rgba(41,224,255,0.35); }
.plan-tier { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); }
.plan-card.popular .plan-tier { color: var(--cyan-300); }
.plan-name { font-size: 19px; margin: 8px 0 18px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.plan-price .amount { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: #fff; }
.plan-price .cycle { font-size: 13px; color: var(--text-dim); }
.plan-specs { flex: 1; margin-bottom: 22px; }
.plan-specs li { font-size: 13.5px; color: var(--paper-dim); padding: 7px 0; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 8px; }
.plan-specs li:first-child { border-top: none; }
.plan-specs li::before { content: '✓'; color: var(--cyan-400); font-weight: 700; }
.badge-popular { position: absolute; top: -12px; right: 22px; background: linear-gradient(135deg, var(--blue-500), var(--cyan-400)); color: #04101f; font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* ---------------- Testimonials ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.testi-stars { color: var(--amber-400); font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.testi-card p.quote { font-size: 14.5px; color: var(--paper-dim); margin-bottom: 18px; }
.testi-person { display: flex; align-items: center; gap: 10px; }
.testi-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--cyan-400)); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: #04101f; }
.testi-person .name { font-size: 14px; font-weight: 600; color: #fff; }
.testi-person .role { font-size: 12px; color: var(--text-dim); }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.contact-card .icon { font-size: 22px; margin-bottom: 12px; }
.contact-card h4 { font-size: 15.5px; margin-bottom: 4px; }
.contact-card p { color: var(--text-dim); font-size: 13.5px; margin-bottom: 10px; }
.contact-card a.link { color: var(--cyan-300); font-size: 14px; font-weight: 500; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--ink-950); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer-grid h5 { color: #fff; font-size: 13.5px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul li a { color: var(--text-dim); font-size: 14px; }
.footer-grid ul li a:hover { color: var(--cyan-300); }
.footer-about p { color: var(--text-dim); font-size: 13.5px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.footer-social a:hover { border-color: var(--cyan-400); color: var(--cyan-300); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--text-dim); }
.footer-bottom a { margin-left: 16px; }
.footer-bottom a:hover { color: var(--cyan-300); }

/* Utility: focus visibility */
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 2px; }

/* ---------------- Nav dropdown (desktop) ---------------- */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  background: none; border: none; cursor: pointer; appearance: none; -webkit-appearance: none;
  font-family: inherit; font-size: inherit; font-weight: 500; color: var(--paper-dim);
  display: flex; align-items: center; gap: 5px; padding: 0;
}
.nav-dropdown-trigger:hover, .nav-dropdown.open .nav-dropdown-trigger { color: var(--cyan-300); }
.nav-dropdown-trigger .caret { font-size: 10px; transition: transform .15s ease; }
.nav-dropdown.open .nav-dropdown-trigger .caret { transform: rotate(180deg); }
.nav-dropdown-panel {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%);
  min-width: 210px; background: var(--ink-900); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 8px; box-shadow: 0 20px 40px -14px rgba(0,0,0,0.55);
  display: none; flex-direction: column; gap: 2px; z-index: 200;
}
.nav-dropdown.open .nav-dropdown-panel { display: flex; }
.nav-dropdown-panel a { padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--paper-dim); font-weight: 500; }
.nav-dropdown-panel a:hover { background: var(--ink-800); color: var(--cyan-300); }

/* ---------------- Pricing tabs ---------------- */
.plan-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.plan-tab {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--ink-900); color: var(--paper-dim); font-family: var(--font-display);
  font-weight: 600; font-size: 13.5px; cursor: pointer; transition: all .18s ease;
}
.plan-tab:hover { border-color: var(--blue-400); color: var(--paper); }
.plan-tab.active { background: linear-gradient(135deg, var(--blue-500), var(--cyan-400)); color: #04101f; border-color: transparent; }
.plan-panel { display: none; }
.plan-panel.active { display: block; }

/* Mobile nav drawer */
.mobile-drawer {
  display: none; flex-direction: column;
  border-bottom: 1px solid var(--line); background: var(--ink-900);
  max-height: calc(100vh - 64px); overflow-y: auto;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim);
}
.mobile-drawer-close {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line);
  background: transparent; color: var(--paper); font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mobile-drawer-links { padding: 4px 20px 8px; }
.mobile-drawer a {
  padding: 13px 2px; color: var(--paper-dim); font-size: 15.5px;
  border-bottom: 1px solid rgba(34,52,92,0.5);
}
.mobile-drawer a:last-child { border-bottom: none; }
.mobile-drawer a:hover, .mobile-drawer a:active { color: var(--cyan-300); }
.mobile-drawer-group {
  padding: 14px 0 4px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--cyan-300); font-family: var(--font-mono); font-weight: 600;
  border-top: 1px solid rgba(34,52,92,0.5); margin-top: 4px;
}
.mobile-drawer-group:first-child { border-top: none; margin-top: 0; }
.mobile-drawer-child { padding-left: 16px !important; font-size: 14.5px !important; position: relative; }
.mobile-drawer-child::before {
  content: ''; position: absolute; left: 2px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--line);
}
.mobile-drawer-actions {
  display: flex; gap: 10px; padding: 16px 20px 20px; border-top: 1px solid var(--line);
  background: var(--ink-800);
}
.mobile-drawer-actions .btn { flex: 1; justify-content: center; }

/* ============================================================
   LIGHT SECTION VARIANT
   .section-light marks: Domain Search, Services, Pricing, Contact.
   By default (dark mode) these sections stay dark like the rest of the page —
   this styling only activates once html.light-mode is toggled on.
   ============================================================ */
html.light-mode .section-light {
  background: var(--paper-white);
  color: var(--ink-on-light);
}
html.light-mode .section-light h1,
html.light-mode .section-light h2,
html.light-mode .section-light h3,
html.light-mode .section-light h4 { color: var(--ink-on-light); }
html.light-mode .section-light .section-head p { color: var(--text-dim-on-light); }
html.light-mode .section-light .eyebrow { color: var(--blue-500); }
html.light-mode .section-light .eyebrow::before { background: var(--blue-500); box-shadow: 0 0 0 4px rgba(47,125,250,0.15); }

html.light-mode .section-light .btn-ghost { color: var(--ink-on-light); border-color: var(--line-light); }
html.light-mode .section-light .btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-500); }

/* Services cards */
html.light-mode .section-light .card { background: #fff; border-color: var(--line-light); box-shadow: var(--card-shadow-light); }
html.light-mode .section-light .card:hover { border-color: var(--blue-400); box-shadow: 0 16px 36px -16px rgba(15,35,70,0.18); }
html.light-mode .section-light .card h3 { color: var(--ink-on-light); }
html.light-mode .section-light .card p { color: var(--text-dim-on-light); }

/* Pricing tabs + cards */
html.light-mode .section-light .plan-tab { background: #fff; border-color: var(--line-light); color: var(--text-dim-on-light); }
html.light-mode .section-light .plan-tab:hover { border-color: var(--blue-400); color: var(--ink-on-light); }
html.light-mode .section-light .plan-tab.active { color: #04101f; }
html.light-mode .section-light .plan-card { background: #fff; border-color: var(--line-light); box-shadow: var(--card-shadow-light); }
html.light-mode .section-light .plan-card.popular { box-shadow: 0 0 0 1px var(--cyan-400), 0 20px 40px -18px rgba(41,224,255,0.22); }
html.light-mode .section-light .plan-tier { color: var(--text-dim-on-light); }
html.light-mode .section-light .plan-price .amount { color: var(--ink-on-light); }
html.light-mode .section-light .plan-price .cycle { color: var(--text-dim-on-light); }
html.light-mode .section-light .plan-specs li { color: var(--text-dim-on-light); border-top-color: var(--line-light); }

/* Domain search card */
html.light-mode .section-light .domain-search-card { background: #fff; border-color: var(--line-light); box-shadow: var(--card-shadow-light); }
html.light-mode .section-light .domain-search-head p { color: var(--text-dim-on-light); }
html.light-mode .section-light .domain-search-form input[type="text"],
html.light-mode .section-light .domain-search-form select { background: #f5f8fc; border-color: var(--line-light); color: var(--ink-on-light); }
html.light-mode .section-light .domain-search-form input[type="text"]::placeholder { color: #9aa7c2; }

/* Contact cards */
html.light-mode .section-light .contact-card { background: #fff; border-color: var(--line-light); box-shadow: var(--card-shadow-light); }
html.light-mode .section-light .contact-card h4 { color: var(--ink-on-light); }
html.light-mode .section-light .contact-card p { color: var(--text-dim-on-light); }
html.light-mode .section-light .contact-card a.link { color: var(--blue-500); }
html.light-mode .section-light .contact-card a.link:hover { color: var(--blue-400); }

/* ---------------- Final mobile polish pass ---------------- */
@media (max-width: 420px) {
  .card, .plan-card, .contact-card, .testi-card { padding: 20px 18px; }
  .domain-search-card { padding: 24px 18px; }
  .why-grid, .services-grid, .plans-grid, .testi-grid, .contact-grid { gap: 14px; }
  .hero-badges { gap: 14px 18px; }
  .eyebrow { font-size: 11px; }
}

/* ============================================================
   THEME TOGGLE — full light mode
   Applied via html.light-mode (toggled by the header sun/moon button).
   By default (no light-mode class) the entire page is dark, including
   Domain Search/Services/Pricing/Contact (.section-light sections) —
   they only turn light once this toggle is switched on, same as
   Hero, Stats bar, Why Us, Testimonials, and the Footer.
   ============================================================ */
html.light-mode body { background: #ffffff; color: var(--ink-on-light); }

html.light-mode h1, html.light-mode h2, html.light-mode h3, html.light-mode h4 { color: var(--ink-on-light); }
html.light-mode .eyebrow { color: var(--blue-500); }
html.light-mode .eyebrow::before { background: var(--blue-500); box-shadow: 0 0 0 4px rgba(47,125,250,0.15); }
html.light-mode .btn-ghost { color: var(--ink-on-light); border-color: var(--line-light); }
html.light-mode .btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-500); }

/* Header */
html.light-mode .site-header { background: rgba(255,255,255,0.88); border-bottom-color: var(--line-light); box-shadow: 0 8px 24px -18px rgba(15,35,70,0.25); }
html.light-mode .brand { color: var(--ink-on-light); }
html.light-mode .nav-links { color: var(--text-dim-on-light); }
html.light-mode .nav-links a:hover { color: var(--blue-500); }
html.light-mode .nav-toggle, html.light-mode .theme-toggle { border-color: var(--line-light); color: var(--ink-on-light); }
html.light-mode .nav-dropdown-trigger { color: var(--text-dim-on-light); }
html.light-mode .nav-dropdown-trigger:hover, html.light-mode .nav-dropdown.open .nav-dropdown-trigger { color: var(--blue-500); }
html.light-mode .nav-dropdown-panel { background: #fff; border-color: var(--line-light); box-shadow: var(--card-shadow-light); }
html.light-mode .nav-dropdown-panel a { color: var(--text-dim-on-light); }
html.light-mode .nav-dropdown-panel a:hover { background: #f3f6fc; color: var(--blue-500); }
html.light-mode .mobile-drawer { background: #fff; border-bottom-color: var(--line-light); }
html.light-mode .mobile-drawer-header { border-bottom-color: var(--line-light); color: var(--text-dim-on-light); }
html.light-mode .mobile-drawer-close { border-color: var(--line-light); color: var(--ink-on-light); }
html.light-mode .mobile-drawer a { color: var(--text-dim-on-light); border-bottom-color: var(--line-light); }
html.light-mode .mobile-drawer a:hover, html.light-mode .mobile-drawer a:active { color: var(--blue-500); }
html.light-mode .mobile-drawer-group { color: var(--blue-500); border-top-color: var(--line-light); }
html.light-mode .mobile-drawer-child::before { background: var(--line-light); }
html.light-mode .mobile-drawer-actions { background: #f3f6fc; border-top-color: var(--line-light); }

/* Hero */
html.light-mode .hero { background: #ffffff; }
html.light-mode .hero p.lead { color: var(--text-dim-on-light); }
html.light-mode .hero-badge { color: var(--text-dim-on-light); }
html.light-mode .feature-card { background: #fff; border-color: var(--line-light); box-shadow: var(--card-shadow-light); }
html.light-mode .feature-card-tag { background: rgba(47,125,250,0.10); color: var(--blue-500); }
html.light-mode .feature-list li { border-top-color: var(--line-light); }
html.light-mode .feature-list strong { color: var(--ink-on-light); }
html.light-mode .feature-list p { color: var(--text-dim-on-light); }

/* Stats bar */
html.light-mode .stats-bar { background: #f3f6fc; border-color: var(--line-light); }
html.light-mode .stat { border-color: var(--line-light); }
html.light-mode .stat .num { color: var(--ink-on-light); }
html.light-mode .stat .label { color: var(--text-dim-on-light); }

/* Why Us + Testimonials (both use .section-alt) */
html.light-mode .section-alt { background: #f3f6fc; border-color: var(--line-light); }
html.light-mode .why-item p { color: var(--text-dim-on-light); }
html.light-mode .testi-card { background: #fff; border-color: var(--line-light); box-shadow: var(--card-shadow-light); }
html.light-mode .testi-card p.quote { color: var(--text-dim-on-light); }
html.light-mode .testi-person .name { color: var(--ink-on-light); }
html.light-mode .testi-person .role { color: var(--text-dim-on-light); }

/* Footer */
html.light-mode .site-footer { background: #fff; border-top-color: var(--line-light); }
html.light-mode .footer-grid h5 { color: var(--ink-on-light); }
html.light-mode .footer-grid ul li a { color: var(--text-dim-on-light); }
html.light-mode .footer-grid ul li a:hover { color: var(--blue-500); }
html.light-mode .footer-about p { color: var(--text-dim-on-light); }
html.light-mode .footer-social a { border-color: var(--line-light); color: var(--ink-on-light); }
html.light-mode .footer-social a:hover { border-color: var(--blue-400); color: var(--blue-500); }
html.light-mode .footer-bottom { border-top-color: var(--line-light); color: var(--text-dim-on-light); }
html.light-mode .footer-bottom a:hover { color: var(--blue-500); }
