/* =============================================================
   Web Hosting Kashmir - Modern Stylesheet
   Brand palette: magenta #ba005a · navy #1a184c / #133652
   accent orange #ff842a · success green #2dbb3b
   Gradients ONLY on hero banner & promo strip - flat solid
   colours everywhere else for a clean, top-rated SaaS look.
   ============================================================= */

:root {
  --brand-magenta: #ba005a;
  --brand-magenta-h: #9c004c;
  --brand-magenta-l: #fef0f6;
  --brand-magenta-tint: #fdebf2;
  --brand-navy: #0a0e2c;
  --brand-navy-2: #1a184c;
  --brand-navy-3: #133652;
  --brand-navy-tint: #eef0f8;
  --brand-orange: #ff842a;
  --brand-orange-h: #e96e16;
  --brand-orange-l: #fff3e8;
  --brand-green: #2dbb3b;
  --brand-green-h: #1e9a2c;
  --brand-green-l: #e8f8ea;

  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #f3f4fa;
  --surface-3: #e9ecf4;
  --ink: #0e1230;
  --ink-2: #2b2f4a;
  --muted: #6a708d;
  --line: #e6e8f2;
  --line-2: #d9dce8;

  /* Hero gradient - clean linear navy, classic professional look (no AI radial blobs) */
  --grad-hero: linear-gradient(180deg, #1a184c 0%, #0e0c33 100%);

  --shadow-sm: 0 1px 2px rgba(15,18,48,.05), 0 2px 8px rgba(15,18,48,.04);
  --shadow-md: 0 6px 16px rgba(15,18,48,.06), 0 12px 32px rgba(15,18,48,.05);
  --shadow-lg: 0 20px 60px rgba(15,18,48,.12), 0 8px 24px rgba(15,18,48,.08);
  --shadow-mega: 0 30px 80px rgba(15,18,48,.18), 0 8px 30px rgba(15,18,48,.10);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "calt";
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-magenta); text-decoration: none; transition: opacity .15s var(--ease); }
a:hover { color: var(--brand-magenta); opacity: .80; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4,h5,h6 { margin: 0 0 .6em; line-height: 1.2; color: var(--ink); font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.028em; line-height: 1.1; font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); letter-spacing: -.024em; line-height: 1.15; font-weight: 800; }
h3 { font-size: 1.25rem; letter-spacing: -.012em; }
h4 { font-size: 1.05rem; letter-spacing: -.008em; }
p  { margin: 0 0 1em; color: var(--ink-2); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--brand-magenta); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tight { padding: clamp(28px, 5vw, 56px) 0; }
.section-soft { background: var(--surface-2); }

.eyebrow {
  display: inline-block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--brand-magenta); padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--brand-magenta-l); margin-bottom: 18px;
}

/* ---------- Buttons (FLAT solid colors - no gradients) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-pill); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), box-shadow .25s var(--ease),
              transform .15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand-magenta); color: #fff; box-shadow: 0 6px 18px rgba(186,0,90,.22); }
.btn-primary:hover { background: var(--brand-magenta); color: #fff; box-shadow: 0 12px 28px rgba(186,0,90,.32); }

.btn-success { background: var(--brand-green); color:#fff; }
.btn-success:hover { background: var(--brand-green); color:#fff; box-shadow: 0 4px 12px rgba(45,187,59,.18); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.10); color: #fff; }

.btn-outline { background: transparent; color: var(--brand-magenta); border-color: var(--brand-magenta); }
.btn-outline:hover { background: var(--brand-magenta); color: #fff; }

.btn-soft { background: var(--brand-magenta-l); color: var(--brand-magenta); }
.btn-soft:hover { background: var(--brand-magenta-tint); color: var(--brand-magenta); }

.btn-sm { padding: 8px 14px; font-size: .82rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header (Pill-nav style) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { background: rgba(255,255,255,.94); border-color: var(--line); box-shadow: var(--shadow-sm); }

.topbar {
  font-size: .82rem; color: rgba(255,255,255,.78);
  background: var(--brand-navy);
}
.topbar .container { display: flex; justify-content: flex-end; align-items: center; gap: 22px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: rgba(255,255,255,.78); }
.topbar a:hover { color: #fff; }
.topbar .login-btn {
  background: rgba(255,255,255,.10); color: #fff; padding: 4px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.18);
}
.topbar .login-btn:hover { background: rgba(255,255,255,.20); }

.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 34px; }

/* Pill nav - wrapping container */
.primary-nav {
  display: inline-flex; align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 5px;
  list-style: none; margin: 0;
  position: relative;
}
.primary-nav > li { position: static; list-style: none; }
.primary-nav > li > a,
.primary-nav > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink); padding: 9px 16px; border-radius: var(--radius-pill);
  font-weight: 500; font-size: .92rem; background: transparent; border: 0;
  cursor: pointer;
}
.primary-nav > li:hover > a,
.primary-nav > li:hover > button,
.primary-nav > li.is-active > a,
.primary-nav > li.is-active > button {
  background: #fff; box-shadow: var(--shadow-sm); color: var(--ink);
}
.primary-nav .caret {
  display: inline-block; width: 8px; height: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; opacity: .55;
}

/* Simple dropdown */
.simple-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 230px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 8px;
  list-style: none; margin: 0; opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
/* Invisible hover-bridge so cursor doesn't lose :hover crossing the gap */
.simple-dropdown::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.primary-nav > li:hover .simple-dropdown,
.primary-nav > li:focus-within .simple-dropdown {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.simple-dropdown a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.simple-dropdown a:hover { background: var(--surface-2); color: var(--brand-magenta); }

/* MEGA MENU */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px);
  width: min(960px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-mega);
  padding: 22px; opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  z-index: 80;
}
/* Invisible hover-bridge so cursor doesn't lose :hover crossing the 14px gap */
.mega::before {
  content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px;
}
.primary-nav > li:hover .mega,
.primary-nav > li:focus-within .mega { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.mega-col-title { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
                  color: var(--brand-magenta); margin: 0 0 14px; }
.mega-features { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius); transition: background .15s var(--ease);
  cursor: pointer; color: var(--ink);
}
.mega-item:hover { background: var(--brand-magenta-l); color: var(--ink); }
.mega-item-icon {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.mega-item:hover .mega-item-icon { background: #fff; border-color: var(--brand-magenta); }
.mega-item-icon svg { width: 18px; height: 18px; color: var(--brand-magenta); }
.mega-item-icon i { font-size: 16px; color: var(--brand-magenta); line-height: 1; }
.mega-item-title { display: block; font-weight: 600; font-size: .94rem; line-height: 1.3; margin-bottom: 4px; color: var(--ink); }
.mega-item-desc  { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; }

.mega-explore {
  background: var(--brand-navy-tint); border-radius: var(--radius); padding: 18px;
}
.mega-explore .mega-col-title { color: var(--brand-navy-2); }
.mega-card {
  display: flex; gap: 12px; padding: 8px 0; align-items: center; color: var(--ink);
}
.mega-card + .mega-card { border-top: 1px solid rgba(0,0,0,.05); padding-top: 12px; margin-top: 4px; }
.mega-card:hover { color: var(--brand-magenta); }
.mega-card-thumb {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px;
  background: #cdd5f0; display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: var(--brand-navy-2);
}
.mega-card-thumb svg { width: 28px; height: 28px; }
.mega-card-thumb i { font-size: 22px; line-height: 1; color: var(--brand-navy-2); }
.mega-card-title { font-weight: 600; font-size: .88rem; line-height: 1.3; }
.mega-explore-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-magenta);
                     font-weight: 600; font-size: .88rem; margin-top: 12px; }
.mega-explore-link:hover { color: var(--brand-magenta); opacity: .80; transform: translateX(2px); }

.mega-footer {
  margin: 18px -22px -22px; padding: 14px 22px; border-top: 1px solid var(--line);
  background: var(--surface-2); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .9rem;
}
.mega-footer strong { color: var(--ink); margin-right: 4px; }
.mega-footer a { color: var(--brand-magenta); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-login { padding: 12px 26px; font-size: .98rem; font-weight: 600; }
.nav-login-link {
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-login-link:hover {
  background: var(--surface-2);
  color: var(--brand-magenta);
  opacity: 1;
}
.nav-signup { padding: 10px 22px; font-size: .95rem; font-weight: 600; white-space: nowrap; }

/* Tighten primary nav between 1024px and 1180px so 6 items fit on one line */
@media (max-width: 1180px) and (min-width: 1025px) {
  .primary-nav > li > a,
  .primary-nav > li > button { padding: 8px 12px; font-size: .88rem; }
  .primary-nav { padding: 4px; }
  .nav-actions { gap: 6px; }
  .nav-login-link { padding: 8px 10px; font-size: .9rem; }
  .nav-signup { padding: 9px 16px; font-size: .9rem; }
}

@media (max-width: 720px) {
  .nav-login { padding: 10px 18px; font-size: .9rem; }
  .nav-login-link { display: none; }
}
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); position: relative;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: #fff; color: var(--brand-magenta); }
.icon-btn .badge-count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--brand-magenta); color: #fff; border-radius: var(--radius-pill);
  font-size: .68rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

.mobile-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2);
                  border: 1px solid var(--line); align-items: center; justify-content: center; }
.mobile-toggle span, .mobile-toggle span::before, .mobile-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.mobile-toggle span { position: relative; }
.mobile-toggle span::before { position: absolute; top: -6px; }
.mobile-toggle span::after { position: absolute; top: 6px; }
.mobile-toggle.is-open span { background: transparent; }
.mobile-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.mobile-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

.mobile-panel {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(360px, 88vw);
  background: #fff; box-shadow: var(--shadow-lg); padding: 80px 24px 24px;
  transform: translateX(100%); transition: transform .35s var(--ease);
  z-index: 70; overflow-y: auto;
}
.mobile-panel.is-open { transform: translateX(0); }
.mobile-panel ul { list-style: none; padding: 0; margin: 0; }
.mobile-panel a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.mobile-panel .section-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 24px 0 8px; }
.scrim { position: fixed; inset: 0; background: rgba(10,14,44,.45); opacity: 0; pointer-events: none;
         transition: opacity .3s var(--ease); z-index: 65; }
.scrim.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--grad-hero); color: #fff;
  padding: clamp(64px, 9vw, 110px) 0 clamp(80px, 11vw, 130px);
}
/* Subtle decorative accent - single soft halo, top-right, very low opacity */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 400px at 95% -10%, rgba(186,0,90,.18) 0%, transparent 60%);
}
.hero-grid { display: none; }
.hero-content { max-width: 920px; margin: 0 auto; text-align: center; }
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero-content h1 .accent { color: #ffb56a; font-weight: 800; }
.hero-content p {
  color: rgba(255,255,255,.85); font-size: 1.25rem; line-height: 1.6;
  margin: 0 auto 40px; max-width: 680px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 28px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.92);
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.hero-tag svg { width: 14px; height: 14px; }
.search {
  display: flex; gap: 8px; padding: 8px; max-width: 760px; margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.search input {
  flex: 1; background: transparent; border: 0; outline: 0; color: var(--ink);
  font-size: 1.08rem; padding: 16px 24px;
}
.search input::placeholder { color: var(--muted); }
.search button {
  border: 0; background: var(--brand-magenta); color: #fff;
  padding: 16px 32px; border-radius: var(--radius-pill); font-weight: 600;
  font-size: 1rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s var(--ease);
}
.search button svg { width: 18px; height: 18px; }
.search button:hover { background: var(--brand-magenta); box-shadow: 0 6px 18px rgba(186,0,90,.30); }
@media (max-width: 720px) {
  .search { padding: 6px; gap: 6px; }
  .search input { font-size: 1rem; padding: 12px 18px; }
  .search button { padding: 12px 20px; font-size: .92rem; }
}

/* ---------- Inline domain search results ---------- */
.domain-results {
  max-width: 720px; margin: 24px auto 0;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  overflow: hidden;
  display: none;
  text-align: left;
}
.domain-results.is-open { display: block; animation: fadeUp .25s var(--ease) both; }
.domain-results-head {
  padding: 16px 22px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: .92rem; color: var(--ink-2); font-weight: 500;
}
.domain-results-head strong { color: var(--ink); }
.domain-result {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px; border-bottom: 1px solid var(--line);
  transition: background .15s var(--ease);
}
.domain-result:last-child { border-bottom: 0; }
.domain-result:hover { background: var(--surface-2); }
.domain-result-tld {
  flex: 0 0 auto; padding: 5px 12px;
  background: var(--brand-magenta-l); color: var(--brand-magenta);
  font-size: .82rem; font-weight: 700; border-radius: var(--radius-pill);
}
.domain-result-name { flex: 1; color: var(--ink); font-weight: 600; word-break: break-all; }
.domain-result-price { color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.domain-result-price .strike { color: var(--muted); text-decoration: line-through; font-weight: 500; margin-right: 6px; }
.domain-result-price .now { color: var(--brand-green-h); }
.domain-result-action .btn-sm { padding: 8px 16px; }
.domain-results-error {
  padding: 18px 22px; color: var(--ink-2); font-size: .94rem;
}
@media (max-width: 640px) {
  .domain-result { flex-wrap: wrap; gap: 10px; }
  .domain-result-name { flex: 1 1 100%; }
  .domain-result-price { order: 2; }
  .domain-result-action { order: 3; margin-left: auto; }
}

/* Page hero (smaller, used by inner pages) - clean linear navy, no AI blobs */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--grad-hero); color: #fff;
  padding: clamp(56px, 8vw, 92px) 0 clamp(56px, 8vw, 92px);
  text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 320px at 95% -10%, rgba(186,0,90,.15) 0%, transparent 60%);
}

/* Page hero - light variant: black headline with magenta accent words */
.page-hero-light {
  position: relative; overflow: hidden; isolation: isolate;
  background: #fafbfd; color: var(--ink);
  padding: clamp(72px, 10vw, 130px) 0 clamp(72px, 10vw, 130px);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero-light::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(186,0,90,.05) 0, transparent 36%),
    radial-gradient(circle at 82% 70%, rgba(255,132,42,.04) 0, transparent 36%),
    radial-gradient(circle, rgba(186,0,90,.05) 1px, transparent 1px);
  background-size: auto, auto, 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}
.page-hero-light .breadcrumb { color: var(--muted); margin-bottom: 14px; display: inline-flex; gap: 8px; font-size: .85rem; }
.page-hero-light .breadcrumb a { color: var(--ink-2); }
.page-hero-light .breadcrumb a:hover { color: var(--brand-magenta); }
.page-hero-light h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -.028em;
  max-width: 1000px; margin: 0 auto .5em;
}
.page-hero-light h1 .accent { color: var(--brand-magenta); }
.page-hero-light p { color: var(--muted); font-size: 1.2rem; line-height: 1.6; max-width: 720px; margin: 0 auto 28px; }
.page-hero-light .hero-tags { justify-content: center; }
.page-hero-light .hero-tag {
  background: #fff; color: var(--ink-2); border-color: var(--line);
}
.page-hero-light .cta-row { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 18px;
}
.page-hero p {
  color: rgba(255,255,255,.85);
  max-width: 720px; margin: 0 auto 22px;
  font-size: 1.15rem; line-height: 1.6;
}
.page-hero .breadcrumb {
  display: inline-flex; gap: 8px; font-size: .82rem;
  color: rgba(255,255,255,.55); margin-bottom: 16px;
  letter-spacing: .04em;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.78); }
.page-hero .breadcrumb a:hover { color: #fff; }

/* ---------- Promo strip ---------- */
.promo-strip { margin-top: -38px; position: relative; z-index: 5; }
.promo-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 20px 28px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 16px 32px; border: 1px solid var(--line);
}
.promo-card .item { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.promo-card .tld {
  font-style: normal; font-weight: 700; color: var(--brand-magenta);
  background: var(--brand-magenta-l); padding: 4px 12px; border-radius: var(--radius-pill); font-size: .9rem;
}
.promo-card .strike { color: var(--muted); text-decoration: line-through; margin-right: 4px; }
.promo-card .price-now { color: var(--brand-green-h); font-weight: 700; }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 32px 0; }
.trust-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px;
  color: var(--muted);
}
.trust-row strong { color: var(--ink); }
.trust-score {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink);
  background: var(--surface-2); padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}
.trust-score svg { width: 16px; height: 16px; color: #ffb547; }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { color: var(--ink); margin-bottom: .5em; }
.section-head p { color: var(--muted); font-size: 1.06rem; line-height: 1.6; margin: 0; }

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 26px; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-badge {
  display: inline-block; background: var(--brand-orange-l); color: var(--brand-orange-h);
  font-size: .74rem; font-weight: 700; letter-spacing: .03em;
  padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.product-card .icon-wrap {
  width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 22px;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.product-card .icon-wrap img { width: 56px; height: 56px; object-fit: contain; }
.product-card h3 { margin: 0 0 12px; }
.product-from { font-size: .82rem; color: var(--muted); margin: 12px 0 0; font-weight: 500; }
.product-price { font-size: 2rem; font-weight: 800; color: var(--brand-magenta); margin: 0 0 4px; }
.product-price small { font-size: .8rem; color: var(--muted); font-weight: 500; }
.product-summary { color: var(--muted); margin: 0 0 22px; min-height: 44px; }

/* ---------- Plan tabs (clean, solid colors) ---------- */
.plans-wrap {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); padding: 24px; margin-top: 32px;
}
.plan-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 auto 24px; padding: 5px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-pill);
}
.plan-tabs-wrap { display: flex; justify-content: center; }
.plan-tab {
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .9rem; color: var(--ink-2);
  background: transparent; border: 0; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.plan-tab:hover { color: var(--ink); }
.plan-tab.is-active { background: var(--brand-magenta); color: #fff; box-shadow: 0 4px 12px rgba(186,0,90,.20); }
.plan-panel { display: none; }
.plan-panel.is-active { display: block; animation: fadeUp .3s var(--ease) both; }

.plan-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.plan-options-card { background: var(--surface-2); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.plan-options-card h4 { margin: 0 0 12px; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.plan-options-card h4:not(:first-child) { margin-top: 18px; }
.plan-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-magenta); color: #fff; font-size: .72rem; font-weight: 700;
  margin-right: 8px;
}
.plan-option {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  cursor: pointer; margin-bottom: 8px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.plan-option:hover { border-color: var(--brand-magenta); }
.plan-option input { accent-color: var(--brand-magenta); width: 18px; height: 18px; flex-shrink: 0; }
.plan-option:has(input:checked) { border-color: var(--brand-magenta); background: var(--brand-magenta-l); }
.plan-option-label { flex: 1; font-weight: 500; font-size: .94rem; }
.plan-option-label .save { color: var(--brand-green-h); font-weight: 700; margin-left: 6px; font-size: .82rem; }
.plan-option-label .promo { color: var(--brand-orange-h); font-weight: 700; margin-left: 6px; font-size: .82rem; }

.plan-summary {
  background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 26px 24px 22px;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  position: sticky; top: 96px;
  position: relative;
  overflow: hidden;
}
/* Magenta accent strip across the top */
.plan-summary::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--brand-magenta);
}
.plan-summary h4 {
  color: var(--brand-magenta); margin: 0 0 16px; font-size: .76rem;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.plan-summary ul {
  list-style: none; padding: 0; margin: 0 0 20px;
  color: var(--ink); font-size: .94rem;
}
.plan-summary ul li {
  padding: 8px 0 8px 28px; position: relative;
  border-bottom: 1px solid var(--line);
}
.plan-summary ul li:last-child { border-bottom: 0; }
.plan-summary ul li::before {
  content: ""; position: absolute; left: 2px; top: 13px;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--brand-green); border-bottom: 2.5px solid var(--brand-green);
  transform: rotate(-45deg);
}
.plan-summary .btn { width: 100%; }
.plan-summary .guarantee {
  text-align: center; color: var(--muted); font-size: .82rem;
  margin: 12px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.plan-summary .guarantee::before {
  content: "✓"; color: var(--brand-green); font-weight: 700;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Pricing card grid (alt presentation for inner pages) ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pricing-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; text-align: center; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card:hover:not(.is-popular) { border-color: var(--line); }
.pricing-card.is-popular { border-color: var(--brand-magenta); box-shadow: 0 0 0 4px rgba(186,0,90,.08), var(--shadow-md); }
.pricing-card.is-popular::before {
  content: "Most Popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand-magenta); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 12px; border-radius: var(--radius-pill);
}
.pricing-card h3 { margin: 0 0 6px; }
.pricing-card .tagline { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.pricing-card .price { font-size: 2.4rem; font-weight: 800; color: var(--ink); }
.pricing-card .price small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.pricing-card .price-was { color: var(--muted); text-decoration: line-through; font-size: .9rem; margin-bottom: 6px; }
.pricing-card ul { list-style: none; padding: 0; margin: 22px 0; text-align: left; }
.pricing-card ul li { padding: 8px 0 8px 32px; position: relative; font-size: .94rem; color: var(--ink-2); }
/* fallback green check when no icon is present */
.pricing-card ul li::before {
  content: ""; position: absolute; left: 4px; top: 14px;
  width: 12px; height: 7px; border-left: 2px solid var(--brand-green); border-bottom: 2px solid var(--brand-green);
  transform: rotate(-45deg);
}
.pricing-card ul li > i:first-child {
  position: absolute; left: 0; top: 11px;
  color: var(--brand-magenta);
  font-size: 14px; width: 20px; text-align: center;
  line-height: 1;
}
/* hide the fallback check when an icon is present */
.pricing-card ul li:has(> i:first-child)::before { display: none; }

/* ---------- Promo banner (clean solid magenta - no gradient shade) ---------- */
.promo-banner {
  background: var(--brand-magenta); color: #fff; border-radius: var(--radius-lg);
  padding: 28px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 30px rgba(186,0,90,.22);
}
.promo-banner h3 { color: #fff; margin: 0; font-size: 1.3rem; }
.promo-banner p { color: rgba(255,255,255,.88); margin: 6px 0 0; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  padding: 30px 26px; text-align: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .icon-wrap {
  width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-magenta-l);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.feature-card:hover .icon-wrap { background: var(--brand-magenta-tint); transform: scale(1.05); }
.feature-card .icon-wrap svg { width: 36px; height: 36px; color: var(--brand-magenta); }
.feature-card .icon-wrap img { width: 64px; height: 64px; object-fit: contain; }
.feature-card .icon-wrap i { font-size: 36px; color: var(--brand-magenta); line-height: 1; }
.feature-card h3 { margin: 0 0 8px; }
.feature-card p { color: var(--muted); margin: 0; }

/* Numbered "How it works" stepper */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 1100px; margin: 0 auto; position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 30px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--brand-magenta-l), var(--brand-magenta-l));
  background-image: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; padding: 0 8px; }
.step-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: #fff; color: var(--brand-magenta);
  border: 2px solid var(--brand-magenta);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.25rem;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 8px var(--bg);
}
.step-soft .step-num { box-shadow: 0 0 0 8px var(--surface-2); }
.step h4 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .steps::before { display: none; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; gap: 22px; }
}

.why-best-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.why-best-item { padding: 4px; }
.why-best-item .icon-wrap {
  width: 80px; height: 80px; border-radius: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line);
  margin-bottom: 14px;
  transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.why-best-item:hover .icon-wrap { background: var(--brand-magenta-l); border-color: var(--brand-magenta-l); transform: translateY(-2px); }
.why-best-item .icon-wrap img { width: 56px; height: 56px; object-fit: contain; }
.why-best-item .icon-wrap svg { width: 30px; height: 30px; color: var(--brand-magenta); }
.why-best-item h4 { margin: 0 0 6px; font-size: 1.04rem; }
.why-best-item p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Money back ---------- */
.moneyback {
  display: flex; align-items: center; gap: 24px; padding: 32px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.moneyback-icon {
  flex: 0 0 100px; width: 100px; height: 100px;
  display: inline-flex; align-items: center; justify-content: center;
}
.moneyback-icon img { width: 100px; height: 100px; object-fit: contain; }
.moneyback-icon svg { width: 36px; height: 36px; color: var(--brand-green-h); }
.moneyback h3 { margin: 0 0 6px; color: var(--ink); }
.moneyback p { margin: 0; color: var(--muted); }

/* ---------- Disclaimer ---------- */
.disclaimer { padding: 28px 0 56px; text-align: center; color: var(--muted); font-size: .9rem; max-width: 920px; margin: 0 auto; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; width: 12px; height: 12px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .25s var(--ease); flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .answer { padding: 0 0 18px; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-navy); color: rgba(255,255,255,.72);
  padding: 72px 0 22px; font-size: .94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr);
  gap: 36px 28px;
  margin-bottom: 48px;
}
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 600px; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .brand-logo { height: 32px; margin-bottom: 16px; display: block; }
.footer-brand p { color: rgba(255,255,255,.66); margin: 0 0 18px; max-width: 320px; line-height: 1.6; }
.footer-brand .footer-contact { font-size: .88rem; color: rgba(255,255,255,.62); margin-bottom: 18px; line-height: 1.7; }
.footer-brand .footer-contact a { color: #fff; }
.footer-brand .footer-contact a:hover { color: var(--brand-magenta); }

.footer-col h4 {
  color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,.66); font-size: .92rem; transition: color .15s var(--ease), padding .15s var(--ease);
  display: inline-block;
}
.footer-col a:hover { color: #fff; padding-left: 3px; }

/* Trust strip - full-width row above bottom bar */
.footer-trust {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px;
  padding: 18px 22px; margin: 0 auto 28px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  color: rgba(255,255,255,.78);
}
.footer-trust strong { color: #fff; }
.footer-trust .trust-pill {
  background: var(--brand-green); color: #fff; padding: 4px 12px; border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
}

/* Social icons (in brand column) */
.socials { display: flex; gap: 10px; margin-top: 4px; }
.social-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.10);
  transition: transform .2s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.social-icon:hover { transform: translateY(-2px); color: #fff; }
.social-icon.fb:hover { background: #1877f2; border-color: #1877f2; }
.social-icon.tw:hover { background: #1da1f2; border-color: #1da1f2; }
.social-icon.ig:hover { background: #d62976; border-color: #d62976; }

/* Bottom bar */
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom-links a { color: rgba(255,255,255,.55); font-size: .85rem; }
.footer-bottom-links a:hover { color: #fff; }
.copyright { color: rgba(255,255,255,.55); font-size: .85rem; }
.payment-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.payment-row span { color: rgba(255,255,255,.55); font-size: .82rem; margin-right: 4px; }
.payment-row img { background: #fff; padding: 4px 8px; border-radius: 6px; height: 24px; width: auto; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; }
  .footer-bottom-links { justify-content: center; }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(10,14,44,.55); display: none;
         align-items: center; justify-content: center; z-index: 100; padding: 20px;
         backdrop-filter: blur(8px); }
.modal.is-open { display: flex; animation: fadeIn .2s var(--ease); }
.modal-card {
  background: #fff; border-radius: var(--radius-lg); max-width: 640px; width: 100%;
  padding: 28px; max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-head { display: flex; align-items: start; gap: 16px; margin-bottom: 12px; }
.modal-head h4 { flex: 1; margin: 0; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-2); }
.modal-close:hover { background: var(--line); }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.form-field input, .form-field textarea, .form-field select {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 0; border-color: var(--brand-magenta); box-shadow: 0 0 0 3px rgba(186,0,90,.10);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }

/* ---------- Stats / counters ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; text-align: center;
}
.stat-card .num { font-size: 2.2rem; font-weight: 800; color: var(--brand-magenta); margin: 0 0 4px; }
.stat-card .label { color: var(--muted); font-size: .92rem; }

/* ---------- Portfolio auto-marquee ---------- */
.portfolio-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.portfolio-track {
  display: flex; gap: 28px;
  width: max-content;
  animation: portfolio-scroll 70s linear infinite;
  padding: 12px 0;
}
.portfolio-marquee:hover .portfolio-track { animation-play-state: paused; }
@keyframes portfolio-scroll {
  to { transform: translateX(calc(-50% - 14px)); } /* -50% offsets one full set; 14px is half of the gap */
}

.portfolio-card {
  flex: 0 0 520px;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.portfolio-card:hover,
.portfolio-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,.12);
}
.portfolio-card:focus-visible { outline: 2px solid var(--brand-magenta); outline-offset: 3px; }

/* Mock browser window inside each card */
.portfolio-mock {
  height: 320px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.portfolio-mock .bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  background: rgba(255,255,255,.6); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.portfolio-mock .bar span {
  width: 11px; height: 11px; border-radius: 50%; background: #ff5f57;
}
.portfolio-mock .bar span:nth-child(2) { background: #febc2e; }
.portfolio-mock .bar span:nth-child(3) { background: #28c840; }
.portfolio-mock .bar .url {
  flex: 1; height: 20px; border-radius: 999px; background: rgba(0,0,0,.05);
  display: flex; align-items: center; padding: 0 14px;
  font-size: .72rem; color: var(--muted); font-family: monospace;
  margin-left: 8px;
}
.portfolio-mock .canvas {
  flex: 1; padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; color: #fff;
}
.portfolio-mock .canvas h5 { color: inherit; font-size: 1.5rem; margin: 0 0 8px; font-weight: 800; letter-spacing: -.02em; }
.portfolio-mock .canvas p  { color: rgba(255,255,255,.9); font-size: .95rem; margin: 0; }
.portfolio-mock .canvas .pill {
  display: inline-block; margin-top: 16px; padding: 6px 14px;
  background: rgba(255,255,255,.2); border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
}

.portfolio-meta { padding: 22px 26px; display: flex; flex-direction: column; gap: 4px; }
.portfolio-meta h4 { margin: 0 0 2px; font-size: 1.15rem; }
.portfolio-meta p  { margin: 0; color: var(--muted); font-size: .92rem; }
.portfolio-cta {
  display: inline-block; margin-top: 10px;
  font-size: .85rem; font-weight: 600; color: var(--brand-magenta);
  transition: transform .25s var(--ease);
}
.portfolio-card:hover .portfolio-cta { transform: translateX(4px); }

.portfolio-controls {
  display: flex; justify-content: center; gap: 16px; margin-top: 22px;
  color: var(--muted); font-size: .85rem;
}
.portfolio-controls span { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 900px) {
  .portfolio-card { flex: 0 0 420px; }
  .portfolio-mock { height: 260px; }
  .portfolio-mock .canvas h5 { font-size: 1.25rem; }
}
@media (max-width: 640px) {
  .portfolio-card { flex: 0 0 320px; }
  .portfolio-mock { height: 210px; }
  .portfolio-mock .canvas h5 { font-size: 1.05rem; }
  .portfolio-mock .canvas p { font-size: .82rem; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .topbar { display: none; }
}
@media (max-width: 980px) {
  .products-grid, .feature-grid, .why-best-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .moneyback { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-best-grid[style*="repeat(4"] { grid-template-columns: 1fr 1fr !important; }
  .promo-banner { flex-direction: column; align-items: flex-start; }
  .featured-post { grid-template-columns: 1fr !important; }
}
@media (max-width: 720px) {
  .nav-row { padding: 10px 0; gap: 12px; }
  .brand img { height: 28px; }
  .hero { padding-top: clamp(40px, 7vw, 60px); padding-bottom: clamp(60px, 9vw, 100px); }
  .page-hero, .page-hero-light { padding-top: clamp(40px, 7vw, 60px); padding-bottom: clamp(40px, 7vw, 60px); }
  .search { flex-direction: column; padding: 6px; border-radius: var(--radius-lg); }
  .search input { padding: 12px 16px; }
  .search button { width: 100%; }
  .products-grid, .feature-grid, .why-best-grid, .pricing-grid { grid-template-columns: 1fr; }
  .nav-actions .icon-btn.cart { display: none; }
  .promo-card { padding: 18px; gap: 10px; flex-direction: column; }
  .promo-card .item { width: 100%; justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; }
  .footer-bottom-links { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .plan-tabs-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .plan-tabs { width: max-content; }
  .plan-tab { padding: 10px 14px; font-size: .85rem; }
  .why-best-grid[style*="repeat(4"] { grid-template-columns: 1fr !important; }
  .moneyback-icon { flex: 0 0 80px; width: 80px; height: 80px; }
  .moneyback-icon img { width: 80px; height: 80px; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega { padding: 16px; }
  .mega-features { grid-template-columns: 1fr; }
  .featured-post .post-cover { min-height: 200px; }
  .featured-post .post-body { padding: 24px; }
}

/* ---------- Utility ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
           clip: rect(0,0,0,0); border: 0; }
.no-scroll { overflow: hidden; }
.gap-sm { gap: 8px; }
.mt-sm { margin-top: 14px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mb-sm { margin-bottom: 14px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }
.center { text-align: center; }

/* ---------- Also Serving - district grid ---------- */
.also-serving .districts-block + .districts-block { margin-top: 32px; }
.also-serving .districts-title {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 8px;
}
.also-serving .districts-count {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: .78rem;
}
.also-serving .pill-name { display: inline-flex; align-items: baseline; gap: 6px; }
.districts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.district-pill {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.district-pill small { color: var(--muted); font-weight: 500; margin-left: 6px; }
.district-pill .arrow { color: var(--muted); transition: transform .2s var(--ease), color .2s var(--ease); }
.district-pill:hover,
.district-pill:focus-visible {
  border-color: var(--brand-magenta);
  background: var(--brand-magenta-l);
  color: var(--brand-magenta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  opacity: 1;
}
.district-pill:hover .arrow,
.district-pill:focus-visible .arrow { color: var(--brand-magenta); transform: translateX(4px); }
.district-pill:focus-visible { outline: 2px solid var(--brand-magenta); outline-offset: 3px; }

/* ---------- Local-landing (per-district service page) ---------- */
.local-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.local-main h2 { font-size: 1.7rem; margin: 0 0 18px; }
.local-main h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.local-bullets {
  list-style: none; padding: 0; margin: 0 0 8px;
  display: grid; gap: 10px;
}
.local-bullets li {
  position: relative;
  padding: 12px 14px 12px 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--ink);
}
.local-bullets li::before {
  content: "✓";
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-magenta-l);
  color: var(--brand-magenta);
  border-radius: 50%;
  font-weight: 800; font-size: .78rem;
}

.local-aside { position: sticky; top: 100px; }
.local-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.local-card .eyebrow { margin-bottom: 12px; }
.local-card h4 { font-size: 1.5rem; margin: 0 0 4px; }
.local-card .aside-label {
  display: block;
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); font-weight: 600;
  margin-top: 16px;
}
.local-card .aside-areas {
  margin: 4px 0 0;
  font-size: .92rem; color: var(--ink-2);
}

@media (max-width: 900px) {
  .local-grid { grid-template-columns: 1fr; gap: 32px; }
  .local-aside { position: static; }
  .districts-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
@media (max-width: 540px) {
  .districts-grid { grid-template-columns: 1fr 1fr; }
  .district-pill { padding: 12px 14px; font-size: .88rem; }
}

/* =============================================================
   AUTH (login / signup / checkout shared layout)
   ============================================================= */
.auth-body {
  background: var(--bg);
  min-height: 100vh;
}
.auth-shell {
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.auth-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.auth-brand img { height: 32px; display: block; }
.auth-help {
  color: var(--muted); font-weight: 500; font-size: .92rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.auth-main {
  flex: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center; justify-items: center;
  padding: 48px 28px;
  max-width: 1280px; width: 100%;
  margin: 0 auto;
}
.auth-footer {
  text-align: center;
  padding: 24px 28px;
  color: var(--muted); font-size: .85rem;
}
.auth-footer a { color: var(--muted); border-bottom: 1px solid transparent; }
.auth-footer a:hover { color: var(--ink); }

/* Auth card */
.auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.auth-card-head { margin-bottom: 24px; }
.auth-card-head h1 { font-size: 1.8rem; margin: 0 0 6px; letter-spacing: -.02em; }
.auth-card-head p { color: var(--muted); margin: 0; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.auth-row-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.auth-row > *, .auth-row-3 > * { min-width: 0; }
.auth-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.auth-label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.auth-link { color: var(--brand-magenta); font-size: .82rem; font-weight: 600; }
.auth-link:hover { opacity: .8; }

.auth-input {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  position: relative;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.auth-input:focus-within {
  border-color: var(--brand-magenta);
  box-shadow: 0 0 0 4px rgba(186,0,90,.08);
}
.auth-input > i { color: var(--muted); flex-shrink: 0; }
.auth-input input,
.auth-input select {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  flex: 1;
  padding: 12px 0;
  min-width: 0;
}
.auth-input select { cursor: pointer; padding-right: 18px; }
.auth-input input::placeholder { color: #9ca0b8; }
.auth-eye {
  background: transparent; border: 0; cursor: pointer; padding: 4px;
  color: var(--muted);
}
.auth-eye:hover { color: var(--ink); }

.auth-cc {
  flex: 0 0 auto;
  width: auto;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  padding: 12px 8px 12px 0;
  border-right: 1px solid var(--line);
  margin-right: 4px;
  cursor: pointer;
}

.auth-field-phone .auth-input { padding-left: 10px; }

.auth-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: var(--ink-2);
  cursor: pointer;
}
.auth-check input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--brand-magenta);
  width: 16px; height: 16px;
  flex-shrink: 0;
}

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 8px 0;
  color: var(--muted); font-size: .82rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-providers { display: grid; gap: 10px; }
.auth-provider {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit; font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.auth-provider:hover { border-color: var(--ink); background: #fafbff; }
.auth-provider i { font-size: 1.05rem; }

.auth-foot {
  text-align: center; color: var(--muted); font-size: .9rem; margin: 4px 0 0;
}

/* Password meter */
.pw-meter {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 4px;
  margin-top: 4px;
}
.pw-meter span {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
}
.pw-meter[data-score="1"] span:nth-child(-n+1) { background: #ff5f57; }
.pw-meter[data-score="2"] span:nth-child(-n+2) { background: #ff842a; }
.pw-meter[data-score="3"] span:nth-child(-n+3) { background: #f4c430; }
.pw-meter[data-score="4"] span:nth-child(-n+4) { background: #2dbb3b; }
.pw-hint { color: var(--muted); font-size: .78rem; }

/* Pitch panel (right side) */
.auth-pitch { width: 100%; max-width: 460px; }
.auth-pitch-card {
  background: var(--brand-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.auth-pitch-card .eyebrow { background: rgba(255,255,255,.15); color: #fff; }
.auth-pitch-card h2 { color: #fff; font-size: 1.8rem; margin: 0 0 10px; letter-spacing: -.02em; }
.auth-pitch-card p  { color: rgba(255,255,255,.85); margin: 0 0 22px; }
.auth-pitch-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.auth-pitch-list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.92); font-size: .95rem; }
.auth-pitch-list li i {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  color: #fff;
  font-size: .85rem;
}

@media (max-width: 960px) {
  .auth-main { grid-template-columns: 1fr; gap: 32px; padding: 32px 18px; }
  .auth-pitch { max-width: 460px; }
}
@media (max-width: 540px) {
  .auth-card { padding: 24px; border-radius: var(--radius); }
  .auth-card-head h1 { font-size: 1.5rem; }
  .auth-row, .auth-row-3 { grid-template-columns: 1fr; }
  .auth-topbar { padding: 14px 16px; }
  .auth-pitch-card { padding: 28px; }
}

/* =============================================================
   CHECKOUT
   ============================================================= */
.checkout-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 28px 64px;
  grid-column: 1 / -1;
}
.checkout-steps {
  display: flex; align-items: center; gap: 12px;
  list-style: none; padding: 0; margin: 0 0 32px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.checkout-steps li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.checkout-steps li span {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--line);
  color: var(--muted);
  border-radius: 50%;
  font-size: .78rem;
}
.checkout-steps li.is-done { color: var(--brand-magenta); border-color: var(--brand-magenta-l); background: var(--brand-magenta-l); }
.checkout-steps li.is-done span { background: var(--brand-magenta); color: #fff; }
.checkout-steps li.is-active { color: var(--ink); border-color: var(--ink); }
.checkout-steps li.is-active span { background: var(--ink); color: #fff; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.checkout-form { display: flex; flex-direction: column; gap: 20px; }
.checkout-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.checkout-section h2 {
  font-size: 1.15rem;
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 10px;
}
.checkout-section h2 i { color: var(--brand-magenta); }
.checkout-section .auth-field + .auth-field,
.checkout-section .auth-row + .auth-field,
.checkout-section .auth-field + .auth-row { margin-top: 14px; }

.pay-methods { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.pay-method {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease);
  background: #fff;
}
.pay-method input { accent-color: var(--brand-magenta); margin: 0; }
.pay-method i { font-size: 1.4rem; color: var(--ink); width: 28px; text-align: center; }
.pay-method strong { display: block; font-size: .95rem; }
.pay-method small { display: block; color: var(--muted); font-size: .8rem; }
.pay-method.is-selected { border-color: var(--brand-magenta); background: var(--brand-magenta-l); }
.pay-method.is-selected i { color: var(--brand-magenta); }

.checkout-secure {
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  margin: 4px 0 0;
}
.checkout-secure i { color: var(--brand-green); }

.checkout-summary { position: sticky; top: 92px; }
.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.summary-card h3 { font-size: 1.1rem; margin: 0 0 16px; }
.summary-cycle {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.summary-cycle label {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .9rem;
}
.summary-cycle label:has(input:checked) { border-color: var(--brand-magenta); background: var(--brand-magenta-l); color: var(--brand-magenta); }
.summary-cycle input { accent-color: var(--brand-magenta); }
.summary-cycle .save {
  margin-left: auto;
  background: var(--brand-green-l);
  color: var(--brand-green-h);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .72rem; font-weight: 700;
}

.summary-items { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 12px; }
.summary-items li { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.summary-items li:last-child { border-bottom: 0; padding-bottom: 0; }
.item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.item-head strong { font-size: .95rem; }
.summary-items small { color: var(--muted); font-size: .8rem; }
.summary-items .free { color: var(--brand-green-h); font-weight: 700; font-size: .85rem; }

.summary-promo { display: flex; gap: 8px; margin-bottom: 16px; }
.summary-promo input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  font: inherit;
}
.summary-promo input:focus { outline: 0; border-color: var(--brand-magenta); }
.summary-promo .btn { padding: 10px 14px; }

.summary-totals { display: flex; flex-direction: column; gap: 8px; font-size: .92rem; padding-top: 16px; border-top: 1px solid var(--line); }
.summary-totals > div { display: flex; justify-content: space-between; }
.summary-totals .discount { color: var(--brand-green-h); }
.summary-totals .grand {
  margin-top: 6px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 1.1rem;
}
.summary-totals .grand strong { font-size: 1.25rem; color: var(--brand-magenta); }
.summary-totals small { color: var(--muted); font-size: .78rem; }

.summary-trust { margin-top: 16px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.summary-trust p { margin: 0; padding: 6px 0; color: var(--ink-2); font-size: .88rem; }
.summary-trust i { color: var(--brand-green); margin-right: 6px; }

@media (max-width: 960px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .pay-methods { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .checkout-shell { padding: 16px 14px 48px; }
  .checkout-section { padding: 18px; border-radius: var(--radius); }
}

/* =============================================================
   DASHBOARD
   ============================================================= */
.dash-body { background: #f4f5fb; }
.dash-shell { min-height: 100vh; display: flex; }

/* Sidebar */
.dash-sidebar {
  width: 248px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  display: flex; flex-direction: column;
  position: sticky; top: 0;
  height: 100vh;
  overflow-y: auto;
}
.dash-brand { padding: 0 8px 22px; border-bottom: 1px solid var(--line); }
.dash-brand img { height: 28px; display: block; }
.dash-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 22px; }
.dash-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius);
  color: var(--ink-2);
  font-weight: 500;
  font-size: .95rem;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.dash-nav-item i { width: 18px; text-align: center; color: var(--muted); transition: color .15s var(--ease); }
.dash-nav-item:hover { background: var(--surface-2); color: var(--ink); }
.dash-nav-item.is-active {
  background: var(--brand-magenta-l);
  color: var(--brand-magenta);
}
.dash-nav-item.is-active i { color: var(--brand-magenta); }
.dash-side-foot { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.dash-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
}
.dash-cta:hover { color: #fff; background: #000; opacity: 1; }
.dash-logout {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: .9rem;
}
.dash-logout:hover { color: var(--brand-magenta); }

/* Main */
.dash-main { flex: 1; min-width: 0; }
.dash-topbar {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
  z-index: 10;
}
.dash-menu-toggle {
  display: none;
  background: transparent; border: 0; padding: 8px; cursor: pointer;
  color: var(--ink); font-size: 1.2rem;
}
.dash-search {
  flex: 1;
  max-width: 460px;
  position: relative;
  display: flex; align-items: center;
}
.dash-search i { position: absolute; left: 14px; color: var(--muted); }
.dash-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 14px 9px 38px;
  font: inherit;
  background: var(--surface-2);
}
.dash-search input:focus { outline: 0; border-color: var(--brand-magenta); background: #fff; }

.dash-top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.dash-icon-btn {
  position: relative;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink-2);
  transition: background .15s var(--ease);
}
.dash-icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.dash-icon-btn .dot {
  position: absolute; top: 8px; right: 9px;
  width: 8px; height: 8px;
  background: var(--brand-magenta);
  border-radius: 50%;
  border: 2px solid #fff;
}
.dash-user { display: flex; align-items: center; gap: 10px; padding-left: 8px; margin-left: 4px; border-left: 1px solid var(--line); }
.dash-avatar {
  width: 36px; height: 36px;
  background: var(--brand-magenta);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .82rem;
}
.dash-user-meta { display: flex; flex-direction: column; line-height: 1.2; }
.dash-user-meta strong { font-size: .88rem; }
.dash-user-meta small { font-size: .75rem; color: var(--muted); }

.dash-content { padding: 28px 32px 64px; }
.dash-hello {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.dash-hello h1 { font-size: 1.75rem; margin: 0 0 4px; letter-spacing: -.02em; }
.dash-hello p { color: var(--muted); margin: 0; }
.dash-hello-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* Tiles */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.tile header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.tile header small { color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.tile-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.tile-icon-magenta { background: var(--brand-magenta-l); color: var(--brand-magenta); }
.tile-icon-orange  { background: var(--brand-orange-l);  color: var(--brand-orange-h); }
.tile-icon-red     { background: #fdecec; color: #d8323f; }
.tile-icon-green   { background: var(--brand-green-l);   color: var(--brand-green-h); }
.tile strong { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.tile p { color: var(--muted); margin: 0; font-size: .88rem; }
.tile-link { display: inline-block; margin-top: auto; padding-top: 12px; font-size: .85rem; font-weight: 600; color: var(--brand-magenta); }
.tile-link:hover { transform: translateX(2px); }
.tile-link-warn { color: #d8323f; }

/* Panels (two-col) */
.dash-twocol {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.dash-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.dash-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dash-panel-head h2 { font-size: 1.05rem; margin: 0; }
.dash-panel-link { color: var(--brand-magenta); font-size: .85rem; font-weight: 600; }

.service-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.service-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.service-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-status { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.svc-status-ok   { background: var(--brand-green); box-shadow: 0 0 0 3px var(--brand-green-l); }
.svc-status-warn { background: #ff842a; box-shadow: 0 0 0 3px var(--brand-orange-l); }
.svc-meta { flex: 1; min-width: 0; }
.svc-meta strong { display: block; font-size: .92rem; }
.svc-meta small { color: var(--muted); font-size: .8rem; }
.btn-sm { padding: 7px 14px; font-size: .82rem; }

.activity-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.activity-list li { display: flex; gap: 12px; }
.act-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.act-dot-green  { background: var(--brand-green); }
.act-dot-blue   { background: #2f86eb; }
.act-dot-orange { background: var(--brand-orange); }
.act-dot-grey   { background: var(--muted); }
.activity-list strong { display: block; font-size: .9rem; }
.activity-list small  { color: var(--muted); font-size: .78rem; }

.dash-banner {
  display: flex; align-items: center; gap: 18px; justify-content: space-between;
  background: var(--brand-magenta);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.dash-banner h3 { color: #fff; margin: 0 0 4px; font-size: 1.15rem; }
.dash-banner p  { color: rgba(255,255,255,.92); margin: 0; }
.dash-banner .btn { background: #fff; color: var(--brand-magenta); }
.dash-banner .btn:hover { background: #fff; color: var(--brand-magenta); opacity: .9; box-shadow: var(--shadow-md); }

/* Page heads (services / invoices / tickets) */
.dash-page-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.dash-page-head h1 { font-size: 1.6rem; margin: 0 0 4px; letter-spacing: -.02em; }
.dash-page-head p  { color: var(--muted); margin: 0; }
.dash-page-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* KPI row */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.kpi small { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.kpi strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 2px; }
.kpi span { color: var(--muted); font-size: .82rem; }
.kpi-warn { color: #d8323f !important; font-weight: 600; }

/* Tabs */
.dash-tabs { display: flex; gap: 4px; margin-bottom: 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dash-tab {
  padding: 10px 14px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.dash-tab:hover { color: var(--ink); }
.dash-tab.is-active { color: var(--brand-magenta); border-bottom-color: var(--brand-magenta); }

/* Tables */
.dash-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow-x: auto;
}
.dash-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.dash-table thead th {
  text-align: left;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); font-weight: 700;
  padding: 14px 16px;
  background: #fafbff;
  border-bottom: 1px solid var(--line);
}
.dash-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  color: var(--ink-2);
  vertical-align: middle;
}
.dash-table tbody tr:last-child td { border-bottom: 0; }
.dash-table tbody tr:hover { background: var(--surface-2); }
.cell-strong { font-weight: 600; color: var(--ink); }
.cell-muted  { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.cell-actions { text-align: right; white-space: nowrap; }

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
}
.badge-ok    { background: var(--brand-green-l); color: var(--brand-green-h); }
.badge-warn  { background: var(--brand-orange-l); color: var(--brand-orange-h); }
.badge-red   { background: #fdecec; color: #d8323f; }
.badge-info  { background: #e7f1ff; color: #2f86eb; }
.badge-muted { background: var(--surface-3); color: var(--muted); }

/* Mobile cards (hidden on desktop) */
.dash-cards-mobile { display: none; flex-direction: column; gap: 12px; }
.dash-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.dash-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; }
.dash-card header strong { font-size: 1rem; }
.dash-card-subject { font-size: .92rem; margin-bottom: 12px; color: var(--ink-2); }
.dash-card dl {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px;
  margin: 0 0 14px;
  font-size: .85rem;
}
.dash-card dt { color: var(--muted); }
.dash-card dd { margin: 0; font-weight: 500; }

/* Toggle switch */
.switch {
  display: inline-block; position: relative;
  width: 36px; height: 20px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch span {
  position: absolute; inset: 0;
  background: var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s var(--ease);
}
.switch span::after {
  content: ""; position: absolute;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  top: 2px; left: 2px;
  transition: left .15s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.switch input:checked + span { background: var(--brand-magenta); }
.switch input:checked + span::after { left: 18px; }
.switch-lg { width: 48px; height: 26px; }
.switch-lg span::after { width: 22px; height: 22px; }
.switch-lg input:checked + span::after { left: 24px; }

/* Domain search */
.domain-search { margin-bottom: 22px; }
.domain-search-form {
  display: flex; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px;
}
.domain-search-form input {
  flex: 1; min-width: 0;
  border: 0; padding: 10px 14px; font: inherit;
  background: transparent;
}
.domain-search-form input:focus { outline: 0; }
.domain-search-form select {
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  padding: 0 14px;
  font: inherit;
}

/* Profile */
.profile-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.profile-side { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 92px; align-self: start; }
.profile-side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: .92rem; font-weight: 500;
}
.profile-side-item i { color: var(--muted); width: 18px; text-align: center; }
.profile-side-item:hover { background: var(--surface-2); color: var(--ink); }
.profile-side-item.is-active { background: var(--brand-magenta-l); color: var(--brand-magenta); }
.profile-side-item.is-active i { color: var(--brand-magenta); }
.profile-side-danger { color: #d8323f; }
.profile-side-danger:hover { background: #fdecec; color: #d8323f; }

.profile-body { display: flex; flex-direction: column; gap: 20px; }
.profile-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.profile-card header { margin-bottom: 18px; }
.profile-card header h2 { font-size: 1.15rem; margin: 0 0 4px; }
.profile-card header p  { color: var(--muted); margin: 0; font-size: .9rem; }
.profile-form { display: flex; flex-direction: column; gap: 14px; }
.profile-actions { display: flex; gap: 10px; margin-top: 4px; }

.security-2fa {
  margin-top: 20px; padding: 16px;
  background: var(--surface-2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.security-2fa p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }

.security-sessions { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.security-sessions h3 { font-size: 1rem; margin: 0 0 12px; }
.security-sessions ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.security-sessions li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; background: var(--surface-2); border-radius: var(--radius); }
.security-sessions small { color: var(--muted); font-size: .8rem; }

.notif-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.notif-list li {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.notif-list li:last-child { border-bottom: 0; }
.notif-list small { color: var(--muted); font-size: .82rem; }

/* Tickets help row */
.dash-help-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 24px; }
.dash-help-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: var(--ink);
  transition: transform .15s var(--ease), border-color .15s var(--ease);
}
.dash-help-card:hover { transform: translateY(-2px); border-color: var(--brand-magenta); color: var(--brand-magenta); }
.dash-help-card i { font-size: 1.5rem; margin-bottom: 8px; color: var(--brand-magenta); }
.dash-help-card strong { display: block; margin-bottom: 4px; }
.dash-help-card small { color: var(--muted); font-size: .82rem; }

/* Dashboard scrim for mobile sidebar */
.dash-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 9;
  opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease);
}
.dash-scrim.is-open { opacity: 1; pointer-events: auto; }

/* Dashboard responsive */
@media (max-width: 1024px) {
  .dash-twocol { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .profile-side-item { flex: 0 0 auto; }
}
@media (max-width: 860px) {
  .dash-sidebar {
    position: fixed; top: 0; left: 0;
    z-index: 20;
    transform: translateX(-100%);
    transition: transform .25s var(--ease);
    box-shadow: 0 0 30px rgba(15,18,48,.2);
  }
  .dash-sidebar.is-open { transform: translateX(0); }
  .dash-menu-toggle { display: inline-flex; }
  .dash-user-meta { display: none; }
  .dash-search { max-width: none; }
  .dash-content { padding: 22px 18px 64px; }
  .dash-table-wrap { display: none; }
  .dash-cards-mobile { display: flex; }
}
@media (max-width: 540px) {
  .dash-topbar { padding: 12px 14px; }
  .dash-search input { padding-left: 36px; font-size: .9rem; }
  .dash-content { padding: 18px 14px 48px; }
  .dash-banner { padding: 18px; }
  .dash-banner h3 { font-size: 1rem; }
  .tile strong { font-size: 1.6rem; }
  .dash-card dl { grid-template-columns: 1fr; }
}

/* =============================================================
   AI HOSTING + PRICE-MATCH marketing components
   ============================================================= */

.hero-cta-row { display: inline-flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.ai-hero-mini i { color: var(--brand-green); margin-right: 4px; }
.ai-hero-mini i + i { margin-left: 6px; }

.ai-hero h1 { letter-spacing: -.02em; }

/* "Popular" pill on pricing cards */
.badge-popular {
  display: inline-block; margin-left: 8px;
  background: var(--brand-orange);
  color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
  vertical-align: middle;
}
.badge-free {
  display: inline-block; margin-left: 8px;
  background: var(--brand-green);
  color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
  vertical-align: middle;
}
.badge-free-mini {
  display: inline-block;
  margin-left: 6px;
  background: var(--brand-green);
  color: #fff;
  font-size: .55rem; font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
  vertical-align: middle;
}

/* Free pricing card variant */
.pricing-card.pricing-free {
  border: 2px solid var(--brand-green);
  position: relative;
}
.pricing-card .price-free { color: var(--brand-green-h); }

/* Price-match strip ("found a lower price elsewhere?") */
.price-match-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding: 22px 28px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.price-match-strip strong { display: block; font-size: 1.1rem; }
.price-match-strip p { margin: 4px 0 0; color: rgba(255,255,255,.85); font-size: .92rem; }
.price-match-strip .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.price-match-strip .btn-ghost:hover { background: #fff; color: var(--ink); }

/* Comparison table */
.compare-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  padding: 8px;
}
.compare-table {
  width: 100%; border-collapse: collapse; min-width: 720px;
}
.compare-table thead th {
  text-align: left;
  font-size: .82rem;
  padding: 16px 14px;
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 700;
  border-radius: 8px;
}
.compare-table thead th.us {
  background: var(--brand-magenta);
  color: #fff;
}
.compare-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  color: var(--ink-2);
  vertical-align: middle;
}
.compare-table tbody td.us { background: var(--brand-magenta-l); color: var(--brand-magenta); font-weight: 600; }
.compare-table tbody tr:last-child td { border-bottom: 0; }

/* AI builder logo row */
.ai-builder-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.ai-builder {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 18px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.ai-builder:hover { transform: translateY(-2px); border-color: var(--brand-magenta); }
.ai-builder i { font-size: 1.4rem; color: var(--brand-magenta); margin-bottom: 6px; }
.ai-builder strong { font-size: .92rem; }
.ai-builder small { color: var(--muted); font-size: .78rem; }

/* AI flow (prompt → save → deploy) */
.ai-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
  margin-top: 32px;
}
.ai-flow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
}
.ai-flow-step strong { display: block; font-size: 1.05rem; margin-bottom: 10px; }
.ai-flow-step code { display: block; background: var(--surface-2); padding: 8px 12px; border-radius: 6px; font-size: .82rem; color: var(--ink-2); word-break: break-all; }
.ai-flow-icon {
  width: 50px; height: 50px;
  background: var(--brand-magenta-l);
  color: var(--brand-magenta);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin: 0 auto 14px;
}
.ai-flow-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; color: var(--brand-magenta);
}
.ai-flow-highlight { border-color: var(--brand-magenta); background: var(--brand-magenta-l); }

/* Free feature grid (8 features on /free-static-hosting) */
.free-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.free-feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.free-feat-icon {
  width: 44px; height: 44px;
  background: var(--brand-magenta-l);
  color: var(--brand-magenta);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.free-feat h3 { font-size: 1.05rem; margin: 0 0 6px; }
.free-feat p  { color: var(--muted); font-size: .9rem; margin: 0; }

/* ChatGPT prompt card */
.prompt-card {
  background: #0f1130;
  color: #e4e6f1;
  border-radius: var(--radius-lg);
  padding: 0;
  margin-top: 24px;
  border: 1px solid #1f2247;
  overflow: hidden;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.prompt-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: #1a1d4a;
  border-bottom: 1px solid #2a2d5a;
}
.prompt-card-head span { font-weight: 600; color: #fff; }
.prompt-card-head span i { color: var(--brand-green); margin-right: 6px; }
.prompt-copy {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 0;
  padding: 6px 14px;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
  font-size: .85rem;
}
.prompt-copy:hover { background: rgba(255,255,255,.18); }
.prompt-card pre {
  margin: 0;
  padding: 22px;
  font-family: 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: .88rem;
  line-height: 1.7;
  color: #e4e6f1;
  white-space: pre-wrap;
  word-break: break-word;
}
.prompt-card pre code { color: var(--brand-orange); }
.prompt-card + small { display: block; margin: 12px auto 0; text-align: center; max-width: 880px; }

/* Mega-menu highlights (gradient-free) */
.mega-item-highlight { background: var(--brand-green-l); border-radius: 10px; }
.mega-item-highlight .mega-item-icon i { color: var(--brand-green); }

@media (max-width: 860px) {
  .ai-flow {
    grid-template-columns: 1fr;
  }
  .ai-flow-arrow {
    transform: rotate(90deg);
  }
}
@media (max-width: 540px) {
  .compare-table { font-size: .82rem; }
  .compare-table thead th, .compare-table tbody td { padding: 10px; }
  .price-match-strip { padding: 18px; }
  .hero-cta-row { width: 100%; }
  .hero-cta-row .btn { flex: 1; min-width: 0; }
}

/* =============================================================
   CART PAGE
   ============================================================= */
.cart-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 28px 64px;
  grid-column: 1 / -1;
}
.cart-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.cart-head h1 { font-size: 1.8rem; margin: 0; letter-spacing: -.02em; }
.cart-count {
  display: inline-block; margin-left: 10px;
  background: var(--surface-2);
  color: var(--muted);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .82rem; font-weight: 600;
  vertical-align: middle;
}
.cart-continue {
  color: var(--muted); font-weight: 500; font-size: .92rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.cart-continue:hover { color: var(--brand-magenta); }

.cart-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

/* Cart items - compact single-row */
.cart-items { display: flex; flex-direction: column; gap: 10px; }
.cart-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1.4fr) minmax(0, 1fr) auto auto auto;
  gap: 16px;
  align-items: center;
}
.cart-item-icon {
  width: 48px; height: 48px;
  background: var(--brand-magenta-l);
  color: var(--brand-magenta);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.cart-item-icon-green { background: var(--brand-green-l); color: var(--brand-green-h); }
.cart-item-info { min-width: 0; }
.cart-item-info h3 {
  font-size: 1rem; margin: 0;
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
  line-height: 1.3;
}
.cart-item-domain {
  color: var(--muted); font-size: .84rem; margin: 2px 0 0;
  line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cart-item-domain i { color: var(--brand-green); margin-right: 4px; }
.cart-item-remove {
  background: transparent; border: 0; cursor: pointer;
  color: var(--muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s var(--ease), color .15s var(--ease);
  flex-shrink: 0;
  font-size: .9rem;
}
.cart-item-remove:hover { background: #fdecec; color: #d8323f; }

/* hide old feature pills (not used in compact layout) */
.cart-item-features { display: none; }

/* Cycle dropdown */
.cart-cycle { display: flex; align-items: center; min-width: 0; }
.cart-cycle select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-size: .88rem;
  background: #fff;
  cursor: pointer;
  width: 100%;
  min-width: 0;
}
.cart-cycle select:focus { outline: 0; border-color: var(--brand-magenta); }

/* Qty stepper */
.cart-qty { display: flex; align-items: center; }
.qty-stepper {
  display: inline-flex; align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.qty-stepper button {
  width: 32px; height: 34px;
  background: var(--surface-2);
  border: 0;
  cursor: pointer;
  color: var(--ink);
  transition: background .15s var(--ease);
  font-size: .78rem;
}
.qty-stepper button:hover { background: var(--brand-magenta-l); color: var(--brand-magenta); }
.qty-stepper input {
  width: 40px; height: 34px;
  border: 0; outline: 0;
  text-align: center;
  font: inherit; font-weight: 600; font-size: .92rem;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Price block */
.cart-item-price {
  text-align: right;
  display: flex; flex-direction: column; align-items: flex-end;
  line-height: 1.2;
  white-space: nowrap;
  min-width: 72px;
}
.cart-item-price strong { font-size: 1.15rem; color: var(--ink); font-weight: 700; }
.cart-item-price .strike {
  color: var(--muted); text-decoration: line-through; font-size: .78rem;
}
.cart-item-price .cart-free-price { color: var(--brand-green-h); }

/* Bundled empty cells (free item has no cycle/qty controls - keep grid alignment) */
.cart-item-bundled-empty { display: block; min-height: 1px; }

/* =============================================================
   DASHBOARD DETAIL PAGES (ticket / service / invoice views)
   ============================================================= */
.dash-back-row { margin-bottom: 14px; }
.dash-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: .9rem; font-weight: 500;
}
.dash-back:hover { color: var(--brand-magenta); opacity: 1; }

/* Generic shared header pattern */
.ticket-header,
.service-header,
.invoice-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.ticket-header h1,
.service-header h1,
.invoice-header h1 { font-size: 1.5rem; margin: 6px 0 0; letter-spacing: -.01em; }
.ticket-meta,
.service-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  color: var(--muted); font-size: .85rem; margin: 0;
}
.ticket-meta strong, .service-meta strong { color: var(--ink); font-weight: 600; }
.ticket-header-actions,
.service-header-actions,
.invoice-header-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Service header avatar */
.service-header-main { display: flex; gap: 16px; align-items: center; }
.dash-icon-pill {
  width: 40px; height: 40px;
  background: var(--brand-magenta-l); color: var(--brand-magenta);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.dash-icon-pill-lg { width: 56px; height: 56px; border-radius: 16px; font-size: 1.4rem; }
.service-domain { color: var(--muted); margin: 4px 0 0; font-size: .9rem; }

/* Ticket layout */
.ticket-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
.ticket-thread { display: flex; flex-direction: column; gap: 14px; }

.ticket-msg {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.ticket-msg-me { border-color: var(--brand-magenta-l); background: #fffafc; }
.ticket-msg-avatar {
  width: 40px; height: 40px;
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700;
}
.ticket-msg-me .ticket-msg-avatar { background: var(--brand-magenta); color: #fff; }
.ticket-msg-body { min-width: 0; }
.ticket-msg-body header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.ticket-msg-body header strong { font-size: .95rem; }
.ticket-msg-body header small { color: var(--muted); font-size: .8rem; }
.ticket-msg-content p { margin: 0 0 8px; color: var(--ink-2); font-size: .92rem; line-height: 1.6; }
.ticket-msg-content p:last-child { margin-bottom: 0; }
.ticket-msg-attachments {
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-direction: column; gap: 6px;
}
.ticket-msg-attachments li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: var(--surface-2);
  border-radius: 8px;
  font-size: .85rem;
  width: fit-content;
}
.ticket-msg-attachments i { color: var(--muted); }
.ticket-msg-attachments small { color: var(--muted); }

/* Reply form */
.ticket-reply {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.ticket-reply header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.ticket-reply header h3 { font-size: 1rem; margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.ticket-reply header small { color: var(--muted); font-size: .85rem; }

.reply-toolbar {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 6px;
}
.reply-toolbar button {
  width: 30px; height: 30px;
  background: transparent; border: 0;
  cursor: pointer;
  color: var(--ink-2);
  border-radius: 6px;
  font-size: .85rem;
}
.reply-toolbar button:hover { background: #fff; color: var(--brand-magenta); }
.reply-toolbar .toolbar-sep {
  width: 1px; height: 22px;
  background: var(--line);
  margin: 0 4px;
}

.reply-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0;
  padding: 14px;
  font: inherit;
  font-size: .92rem;
  resize: vertical;
  min-height: 140px;
}
.reply-textarea-tall { min-height: 220px; border-top: 1px solid var(--line); border-radius: var(--radius); }
.reply-textarea:focus { outline: 0; border-color: var(--brand-magenta); box-shadow: 0 0 0 3px rgba(186,0,90,.08); }

.reply-dropzone {
  margin-top: 14px;
  padding: 22px;
  background: var(--surface-2);
  border: 2px dashed var(--line-2);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}
.reply-dropzone i { display: block; font-size: 1.6rem; color: var(--muted); margin-bottom: 6px; }
.reply-dropzone a { color: var(--brand-magenta); font-weight: 600; }
.reply-dropzone small { display: block; margin-top: 4px; font-size: .8rem; }

.reply-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-top: 14px;
}
.reply-actions > div { display: flex; gap: 8px; flex-wrap: wrap; }
.reply-check { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.reply-check input { accent-color: var(--brand-magenta); }

/* Ticket sidebar */
.ticket-sidebar { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 92px; }
.ticket-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.ticket-side-card h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; font-weight: 700; }
.ticket-side-card dl { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ticket-side-card dt { font-size: .78rem; color: var(--muted); margin: 0; }
.ticket-side-card dd { margin: 0 0 4px; font-size: .9rem; }
.ticket-side-select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  font: inherit; font-size: .85rem;
  background: #fff;
  cursor: pointer;
}
.ticket-side-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
  background: var(--surface-2);
  border-radius: var(--radius);
  color: var(--ink);
}
.ticket-side-link:hover { background: var(--brand-magenta-l); color: var(--brand-magenta); opacity: 1; }
.ticket-side-link strong { display: block; font-size: .9rem; }
.ticket-side-link small { color: var(--muted); font-size: .78rem; }
.ticket-side-link > div { flex: 1; min-width: 0; }
.ticket-side-link i.fa-chevron-right { color: var(--muted); font-size: .75rem; }
.ticket-side-kb { list-style: none; padding: 0; margin: 0; }
.ticket-side-kb li { padding: 6px 0; }
.ticket-side-kb a { color: var(--ink-2); font-size: .88rem; display: inline-flex; align-items: center; gap: 8px; }
.ticket-side-kb a:hover { color: var(--brand-magenta); }
.ticket-side-kb i { color: var(--muted); width: 14px; }
.ticket-sla { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ticket-sla li { display: flex; align-items: center; gap: 10px; font-size: .88rem; }

/* New-ticket layout */
.new-ticket-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
.new-ticket-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 92px; }

/* Service detail */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
  margin-top: 22px;
}
.service-main { display: flex; flex-direction: column; gap: 18px; }
.service-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 92px; }
.service-dl { margin: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px 14px; font-size: .9rem; }
.service-dl dt { color: var(--muted); font-size: .82rem; }
.service-dl dd { margin: 0; font-weight: 500; }
.service-dl dd code { font-size: .82rem; background: var(--surface-2); padding: 1px 6px; border-radius: 4px; }

/* Usage cards */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.usage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.usage-card header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.usage-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.usage-card header small { font-size: .75rem; color: var(--muted); }
.usage-card strong { display: block; font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.usage-card strong small { font-size: .8rem; color: var(--muted); font-weight: 500; }
.usage-bar {
  height: 6px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}
.usage-bar span {
  display: block; height: 100%;
  background: var(--brand-magenta);
  border-radius: 999px;
}
.usage-bar-ok span { background: var(--brand-green); }
.usage-note { color: var(--muted); font-size: .78rem; }

/* Action grid (quick actions on service page) */
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.action-tile {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 4px;
  padding: 16px 12px;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.action-tile:hover { background: var(--brand-magenta-l); border-color: var(--brand-magenta-l); color: var(--brand-magenta); opacity: 1; transform: translateY(-1px); }
.action-tile i { font-size: 1.1rem; color: var(--brand-magenta); margin-bottom: 4px; }
.action-tile strong { font-size: .88rem; }
.action-tile small { color: var(--muted); font-size: .76rem; line-height: 1.3; }
.action-tile:hover small { color: var(--brand-magenta); }

/* Invoice detail */
.invoice-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
.invoice-doc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.invoice-doc-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.invoice-doc-head img { height: 30px; display: block; margin-bottom: 12px; }
.invoice-from { color: var(--muted); font-size: .85rem; margin: 0; line-height: 1.6; }
.invoice-from strong { color: var(--ink); }
.invoice-meta-box dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: .85rem; }
.invoice-meta-box dt { color: var(--muted); }
.invoice-meta-box dd { margin: 0; font-weight: 600; }
.invoice-to { padding-bottom: 14px; }
.invoice-to-label { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.invoice-to strong { font-size: 1rem; }
.invoice-to p { margin: 4px 0 0; color: var(--ink-2); font-size: .88rem; line-height: 1.5; }
.invoice-table .text-right { text-align: right; }
.invoice-totals { margin-top: 18px; display: flex; justify-content: flex-end; }
.invoice-totals dl {
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px 32px;
  margin: 0;
  min-width: 280px;
}
.invoice-totals dt { color: var(--muted); font-size: .9rem; }
.invoice-totals dd { margin: 0; text-align: right; font-weight: 600; }
.invoice-totals .grand { font-size: 1.1rem; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--brand-magenta); font-weight: 800; }
.invoice-foot { color: var(--muted); font-size: .85rem; margin: 22px 0 0; line-height: 1.6; }

.invoice-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 92px; }
.pay-options { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.pay-options label {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .88rem;
}
.pay-options label:has(input:checked) { border-color: var(--brand-magenta); background: var(--brand-magenta-l); color: var(--brand-magenta); }
.pay-options input { accent-color: var(--brand-magenta); }
.pay-options i { font-size: 1rem; }

/* Responsive */
@media (max-width: 1024px) {
  .ticket-grid,
  .new-ticket-grid,
  .service-grid,
  .invoice-grid { grid-template-columns: 1fr; }
  .ticket-sidebar,
  .new-ticket-side,
  .service-side,
  .invoice-side { position: static; }
}
@media (max-width: 540px) {
  .invoice-doc { padding: 22px; }
}

/* =============================================================
   AI DOMAIN SEARCH
   ============================================================= */
.ai-search-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.ai-search-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink);
  margin-bottom: 10px;
}
.ai-search-label i { color: var(--brand-magenta); }
.ai-search-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font: inherit;
  font-size: 1rem;
  resize: vertical;
  min-height: 90px;
}
.ai-search-input:focus { outline: 0; border-color: var(--brand-magenta); box-shadow: 0 0 0 3px rgba(186,0,90,.08); }

.ai-search-meta {
  display: flex; flex-direction: column; gap: 12px;
  margin: 16px 0 18px;
}
.ai-search-chips,
.ai-search-tlds {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.chip-label { color: var(--muted); font-size: .82rem; font-weight: 600; }
.ai-chip {
  border: 1px solid var(--line);
  background: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit; font-size: .82rem;
  color: var(--ink-2);
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.ai-chip:hover { border-color: var(--brand-magenta); background: var(--brand-magenta-l); color: var(--brand-magenta); }

.ai-search-tlds label {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .85rem; color: var(--ink-2); cursor: pointer;
}
.ai-search-tlds input { accent-color: var(--brand-magenta); }

.ai-search-disclaimer { display: block; text-align: center; margin-top: 8px; font-size: .82rem; }

/* Loading state */
.ai-loading {
  max-width: 880px; margin: 36px auto 0;
  text-align: center;
  padding: 60px 32px;
}
.ai-loading-spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--brand-magenta-l);
  border-top-color: var(--brand-magenta);
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: ai-spin 1s linear infinite;
}
@keyframes ai-spin { to { transform: rotate(360deg); } }
.ai-loading h3 { margin: 0 0 6px; font-size: 1.15rem; }

/* Results */
.ai-results { max-width: 880px; margin: 32px auto 0; }
.ai-results-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.ai-results-head h2 { font-size: 1.3rem; margin: 0 0 4px; }
.ai-results-head p { margin: 0; }
.ai-results-actions { display: flex; gap: 8px; }

.ai-domain-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.ai-domain-row {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.ai-domain-row:hover { border-color: var(--brand-magenta); transform: translateY(-1px); }
.ai-domain-row.is-taken { opacity: .65; }
.ai-domain-row.is-taken:hover { border-color: var(--line); transform: none; }
.ai-domain-icon {
  width: 36px; height: 36px;
  background: var(--brand-magenta-l);
  color: var(--brand-magenta);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.ai-domain-row.is-taken .ai-domain-icon { background: var(--surface-2); color: var(--muted); }
.ai-domain-name { min-width: 0; }
.ai-domain-name strong { font-size: 1rem; color: var(--ink); }
.ai-domain-tld { color: var(--brand-magenta); }
.ai-domain-score { display: block; color: var(--muted); font-size: .78rem; }
.ai-domain-tag {
  display: inline-block;
  background: var(--brand-green-l);
  color: var(--brand-green-h);
  padding: 0 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .72rem;
}
.ai-domain-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.ai-domain-price strong { font-size: 1rem; color: var(--ink); }
.ai-domain-price small { color: var(--muted); font-size: .72rem; }
.ai-domain-taken-tag { color: #d8323f; font-size: .82rem; font-weight: 700; }

.ai-results-foot { margin-top: 18px; text-align: center; }

@media (max-width: 540px) {
  .ai-search-card { padding: 22px; }
  .ai-domain-row { grid-template-columns: 32px 1fr; gap: 10px; padding: 12px; }
  .ai-domain-row .ai-domain-price,
  .ai-domain-row .ai-domain-taken-tag,
  .ai-domain-row .ai-add-btn,
  .ai-domain-row .btn { grid-column: 1 / -1; justify-self: stretch; }
}
.cart-free-price { color: var(--brand-green-h) !important; }

.cart-item-free { border-color: var(--brand-green); background: var(--brand-green-l); }
.cart-item-free .cart-item-icon { background: rgba(255,255,255,.6); }
.cart-bundled-note {
  color: var(--brand-green-h); font-size: .82rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  grid-column: 1 / span 2;
}

/* Upsell cards */
.cart-upsell {
  background: #fff;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
}
.cart-upsell-icon {
  width: 44px; height: 44px;
  background: var(--brand-magenta-l);
  color: var(--brand-magenta);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cart-upsell h4 { font-size: .98rem; margin: 0 0 2px; }
.cart-upsell p  { color: var(--muted); font-size: .85rem; margin: 0; }
.cart-upsell > div:not(.cart-upsell-icon) { flex: 1; min-width: 0; }
.cart-upsell .btn-sm { white-space: nowrap; flex-shrink: 0; }

/* Cart summary (sticky right) */
.cart-summary { position: sticky; top: 92px; }
.cart-summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.cart-summary-card h3 { font-size: 1.1rem; margin: 0 0 14px; }

.cart-summary-items {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cart-summary-items li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  font-size: .92rem;
}
.cart-summary-items span small { color: var(--muted); font-size: .78rem; }
.cart-summary-items strong { font-size: .95rem; }
.cart-summary-items .free-tag { color: var(--brand-green-h); font-weight: 700; font-size: .82rem; }

.cart-promo { display: flex; gap: 6px; margin-bottom: 16px; }
.cart-promo input {
  flex: 1; min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 12px;
  font: inherit; font-size: .88rem;
}
.cart-promo input:focus { outline: 0; border-color: var(--brand-magenta); }
.cart-promo .btn-sm { padding: 8px 14px; }

.cart-totals {
  display: flex; flex-direction: column; gap: 8px;
  font-size: .92rem;
  padding-bottom: 18px;
}
.cart-totals > div { display: flex; justify-content: space-between; }
.cart-totals .discount { color: var(--brand-green-h); }
.cart-totals .cart-grand {
  margin-top: 6px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 1.05rem;
}
.cart-totals .cart-grand strong { font-size: 1.4rem; color: var(--brand-magenta); }
.cart-totals small { color: var(--muted); font-size: .78rem; margin-top: 4px; }

.cart-summary-card .btn-block { margin-top: 8px; }

.cart-trust {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-direction: column; gap: 6px;
}
.cart-trust li {
  color: var(--ink-2); font-size: .85rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.cart-trust i { color: var(--brand-green); font-size: .82rem; }

.cart-payments {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-top: 14px; margin-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.4rem;
}
.cart-payments small { color: var(--muted); font-size: .8rem; margin-right: 4px; }

/* Free item controls - no qty/cycle controls, single row */
.cart-item-controls-free {
  grid-template-columns: 1fr auto;
}

/* Removal animation */
.cart-item.is-removing,
.cart-upsell.is-removing {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

/* Empty state */
.cart-grid.is-empty { grid-template-columns: 1fr; }
.cart-empty {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  text-align: center;
}
.cart-empty-icon {
  width: 96px; height: 96px;
  background: var(--surface-2);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  color: var(--muted);
  margin: 0 auto 22px;
}
.cart-empty h2 { font-size: 1.6rem; margin: 0 0 8px; }
.cart-empty p { color: var(--muted); margin: 0 0 24px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cart-empty-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 960px) {
  .cart-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 720px) {
  /* Stack controls below info on tablet/mobile */
  .cart-item {
    grid-template-columns: 36px 1fr auto;
    gap: 10px 12px;
  }
  .cart-item-info { grid-column: 2 / span 1; }
  .cart-item-remove { grid-column: 3; grid-row: 1; }
  .cart-cycle { grid-column: 2 / span 2; }
  .cart-qty { grid-column: 2 / span 2; justify-content: flex-start; }
  .cart-item-price {
    grid-column: 2 / span 2;
    text-align: left; align-items: flex-start;
    flex-direction: row; gap: 8px;
    padding-top: 4px; margin-top: 4px;
    border-top: 1px dashed var(--line);
  }
  .cart-item-bundled-empty { display: none; }
}
@media (max-width: 540px) {
  .cart-shell { padding: 16px 14px 48px; }
  .cart-item { padding: 12px; }
  .cart-empty { padding: 40px 22px; }
}

/* =============================================================
   DASHBOARD TOAST notifications
   ============================================================= */
.dash-toast {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem;
  font-weight: 500;
  max-width: 380px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.dash-toast.is-visible { opacity: 1; transform: translateY(0); }
.dash-toast i { font-size: 1.05rem; flex-shrink: 0; }
.dash-toast-success { background: var(--brand-green-h); }
.dash-toast-success i { color: #fff; }
.dash-toast-error { background: #d8323f; }
.dash-toast-info i { color: var(--brand-magenta); }

@media (max-width: 540px) {
  .dash-toast {
    left: 16px; right: 16px; bottom: 16px;
    max-width: none;
  }
}

@media print {
  .dash-sidebar, .dash-topbar, .dash-back-row,
  .invoice-header-actions, .invoice-side,
  .ticket-sidebar { display: none !important; }
  .dash-content { padding: 0 !important; }
  .invoice-doc { border: 0 !important; box-shadow: none !important; padding: 0 !important; }
}

/* =============================================================
   FINAL RESPONSIVE POLISH
   Applies across all pages. Order: tablet → mobile → small mobile.
   Designed to fix readability + touch-target + overflow issues
   without disturbing desktop layouts.
   ============================================================= */

/* ---- Tablet (768px and below) ---- */
@media (max-width: 768px) {
  /* Containers / sections: tighter padding so content breathes */
  .container { padding-left: 18px; padding-right: 18px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 36px 0; }
  .section-soft { padding: 56px 0; }

  /* Section heads */
  .section-head { max-width: none; }
  .section-head h2 { font-size: clamp(1.55rem, 4.2vw, 2rem); }
  .section-head p { font-size: 1rem; }

  /* Heroes: tighter padding, controlled CTAs */
  .hero { padding: 60px 0 80px; }
  .hero-content h1 { font-size: clamp(2rem, 6.5vw, 2.8rem); }
  .hero-content p { font-size: 1.05rem; margin-bottom: 28px; }
  .hero-cta-row { width: 100%; flex-direction: column; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
  .page-hero { padding: 48px 0 56px; }
  .page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
  .page-hero p { font-size: 1rem; }

  /* Grids: tighter */
  .pricing-grid { gap: 18px; }
  .feature-grid { gap: 16px; }
  .why-best-grid { gap: 16px; }

  /* Pricing cards: full width on tablet+ */
  .pricing-grid { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }

  /* Cards padding */
  .pricing-card { padding: 26px 22px; }
  .feature-card { padding: 24px 20px; }
  .why-best-item { padding: 22px; }

  /* District pills */
  .districts-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

  /* Compare tables horizontally scroll */
  .compare-table-wrap { padding: 6px; }
  .compare-table { font-size: .88rem; }
  .compare-table thead th,
  .compare-table tbody td { padding: 10px 12px; }
}

/* ---- Mobile (640px and below) ---- */
@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding: 44px 0; }
  .section-tight { padding: 28px 0; }
  .section-soft { padding: 44px 0; }

  /* Headings */
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 1.55rem; line-height: 1.2; }
  .section-head p { font-size: .98rem; }

  /* Hero */
  .hero { padding: 48px 0 64px; }
  .hero-content h1 { font-size: 1.95rem; line-height: 1.12; }
  .hero-content p { font-size: 1rem; margin-bottom: 24px; }
  .page-hero { padding: 36px 0 40px; }
  .page-hero h1 { font-size: 1.7rem; line-height: 1.15; }
  .breadcrumb { font-size: .82rem; }

  /* Buttons: comfortable touch targets, full width */
  .btn { padding: 12px 18px; font-size: .95rem; min-height: 44px; }
  .btn-lg { padding: 14px 22px; font-size: 1rem; min-height: 48px; }
  .btn-sm { padding: 9px 14px; font-size: .85rem; min-height: 36px; }

  /* Inline CTA groups → stack full width */
  .page-hero .container > div[style*="inline-flex"],
  .page-hero .container > div[style*="display: inline-flex"] {
    display: flex !important;
    flex-direction: column;
    width: 100%;
  }
  .page-hero .container > div[style*="inline-flex"] .btn { width: 100%; justify-content: center; }

  /* Cards padding */
  .pricing-card { padding: 22px 18px; }
  .feature-card { padding: 22px 18px; }
  .why-best-item { padding: 20px 18px; }
  .pricing-card h3 { font-size: 1.15rem; }
  .pricing-card .price { font-size: 2rem; }

  /* Forms */
  .auth-row, .auth-row-3 { grid-template-columns: 1fr; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }

  /* District pills 2-up */
  .districts-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .district-pill { padding: 12px 14px; font-size: .88rem; }
  .also-serving .districts-title { font-size: .76rem; }

  /* AI search */
  .ai-search-input { font-size: .95rem; min-height: 100px; }
  .ai-search-chips,
  .ai-search-tlds { flex-wrap: wrap; }

  /* Compare table */
  .compare-table { min-width: 560px; font-size: .82rem; }
  .compare-table thead th,
  .compare-table tbody td { padding: 8px 10px; }

  /* Footer */
  .footer-grid { gap: 24px 16px; }
  .footer-col h4 { font-size: .78rem; margin-bottom: 14px; }
  .footer-col li { margin-bottom: 8px; }
  .footer-col a { font-size: .88rem; }

  /* Dashboard tweaks */
  .dash-hello h1 { font-size: 1.4rem; }
  .dash-hello-cta { width: 100%; }
  .dash-hello-cta .btn { flex: 1; justify-content: center; }
  .tile-grid { gap: 12px; }
  .tile { padding: 18px; }
  .tile strong { font-size: 1.7rem; }
  .dash-page-head h1 { font-size: 1.35rem; }
  .dash-page-head-actions { width: 100%; }
  .dash-page-head-actions .btn { flex: 1; justify-content: center; }
  .kpi { padding: 14px 16px; }
  .kpi strong { font-size: 1.3rem; }

  /* Topbar trim */
  .dash-search { display: none; }
  .dash-icon-btn { width: 36px; height: 36px; }
  .dash-avatar { width: 32px; height: 32px; font-size: .75rem; }

  /* Cart */
  .checkout-shell { padding: 16px 14px 40px; }
  .checkout-steps { gap: 6px; font-size: .82rem; }
  .checkout-steps li { padding: 6px 10px; }

  /* Auth pages */
  .auth-topbar { padding: 14px 16px; }
  .auth-brand img { height: 26px; }
  .auth-card { padding: 22px 18px; }
  .auth-card-head h1 { font-size: 1.45rem; }

  /* Profile */
  .profile-side-item { flex: 1 1 auto; font-size: .85rem; padding: 8px 12px; }

  /* Ticket */
  .ticket-msg { padding: 14px 16px; gap: 12px; }
  .ticket-msg-avatar { width: 34px; height: 34px; font-size: .76rem; }
  .ticket-reply { padding: 18px 16px; }
  .reply-textarea { padding: 12px; font-size: .9rem; }

  /* Tables on mobile pages - let them scroll horizontally */
  .dash-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Compare-on-AI-page wrap */
  .ai-domain-list { gap: 6px; }

  /* Promo banner */
  .promo-banner { padding: 22px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .promo-banner h3 { font-size: 1.1rem; }

  /* Moneyback / contact */
  .moneyback { padding: 22px; flex-direction: column; text-align: center; gap: 12px; }

  /* Sticky lifts on mobile become non-sticky to free up space */
  .ticket-sidebar, .new-ticket-side, .service-side, .invoice-side,
  .cart-summary, .checkout-summary, .profile-side { position: static !important; }
}

/* ---- Small mobile (480px and below) ---- */
@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding-left: 14px; padding-right: 14px; }

  /* Section spacing */
  .section { padding: 36px 0; }
  .section-tight { padding: 22px 0; }
  .section-soft { padding: 36px 0; }
  .section-head { margin-bottom: 22px; }

  /* Heroes - slightly smaller H1 still readable */
  .hero { padding: 36px 0 52px; }
  .hero-content h1 { font-size: 1.7rem; }
  .hero-content p { font-size: .95rem; }
  .page-hero { padding: 28px 0 32px; }
  .page-hero h1 { font-size: 1.45rem; }
  .page-hero p { font-size: .94rem; }

  /* H2/H3 */
  .section-head h2 { font-size: 1.35rem; }
  .why-best-item h4, .feature-card h3 { font-size: 1rem; }

  /* Eyebrows */
  .eyebrow { font-size: .72rem; padding: 5px 10px; margin-bottom: 14px; }

  /* Pricing cards */
  .pricing-card { padding: 20px 16px; }
  .pricing-card .price { font-size: 1.8rem; }
  .pricing-card ul li { font-size: .9rem; padding: 7px 0 7px 28px; }

  /* Feature cards icon-wrap smaller */
  .feature-card .icon-wrap { width: 72px; height: 72px; margin-bottom: 14px; border-radius: 18px; }
  .feature-card .icon-wrap i { font-size: 28px; }
  .feature-card .icon-wrap img { width: 48px; height: 48px; }
  .feature-card .icon-wrap svg { width: 28px; height: 28px; }

  /* District pills - single column at very small */
  .districts-grid { grid-template-columns: 1fr; }
  .district-pill { padding: 14px 16px; font-size: .92rem; min-height: 48px; }

  /* Footer single column */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .footer-bottom-links { gap: 12px; flex-wrap: wrap; }

  /* Promo strip on home */
  .promo-card { padding: 14px; }
  .promo-card .item { font-size: .82rem; }

  /* AI search */
  .ai-search-card { padding: 18px; }
  .ai-search-input { min-height: 90px; padding: 12px 14px; }
  .ai-results-head { flex-direction: column; align-items: stretch; }
  .ai-results-actions { width: 100%; }
  .ai-results-actions .btn { flex: 1; }

  /* Dashboard tiles 1-up */
  .tile-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .dash-content { padding: 18px 14px 40px; }
  .dash-topbar { padding: 12px 14px; gap: 10px; }
  .dash-banner { padding: 18px; }
  .dash-banner h3 { font-size: 1rem; }

  /* Ticket actions stack */
  .ticket-header-actions, .service-header-actions, .invoice-header-actions {
    width: 100%;
  }
  .ticket-header-actions .btn,
  .service-header-actions .btn,
  .invoice-header-actions .btn { flex: 1 1 calc(50% - 4px); justify-content: center; }

  /* Service usage grid 1-up */
  .usage-grid { grid-template-columns: 1fr 1fr; }
  .action-grid { grid-template-columns: 1fr 1fr; }

  /* Cart steps wrap nicer */
  .checkout-steps { font-size: .78rem; }
  .checkout-steps li span { width: 18px; height: 18px; font-size: .7rem; }

  /* Reduce print-style invoice doc */
  .invoice-doc { padding: 22px 18px; }
  .invoice-doc-head { gap: 16px; }
  .invoice-totals dl { min-width: 0; width: 100%; }

  /* Profile cards */
  .profile-card { padding: 20px 18px; }
  .profile-card header h2 { font-size: 1.05rem; }

  /* Compare tables - horizontal scroll, slightly smaller text */
  .compare-table { min-width: 480px; font-size: .76rem; }

  /* Service tabs scroll */
  .dash-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .dash-tab { white-space: nowrap; }
}

/* ---- Very small (under 360px) ---- */
@media (max-width: 360px) {
  .hero-content h1 { font-size: 1.55rem; }
  .page-hero h1 { font-size: 1.3rem; }
  .pricing-card .price { font-size: 1.6rem; }
  .auth-card { padding: 18px 14px; }
  .auth-card-head h1 { font-size: 1.3rem; }
}

/* ---- Touch-device-friendly tweaks ---- */
@media (hover: none) and (pointer: coarse) {
  /* Increase tap targets that are too small on touch */
  .auth-eye { padding: 8px; }
  .cart-item-remove { width: 36px; height: 36px; }
  .qty-stepper button { width: 32px; height: 36px; }
  .dash-tab { padding: 12px 14px; }
}
