/* =========================================================
   HostPro — Design System
   Mobile-first · Light/Dark · Accessible
   ========================================================= */

:root {
  /* Brand */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-soft: #eef2ff;
  --accent: #06b6d4;
  --accent-dark: #0891b2;

  /* Neutrals (light) */
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-elev: #ffffff;
  --bg-glass: rgba(255,255,255,0.78);
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #94a3b8;
  --border: #e5e7eb;
  --border-strong: #cbd5e1;

  /* Status */
  --success: #10b981;
  --success-soft: #d1fae5;
  --danger: #ef4444;
  --danger-soft: #fee2e2;
  --warning: #f59e0b;
  --warning-soft: #fef3c7;
  --info: #3b82f6;

  /* Shape */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
  --shadow: 0 4px 12px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-lg: 0 18px 40px -12px rgba(15,23,42,0.18), 0 8px 16px -8px rgba(15,23,42,0.08);
  --shadow-glow: 0 0 0 4px rgba(99,102,241,0.18);

  /* Type */
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
  --transition: 180ms cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
  --bg: #0a0e1a;
  --bg-soft: #0f172a;
  --bg-elev: #131a2b;
  --bg-glass: rgba(15,23,42,0.72);
  --text: #f1f5f9;
  --text-soft: #cbd5e1;
  --text-muted: #64748b;
  --border: #1e293b;
  --border-strong: #334155;
  --primary-soft: #1e1b4b;
  --success-soft: #064e3b;
  --danger-soft: #7f1d1d;
  --warning-soft: #78350f;
  --shadow: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 18px 40px -12px rgba(0,0,0,0.6);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--radius-xs); }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.7rem, 1.6rem); }
h4 { font-size: 1.125rem; }
p { color: var(--text-soft); }
.lead { font-size: 1.125rem; color: var(--text-soft); max-width: 60ch; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
main { flex: 1; }
section { padding: clamp(48px, 8vw, 96px) 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: var(--text);
  letter-spacing: -0.02em;
}
.nav__brand-logo {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; color: #fff; font-weight: 800;
}
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav__links a {
  display: inline-block;
  color: var(--text-soft);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition);
}
.nav__links a:hover { background: var(--bg-soft); color: var(--text); }
.nav__links a.active { color: var(--primary); background: var(--primary-soft); }
.nav__right { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: transparent; border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer; color: var(--text-soft);
  transition: all var(--transition);
}
.icon-btn:hover { background: var(--bg-soft); color: var(--text); border-color: var(--border); }

.nav__toggle { display: none; }
@media (max-width: 880px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 4px;
    border-top: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 240ms cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 16px; font-size: 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer; user-select: none;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(99,102,241,0.6);
}
.btn--primary:hover { box-shadow: 0 12px 28px -8px rgba(99,102,241,0.8); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--bg-soft); }
.btn--soft {
  background: var(--primary-soft);
  color: var(--primary);
}
.btn--soft:hover { background: var(--primary); color: #fff; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--sm { padding: 8px 14px; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 8vw, 96px);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(6,182,212,0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(99,102,241,0.18), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__title { margin-top: 16px; }
.hero__sub { margin-top: 16px; font-size: 1.125rem; }
.hero__cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__bullets { margin-top: 28px; display: grid; gap: 10px; }
.hero__bullets li {
  display: flex; gap: 10px; align-items: center;
  color: var(--text-soft); font-size: 0.95rem; list-style: none;
}
.hero__bullets li::before {
  content: "✓"; color: var(--success); font-weight: 800;
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--success-soft); display: grid; place-items: center; font-size: 0.8rem;
}

.hero__visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero__visual::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.15), transparent 50%);
}
.hero__card-float {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: var(--bg-glass); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem;
  color: #0f172a;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-strong); }

.feature {
  display: grid; gap: 12px;
}
.feature__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center;
  font-size: 1.5rem;
}

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.plan {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan--featured {
  border-color: var(--primary);
  box-shadow: 0 20px 40px -16px rgba(99,102,241,0.35);
}
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; padding: 4px 14px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.plan__name { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.plan__desc { color: var(--text-muted); font-size: 0.9rem; }
.plan__price { margin: 20px 0; display: flex; align-items: baseline; gap: 6px; }
.plan__price strong { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.plan__price span { color: var(--text-muted); font-size: 0.95rem; }
.plan__features { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.plan__features li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--text-soft); }
.plan__features li::before {
  content: "✓"; color: var(--success); flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 999px; background: var(--success-soft);
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 700;
}
.plan .btn { margin-top: auto; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.field .hint { font-size: 0.8rem; color: var(--text-muted); }
.input, .textarea, .select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.textarea { min-height: 140px; resize: vertical; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--text-soft); }
.checkbox input { margin-top: 4px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; min-width: 600px; }
.table th, .table td { padding: 14px 16px; text-align: left; font-size: 0.92rem; }
.table thead { background: var(--bg-soft); }
.table th { font-weight: 600; color: var(--text-soft); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.table tbody tr { border-top: 1px solid var(--border); }
.table tbody tr:hover { background: var(--bg-soft); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600;
}
.badge--success { background: var(--success-soft); color: var(--success); }
.badge--warning { background: var(--warning-soft); color: var(--warning); }
.badge--danger { background: var(--danger-soft); color: var(--danger); }
.badge--muted { background: var(--bg-soft); color: var(--text-soft); border: 1px solid var(--border); }

/* ---------- Alerts ---------- */
.alert {
  padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  display: flex; gap: 12px; align-items: flex-start;
}
.alert--success { border-color: var(--success); background: var(--success-soft); color: #065f46; }
.alert--danger { border-color: var(--danger); background: var(--danger-soft); color: #991b1b; }
.alert--warning { border-color: var(--warning); background: var(--warning-soft); color: #92400e; }
[data-theme="dark"] .alert--success { color: #6ee7b7; }
[data-theme="dark"] .alert--danger { color: #fca5a5; }
[data-theme="dark"] .alert--warning { color: #fcd34d; }

/* ---------- Footer ---------- */
.footer {
  margin-top: 48px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__brand p { margin-top: 12px; font-size: 0.9rem; }
.footer__col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer__col a { color: var(--text-soft); font-size: 0.92rem; }
.footer__col a:hover { color: var(--primary); }
.footer__bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: var(--text-muted);
}

/* ---------- Receipt / Print ---------- */
.receipt {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 720px;
  margin: 0 auto;
}
.receipt__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: 1px dashed var(--border); padding-bottom: 20px; margin-bottom: 20px;
}
.receipt__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.95rem; }
.receipt__row + .receipt__row { border-top: 1px dotted var(--border); }
.receipt__total { font-size: 1.25rem; font-weight: 700; padding-top: 16px; margin-top: 16px; border-top: 2px solid var(--text); }
@media print {
  .nav, .footer, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .receipt { border: none; box-shadow: none; }
}

/* ---------- Toast ---------- */
.toast-stack {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  display: grid; gap: 10px;
}
.toast {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  min-width: 240px;
  animation: slideIn 240ms ease;
}
.toast--success { border-left: 3px solid var(--success); }
.toast--danger { border-left: 3px solid var(--danger); }
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---------- Helpers ---------- */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 999px;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton {
  background: linear-gradient(90deg, var(--bg-soft), var(--border), var(--bg-soft));
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.lang-switch {
  display: inline-flex; gap: 2px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 3px;
  border-radius: 999px;
}
.lang-switch button {
  border: none; background: transparent;
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted); cursor: pointer;
  transition: all var(--transition);
}
.lang-switch button.active { background: var(--bg-elev); color: var(--primary); box-shadow: var(--shadow-sm); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  display: flex; gap: 20px; align-items: center;
  animation: cookieIn 280ms cubic-bezier(.4,0,.2,1);
}
@keyframes cookieIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner--out { animation: cookieOut 240ms forwards; }
@keyframes cookieOut { to { transform: translateY(20px); opacity: 0; } }
.cookie-banner__body { flex: 1; min-width: 0; }
.cookie-banner__body strong { display: block; font-size: 0.95rem; color: var(--text); margin-bottom: 4px; }
.cookie-banner__body p { font-size: 0.85rem; color: var(--text-soft); margin: 0; }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 720px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* ---------- Trust signals (stats, tech band, testimonials, payments) ---------- */
.stats-strip { padding: 40px 0; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: center; }
.stat { text-align: center; }
.stat__value { font-size: 1.8rem; font-weight: 800; color: var(--text); line-height: 1.1; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { font-size: 0.82rem; color: var(--text-soft); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.stat--status { border-left: 1px solid var(--border); padding-left: 24px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #d1fae5; color: #065f46; font-weight: 700; font-size: 0.92rem; text-decoration: none; transition: transform 200ms; }
.status-pill:hover { transform: translateY(-1px); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,0.2); animation: statusPulse 2s ease-in-out infinite; }
@keyframes statusPulse { 0%,100% { box-shadow: 0 0 0 4px rgba(16,185,129,0.2); } 50% { box-shadow: 0 0 0 8px rgba(16,185,129,0.05); } }
@media (max-width: 880px) { .stat--status { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 8px; } }

.techband { padding: 32px 0; background: var(--bg); }
.techband__label { text-align: center; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 18px; font-weight: 600; }
.techband__logos { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: center; }
.techband__chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-soft); font-size: 0.85rem; font-weight: 600; transition: all 180ms; }
.techband__chip:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--text); box-shadow: var(--shadow-sm); }

.testimonial { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.testimonial__stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.testimonial__quote { font-size: 0.95rem; line-height: 1.6; color: var(--text); margin: 0; quotes: "“" "”"; }
.testimonial__quote::before { content: open-quote; color: var(--primary); font-size: 1.4rem; line-height: 0; vertical-align: -0.4em; margin-right: 2px; }
.testimonial__quote::after { content: close-quote; color: var(--primary); font-size: 1.4rem; line-height: 0; vertical-align: -0.6em; margin-left: 2px; }
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border); }
.testimonial__avatar { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; letter-spacing: 0.04em; }
.testimonial__author strong { display: block; font-size: 0.9rem; color: var(--text); }
.testimonial__author small { display: block; color: var(--text-muted); font-size: 0.78rem; margin-top: 1px; }

.payments-strip { padding: 30px 0; background: var(--bg); border-top: 1px solid var(--border); }
.payments-strip__label { text-align: center; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; font-weight: 600; }
.payments-strip__methods { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: center; }
.pay-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-soft); font-size: 0.82rem; font-weight: 600; }
.pay-chip svg { display: block; }

/* ---------- Cookie preferences modal ---------- */
.cookie-prefs__overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,0.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 1000; animation: cookieIn 200ms ease-out;
}
.cookie-prefs__panel {
  background: var(--bg-elev); border-radius: 18px; max-width: 560px; width: 100%;
  max-height: 90vh; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(15,23,42,0.45), 0 8px 24px rgba(15,23,42,0.18);
  border: 1px solid var(--border);
}
.cookie-prefs__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
}
.cookie-prefs__header h2 { margin: 0; font-size: 1.15rem; }
.cookie-prefs__close {
  width: 34px; height: 34px; border-radius: 8px; border: none;
  background: transparent; color: var(--text-muted);
  font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 160ms;
}
.cookie-prefs__close:hover { background: var(--bg-soft); color: var(--text); }
.cookie-prefs__body { padding: 18px 22px; overflow-y: auto; }
.cookie-prefs__body > p { color: var(--text-soft); font-size: 0.9rem; margin: 0 0 14px; }
.cookie-prefs__row {
  display: flex; gap: 12px; padding: 12px 14px; margin-bottom: 8px;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px;
  cursor: pointer; transition: background 160ms, border-color 160ms;
}
.cookie-prefs__row:hover { border-color: var(--primary); }
.cookie-prefs__row input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0;
}
.cookie-prefs__row input[disabled] { opacity: 0.6; cursor: not-allowed; }
.cookie-prefs__row > div { display: flex; flex-direction: column; gap: 3px; }
.cookie-prefs__row strong { font-size: 0.92rem; color: var(--text); font-weight: 600; }
.cookie-prefs__row span { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }
.cookie-prefs__row small { font-size: 0.74rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.cookie-prefs__note { font-size: 0.82rem; color: var(--text-muted); margin: 10px 0 0; }
.cookie-prefs__footer {
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 14px 22px; border-top: 1px solid var(--border); background: var(--bg-elev);
}

/* ---------- Domain explorer (used by domains.html) ---------- */
.domain-search {
  display: flex; gap: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow-lg);
}
.domain-search input {
  flex: 1; padding: 14px 16px; border-radius: var(--radius-sm);
  border: none; background: transparent; font-size: 1.05rem; color: var(--text);
  outline: none;
}
.domain-list { display: grid; gap: 12px; }
.domain-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  transition: border-color var(--transition);
}
.domain-row:hover { border-color: var(--border-strong); }
.domain-row .name { font-weight: 600; font-family: var(--font-mono); font-size: 1.05rem; }
.domain-row .tld { color: var(--primary); }
.domain-row .price { color: var(--text-soft); font-size: 0.95rem; }
@media (max-width: 720px) {
  .domain-row { grid-template-columns: 1fr; gap: 8px; }
  .domain-row .actions { display: flex; gap: 8px; }
}
.skeleton-row { height: 56px; border-radius: var(--radius); }

/* ---------- Legal page typography ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 40px; margin-bottom: 12px; }
.prose h3 { margin-top: 24px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--text-soft); margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose code { font-family: var(--font-mono); background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }

/* === BHW polish v1 === */

/* Smooth scroll + better text rendering */
html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Buttons — press + glow micro-interactions */
.btn { will-change: transform; transition: transform 160ms cubic-bezier(.34,1.56,.64,1), box-shadow 200ms ease, background 200ms ease, color 200ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--primary {
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  transition: background-position 400ms ease, transform 160ms cubic-bezier(.34,1.56,.64,1), box-shadow 200ms ease;
}
.btn--primary:hover { background-position: 100% 50%; box-shadow: 0 16px 36px -10px rgba(99,102,241,0.7); }

/* Nav link underline animation */
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 2px; background: var(--primary); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform 220ms cubic-bezier(.4,0,.2,1);
}
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }

/* Card hover — subtle lift + glow */
.card { transition: transform 240ms cubic-bezier(.34,1.56,.64,1), box-shadow 240ms ease, border-color 200ms ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -12px rgba(15,23,42,0.18); }

/* Plan card emphasis */
.plan { transition: transform 280ms cubic-bezier(.34,1.56,.64,1), box-shadow 240ms ease, border-color 200ms ease; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 26px 56px -16px rgba(99,102,241,0.35); }
.plan--featured { position: relative; }
.plan--featured::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: 0.85;
}

/* Feature icon — gentle wobble on hover */
.feature:hover .feature__icon { animation: bhw-wobble 600ms ease; }
@keyframes bhw-wobble {
  0%,100% { transform: rotate(0); } 25% { transform: rotate(-6deg) scale(1.08); }
  50% { transform: rotate(4deg) scale(1.05); } 75% { transform: rotate(-2deg); }
}

/* FAQ accordion — smooth open + rotating plus icon */
details.card { transition: box-shadow 200ms ease, border-color 200ms ease; }
details.card[open] { box-shadow: 0 16px 36px -16px rgba(99,102,241,0.25); border-color: var(--primary-soft); }
details.card summary { user-select: none; }
details.card summary > span:last-child { display: inline-block; transition: transform 240ms cubic-bezier(.34,1.56,.64,1); }
details.card[open] summary > span:last-child { transform: rotate(45deg); }

/* Form input focus glow */
input, textarea, select {
  transition: border-color 180ms ease, box-shadow 200ms ease, background 180ms ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
}

/* Hero floating card — gentle float animation */
.hero__card-float { animation: bhw-float 4s ease-in-out infinite; }
@keyframes bhw-float {
  0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); }
}

/* Hero image — subtle parallax tilt on hover */
.hero__visual img { transition: transform 600ms cubic-bezier(.4,0,.2,1); will-change: transform; }
.hero__visual:hover img { transform: scale(1.02) rotate(-0.3deg); }

/* Spinner — smoother */
.spinner { animation-timing-function: cubic-bezier(.4,0,.2,1); }

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.34,1.56,.64,1); }
.reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* Trust card icon emoji — subtle bounce on hover */
#trust .card { transition: transform 240ms cubic-bezier(.34,1.56,.64,1), box-shadow 240ms ease; }
#trust .card:hover { transform: translateY(-6px); }
#trust .card > div:first-child { transition: transform 320ms cubic-bezier(.34,1.56,.64,1); display:inline-block; }
#trust .card:hover > div:first-child { transform: scale(1.18) rotate(-8deg); }

/* Support strip — diagonal-light shimmer on metric numbers */
#support-strip [style*="font-weight:800"] { position: relative; overflow: hidden; }

/* Mobile menu opens with fade + slight scale */
@media (max-width: 768px) {
  .nav__links.is-open { animation: bhw-menu 240ms cubic-bezier(.34,1.56,.64,1); }
  @keyframes bhw-menu {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: none; }
  }
}

/* === BHW responsive v1 === */
/* =====================================================
   Mobile-first responsive overrides for inline-style grids
   added in homepage / wordpress-hosting / pricing pages.
   ===================================================== */

/* Container side padding tighter on mobile */
@media (max-width: 720px) {
  .container { padding-inline: 16px; }
}

/* Hero — text smaller and image proportions on mobile */
@media (max-width: 720px) {
  .hero { padding: 56px 0 40px; }
  .hero__title { font-size: clamp(1.85rem, 6vw, 2.5rem) !important; }
  .hero__sub { font-size: 1rem !important; }
  .hero__cta { margin-top: 24px; gap: 10px; }
  .hero__cta .btn { flex: 1 1 0; min-width: 0; padding: 14px 18px; font-size: 0.95rem; }
  .hero__bullets { margin-top: 20px; }
  .hero__visual { margin-top: 28px; }
  /* Floating badge: compact on mobile, dont overlap CTA */
  .hero__card-float { bottom: 12px !important; left: 12px !important; right: 12px; padding: 10px 14px !important; font-size: 0.85rem; }
}

/* Section padding reduced on mobile */
@media (max-width: 720px) {
  section { padding: 48px 0 !important; }
  section[id="deep-features"],
  section[id="support-strip"],
  section[id="faq"] { padding: 48px 0 !important; }
}

/* All inline-style 1fr 1fr grids collapse to single column on mobile */
@media (max-width: 768px) {
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1.1fr 1fr"],
  [style*="grid-template-columns:1.1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  /* When stacked, image goes BELOW text (override order:-1) */
  .deep-row > img { order: 2 !important; }
}

/* Deep features rows — looser at mobile */
@media (max-width: 720px) {
  #deep-features .container { gap: 40px !important; }
  #deep-features h3 { font-size: 1.45rem !important; }
}

/* Trust strip — already auto-fit, just tighten cards on mobile */
@media (max-width: 480px) {
  #trust .card { padding: 22px 16px !important; }
}

/* Support strip metric numbers smaller on mobile */
@media (max-width: 720px) {
  #support-strip [style*="font-size:1.8rem"] { font-size: 1.4rem !important; }
  #support-strip h2 { font-size: 1.6rem !important; }
}

/* Comparison table — visually compact on mobile (kept scrollable) */
@media (max-width: 720px) {
  #compare-table th, #compare-table td { padding: 12px 12px !important; font-size: 0.88rem; }
  #compare-table { min-width: 560px !important; }
}

/* Pricing cards stack nicely; tighten padding on mobile */
@media (max-width: 720px) {
  .plan { padding: 24px 22px !important; }
  .plan__price strong { font-size: 2.2rem !important; }
}

/* Pricing money-back callout — stack cleanly */
@media (max-width: 720px) {
  /* The callout uses grid-template-columns: 1fr auto inline */
  [style*="grid-template-columns: 1fr auto"],
  [style*="grid-template-columns:1fr auto"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    text-align: center;
  }
}

/* Nav — make sure CTA buttons dont wrap in small viewports */
@media (max-width: 880px) {
  .nav__right { gap: 6px; }
  .nav__right .btn--sm { padding: 7px 10px; font-size: 0.8rem; }
  /* Hide "Sign in" + "Get started" on very narrow phones to fit menu */
}
@media (max-width: 540px) {
  #nav-login { display: none; }
  .lang-switch { display: none; }
}

/* Footer — 1 column on phones */
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Headings overall scale */
@media (max-width: 720px) {
  h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  h3 { font-size: clamp(1.2rem, 4.5vw, 1.6rem); }
}

/* Images consistently rounded-and-fit on mobile */
@media (max-width: 720px) {
  .hero__visual img,
  #deep-features img,
  #support-strip img { border-radius: 16px !important; }
}

/* FAQ summaries — easier tap target on mobile */
@media (max-width: 720px) {
  details.card { padding: 16px 18px !important; }
  details.card summary { font-size: 0.95rem; }
}

/* Page-level body text size up slightly for legibility on phones */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .lead { font-size: 1rem !important; }
}

/* Disable hover-only animations on touch devices to avoid sticky states */
@media (hover: none) {
  .card:hover, .plan:hover, .hero__visual:hover img,
  .nav__brand:hover .nav__brand-logo { transform: none; }
}


/* === BHW nav clean v3 (replaces v1/v2 + polish brand-logo) === */

/* Logo image — predictable box, no background, no padding */
.nav__brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: transparent !important;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0;
  flex-shrink: 0;
  transition: transform 200ms cubic-bezier(.34,1.56,.64,1);
}
.nav__brand:hover .nav__brand-logo { transform: rotate(-6deg) scale(1.05); }

/* Brand row spacing + truncation safety */
.nav__brand { gap: 10px; min-width: 0; flex-shrink: 1; }
.nav__brand > span:not(.nav__brand-logo) {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* === Mobile (≤ 880px) === */
@media (max-width: 880px) {
  :root { --nav-h: 64px; }
  .nav { height: 64px; }
  .nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 0; }

  /* Hide everything in the right group EXCEPT theme + hamburger */
  .nav__right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
  #nav-login, #nav-cta, .lang-switch { display: none !important; }

  /* Hamburger — clearly visible, contrasting */
  .nav__toggle {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    width: 42px; height: 42px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text) !important;
    cursor: pointer;
  }
  .nav__toggle svg { width: 22px; height: 22px; stroke: currentColor; display: block; }
  .nav__toggle:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary) !important; }

  /* Brand text smaller; logo a touch bigger for tap balance */
  .nav__brand { font-size: 0.95rem; }
  .nav__brand-logo { width: 38px; height: 38px; }
}

@media (max-width: 420px) {
  /* On very narrow phones, hide brand text entirely (logo speaks for itself) */
  .nav__brand > span:not(.nav__brand-logo) { display: none; }
}

/* Mobile menu CTA shown only inside opened menu */
.nav__mobile-only { display: none; }
@media (max-width: 880px) {
  .nav__mobile-only { display: list-item; }
  .nav__mobile-cta { margin-top: 12px; }
  .nav__mobile-cta a { padding: 14px 18px !important; font-weight: 700; }
}

/* === BHW nav guaranteed v4 === */
/* Bulletproof hamburger button — wins any specificity war */
@media (max-width: 880px) {
  .nav .nav__inner .nav__right .nav__toggle,
  button.nav__toggle.icon-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 44px !important;
    height: 44px !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 4px;
  }
  .nav .nav__inner .nav__right .nav__toggle svg,
  button.nav__toggle.icon-btn svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    stroke: currentColor !important;
  }
}
