/* Quixo Cloud — Meridian Weight stylesheet
 * Navy #0F1B3C • Hammered gold #C9A961
 * Display: Bricolage Grotesque  |  Mono/labels: Jura
 * © Quixo Hub FZC (UAE)
 */

:root {
  --navy: #0F1B3C;
  --navy-soft: #182651;
  --navy-deep: #060B22;
  --gold: #C9A961;
  --gold-bright: #E1C58A;
  --gold-deep: #8E7637;
  --ink: #0B1024;
  --ink-soft: #4B536B;
  --mist: #EDEFF6;
  --paper: #FAFBFD;
  --line: rgba(15, 27, 60, 0.12);
  --line-strong: rgba(15, 27, 60, 0.32);
  --shadow-sm: 0 1px 2px rgba(15, 27, 60, 0.06), 0 1px 3px rgba(15, 27, 60, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 27, 60, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 27, 60, 0.18);
  --radius: 10px;
  --radius-lg: 18px;
  --font-display: "Bricolage Grotesque", "Fraunces", Georgia, serif;
  --font-mono: "Jura", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw: 1180px;
  --pad: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1rem; color: var(--ink-soft); }

.eyebrow, [data-eyebrow] {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold-deep);
}

/* ---------- LAYOUT ---------- */
.container, main, section > .inner { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
main, #root > * { display: block; }
section { padding-block: clamp(48px, 7vw, 96px); }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
@media (min-width: 720px)  { .grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px)  { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- NAV / HEADER ---------- */
header, .site-header, nav[role="navigation"] {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 253, .88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
header > *, .site-header > *, nav[role="navigation"] > * {
  max-width: var(--maxw); margin: 0 auto;
  padding: 18px var(--pad);
  display: flex; align-items: center; gap: 28px;
}
header .brand, .logo, .brand { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1.15rem; letter-spacing: -.01em; }
nav ul, header ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 24px; }
nav a, header a {
  position: relative; font-family: var(--font-mono); font-weight: 600;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); padding: 6px 2px;
}
nav a::after, header a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--gold); transition: right .25s ease;
}
nav a:hover::after, header a:not(.btn):hover::after { right: 0; }
.hamburger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s; }

@media (max-width: 760px) {
  header > *, .site-header > *, nav[role="navigation"] > * { flex-wrap: wrap; gap: 12px; }
  nav ul, header ul { flex-direction: column; width: 100%; gap: 14px; padding: 12px 0; }
  .hamburger { display: inline-block; margin-left: auto; }
  nav[data-open="false"] ul, header[data-open="false"] ul { display: none; }
}

/* ---------- HERO ---------- */
.hero, [data-hero], section.hero {
  background: radial-gradient(1100px 540px at 80% -10%, rgba(201, 169, 97, .18), transparent 60%),
              linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  position: relative; overflow: hidden;
  padding-block: clamp(72px, 12vw, 132px);
}
.hero h1, [data-hero] h1, section.hero h1 { color: #fff; max-width: 18ch; }
.hero p, [data-hero] p, section.hero p { color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 62ch; }
.hero .eyebrow, [data-hero] .eyebrow { color: var(--gold-bright); }

/* ---------- SEARCH BOX ---------- */
.search, .search-box, form[role="search"], [data-search] {
  display: flex; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  box-shadow: var(--shadow-md);
  max-width: 640px;
  margin: 22px 0;
}
.search input, .search-box input, form[role="search"] input, [data-search] input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 1.05rem; color: var(--ink);
  padding: 12px 8px;
}
.search input::placeholder { color: var(--ink-soft); opacity: .85; }
.search button, .search-box button, form[role="search"] button, [data-search] button {
  border-radius: 999px;
}

/* ---------- BUTTONS ---------- */
button, .btn, [type="button"], [type="submit"], a.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-mono); font-weight: 700;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 22px; border-radius: var(--radius);
  border: 1px solid var(--navy); background: var(--navy); color: #fff;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .2s ease, border-color .2s ease;
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, .35);
  text-decoration: none;
}
button:hover, .btn:hover, a.btn:hover { background: var(--navy-soft); border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold), 0 6px 16px rgba(15,27,60,.16); transform: translateY(-1px); }
button:active, .btn:active { transform: translateY(0); }
.btn-ghost, button.ghost { background: transparent; color: var(--navy); box-shadow: none; }
.btn-ghost:hover, button.ghost:hover { background: var(--mist); color: var(--navy); }
.btn-gold, button.gold { background: var(--gold); color: var(--navy); border-color: var(--gold); box-shadow: none; }
.btn-gold:hover, button.gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--navy); }

/* ---------- CARDS / PRICING ---------- */
.card, .pricing-card, [data-card] {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover, .pricing-card:hover, [data-card]:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card .price, .pricing-card .price, [data-price] {
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--navy);
  letter-spacing: -.02em; display: flex; align-items: baseline; gap: 6px; margin: 8px 0;
}
.card .price .currency, .pricing-card .currency { font-size: .9rem; color: var(--gold-deep); font-family: var(--font-mono); letter-spacing: .14em; }
.card ul, .pricing-card ul { list-style: none; padding: 0; margin: 14px 0 22px; }
.card li, .pricing-card li { padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); font-size: .94rem; }
.card li::before { content: "✓"; color: var(--gold-deep); font-weight: 800; margin-right: 8px; }

/* ---------- PRICING STRIP ---------- */
.pricing-strip, [data-pricing-strip] {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding: 18px; margin-top: 28px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}
.pricing-strip > * { flex: 1; min-width: 140px; color: #fff; }
.pricing-strip .tld { font-family: var(--font-mono); letter-spacing: .14em; color: var(--gold-bright); font-size: .78rem; text-transform: uppercase; }
.pricing-strip .amount { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: #fff; }

/* ---------- FORMS ---------- */
label { display: block; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 14px 0 6px; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,169,97,.18); }

/* ---------- TABLES ---------- */
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
thead th { text-align: left; font-family: var(--font-mono); letter-spacing: .12em; font-size: .74rem; text-transform: uppercase; color: var(--ink-soft); padding: 14px 12px; border-bottom: 1px solid var(--line); }
tbody td { padding: 14px 12px; border-bottom: 1px solid var(--line); }
tbody tr:hover { background: var(--mist); }

/* ---------- ALERTS / BADGES ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(201,169,97,.16); color: var(--gold-deep); border: 1px solid rgba(201,169,97,.4); }
.alert { padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--mist); color: var(--ink); margin: 14px 0; }
.alert.success { border-color: #b6dcb6; background: #ecf7ec; }
.alert.error   { border-color: #e7b5b5; background: #fbecec; color: #71261c; }

/* ---------- FOOTER ---------- */
footer, .site-footer { background: var(--navy-deep); color: rgba(255,255,255,.76); padding-block: clamp(40px, 6vw, 72px); margin-top: 56px; }
footer a, .site-footer a { color: var(--gold-bright); }
footer a:hover, .site-footer a:hover { color: #fff; }
footer .legal { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 28px; }

/* ---------- LOADER / SPIN ---------- */
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.spinner { width: 44px; height: 44px; border: 4px solid rgba(201,169,97,.18); border-top-color: var(--gold); border-radius: 50%; animation: spin .9s infinite linear; }

/* ---------- DETAILS / FAQ ---------- */
details { border-top: 1px solid var(--line); padding: 16px 0; }
details summary { list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; }
details summary::after { content: "+"; color: var(--gold-deep); font-weight: 800; transition: transform .2s ease; }
details[open] summary::after { content: "−"; }

/* ---------- UTILITY ---------- */
.text-center { text-align: center; }
.flex { display: flex; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--line); margin: 32px 0; }
.kicker { color: var(--gold-deep); font-weight: 700; }
.muted { color: var(--ink-soft); }

/* Speakable selectors used by SEO schema */
[data-speakable="tldr"], [data-speakable="answer"] { padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--mist); border-radius: 0 var(--radius) var(--radius) 0; }

::selection { background: var(--gold); color: var(--navy); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

/* =====================================================================
 * PAGE LAYOUT LAYER
 * The Meridian rules above are generic (header, .hero, .card…). The app
 * markup uses its own class names (.wrap, .row, .hero-section,
 * .services-grid, .faq-item, .blade-*…), which had no styles at all —
 * that is what left the page unaligned on mobile. Everything below maps
 * those classes onto the Meridian palette.
 * ===================================================================== */

/* Legacy variable names still referenced by inline styles in the markup */
:root {
  --muted: var(--ink-soft);
  --white: #fff;
  --gold-soft: var(--gold-bright);
  --navy-bright: var(--navy-soft);
  --glass-bg: #fff;
  --glass-border: var(--line);
  --accent-green: #2FB26B;
  --accent-cyan: var(--gold-bright);
}

html, body { overflow-x: clip; }
.cinematic-bg { display: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
strong { color: inherit; font-weight: 700; }

/* ---------- Header ---------- */
header > .wrap { display: block; padding-block: 0; }
header .row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
header .logo {
  flex: none; display: flex; align-items: center;
  padding: 0; text-transform: none; letter-spacing: 0;
}
header .logo::after { display: none; }
header .logo svg { height: 34px !important; width: auto; max-width: none; }
header .logo svg text { text-transform: none; }
header nav { flex: 1; display: flex; justify-content: center; }
header nav ul { flex-direction: row; flex-wrap: nowrap; width: auto; gap: 26px; padding: 0; }
header nav a { white-space: nowrap; }
header .nav-mobile-only { display: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-actions .btn { padding: 12px 18px; white-space: nowrap; }
.cart-widget {
  position: relative; width: 42px; height: 42px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy); border: 1px solid var(--line); background: #fff; cursor: pointer;
}
.cart-widget svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--gold); color: var(--navy);
  font: 700 11px/19px var(--font-mono); text-align: center;
}

.hamburger, .hamburger:hover, .hamburger:active {
  display: none; background: none; border: 0; box-shadow: none; transform: none;
  padding: 8px; margin: 0; width: 42px; height: 42px; flex-direction: column; gap: 0;
}
.hamburger span { margin: 2.5px 0; }
header.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.menu-open .hamburger span:nth-child(2) { opacity: 0; }
header.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1200px) {
  header { position: sticky; }
  header .row { gap: 12px; min-height: 64px; }
  .hamburger, .hamburger:hover, .hamburger:active { display: inline-flex; order: 3; }
  .nav-actions { order: 2; margin-left: auto; }
  header nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    display: none;
  }
  header.menu-open nav { display: block; }
  header nav ul {
    flex-direction: column; gap: 0; width: 100%;
    max-width: var(--maxw); margin: 0 auto; padding: 8px var(--pad) 16px;
  }
  header nav li { border-bottom: 1px solid var(--line); }
  header nav li:last-child { border-bottom: 0; }
  header nav a { display: block; padding: 16px 2px; }
}
@media (max-width: 520px) {
  header .logo svg { height: 28px !important; }
  .nav-actions .btn { display: none; }
  header .nav-mobile-only { display: list-item; }
}

/* ---------- Hero ---------- */
.hero-section {
  background: radial-gradient(1100px 540px at 80% -10%, rgba(201,169,97,.18), transparent 60%),
              linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding-block: clamp(56px, 10vw, 120px);
}
.hero-content { max-width: 820px; }
.hero-content .eyebrow { display: block; margin-bottom: 18px; color: var(--gold-bright) !important; font-family: var(--font-mono); }
.hero-content h1 { color: #fff; max-width: 20ch; }
.hero-content h1 .highlight { color: var(--gold-bright); }
.hero-content .lead { color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 62ch; }

.search-container {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 8px;
  box-shadow: var(--shadow-lg); max-width: 680px; margin: 28px 0 0;
}
.search-container input:not([type="checkbox"]) {
  flex: 1; min-width: 0; border: 0; box-shadow: none; background: transparent;
  padding: 12px 16px; font-size: 1.05rem;
}
.search-container select { width: auto; flex: none; border: 0; background: var(--mist); border-radius: 999px; padding: 12px 14px; }
.search-container .btn { flex: none; border-radius: 999px; }
.hero-content .search-container ~ div { max-width: 680px !important; margin-left: 0 !important; margin-right: 0 !important; color: var(--ink); }

.result-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; margin-top: 10px; box-shadow: var(--shadow-sm);
}
.result-domain-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.result-domain-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); overflow-wrap: anywhere; }
.result-domain-status { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.status-available { color: #1E8A50; }
.status-unavailable { color: #B4382C; }
.result-price-block { display: flex; align-items: center; gap: 12px; flex: none; }
.result-price { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--navy); white-space: nowrap; }
.result-price span { font-size: .8rem; color: var(--ink-soft); }
.result-price-block .btn { padding: 10px 16px; }
.btn-navy { background: var(--navy); color: #fff; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14);
}
.stat-item .value { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-bright); line-height: 1.1; }
.stat-item .label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 4px; }

@media (max-width: 640px) {
  .search-container { flex-direction: column; align-items: stretch; border-radius: var(--radius-lg); padding: 10px; }
  .search-container input:not([type="checkbox"]) { text-align: left; padding: 12px; }
  .search-container select { width: 100%; border-radius: var(--radius); }
  .search-container .btn { width: 100%; border-radius: var(--radius); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .result-card { flex-direction: column; align-items: stretch; }
  .result-price-block { justify-content: space-between; }
}

/* ---------- Section headers ---------- */
section#hosting, section#faq { background: var(--mist) !important; }
.section-header { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.section-header .eyebrow { display: block; margin-bottom: 12px; }
.section-header p { margin: 0 auto; max-width: 60ch; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.service-card.recommended { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-md); }
.service-card.recommended::before {
  content: "Most popular"; position: absolute; top: -12px; left: 24px;
  background: var(--gold); color: var(--navy); border-radius: 999px; padding: 3px 12px;
  font: 700 .66rem/1.6 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
}
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(201,169,97,.14); color: var(--gold-deep); margin-bottom: 18px; }
.service-card .price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--navy); margin: 6px 0 4px; }
.service-card .price span { font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.feature-list { list-style: none; padding: 0; margin: 14px 0 20px; }
.feature-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); font-size: .95rem; }
.feature-list li svg { flex: none; color: var(--gold-deep); }
.expand-details-btn, .expand-details-btn:hover {
  width: 100%; justify-content: space-between; background: transparent; color: var(--navy);
  border: 1px solid var(--line-strong); box-shadow: none; transform: none;
}
.expand-details-btn:hover { border-color: var(--gold); background: var(--mist); }
.extended-details-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.extended-details-panel.open { max-height: 640px; }
.details-grid { display: grid; gap: 14px; padding-top: 18px; }
.details-col h4 { font-size: 1rem; margin-bottom: 4px; }
.details-col p { font-size: .92rem; margin: 0; }

/* ---------- Bundle builder ---------- */
.pricing-switch-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; margin-bottom: 28px; }
.pricing-switch-label { font-family: var(--font-mono); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); cursor: pointer; }
.pricing-switch-label.active { color: var(--navy); }
.pricing-switch { position: relative; width: 52px; height: 28px; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: background .2s ease; flex: none; }
.pricing-switch.active { background: var(--gold); }
.pricing-switch-nob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s ease; }
.pricing-switch.active .pricing-switch-nob { transform: translateX(24px); }
.discount-tag { font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(201,169,97,.16); color: var(--gold-deep); border: 1px solid rgba(201,169,97,.4); }

.bundle-builder-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(14px, 2.5vw, 28px); box-shadow: var(--shadow-md); }
.bundle-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.bundle-selectors { display: flex; flex-direction: column; gap: 12px; }
.bundle-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.bundle-item:hover { border-color: var(--line-strong); }
.bundle-item.selected { border-color: var(--gold); background: rgba(201,169,97,.07); }
.item-left { display: flex; align-items: flex-start; gap: 14px; min-width: 0; flex: 1; }
.checkbox-circle { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: transparent; margin-top: 2px; }
.bundle-item.selected .checkbox-circle { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.item-title { font-weight: 700; color: var(--navy); line-height: 1.35; }
.item-desc { font-size: .88rem; color: var(--ink-soft); margin-top: 2px; }
.item-price { flex: none; font-family: var(--font-display); font-weight: 800; color: var(--navy); white-space: nowrap; }
.item-price span { font-size: .78rem; color: var(--ink-soft); font-weight: 500; }

.bundle-summary-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); }
.summary-heading { font-family: var(--font-mono); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 14px; }
.summary-items { display: flex; flex-direction: column; gap: 10px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; color: rgba(255,255,255,.85); }
.summary-row.discount { color: #8FE3B0; }
.summary-divider { height: 1px; background: rgba(255,255,255,.14); margin: 12px 0; }
.total-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.total-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.total-price { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; line-height: 1; color: #fff; white-space: nowrap; }
.total-price span { font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.65); }
.bundle-summary-panel .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

@media (max-width: 860px) { .bundle-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .bundle-item { flex-wrap: wrap; }
  .item-price { width: 100%; padding-left: 38px; }
}

/* ---------- Portal preview (dark panel; inline styles assume dark) ---------- */
.portal-wrapper { display: flex; min-height: 440px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(201,169,97,.25); }
.portal-sidebar { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: rgba(255,255,255,.03); border-right: 1px solid rgba(255,255,255,.08); }
.sidebar-icon { width: 44px; height: 44px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); cursor: pointer; transition: background .15s ease, color .15s ease; }
.sidebar-icon:hover { color: #fff; background: rgba(255,255,255,.06); }
.sidebar-icon.active { background: var(--gold); color: var(--navy); }
.blade-container { flex: 1; min-width: 0; display: flex; overflow-x: auto; scroll-snap-type: x proximity; }
.blade { flex: 0 0 auto; max-width: 100%; border-right: 1px solid rgba(255,255,255,.08); scroll-snap-align: start; text-align: left; }
.blade.wide { width: 460px; }
.blade-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.blade-title-group { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.blade-eyebrow { font-family: var(--font-mono); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); }
.blade-title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #fff; }
.blade-close, .blade-close:hover { flex: none; background: rgba(255,255,255,.06); border: 0; box-shadow: none; color: #fff; padding: 6px; border-radius: 8px; transform: none; }
.blade-content { padding: 18px; }
.portal-chart-box { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 8px; padding: 14px; }
.portal-chart-title { font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.portal-canvas { display: block; width: 100%; height: 110px; }
.portal-list { display: flex; flex-direction: column; gap: 8px; }
.portal-list-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); cursor: pointer; }
.portal-list-item:hover, .portal-list-item.active { border-color: var(--gold); }
.item-primary { font-weight: 600; font-size: .9rem; color: #fff; overflow-wrap: anywhere; }
.item-secondary { font-size: .76rem; color: rgba(255,255,255,.55); }
.portal-badge { flex: none; font-family: var(--font-mono); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; }
.badge-active { background: rgba(47,178,107,.16); color: #8FE3B0; }
.badge-yellow { background: rgba(201,169,97,.18); color: var(--gold-bright); }
.portal-wrapper th, .portal-wrapper td { padding: 8px 4px; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.08); font-family: inherit; letter-spacing: 0; text-transform: none; }
.portal-wrapper th { color: rgba(255,255,255,.55); font-size: .7rem; }
.portal-wrapper tbody tr:hover { background: rgba(255,255,255,.04); }
.portal-wrapper td button, .portal-wrapper td button:hover { padding: 0; box-shadow: none; text-transform: none; letter-spacing: 0; font-family: inherit; font-size: inherit; transform: none; }
.portal-wrapper .blade-content { overflow-x: auto; }
.settings-label { display: block; font-family: var(--font-mono); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 8px; }
.waf-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 8px; background: rgba(255,255,255,.03); }
.waf-toggle-title { font-weight: 600; font-size: .9rem; color: #fff; }
.waf-toggle-desc { font-size: .76rem; color: rgba(255,255,255,.55); }
.switch-control { position: relative; flex: none; width: 40px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.2); cursor: pointer; transition: background .2s ease; }
.switch-control::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.switch-control.active { background: var(--accent-green); }
.switch-control.active::after { transform: translateX(18px); }
.terminal-panel { background: #02040F; border-radius: 8px; padding: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.55; }
.terminal-line { color: rgba(255,255,255,.75); }
.terminal-line.gold { color: var(--gold-bright); }
.terminal-line.success { color: #4ADE80; }
@media (max-width: 560px) {
  .portal-wrapper { min-height: 380px; }
  .portal-sidebar { padding: 8px; }
  .sidebar-icon { width: 40px; height: 40px; }
}

/* ---------- FAQ ---------- */
.faq-grid { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--gold); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-family: var(--font-display); font-weight: 700; color: var(--navy); line-height: 1.35; }
.faq-question svg { flex: none; color: var(--gold-deep); transition: transform .25s ease; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-answer { max-height: 480px; }
.faq-answer p { padding: 0 20px 18px; margin: 0; }

/* ---------- Footer ---------- */
footer .footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
footer h4 { color: #fff; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
footer h4.fredoka { font-family: "Fredoka", var(--font-display); text-transform: none; letter-spacing: 0; }
footer p { color: rgba(255,255,255,.7); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; font-size: .92rem; overflow-wrap: anywhere; }
.footer-legal-tag { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer-legal-tag span { color: var(--gold-bright); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.55); }
@media (max-width: 900px) { footer .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  footer .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

/* Keep anchor targets clear of the sticky header */
section[id] { scroll-margin-top: 72px; }

/* Very narrow phones (≤380px): keep button labels on one line */
@media (max-width: 380px) {
  .btn, button { letter-spacing: .06em; padding-inline: 14px; }
  .total-label { letter-spacing: .08em; }
}
