/* =============================================================================
   FLAMINGO PROXIES — SITE DESIGN SYSTEM (public pages)
   -----------------------------------------------------------------------------
   Single source of truth for the public marketing site. Replaces the old
   unified.css / base.css / index.css stack on public pages (those files remain
   for the dashboard, which loads its own styles).

   Sections:
     01 Tokens            08 Cards & tiles          15 Tables
     02 Reset & base      09 Pricing (plan-box)     16 Forms
     03 Typography        10 Server packages        17 Modals & toasts
     04 Layout            11 FAQ accordion          18 Header & navigation
     05 Buttons           12 Code blocks            19 Footer
     06 Chips & badges    13 Stats / reviews        20 Animations
     07 Hero              14 Locations              21 Utilities & responsive
   ========================================================================== */

/* ==========================================================================
   01 TOKENS
   ========================================================================== */
:root {
  /* --- Brand color scheme (unchanged palette, refined application) --- */
  --bg:        #040610;   /* page background */
  --bg-1:      #0a0e1c;   /* card surface */
  --bg-2:      #0b0f1f;   /* elevated surface */
  --bg-3:      #10142a;   /* higher surface */
  --bg-4:      #161b36;   /* highest surface */

  --border:        rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --border-2:      rgba(255, 255, 255, 0.13); /* legacy alias */
  --border-3:      rgba(255, 255, 255, 0.10); /* legacy alias */

  --text:      #ffffff;   /* headings */
  --text-2:    #a9afc8;   /* body copy */
  --text-dim:  #c3c8dd;   /* legacy alias — slightly brighter body */
  --muted:     #8a8eaa;   /* secondary copy (AA on bg) */
  --muted-2:   #8a8eaa;
  --muted-deco:#5b5e75;   /* decorative only */

  --pink:       #F34D92;
  --pink-dark:  #d63d7f;
  --pink-light: #F6698A;
  --pink-soft:  #f77fb0;  /* readable pink for text on dark */
  --pink-btn:   #D6336C;  /* AA with white text */
  --pink-gradient: linear-gradient(135deg, var(--pink), var(--pink-btn));
  --pink-tint:     rgba(243, 77, 146, 0.10);
  --pink-tint-2:   rgba(243, 77, 146, 0.16);
  --pink-border:   rgba(243, 77, 146, 0.30);

  --success: #10b981;
  --warning: #f59e0b;
  --error:   #ef4444;
  --info:    #3b82f6;
  --orange:  #f59e0b;

  --decor-grad:
    radial-gradient(900px 320px at 15% 0%, rgba(243, 77, 146, 0.09), transparent 60%),
    radial-gradient(700px 240px at 90% 20%, rgba(120, 140, 255, 0.07), transparent 60%);

  /* --- Legacy aliases still referenced by page-level styles --- */
  --accent:         var(--pink);
  --accent-2:       var(--pink-light);
  --tertiary-color: #252a47;
  --card:           var(--bg-2);
  --card-border:    var(--border-strong);
  --text-muted:     var(--muted);
  --ts:             180ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --speed-fast:     0.15s;
  --grad-dir:       135deg;
  --shadow-sm:      0 2px 8px rgba(0, 0, 0, 0.25);

  /* --- Code --- */
  --code-bg:     #0a0d18;
  --code-border: rgba(255, 255, 255, 0.08);
  --code-text:   #d5daf0;
  --code-dim:    #7d84a6;
  --code-accent: var(--pink-soft);

  /* --- Effects --- */
  --shadow-1: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow-2: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-3: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-pink: rgba(243, 77, 146, 0.25);
  --glow-pink: 0 8px 28px rgba(243, 77, 146, 0.25);

  /* --- Layout --- */
  --container: 1200px;
  --container-wide: 1360px;
  --container-narrow: 860px;
  --maxw: 1200px;
  --gutter: 24px;
  --menu-h: 68px;
  --promo-h: 0px;

  /* --- Spacing (legacy scale preserved) --- */
  --sp-1: 6px;  --sp-2: 10px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
  --sp-6: 24px; --sp-7: 30px; --sp-8: 40px; --sp-9: 60px;

  /* --- Type scale (legacy tokens preserved) --- */
  --fs-0: 0.85rem; --fs-1: 1rem;    --fs-2: 1.1rem; --fs-3: 1.2rem;
  --fs-4: 1.4rem;  --fs-5: 1.8rem;  --fs-6: 2.2rem; --fs-7: 2.4rem;
  --fs-8: 3rem;    --fs-9: 4rem;

  --font-body: 'Inter', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'JetBrains Mono', Consolas, monospace;

  /* --- Radii --- */
  --r-1: 6px; --r-2: 10px; --r-3: 14px; --r-4: 18px; --r-pill: 999px;

  /* --- Motion --- */
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
  --t-slow: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 1359.98px) {
  :root { --menu-h: 60px; }
}

/* ==========================================================================
   02 RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; }
img { border: 0; }

a { color: var(--pink-soft); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: #ff9bc4; }

::selection { background: var(--pink); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1d2340; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2a3157; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100000;
  background: var(--pink-btn); color: #fff; font-weight: 600;
  padding: 10px 18px; border-radius: var(--r-2); transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; color: #fff; }

.unselectable { user-select: none; -webkit-user-select: none; }

/* Anchored sections clear the fixed header */
section[id], div[id].section, h2[id], h3[id] {
  scroll-margin-top: calc(var(--menu-h) + var(--promo-h, 0px) + 24px);
}

/* Background canvas visualization */
.bg-viz {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.14;
  background: linear-gradient(180deg, #0f1220 0%, #0d101a 100%);
}
.bg-viz canvas { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: reduce) { .bg-viz { display: none !important; } }
@media (max-width: 768px) { .bg-viz { display: none; } }

.main-content-wrapper {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  width: 100%; min-height: 100vh;
}

/* Spacer that offsets fixed header (promo banner height is set by JS) */
.main-body { height: calc(var(--menu-h) + var(--promo-h, 0px)); flex: none; }

/* ==========================================================================
   03 TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--pink-tint); border: 1px solid rgba(243, 77, 146, 0.22);
  color: var(--pink-soft);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  line-height: 1.4; width: fit-content;
}
.eyebrow i { font-size: 0.75rem; }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.15rem + 2.1vw, 2.5rem);
  color: var(--text); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.18;
  text-align: center; margin: 0 0 14px;
  max-width: 820px;
}
.section-heading span {
  background: linear-gradient(92deg, var(--pink) 0%, var(--pink-light) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--pink);
}

.section-small-text, .section-intro {
  font-size: 1.05rem; color: var(--text-2);
  max-width: 660px; text-align: center; line-height: 1.7;
  margin: 0 auto 44px;
}
.section-intro { max-width: 720px; }

/* Heading + intro group: tightens internal margins, owns the bottom gap */
.section-head {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; text-align: center;
  max-width: 780px; margin: 0 auto 52px;
}
.section-head .section-heading { margin: 0; }
.section-head .section-small-text,
.section-head .section-intro { margin: 0; }

/* Legacy icon-above-heading — restyled as a soft tile */
.section-heading-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--pink-tint); border: 1px solid rgba(243, 77, 146, 0.2);
  color: var(--pink-soft); font-size: 1.15rem;
  margin: 0 auto 18px; text-align: center;
}

.small-heading { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.small-text { font-size: 0.92rem; color: var(--text-2); line-height: 1.65; }
.note { font-size: 0.85rem; color: var(--muted); }
.gradient-text {
  background: linear-gradient(92deg, var(--pink), var(--pink-light));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Big display text (home hero) */
.flamingo-big-text-container {
  display: flex; flex-direction: column; gap: 18px;
  align-items: center; text-align: center;
  width: 100%; max-width: 920px;
}
.flamingo-big-text {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.2rem + 4.2vw, 3.7rem);
  font-weight: 700; color: var(--text);
  letter-spacing: -0.03em; line-height: 1.12;
}
.flamingo-big-text span { color: var(--pink); }

/* ==========================================================================
   04 LAYOUT
   ========================================================================== */
.flex { display: flex; }
.flex.col { flex-direction: column; }
.flex.row { flex-direction: row; }
.flex.align-center { align-items: center; }
.flex.justify-center { justify-content: center; }
.flex.justify-between { justify-content: space-between; }
.flex.justify-evenly { justify-content: space-evenly; }
.flex-column { display: flex; flex-direction: column; }

.content-container {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 var(--gutter);
}

.section, .subsection {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: clamp(64px, 5vw + 40px, 104px) var(--gutter);
}
.subsection { padding-top: clamp(48px, 4vw + 24px, 72px); padding-bottom: clamp(48px, 4vw + 24px, 72px); }
.section--tight { padding-top: 48px; padding-bottom: 48px; }
.section--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.section--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

/* Full-bleed alternating band behind a constrained section */
.section-alt::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: rgba(255, 255, 255, 0.016);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  z-index: -1; pointer-events: none;
}

.grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; width: 100%; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px); align-items: center; width: 100%;
}
.split > * { min-width: 0; }

.challenge-grid, .benefit-grid-modern {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px; width: 100%; max-width: var(--container);
  margin: 0 auto;
}

.vertical-to-horizontal-wrapper,
.horizontal-flex-container {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: stretch; gap: 24px; width: 100%;
}
.item-center-flex-container {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 12px; width: 100%;
}

.plans-container { width: 100%; display: flex; flex-direction: column; align-items: center; }

.rule {
  width: 100%; max-width: var(--container); height: 1px;
  border: 0; background: var(--border); margin: 8px auto;
}

.section-cta {
  margin-top: 44px; display: flex; flex-wrap: wrap;
  gap: 14px; justify-content: center; align-items: center;
}

.breadcrumbs {
  width: 100%; max-width: var(--container);
  margin: 0 auto 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.85rem;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--pink-soft); }
.breadcrumbs i { font-size: 0.7rem; opacity: 0.7; }
/* BreadcrumbList markup (ol/li) — strip list numbering, add separators */
.breadcrumbs ol, .breadcrumbs ul {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px; margin: 0; padding: 0;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before {
  content: "/"; color: var(--muted-deco); font-size: 0.8rem;
}

/* ==========================================================================
   05 BUTTONS
   ========================================================================== */
.btn, .pink-button, .purchase-plan-button, .download-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--r-2);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  line-height: 1.4; text-align: center; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  border: 1px solid transparent;
  appearance: none; -webkit-appearance: none;
  transition: transform var(--t-fast), box-shadow var(--t-base),
              background var(--t-fast), border-color var(--t-fast),
              color var(--t-fast), filter var(--t-fast);
}

.btn-primary, .pink-button, .purchase-plan-button, .download-button {
  background: var(--pink-gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(243, 77, 146, 0.22);
}
.btn-primary:hover, .pink-button:hover,
.purchase-plan-button:hover, .download-button:hover {
  color: #fff; filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(243, 77, 146, 0.32);
}
.btn-primary:active, .pink-button:active,
.purchase-plan-button:active, .download-button:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text); transform: translateY(-1px);
}

.btn-ghost, .btn.ghost, .pink-button.ghost {
  background: transparent;
  border-color: rgba(243, 77, 146, 0.45);
  color: var(--pink-soft);
  box-shadow: none;
}
.btn-ghost:hover, .btn.ghost:hover, .pink-button.ghost:hover {
  background: var(--pink-tint); color: #ff9bc4;
  border-color: var(--pink); transform: translateY(-1px); filter: none;
}

.btn-white { background: #fff; color: #A61E4D; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.btn-white:hover { color: #86173e; transform: translateY(-1px); filter: none; }

.btn-lg { padding: 15px 30px; font-size: 1.02rem; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; border-radius: 8px; }

/* ==========================================================================
   06 CHIPS & BADGES
   ========================================================================== */
.chip-list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin: 12px 0 16px; padding: 0; list-style: none;
}
.chip, .tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-2); font-size: 0.82rem; font-weight: 500;
  line-height: 1.4; white-space: nowrap;
}
.chip i, .tag i { color: var(--pink-soft); font-size: 0.78rem; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: var(--r-pill);
  background: var(--pink-tint); border: 1px solid rgba(243, 77, 146, 0.25);
  color: var(--pink-soft); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.5;
}

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.checklist li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.95rem; color: var(--text-2); }
.checklist li i, .checklist li .fa-check {
  color: var(--pink); font-size: 0.8rem; margin-top: 5px; flex: none;
}

.icon-tile {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--pink-tint); color: var(--pink-soft); font-size: 1.05rem;
}

/* ==========================================================================
   07 HERO
   ========================================================================== */
.hero-section {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: clamp(56px, 4vw + 32px, 96px) var(--gutter) clamp(56px, 4vw + 28px, 88px);
}
.hero-section::before {
  content: ""; position: absolute; z-index: -1;
  top: -20%; left: calc(50% - 50vw); right: calc(50% - 50vw); height: 130%;
  background:
    radial-gradient(720px 420px at 50% 0%, rgba(243, 77, 146, 0.13), transparent 65%),
    radial-gradient(560px 340px at 82% 18%, rgba(120, 140, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 22px; width: 100%; max-width: 880px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text-2); font-size: 0.83rem; font-weight: 500;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink); box-shadow: 0 0 10px var(--pink);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 1.2rem + 4.4vw, 3.8rem);
  font-weight: 700; color: var(--text);
  letter-spacing: -0.03em; line-height: 1.1; margin: 0;
}
.hero-title span {
  background: linear-gradient(92deg, var(--pink) 0%, var(--pink-light) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--pink);
}

.hero-sub {
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.18rem);
  color: var(--text-2); line-height: 1.7;
  max-width: 640px; margin: 0;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }

.hero-proof {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 26px;
}
.hero-proof li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.87rem; color: var(--muted);
}
.hero-proof li i { color: var(--pink); font-size: 0.75rem; }

/* Split variant: copy left, visual right */
.hero-split {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 4vw, 64px); align-items: center;
  text-align: left; max-width: none;
}
.hero-split .hero-copy {
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
}
.hero-split .hero-actions, .hero-split .hero-proof { justify-content: flex-start; }
.hero-split .hero-sub { max-width: 560px; }
.hero-visual { position: relative; width: 100%; min-width: 0; }
.hero-visual img { display: block; margin: 0 auto; }

.flamingo-server-image {
  max-width: min(100%, 520px); height: auto;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.5));
}

/* ==========================================================================
   08 CARDS & TILES
   ========================================================================== */
.card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 26px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-2); }

.benefit-card-modern {
  position: relative; display: flex; flex-direction: column;
  gap: 10px; min-width: 0;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 26px 24px;
  color: inherit; text-decoration: none; text-align: left;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.benefit-card-modern:hover {
  border-color: var(--pink-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  color: inherit;
}
.benefit-card-modern h3 {
  font-family: var(--font-body);
  font-size: 1.05rem; font-weight: 600; color: var(--text);
  letter-spacing: -0.01em; margin: 0;
}
.benefit-card-modern p { margin: 0; font-size: 0.93rem; color: var(--text-2); line-height: 1.65; }
.benefit-card-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; flex: none;
  background: var(--pink-tint); color: var(--pink-soft);
  font-size: 1.05rem; margin-bottom: 8px;
}

.seo-content-box {
  width: 100%; max-width: var(--container-narrow);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: clamp(24px, 3vw, 40px);
  text-align: left;
}

/* Long-form prose (legal pages, SEO blocks, blog posts) */
.prose { width: 100%; max-width: 780px; text-align: left; font-size: 0.98rem; color: var(--text-2); line-height: 1.75; }
.prose h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.02em; margin: 0 0 0.8em; }
.prose h2 {
  font-size: 1.45rem; letter-spacing: -0.015em;
  margin: 2.1em 0 0.75em; padding-top: 0.4em;
}
.prose h3 { font-size: 1.12rem; margin: 1.8em 0 0.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin: 0.9em 0; }
.prose ul, .prose ol { margin: 0.9em 0; padding-left: 1.35em; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--pink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose hr { border: 0; height: 1px; background: var(--border); margin: 2.2em 0; }
.prose blockquote {
  margin: 1.2em 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--pink-border); color: var(--text-dim);
}
.prose table {
  width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 1.2em 0;
  /* DB-authored content can't be wrapped in .table-wrap — make wide tables scroll */
  display: block; overflow-x: auto;
}
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.prose th { color: var(--text); background: rgba(255, 255, 255, 0.03); }
.prose code {
  font-family: var(--font-mono); font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 6px; color: var(--code-text);
}

/* ==========================================================================
   09 PRICING — plan boxes
   ========================================================================== */
.plan-box {
  position: relative;
  display: flex; flex-direction: column;
  flex: 1 1 280px; width: 100%; max-width: 330px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 26px 24px;
  text-align: left; color: var(--text-2);
  margin-top: 16px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.plan-box:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-2); }

.plan-box.popular, .plan-box.highlighted.popular {
  border-color: var(--pink-border);
  background: linear-gradient(180deg, rgba(243, 77, 146, 0.055), rgba(243, 77, 146, 0) 42%), var(--bg-2);
}
.plan-box.popular:hover { border-color: var(--pink); box-shadow: 0 20px 48px rgba(243, 77, 146, 0.14); }

.box-head {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px; border-radius: var(--r-pill);
  background: var(--pink-gradient); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap; box-shadow: 0 6px 16px rgba(243, 77, 146, 0.35);
}

.plan-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--pink-tint); color: var(--pink-soft);
  font-size: 1.05rem; margin-bottom: 14px;
}

.plan-name {
  font-family: var(--font-body);
  font-size: 1.02rem; font-weight: 600; color: var(--text);
  letter-spacing: -0.01em; margin: 0 0 10px;
}

.price-display {
  display: flex; align-items: baseline; gap: 5px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.price-display .from { font-size: 0.8rem; color: var(--muted); }
.price-display .price {
  font-family: var(--font-display);
  font-size: 2.3rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-display .euro { font-size: 1.15rem; font-weight: 600; color: var(--pink-soft); }
.price-display .gb { font-size: 0.82rem; color: var(--muted); }

.feature-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 20px; }
.feature { display: flex; align-items: flex-start; gap: 10px; text-align: left; }
.feature .icon {
  width: 19px; height: 19px; border-radius: 50%; flex: none;
  display: grid; place-items: center; margin-top: 3px;
  background: var(--pink-tint); color: var(--pink);
  font-size: 0.62rem;
}
.feature .text { font-size: 0.9rem; color: var(--text-2); line-height: 1.55; }

.plan-box .purchase-plan-button { width: 100%; margin-top: auto; }

/* In-card configuration */
.plan-options {
  display: flex; flex-direction: column; gap: 12px;
  margin: 0 0 18px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.duration-selector { display: flex; flex-direction: column; gap: 6px; }
.duration-selector label { font-size: 0.78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.regions-list { display: flex; flex-wrap: wrap; gap: 6px; }
.regions-list button, .regions-list span {
  display: inline-flex; align-items: center;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-2); font-size: 0.76rem; font-family: var(--font-body);
  cursor: pointer; transition: all var(--t-fast);
}
.regions-list button:hover, .regions-list span:hover { border-color: var(--border-strong); color: var(--text); }
.regions-list button.selected, .regions-list span.selected {
  background: var(--pink-tint-2); border-color: var(--pink);
  color: #fff; font-weight: 500;
}

.sneakers-plan-container { display: flex; }

/* Range slider (residential quantity) */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 5px; border-radius: 999px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--pink) var(--fill, 30%), #232946 var(--fill, 30%));
  outline: none; cursor: pointer; border: 0; padding: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--pink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--pink); cursor: grab;
}

/* ==========================================================================
   10 SERVER PACKAGES
   ========================================================================== */
.vps-package-card {
  display: flex; flex-direction: column;
  flex: 1 1 280px; max-width: 350px; min-width: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 24px;
  text-align: left;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.vps-package-card:hover { transform: translateY(-3px); border-color: var(--pink-border); box-shadow: var(--shadow-2); }

.package-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px; padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.header-title-group { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.package-title-prefix {
  font-size: 0.7rem; font-weight: 600; color: var(--pink-soft);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.package-title-main { font-size: 1.08rem; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.header-price-group { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.package-price-highlight {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 700; color: var(--text);
  line-height: 1.1; font-variant-numeric: tabular-nums;
}
.package-price-secondary { font-size: 0.76rem; color: var(--muted); }

.package-specs { display: flex; flex-direction: column; gap: 9px; margin: 0 0 18px; padding: 0; list-style: none; }
.package-specs li, .package-specs .spec {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text-2);
}
.package-specs i { color: var(--pink-soft); font-size: 0.85rem; width: 18px; text-align: center; flex: none; }
.purchase-package-btn { width: 100%; margin-top: auto; }

/* ==========================================================================
   11 FAQ ACCORDION  (details/summary — structure required by faq.js)
   ========================================================================== */
.faq-section { position: relative; background: transparent; }

.e-n-accordion {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; max-width: 820px; margin: 0 auto;
}
.e-n-accordion-item {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  overflow: hidden;
  transition: border-color var(--t-base), background var(--t-base);
}
.e-n-accordion-item[open] { border-color: rgba(243, 77, 146, 0.25); background: var(--bg-2); }

.e-n-accordion-item-title {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 17px 20px;
  cursor: pointer; list-style: none;
  transition: background var(--t-fast);
}
.e-n-accordion-item-title::-webkit-details-marker { display: none; }
.e-n-accordion-item-title:hover { background: rgba(255, 255, 255, 0.02); }

.e-n-accordion-item-title-header { min-width: 0; }
.e-n-accordion-item-title-header,
.e-n-accordion-item-title-header h3,
.e-n-accordion-item-title-header h4 {
  font-family: var(--font-body);
  font-size: 0.98rem; font-weight: 600; color: var(--text);
  margin: 0; line-height: 1.45; text-align: left;
}

.e-n-accordion-item-title-icon {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  color: var(--muted); font-size: 0.72rem;
  transition: all var(--t-base);
}
.e-n-accordion-item[open] .e-n-accordion-item-title-icon {
  background: var(--pink-tint); border-color: var(--pink-border); color: var(--pink-soft);
}
.e-n-accordion-item-title-icon .e-opened { display: none; }
.e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-opened { display: inline-block; }
.e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-closed { display: none; }

.e-n-accordion-item-content { padding: 0 20px 18px; }
.e-n-accordion-item-text { font-size: 0.94rem; color: var(--text-2); line-height: 1.7; text-align: left; }
.e-n-accordion-item-text p { margin: 0 0 0.8em; }
.e-n-accordion-item-text p:last-child { margin-bottom: 0; }
.e-n-accordion-item-text a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   12 CODE BLOCKS
   ========================================================================== */
.code-tabs {
  width: 100%; max-width: 900px;
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: var(--r-3);
  overflow: hidden; text-align: left;
}
.code-tab-nav, .code-tabs-nav {
  display: flex; flex-wrap: wrap; gap: 2px;
  padding: 6px 8px 0;
  border-bottom: 1px solid var(--code-border);
  background: rgba(255, 255, 255, 0.015);
}
.code-tab-btn {
  background: transparent; border: 0; cursor: pointer;
  padding: 10px 16px; color: var(--code-dim);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.code-tab-btn:hover { color: var(--text); }
.code-tab-btn.active { color: var(--text); border-bottom-color: var(--pink); }

.code-tab-content { display: none; position: relative; }
.code-tab-content.active { display: block; }

.code-copy-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--code-border);
  color: var(--code-dim); font-size: 0.85rem; cursor: pointer;
  transition: all var(--t-fast);
}
.code-copy-btn:hover { color: var(--text); border-color: var(--border-strong); }

.code-tabs pre, pre.code-block {
  margin: 0; padding: 18px 20px; overflow-x: auto;
  font-family: var(--font-mono); font-size: 0.84rem; line-height: 1.65;
  color: var(--code-text); background: transparent;
  tab-size: 2;
}
.code-tabs pre code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }

/* ==========================================================================
   13 STATS / REVIEWS / PARTNERS
   ========================================================================== */
.stats-container {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; width: 100%; max-width: var(--container);
}
.stat-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 30px 18px;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.stat-box:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-1); }
.stat-icon { color: var(--pink-soft); font-size: 1.2rem; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.3rem); font-weight: 700;
  color: var(--text); letter-spacing: -0.02em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.78rem; font-weight: 500; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.07em;
}

.reviews-carousel {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px; width: 100%; max-width: var(--container);
}
.review-box {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  min-width: 0;
}
.review-box:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.review-box > a { display: flex; flex-direction: column; gap: 10px; padding: 24px; color: inherit; text-align: left; height: 100%; }
.review-box img { width: 150px; height: auto; }
.review-title { font-weight: 600; color: var(--text); font-size: 0.98rem; }
.review-text { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }
.review-author { margin-top: auto; padding-top: 8px; font-size: 0.8rem; color: var(--muted); }

.partners-container, .logo-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(28px, 4vw, 56px); width: 100%;
}
.partners-container img, .logo-row img {
  height: 32px; width: auto;
  opacity: 0.6; filter: grayscale(1) brightness(1.8);
  transition: opacity var(--t-base), filter var(--t-base);
}
.partners-container img:hover, .logo-row img:hover { opacity: 1; filter: none; }

/* ==========================================================================
   14 LOCATIONS
   ========================================================================== */
.flag-icon {
  width: 27px; height: 20px; border-radius: 4px;
  object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.location-box {
  display: flex; align-items: center; gap: 13px; flex: none;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: 14px 20px;
  transition: border-color var(--t-base);
}
.location-box:hover { border-color: var(--border-strong); }
.location-icon { display: flex; align-items: center; }
.location-name { color: var(--text); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.location-ips { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }

/* Marquee rows (global network snippet) */
.locations-carousel {
  width: 100%; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.carousel-track {
  display: inline-flex; gap: 16px; padding: 4px 0;
  white-space: nowrap; will-change: transform;
  animation: marquee-x 36s linear infinite;
}
.locations-carousel:hover .carousel-track { animation-play-state: paused; }
@keyframes marquee-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.country-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px; width: 100%;
}
.country-card, .loc-card {
  display: flex; flex-direction: column; gap: 9px; min-width: 0;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: 18px;
  text-align: left; color: inherit;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.country-card:hover, .loc-card:hover {
  transform: translateY(-2px); border-color: var(--pink-border);
  box-shadow: var(--shadow-1); color: inherit;
}
.loc-name-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.loc-name { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.loc-code {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 6px;
}
.loc-details, .country-meta { color: var(--muted); font-size: 0.84rem; }
.loc-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.globe-container { display: flex; justify-content: center; width: 100%; }

/* ==========================================================================
   15 TABLES
   ========================================================================== */
.table-wrap {
  width: 100%; overflow-x: auto;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
}
.table, .table-wrap table {
  width: 100%; border-collapse: collapse;
  font-size: 0.92rem; min-width: 620px;
}
.table th, .table-wrap table th {
  padding: 13px 18px; text-align: left;
  font-size: 0.74rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.07em;
  border-bottom: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}
.table td, .table-wrap table td {
  padding: 13px 18px; text-align: left;
  color: var(--text-2); border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.table tr:last-child td, .table-wrap table tr:last-child td { border-bottom: 0; }
.table tbody th, .table td:first-child { color: var(--text); font-weight: 500; }
.table .fa-check, .table-wrap .fa-check { color: var(--success); }
.table .fa-xmark, .table .fa-times, .table-wrap .fa-xmark { color: var(--muted-deco); }
.table--compare .is-featured, .table--compare th.is-featured { background: rgba(243, 77, 146, 0.06); }

/* ==========================================================================
   16 FORMS
   ========================================================================== */
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="search"], input[type="url"],
input[type="tel"], select, textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-2);
  padding: 12px 15px;
  color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem; line-height: 1.4;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
input::placeholder, textarea::placeholder { color: var(--muted-deco); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(243, 77, 146, 0.55);
  box-shadow: 0 0 0 3px rgba(243, 77, 146, 0.14);
  background: var(--bg-2);
}
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%238a8eaa' stroke-width='1.6' stroke-linecap='round' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 38px; cursor: pointer;
}
textarea { min-height: 130px; resize: vertical; }

label { font-size: 0.86rem; font-weight: 500; color: var(--text-dim); }
.form-field { display: flex; flex-direction: column; gap: 7px; width: 100%; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }

/* ==========================================================================
   17 MODALS & TOASTS
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  opacity: 0;
}
.modal-dialog {
  position: relative;
  width: 100%; max-width: 480px;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-4);
  padding: 28px;
  box-shadow: var(--shadow-3);
}
.modal-heading {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 700; color: var(--text);
  margin-bottom: 12px; padding-right: 32px;
}
.modal-heading i { color: var(--pink-soft); }
.modal-body { color: var(--text-2); font-size: 0.94rem; line-height: 1.65; }
.modal-body .prompt-text { margin: 0; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

button.modal-close-button, button.modal-dismiss-button, button.mobile-menu-burger-button {
  border: 0; font-family: inherit; line-height: inherit; cursor: pointer;
}
button.modal-dismiss-button { font-size: inherit; }
.modal-close-button {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05); color: var(--muted);
  font-size: 0.9rem; padding: 0;
  transition: all var(--t-fast);
}
.modal-close-button:hover { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.modal-dismiss-button { min-width: 130px; }

/* Toast container + shell (visuals continue in toasts.css) */
.toasts {
  position: fixed; bottom: 16px; right: 16px; z-index: 99999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  width: min(92vw, 360px); pointer-events: none;
}
.toast {
  position: relative;
  display: flex; align-items: center; justify-content: flex-start; gap: 10px;
  min-width: 240px; max-width: 100%;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(16, 20, 38, 0.92);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-2); color: #fff;
  backdrop-filter: blur(8px); pointer-events: auto;
}
.toast > progress {
  position: absolute; inset: auto 0 0 0; height: 3px; width: 100%;
  appearance: none; -webkit-appearance: none; border: none; background: transparent;
}

/* ==========================================================================
   18 HEADER & NAVIGATION
   ========================================================================== */
.site-header-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  display: flex; flex-direction: column;
}

/* --- Promo banner --- */
.promo-banner {
  width: 100%; overflow: hidden;
  background: linear-gradient(92deg, #D6336C, #F34D92 55%, #e2447f);
  color: #fff;
}
.promo-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 8px 16px;
  max-width: var(--container-wide); margin: 0 auto;
  font-size: 0.86rem; line-height: 1.45;
}
.promo-left { font-size: 0.95rem; display: flex; align-items: center; }
.promo-copy { min-width: 0; }
.promo-copy strong { font-weight: 700; }
.promo-cta {
  flex: none; white-space: nowrap;
  background: #fff; color: #A61E4D;
  padding: 5px 14px; border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 700;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.promo-cta:hover { color: #86173e; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.promo-close {
  flex: none; background: none; border: 0; color: rgba(255, 255, 255, 0.8);
  cursor: pointer; font-size: 0.9rem; padding: 4px 6px;
}
.promo-close:hover { color: #fff; }

/* Mobile promo marquee (built by header.html script at <=768px) */
.promo-viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.promo-track {
  display: inline-flex; gap: 48px; white-space: nowrap;
  will-change: transform;
  animation: promo-marquee 22s linear infinite;
}
.promo-segment { display: inline-flex; align-items: center; gap: 12px; }
@keyframes promo-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 24px)); } }

/* --- Main nav bar --- */
.menu-banner {
  display: flex; align-items: center; gap: 18px;
  height: var(--menu-h); width: 100%;
  padding: 0 clamp(16px, 2.5vw, 32px);
  background: rgba(4, 6, 16, 0.82);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}
.banner-logo { flex: none; display: flex; align-items: center; }
.banner-logo img { height: 38px; width: auto; display: block; }

.desktop-menu-container {
  display: flex; align-items: center; gap: 6px;
  flex: 1 1 auto; min-width: 0; justify-content: flex-end;
}
.desktop-menu-nav { display: flex; align-items: center; flex-wrap: nowrap; gap: 2px; margin-right: auto; margin-left: 8px; }

.menu-item {
  display: flex; align-items: center; gap: 2px;
  padding: 9px 13px; border-radius: 9px;
  color: var(--text-2); font-size: 0.92rem; font-weight: 500;
  white-space: nowrap; cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
}
a .menu-item { color: var(--text-2); }
.menu-item:hover, a:hover .menu-item { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.dashboard-menu-item {
  background: var(--pink-gradient); color: #fff !important;
  font-weight: 600; padding: 9px 18px;
  box-shadow: 0 6px 18px rgba(243, 77, 146, 0.25);
}
.dashboard-menu-item:hover { background: var(--pink-gradient); filter: brightness(1.08); }

/* Dropdown group */
.menu-item.has-dropdown { position: relative; padding: 0; gap: 0; }
.menu-item.has-dropdown:hover { background: rgba(255, 255, 255, 0.06); }
.desktop-menu-item-link {
  color: inherit; padding: 9px 2px 9px 13px;
  display: flex; align-items: center;
}
.menu-item.has-dropdown:hover .desktop-menu-item-link { color: var(--text); }
.dropdown-toggle {
  background: none; border: 0; cursor: pointer;
  color: var(--muted); font-size: 0.72rem;
  padding: 9px 11px 9px 5px; border-radius: 0 9px 9px 0;
  display: flex; align-items: center;
  transition: color var(--t-fast), transform var(--t-fast);
}
.dropdown-toggle:hover, .dropdown-toggle[aria-expanded="true"] { color: var(--text); }
.dropdown-toggle i { transition: transform var(--t-fast); }
.dropdown-toggle[aria-expanded="true"] i { transform: rotate(180deg); }

.desktop-menu-item-dropdown-container {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 600;
  display: flex; flex-direction: column; gap: 3px;
  min-width: 330px; max-height: calc(100vh - var(--menu-h) - 40px);
  overflow-y: auto;
  background: #0b0f1ef7;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-4);
  padding: 12px;
  box-shadow: var(--shadow-3);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
/* invisible hover bridge over the gap */
.desktop-menu-item-dropdown-container::before {
  content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
@media (hover: hover) {
  .menu-item.has-dropdown:hover > .desktop-menu-item-dropdown-container {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
}
.dropdown-toggle[aria-expanded="true"] ~ .desktop-menu-item-dropdown-container {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* Group label row inside dropdown */
.dropdown-group-label {
  font-size: 0.68rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.09em;
  padding: 4px 10px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.desktop-menu-item-dropdown {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px; border-radius: 11px;
  color: var(--text-2); font-size: 0.9rem;
  transition: background var(--t-fast);
}
.desktop-menu-item-dropdown:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-2); }
.desktop-menu-item-dropdown > i,
.desktop-menu-item-dropdown span > i {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--pink-tint); color: var(--pink-soft);
  font-size: 0.9rem; margin-top: 1px;
}
.desktop-menu-item-dropdown span { color: var(--text); font-weight: 500; }
.desktop-menu-item-dropdown span span { display: block; }
.desktop-menu-item-dropdown p {
  margin: 3px 0 0; font-size: 0.79rem; font-weight: 400;
  color: var(--muted); line-height: 1.45; white-space: normal;
}

/* --- Burger + mobile menu --- */
.mobile-menu-burger-button {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong) !important;
  color: var(--text); font-size: 1.05rem;
  place-items: center; padding: 0;
}

.mobile-menu-dropdown {
  display: flex; flex-direction: column; gap: 2px;
  width: 100%; height: 0; overflow: hidden auto; padding: 0;
  max-height: calc(100dvh - var(--menu-h) - var(--promo-h, 0px));
  background: rgba(5, 7, 16, 0.98);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-strong);
}
.mobile-menu-dropdown .menu-item { width: 100%; padding: 13px 14px; font-size: 1rem; }
.mobile-menu-dropdown > a { width: 100%; }

.mobile-dropdown { width: 100%; }
button.mobile-dropdown-header {
  background: none; border: 0; width: 100%;
  font-family: inherit; text-align: left;
}
.mobile-dropdown-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px; border-radius: 10px;
  color: var(--text-2); font-size: 1rem; font-weight: 500; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.mobile-dropdown-header:hover, .mobile-dropdown.opened .mobile-dropdown-header { color: var(--text); }
.mobile-dropdown-header i { font-size: 0.8rem; color: var(--muted); }

.mobile-dropdown-content {
  display: none; flex-direction: column; gap: 2px;
  margin: 2px 0 8px 14px; padding: 2px 0 2px 10px;
  border-left: 1px solid var(--border-strong);
}
.menu-subitem a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--text-2); font-size: 0.92rem;
  transition: background var(--t-fast);
}
.menu-subitem a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-2); }
.menu-subitem i {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: var(--pink-tint); color: var(--pink-soft); font-size: 0.85rem;
}
.menu-subitem span { color: var(--text); font-weight: 500; }
.menu-subitem p { margin: 2px 0 0; font-size: 0.78rem; color: var(--muted); line-height: 1.45; }

@media (max-width: 1359.98px) {
  .desktop-menu-container { display: none; }
  .mobile-menu-burger-button { display: grid; }
  .banner-logo img { height: 33px; }
}
@media (min-width: 1360px) {
  .mobile-menu-dropdown { display: none; }
}

/* ==========================================================================
   19 FOOTER
   ========================================================================== */
.general-footer {
  position: relative; z-index: 10;
  margin-top: auto;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(800px 300px at 12% 0%, rgba(243, 77, 146, 0.05), transparent 60%),
    #05070f;
  padding: 0 var(--gutter) 28px;
  font-size: 0.95rem; text-align: left;
}
.footer-container {
  width: 100%; max-width: var(--container);
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 48px;
  padding-top: 56px;
}

.footer-newsletter {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 26px 30px;
}
.footer-newsletter-copy h2, .footer-newsletter-copy .section-heading {
  font-size: 1.25rem; text-align: left; margin: 0 0 4px; letter-spacing: -0.01em;
}
.footer-newsletter-copy h2 span { color: var(--pink); -webkit-text-fill-color: currentColor; background: none; }
.footer-newsletter-copy .section-small-text {
  font-size: 0.9rem; margin: 0; text-align: left; color: var(--muted);
}
.subscribe-form { display: flex; gap: 10px; flex: 1 1 340px; max-width: 460px; }
.subscribe-form input[type="email"] { flex: 1 1 auto; }
.subscribe-form button { flex: none; }

.footer-topline {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-logo img { width: 190px; height: auto; }
.footer-tagline { font-size: 0.88rem; color: var(--muted); line-height: 1.65; max-width: 420px; margin: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 36px 28px;
}
.footer-menu-container { display: contents; }
.menu-category h3 {
  font-family: var(--font-body);
  font-size: 0.76rem; font-weight: 600; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.09em;
  margin: 0 0 15px;
}
.menu-category ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.menu-category a, .menu-category .menu-item {
  display: inline-block; padding: 0;
  color: #9aa0bc; font-size: 0.9rem; font-weight: 400;
  background: none; transition: color var(--t-fast);
}
.menu-category a:hover, .menu-category a:hover .menu-item { color: var(--text); background: none; }
.menu-category a div { display: inline; }

.social-links-container { display: flex; gap: 10px; }
.social-links-container a div {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text-2); font-size: 0.95rem;
  transition: all var(--t-fast);
}
.social-links-container a:hover div {
  color: #fff; border-color: var(--pink-border); background: var(--pink-tint);
}

.footer-fineprint {
  max-width: var(--container); margin: 44px auto 0;
  padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 20px;
  font-size: 0.8rem; color: #737a99;
}

/* ==========================================================================
   20 ANIMATIONS
   ========================================================================== */
.animate-trigger, .fade-in {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  will-change: opacity, transform;
}
.animate-trigger.zoom-in { transform: scale(0.94); }
.animate-trigger.fade-right { transform: translateX(-22px); }
.animate-trigger.fade-up { transform: translateY(18px); }

.animate-trigger.visible, .fade-in.faded-in, .fade-in.visible, .animate-trigger.faded-in {
  opacity: 1; transform: none;
}

.delay-100 { transition-delay: 0.08s; }
.delay-200 { transition-delay: 0.16s; }
.delay-300 { transition-delay: 0.24s; }
.delay-400 { transition-delay: 0.32s; }
.delay-500 { transition-delay: 0.4s; }

.pulse { animation: soft-pulse 2.6s ease-in-out infinite; }
@keyframes soft-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-trigger, .fade-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .carousel-track, .promo-track, .pulse, .hero-badge .dot { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   21 UTILITIES & RESPONSIVE
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-pink { color: var(--pink-soft); }
.text-dim { color: var(--text-dim); }
.muted { color: var(--muted); }
.w-100 { width: 100%; }
.bg-1 { background-color: var(--bg-1); }
.bg-2 { background-color: var(--bg-2); }

.maxw-sm { max-width: 640px; }
.maxw-md { max-width: 860px; }
.maxw-lg { max-width: 1100px; }

.mt-1 { margin-top: 6px; }  .mt-2 { margin-top: 10px; } .mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; } .mt-5 { margin-top: 40px; } .mt-6 { margin-top: 64px; }
.mb-3 { margin-bottom: 16px; } .mb-4 { margin-bottom: 24px; } .mb-5 { margin-bottom: 40px; }

/* Legacy button/heading aliases kept for safety */
.btn-pink { background: var(--pink-gradient); color: #fff; }
.section-heading-modern { font-size: var(--fs-7); font-weight: 700; margin-bottom: var(--sp-4); line-height: 1.2; color: var(--text); font-family: var(--font-display); }
.section-heading-modern span { color: var(--pink); }
.section-intro-modern { font-size: var(--fs-3); color: var(--text-dim); max-width: 700px; margin-bottom: var(--sp-8); line-height: 1.6; }

/* Inline signup banner (shared snippet) */
.signup-banner {
  width: 100%; max-width: var(--container);
  margin: clamp(28px, 3vw, 48px) auto;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px 280px at 10% 0%, rgba(243, 77, 146, 0.11), transparent 60%),
    radial-gradient(500px 180px at 90% 20%, rgba(120, 140, 255, 0.07), transparent 60%),
    var(--bg-1);
}
.signup-banner-row {
  display: flex; flex-wrap: wrap; gap: 28px;
  align-items: center; justify-content: space-between;
}
.signup-banner-main { display: flex; gap: 18px; align-items: flex-start; flex: 1 1 420px; min-width: 0; }
.signup-banner-main .icon-tile { width: 52px; height: 52px; font-size: 1.3rem; border-radius: 14px; }
.signup-banner-copy { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.signup-banner-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.signup-banner-copy h3 {
  font-size: clamp(1.15rem, 1vw + 0.9rem, 1.45rem);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; margin: 0;
}
.signup-banner-copy .sub { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.signup-banner-copy .checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 24px; margin-top: 4px; }
.signup-banner-copy .checklist li { font-size: 0.88rem; }
.signup-banner-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 0 0 auto; }
@media (max-width: 720px) {
  .signup-banner-copy .checklist { grid-template-columns: 1fr; }
  .signup-banner-side { width: 100%; }
  .signup-banner-side .btn { width: 100%; }
}

/* CTA closing section */
.cta-section { padding-top: clamp(48px, 4vw, 72px); }
.cta-section .content-container {
  position: relative; overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background:
    radial-gradient(640px 300px at 18% 0%, rgba(243, 77, 146, 0.16), transparent 60%),
    radial-gradient(520px 260px at 88% 30%, rgba(120, 140, 255, 0.09), transparent 60%),
    var(--bg-1);
  padding: clamp(44px, 5vw, 72px) clamp(24px, 4vw, 56px);
  gap: 6px;
}
.cta-section .section-heading { margin-bottom: 10px; }
.cta-section .section-small-text { margin-bottom: 26px; }

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .challenge-grid, .benefit-grid-modern { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .hero-split { grid-template-columns: 1fr; }
  .hero-split { text-align: center; }
  .hero-split .hero-copy { align-items: center; }
  .hero-split .hero-actions, .hero-split .hero-proof { justify-content: center; }
  .reviews-carousel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .grid-2, .form-row { grid-template-columns: 1fr; }
  .reviews-carousel { grid-template-columns: 1fr; }
  .promo-inner { justify-content: space-between; gap: 10px; }
  .footer-newsletter { flex-direction: column; align-items: stretch; }
  .subscribe-form { max-width: none; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .challenge-grid, .benefit-grid-modern { grid-template-columns: 1fr; }
  .stats-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat-box { padding: 22px 12px; }
  .section, .subsection { padding-left: 18px; padding-right: 18px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn, .hero-actions .pink-button { width: 100%; }
  .plan-box { max-width: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subscribe-form { flex-direction: column; }
  .hide-mobile { display: none !important; }
}
@media (min-width: 641px) {
  .hide-desktop { display: none !important; }
}
