/* ============================================================
   CELERON — design system
   Dark burgundy. Quiet surfaces, one warm accent, generous air.
   ============================================================ */

:root {
  --cx-bg: #0a0507;
  --cx-bg-2: #0f0709;
  --cx-surface: #140a0e;
  --cx-surface-2: #1b0f14;
  --cx-surface-3: #22141a;
  --cx-line: rgba(255, 255, 255, 0.07);
  --cx-line-2: rgba(255, 255, 255, 0.12);
  --cx-text: #f6eef0;
  --cx-text-2: #d9c7cc;
  --cx-muted: #a38b92;
  --cx-dim: #6f5a60;
  --cx-wine: #6b0f2b;
  --cx-burgundy: #8a1538;
  --cx-rose: #d6336c;
  --cx-blush: #f4a7bd;
  --cx-glow: rgba(214, 51, 108, 0.35);
  --cx-ok: #5ad19a;
  --cx-warn: #f3c969;
  --cx-bad: #ff6b6b;
  --cx-r-sm: 10px;
  --cx-r: 16px;
  --cx-r-lg: 24px;
  --cx-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --cx-font: "Outfit", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cx-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* legacy variable names used by existing page CSS */
  --bg: var(--cx-bg);
  --bg-secondary: var(--cx-bg-2);
  --card: var(--cx-surface);
  --card-2: var(--cx-surface-2);
  --card-hover: var(--cx-surface-3);
  --border: var(--cx-line);
  --border-light: var(--cx-line-2);
  --text: var(--cx-text);
  --text-secondary: var(--cx-text-2);
  --text-muted: var(--cx-muted);
  --text-light: var(--cx-text);
  --accent: var(--cx-rose);
  --accent-2: var(--cx-burgundy);
  --accent-light: var(--cx-blush);
  --magenta: var(--cx-rose);
  --magenta-deep: var(--cx-burgundy);
  --purple: var(--cx-blush);
  --success: var(--cx-ok);
  --success-light: #9be7c3;
  --warning: var(--cx-warn);
  --warning-light: #f8dea3;
  --danger: var(--cx-bad);
  --danger-light: #ffa3a3;
  --info: var(--cx-rose);
  --info-light: var(--cx-blush);
  --gradient: linear-gradient(135deg, var(--cx-rose), var(--cx-burgundy));
  --gradient-success: linear-gradient(135deg, #5ad19a, #2e8b63);
  --gradient-warning: linear-gradient(135deg, #f3c969, #b98a2a);
  --gradient-danger: linear-gradient(135deg, #ff6b6b, #a92f2f);
  --gradient-info: linear-gradient(135deg, var(--cx-rose), var(--cx-burgundy));
  --shadow: var(--cx-shadow);
  --shadow-hover: var(--cx-shadow);
  --vx-gold: var(--cx-blush);
  --vx-line: var(--cx-line);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  background: var(--cx-bg) !important;
  color: var(--cx-text) !important;
  font-family: var(--cx-body) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

body {
  margin: 0;
  min-height: 100vh;
  background-image:
    radial-gradient(70rem 36rem at 50% -14rem, rgba(138, 21, 56, 0.28), transparent 65%),
    radial-gradient(40rem 30rem at 110% 100%, rgba(107, 15, 43, 0.18), transparent 60%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}

body::before, body::after { display: none !important; content: none !important; }

h1, h2, h3, h4, h5, h6, .cx-display {
  font-family: var(--cx-font);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--cx-text);
  line-height: 1.1;
}

a { color: var(--cx-blush); text-decoration: none; }
a:hover { color: #fff; }

::selection { background: rgba(214, 51, 108, 0.35); color: #fff; }

/* ---------- Layout ---------- */
.cx-wrap { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; }
.cx-section { padding: 6rem 0; }
.cx-section + .cx-section { padding-top: 0; }
.cx-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cx-blush);
}
.cx-eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: var(--cx-rose); }
.cx-h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0.9rem 0 0.8rem; }
.cx-lead { color: var(--cx-muted); font-size: 1.08rem; max-width: 40rem; margin: 0; }
.cx-head { margin-bottom: 2.75rem; }
.cx-head--center { text-align: center; }
.cx-head--center .cx-lead { margin-inline: auto; }
.cx-head--center .cx-eyebrow::before { display: none; }

/* ---------- Nav ---------- */
.cx-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 5, 7, 0.65);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--cx-line);
}
.cx-nav__in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.cx-brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--cx-text); font-family: var(--cx-font); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; }
.cx-brand:hover { color: var(--cx-text); }
.cx-brand img { width: 30px; height: 30px; object-fit: contain; }
.cx-nav__links { display: flex; align-items: center; gap: 1.75rem; }
.cx-nav__links a { color: var(--cx-muted); font-size: 0.92rem; font-weight: 500; }
.cx-nav__links a:hover { color: var(--cx-text); }
.cx-nav__cta { display: flex; align-items: center; gap: 0.6rem; }
.cx-nav__toggle { display: none; background: none; border: 1px solid var(--cx-line-2); color: var(--cx-text); width: 40px; height: 40px; border-radius: 10px; font-size: 1.2rem; }

/* ---------- Buttons ---------- */
.cx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.35rem; border-radius: 999px;
  font-family: var(--cx-body); font-size: 0.92rem; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  text-decoration: none;
}
.cx-btn:active { transform: translateY(1px); }
.cx-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--cx-rose) 0%, var(--cx-burgundy) 100%);
  box-shadow: 0 12px 30px -12px var(--cx-glow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.cx-btn--primary:hover { color: #fff; box-shadow: 0 18px 40px -14px var(--cx-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25); filter: brightness(1.06); }
.cx-btn--ghost { color: var(--cx-text); background: rgba(255, 255, 255, 0.03); border-color: var(--cx-line-2); }
.cx-btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); }
.cx-btn--sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.cx-btn--lg { padding: 0.95rem 1.7rem; font-size: 1rem; }
.cx-btn--block { width: 100%; }
.cx-btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Hero ---------- */
.cx-hero { position: relative; padding: 5.5rem 0 4rem; overflow: hidden; }
.cx-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.cx-hero h1 { font-size: clamp(2.8rem, 5.6vw, 4.6rem); margin: 1.1rem 0 1.2rem; }
.cx-hero h1 em { font-style: normal; color: var(--cx-blush); }
.cx-hero p { color: var(--cx-muted); font-size: 1.12rem; max-width: 34rem; margin: 0 0 2rem; }
.cx-hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cx-hero__trust { display: flex; gap: 2.25rem; margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--cx-line); flex-wrap: wrap; }
.cx-hero__trust b { display: block; font-family: var(--cx-font); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.cx-hero__trust span { color: var(--cx-muted); font-size: 0.82rem; }

.cx-orb { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 520px; margin-left: auto; }
.cx-orb::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(214, 51, 108, 0.42), rgba(138, 21, 56, 0.18) 40%, transparent 70%);
  filter: blur(18px);
}
.cx-orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(244, 167, 189, 0.14);
  mask: conic-gradient(from 200deg, #000 0 60%, transparent 60% 100%);
  -webkit-mask: conic-gradient(from 200deg, #000 0 60%, transparent 60% 100%);
  animation: cx-spin 28s linear infinite;
}
.cx-orb__ring2 { position: absolute; inset: 11%; border-radius: 50%; border: 1px dashed rgba(244, 167, 189, 0.12); animation: cx-spin 44s linear infinite reverse; }
.cx-orb img { position: relative; width: 60%; height: auto; filter: drop-shadow(0 30px 50px rgba(107, 15, 43, 0.6)); animation: cx-float 7s ease-in-out infinite; }
.cx-orb__tag {
  position: absolute; padding: 0.55rem 0.85rem; border-radius: 12px;
  background: rgba(20, 10, 14, 0.85); border: 1px solid var(--cx-line-2);
  backdrop-filter: blur(10px); font-size: 0.78rem; color: var(--cx-text-2);
  display: flex; align-items: center; gap: 0.5rem;
}
.cx-orb__tag b { color: var(--cx-text); font-weight: 600; }
.cx-orb__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--cx-ok); box-shadow: 0 0 10px var(--cx-ok); }
.cx-orb__tag--a { top: 12%; left: 0; }
.cx-orb__tag--b { bottom: 14%; right: 0; }

@keyframes cx-spin { to { transform: rotate(360deg); } }
@keyframes cx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Stat band ---------- */
.cx-band { border-top: 1px solid var(--cx-line); border-bottom: 1px solid var(--cx-line); background: rgba(255, 255, 255, 0.015); }
.cx-band__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.cx-band__item { padding: 1.75rem 1.5rem; border-left: 1px solid var(--cx-line); }
.cx-band__item:first-child { border-left: 0; padding-left: 0; }
.cx-band__item b { display: block; font-family: var(--cx-font); font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.45rem; }
.cx-band__item span { color: var(--cx-muted); font-size: 0.88rem; }

/* ---------- Cards ---------- */
.cx-card {
  position: relative; background: linear-gradient(180deg, var(--cx-surface-2), var(--cx-surface));
  border: 1px solid var(--cx-line); border-radius: var(--cx-r-lg); padding: 1.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.cx-card:hover { border-color: var(--cx-line-2); }
.cx-card--lift:hover { transform: translateY(-4px); }
.cx-grid { display: grid; gap: 1.25rem; }
.cx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cx-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cx-grid--5 { grid-template-columns: repeat(5, 1fr); }

/* package */
.cx-pkg { display: flex; flex-direction: column; min-height: 100%; }
.cx-pkg__name { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cx-muted); font-weight: 600; }
.cx-pkg__rate { font-family: var(--cx-font); font-size: 2.6rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin: 1.4rem 0 0.2rem; }
.cx-pkg__rate small { font-size: 0.95rem; font-weight: 500; color: var(--cx-muted); letter-spacing: 0; margin-left: 0.35rem; }
.cx-pkg__range { color: var(--cx-text-2); font-size: 0.95rem; margin-bottom: 1.25rem; }
.cx-pkg ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.55rem; color: var(--cx-muted); font-size: 0.9rem; }
.cx-pkg ul li { display: flex; gap: 0.6rem; align-items: flex-start; }
.cx-pkg ul li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.5rem; border-radius: 50%; background: var(--cx-rose); }
.cx-pkg .cx-btn { margin-top: auto; }
.cx-pkg--featured { background: linear-gradient(180deg, #2a0f1a, var(--cx-surface)); border-color: rgba(214, 51, 108, 0.35); }
.cx-pkg--featured::before { content: "Most chosen"; position: absolute; top: 1.2rem; right: 1.2rem; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cx-blush); }
.cx-pkg--dark { background: linear-gradient(180deg, #0c0609, #090406); border-color: var(--cx-line-2); }
.cx-chip { display: inline-flex; align-items: center; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(214, 51, 108, 0.12); border: 1px solid rgba(214, 51, 108, 0.3); color: var(--cx-blush); }

.cx-pkg-solo {
  position: relative; overflow: hidden;
  width: min(860px, 100%); margin: 0 auto;
  padding: 2.6rem 2.5rem 2.3rem;
  border-radius: 32px;
  border: 1px solid rgba(244, 167, 189, 0.26);
  box-shadow: 0 40px 90px -36px rgba(107, 15, 43, 0.7), inset 0 1px 0 rgba(255,255,255,0.06);
  background:
    radial-gradient(22rem 14rem at 92% 8%, rgba(244, 167, 189, 0.18), transparent 58%),
    radial-gradient(28rem 16rem at 100% 120%, rgba(214, 51, 108, 0.24), transparent 60%),
    linear-gradient(160deg, #2f101c 0%, #16080e 48%, #0b0407 100%);
}
.cx-pkg-solo::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,167,189,0.55), transparent);
}
.cx-pkg-solo__glow {
  position: absolute; right: -3rem; bottom: -5rem; width: 18rem; height: 18rem;
  background: url("/img/celeron-logo.png") center / contain no-repeat;
  opacity: 0.08; pointer-events: none;
}
.cx-pkg-solo__top {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem;
  align-items: end; position: relative; margin-bottom: 1.6rem;
}
.cx-pkg-solo__brand { display: flex; align-items: center; gap: 1rem; }
.cx-pkg-solo__brand img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(214, 51, 108, 0.45)); }
.cx-pkg-solo__brand h3 { font-family: var(--cx-font); font-size: 2rem; font-weight: 600; letter-spacing: -0.035em; margin: 0.3rem 0 0.15rem; }
.cx-pkg-solo__brand p { margin: 0; color: var(--cx-muted); font-size: 0.95rem; }
.cx-pkg-solo__ratewrap { text-align: right; }
.cx-pkg-solo__rate {
  font-family: var(--cx-font); font-size: clamp(3.4rem, 7vw, 5.4rem); font-weight: 600;
  letter-spacing: -0.055em; line-height: 0.9; margin: 0;
  background: linear-gradient(180deg, #fff6f8, #f4a7bd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cx-pkg-solo__rate small { font-size: 1.15rem; font-weight: 500; color: var(--cx-blush); letter-spacing: 0; margin-left: 0.2rem; -webkit-text-fill-color: var(--cx-blush); }
.cx-pkg-solo__ratewrap span { display: block; margin-top: 0.45rem; color: var(--cx-muted); font-size: 0.86rem; letter-spacing: 0.02em; }
.cx-pkg-solo__range { color: var(--cx-text-2); font-size: 1.02rem; margin: 0 0 1.5rem; position: relative; }
.cx-pkg-solo__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
  margin: 0 0 1.6rem; position: relative;
}
.cx-pkg-solo__stats > div {
  padding: 0.95rem 1rem; border-radius: 16px;
  background: rgba(255,255,255,0.055); border: 1px solid rgba(244,167,189,0.14);
}
.cx-pkg-solo__stats b { display: block; font-family: var(--cx-font); font-size: 1.25rem; letter-spacing: -0.03em; }
.cx-pkg-solo__stats span { color: var(--cx-muted); font-size: 0.78rem; }
.cx-pkg-solo__list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.4rem; color: var(--cx-text-2); position: relative; }
.cx-pkg-solo__list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.cx-pkg-solo__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.55rem; border-radius: 50%; background: var(--cx-rose); }
.cx-pkg-solo .cx-btn { position: relative; }

/* step */
.cx-step { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; }
.cx-step__n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--cx-font); font-weight: 600; color: var(--cx-blush); background: rgba(214, 51, 108, 0.1); border: 1px solid rgba(214, 51, 108, 0.25); }
.cx-step h3 { font-size: 1.15rem; margin: 0.35rem 0 0.4rem; }
.cx-step p { color: var(--cx-muted); margin: 0; font-size: 0.95rem; }

/* income rows */
.cx-rows { border: 1px solid var(--cx-line); border-radius: var(--cx-r-lg); overflow: hidden; background: var(--cx-surface); }
.cx-row { display: grid; grid-template-columns: 1.2fr 2fr 1fr; gap: 1.5rem; align-items: center; padding: 1.5rem 1.75rem; border-top: 1px solid var(--cx-line); }
.cx-row:first-child { border-top: 0; }
.cx-row:hover { background: rgba(255, 255, 255, 0.015); }
.cx-row h3 { font-size: 1.1rem; margin: 0 0 0.2rem; }
.cx-row small { color: var(--cx-muted); font-size: 0.82rem; }
.cx-row p { margin: 0; color: var(--cx-text-2); font-size: 0.95rem; }
.cx-row .cx-row__val { text-align: right; font-family: var(--cx-font); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; color: var(--cx-blush); }

/* ---------- Forms ---------- */
.cx-field { margin-bottom: 1.1rem; }
.cx-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--cx-text-2); margin-bottom: 0.45rem; }
.cx-input, .cx-select,
.cx-form .form-control, .cx-form .form-select {
  width: 100%; display: block;
  background: rgba(255, 255, 255, 0.025) !important;
  border: 1px solid var(--cx-line-2) !important;
  color: var(--cx-text) !important;
  border-radius: 12px !important;
  padding: 0.8rem 1rem !important;
  font-size: 0.95rem !important;
  font-family: var(--cx-body);
  box-shadow: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  appearance: none; -webkit-appearance: none;
}
.cx-input::placeholder, .cx-form .form-control::placeholder { color: var(--cx-dim); }
.cx-input:focus, .cx-select:focus,
.cx-form .form-control:focus, .cx-form .form-select:focus {
  outline: none;
  border-color: rgba(214, 51, 108, 0.65) !important;
  box-shadow: 0 0 0 4px rgba(214, 51, 108, 0.14) !important;
  background: rgba(255, 255, 255, 0.035) !important;
}
.cx-select, .cx-form .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a38b92' stroke-width='1.6'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 0.9rem center !important; padding-right: 2.5rem !important;
}
.cx-select option, .cx-form .form-select option { background: var(--cx-surface-2); color: var(--cx-text); }
.cx-help { color: var(--cx-muted); font-size: 0.8rem; margin-top: 0.4rem; }
.cx-form .input-help { color: var(--cx-muted); font-size: 0.8rem; margin-top: 0.4rem; }
.cx-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
.cx-form-grid .cx-field--full { grid-column: 1 / -1; }
.cx-check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: var(--cx-text-2); }
.cx-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cx-rose); flex: none; }
.cx-check--agree {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 51, 108, 0.38);
  background: rgba(138, 21, 56, 0.18);
}
.cx-check--agree input { width: 20px; height: 20px; }
#ctaBtn[disabled] { pointer-events: none; }
.cx-notice { border: 1px solid rgba(214, 51, 108, 0.25); background: rgba(138, 21, 56, 0.12); border-radius: 14px; padding: 1rem 1.1rem; font-size: 0.86rem; color: var(--cx-text-2); }
.cx-notice strong { color: var(--cx-blush); }
.cx-input-group { position: relative; display: flex; }
.cx-input-group .cx-input { padding-right: 3rem !important; }
.cx-input-group button { position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--cx-muted); width: 36px; height: 36px; border-radius: 9px; cursor: pointer; }
.cx-input-group button:hover { color: var(--cx-text); background: rgba(255, 255, 255, 0.05); }

/* country autocomplete */
.country-autocomplete-wrapper { position: relative; }
.country-autocomplete-list {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--cx-surface-2); border: 1px solid var(--cx-line-2); border-radius: 12px;
  box-shadow: var(--cx-shadow); max-height: 260px; overflow-y: auto; padding: 0.35rem;
}
.country-suggestion { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.8rem; border-radius: 9px; cursor: pointer; font-size: 0.9rem; }
.country-suggestion:hover, .country-suggestion.selected, .country-suggestion.active { background: rgba(214, 51, 108, 0.14); }
.country-suggestion .name { flex: 1; }
.country-suggestion .code { color: var(--cx-muted); font-size: 0.82rem; }

/* alerts (register output) */
.alert-custom, .alert-lite { border-radius: 12px; padding: 0.85rem 1rem; font-size: 0.9rem; border: 1px solid var(--cx-line-2); background: rgba(255, 255, 255, 0.03); margin-top: 1rem; }
.alert-custom.alert-success { border-color: rgba(90, 209, 154, 0.35); color: #9be7c3; }
.alert-custom.alert-error { border-color: rgba(255, 107, 107, 0.35); color: #ffa3a3; }
.hidden { display: none !important; }

/* ---------- Footer ---------- */
.cx-footer { border-top: 1px solid var(--cx-line); padding: 3rem 0 2.5rem; margin-top: 4rem; }
.cx-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.cx-footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.cx-footer__links a { color: var(--cx-muted); font-size: 0.9rem; }
.cx-footer__links a:hover { color: var(--cx-text); }
.cx-footer__fine { color: var(--cx-dim); font-size: 0.8rem; line-height: 1.6; margin-top: 2rem; max-width: 70rem; }

/* ---------- Auth shell ---------- */
.cx-auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.cx-auth__visual { position: relative; display: grid; place-items: center; padding: 3rem; background: radial-gradient(60rem 40rem at 30% 20%, rgba(138, 21, 56, 0.35), transparent 60%), var(--cx-bg-2); border-right: 1px solid var(--cx-line); overflow: hidden; }
.cx-auth__visual .cx-orb { max-width: 420px; margin: 0; }
.cx-auth__quote { position: absolute; left: 3rem; right: 3rem; bottom: 3rem; color: var(--cx-muted); font-size: 0.95rem; max-width: 26rem; }
.cx-auth__quote b { display: block; color: var(--cx-text); font-family: var(--cx-font); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.cx-auth__brand { position: absolute; top: 2rem; left: 3rem; }
.cx-auth__panel { display: grid; place-items: center; padding: 3rem 1.5rem; }
.cx-auth__box { width: min(420px, 100%); }
.cx-auth__box h1 { font-size: 2rem; margin: 0 0 0.4rem; }
.cx-auth__box .cx-lead { font-size: 0.98rem; margin-bottom: 2rem; }
.cx-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0.25rem 0 1.25rem; font-size: 0.88rem; }
.cx-auth__foot { margin-top: 1.5rem; text-align: center; color: var(--cx-muted); font-size: 0.9rem; }
.cx-auth__fine { margin-top: 2rem; color: var(--cx-dim); font-size: 0.78rem; line-height: 1.6; }
#msg.alert-lite { display: block; }

/* ---------- Bootstrap bridges (modal, dropdown) ---------- */
.modal-content { background: var(--cx-surface-2) !important; border: 1px solid var(--cx-line-2) !important; border-radius: var(--cx-r-lg) !important; color: var(--cx-text) !important; box-shadow: var(--cx-shadow) !important; }
.modal-header, .modal-footer { border-color: var(--cx-line) !important; }
.modal-title { font-family: var(--cx-font); }
.modal-backdrop.show { opacity: 0.7; }
.btn-close { filter: invert(1) grayscale(1); opacity: 0.6; }
.dropdown-menu { background: var(--cx-surface-2) !important; border: 1px solid var(--cx-line-2) !important; border-radius: 14px !important; padding: 0.4rem !important; box-shadow: var(--cx-shadow) !important; }
.dropdown-item { color: var(--cx-text) !important; border-radius: 9px; padding: 0.55rem 0.8rem; font-size: 0.9rem; }
.dropdown-item:hover, .dropdown-item.active, .dropdown-item:active { background: rgba(214, 51, 108, 0.14) !important; color: #fff !important; }
.dropdown-divider { border-color: var(--cx-line) !important; }
.text-muted { color: var(--cx-muted) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cx-grid--4, .cx-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .cx-band__in { grid-template-columns: repeat(2, 1fr); }
  .cx-band__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cx-band__item:nth-child(n+3) { border-top: 1px solid var(--cx-line); }
  .cx-band__item { padding: 1.35rem 1.15rem; }
  .cx-row { grid-template-columns: 1fr; gap: 0.45rem; }
  .cx-row .cx-row__val { text-align: left; }
}
@media (max-width: 860px) {
  html, body { overflow-x: hidden; }
  .cx-wrap { width: min(1180px, calc(100% - 2rem)); }
  .cx-nav__in { height: 60px; }
  .cx-nav__links { display: none; }
  .cx-nav__toggle { display: inline-grid; place-items: center; }
  .cx-nav__cta .cx-btn--primary { display: none; }
  .cx-nav.is-open .cx-nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 60px;
    padding: 0.4rem 1.15rem 1rem;
    background: rgba(10, 5, 7, 0.97); border-bottom: 1px solid var(--cx-line);
  }
  .cx-nav.is-open .cx-nav__links > a,
  .cx-nav.is-open .cx-nav__links .dropdown-toggle {
    display: block; width: 100%; padding: 0.9rem 0;
    font-size: 1.02rem; color: var(--cx-text);
    border-bottom: 1px solid var(--cx-line);
  }
  .cx-hero { padding: 1.15rem 0 2rem; }
  .cx-hero__grid { grid-template-columns: 1fr; gap: 0.35rem; justify-items: center; text-align: center; }
  .cx-hero__grid > div:first-child { width: 100%; }
  .cx-hero .cx-eyebrow { justify-content: center; }
  .cx-hero .cx-eyebrow::before { display: none; }
  .cx-orb {
    order: -1;
    display: grid;
    width: min(236px, 62vw);
    max-width: 236px;
    margin: 0 auto 0.35rem;
  }
  .cx-orb img { width: 58%; filter: drop-shadow(0 18px 32px rgba(107, 15, 43, 0.7)); }
  .cx-orb__tag {
    display: flex;
    padding: 0.4rem 0.65rem;
    font-size: 0.68rem;
    border-radius: 10px;
    white-space: nowrap;
  }
  .cx-orb__tag--a { top: 10%; left: -12%; }
  .cx-orb__tag--b { bottom: 10%; right: -12%; }
  .cx-hero h1 { font-size: clamp(2.15rem, 9.2vw, 2.7rem); margin: 0.7rem 0 0.7rem; }
  .cx-hero p { font-size: 0.98rem; margin: 0 auto 1.25rem; }
  .cx-hero__actions { display: grid; grid-template-columns: 1fr; gap: 0.55rem; }
  .cx-hero__actions .cx-btn { width: 100%; }
  .cx-hero__trust {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    margin-top: 1.35rem; padding-top: 1rem;
  }
  .cx-hero__trust > div { padding: 0 0.5rem; border-left: 1px solid var(--cx-line); }
  .cx-hero__trust > div:first-child { padding-left: 0; border-left: 0; }
  .cx-hero__trust b { font-size: 1.12rem; }
  .cx-hero__trust span { display: block; font-size: 0.7rem; line-height: 1.3; }
  .cx-grid--3 { grid-template-columns: 1fr; }
  .cx-section { padding: 2.75rem 0; }
  .cx-head { margin-bottom: 1.6rem; }
  .cx-h2 { font-size: clamp(1.65rem, 7vw, 2.1rem); margin: 0.65rem 0 0.6rem; }
  .cx-lead { font-size: 0.96rem; }
  .cx-card { padding: 1.2rem 1.1rem; }
  .cx-card--lift:hover { transform: none; }
  .cx-pkg__rate { font-size: 2rem; margin: 0.85rem 0 0.15rem; }
  .cx-pkg--featured::before { top: 0.95rem; right: 0.95rem; }
  .cx-band__item b { font-size: 1.45rem; }
  .cx-row { padding: 1.1rem 1.05rem; }
  .cx-row .cx-row__val { font-size: 1.2rem; }
  .cx-auth {
    grid-template-columns: 1fr;
    align-content: safe center;
    justify-items: center;
    gap: 0.35rem;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 1.15rem 1.1rem 1.6rem;
    background:
      radial-gradient(28rem 20rem at 50% -4%, rgba(138, 21, 56, 0.48), transparent 64%),
      var(--cx-bg);
  }
  .cx-auth__visual {
    display: grid;
    place-items: center;
    width: 100%;
    padding: 0.15rem 0 0.2rem;
    border-right: 0;
    background: none;
    overflow: visible;
  }
  .cx-auth__brand { display: none; }
  .cx-auth__visual .cx-orb {
    order: 0;
    width: 148px;
    max-width: 148px;
    margin: 0 auto;
  }
  .cx-auth__visual .cx-orb img { width: 62%; }
  .cx-auth__visual .cx-orb__tag { display: none; }
  .cx-auth__quote {
    position: static;
    left: auto; right: auto; bottom: auto;
    text-align: center;
    max-width: 22rem;
    margin: 0.7rem auto 0;
    font-size: 0.88rem;
  }
  .cx-auth__quote b { font-size: 1.15rem; }
  .cx-auth__panel {
    place-items: center;
    align-items: center;
    width: 100%;
    padding: 0;
  }
  .cx-auth__box {
    width: min(400px, 100%);
    padding: 1.35rem 1.2rem 1.25rem;
    border: 1px solid var(--cx-line);
    border-radius: 24px;
    background: rgba(20, 10, 14, 0.78);
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .cx-auth__box h1 { font-size: 1.7rem; text-align: center; }
  .cx-auth__box .cx-lead { text-align: center; margin-bottom: 1.35rem; }
  .cx-auth__top { justify-content: center; margin-bottom: 1rem; }
  .cx-auth__row { flex-wrap: wrap; gap: 0.55rem; }
  .cx-auth__fine { text-align: center; margin-top: 1.35rem; }
  .cx-form-grid { grid-template-columns: 1fr; }
  #regForm.cx-form, .cx-form { padding: 1.2rem !important; }
  .cx-pkg .cx-btn { width: 100%; }
  .cx-pkg-solo { padding: 1.7rem 1.2rem 1.5rem; border-radius: 24px; }
  .cx-pkg-solo__top { grid-template-columns: 1fr; gap: 1.1rem; }
  .cx-pkg-solo__ratewrap { text-align: left; }
  .cx-pkg-solo__rate { font-size: clamp(2.8rem, 14vw, 3.6rem); }
  .cx-pkg-solo__stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .cx-pkg-solo__stats > div { padding: 0.75rem 0.45rem; text-align: center; }
  .cx-pkg-solo__stats b { font-size: 1.05rem; }
  .cx-pkg-solo__list { grid-template-columns: 1fr; }
  .cx-pkg-solo .cx-btn { width: 100%; }
  .cx-footer { padding: 2rem 0 2.4rem; margin-top: 1.25rem; }
  .cx-footer__top { flex-direction: column; gap: 1.1rem; }
}
@media (max-width: 560px) {
  .cx-grid--4, .cx-grid--5 { grid-template-columns: 1fr; }
  .cx-band__in { grid-template-columns: 1fr 1fr; }
  .cx-band__item { padding: 1.05rem 0.85rem; }
  .cx-orb { display: grid; width: min(220px, 68vw); max-width: 220px; margin-bottom: 0.55rem; }
  .cx-orb__tag { font-size: 0.64rem; padding: 0.35rem 0.55rem; }
  .cx-orb__tag--a { left: -6%; top: 8%; bottom: auto; transform: none; }
  .cx-orb__tag--b { right: -6%; bottom: 8%; }
  .cx-nav__cta .cx-btn--ghost { padding: 0.5rem 0.85rem; }
  .cx-hero { padding-bottom: 2.2rem; }
  .cx-hero__trust { padding-right: 0; }
  .cx-hero__trust > div { padding: 0 0.4rem; }
  .cx-step { gap: 0.9rem; }
}

/* ---------- Single-panel auth (password pages) ---------- */
.cx-auth--single { grid-template-columns: 1fr; place-items: center; padding: 2rem 1.25rem; }
.cx-auth--single .cx-auth__box { width: min(460px, 100%); }
.cx-auth__logo { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--cx-text); text-decoration: none; font-family: var(--cx-font); font-weight: 600; font-size: 1.15rem; margin-bottom: 2.2rem; }
.cx-auth__logo img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 6px 18px var(--cx-glow)); }
.cx-auth__logo:hover { color: var(--cx-text); }
.cx-auth .step { display: none; }
.cx-auth .step.active { display: block; }
.cx-auth .alert { border-radius: 14px; border: 1px solid var(--cx-line-2); background: rgba(255,255,255,0.03); color: var(--cx-text-2); padding: 0.9rem 1rem; font-size: 0.9rem; margin-bottom: 1.25rem; }
.cx-auth .alert-success { border-color: rgba(90,209,154,.35); color: #9be7c3; background: rgba(90,209,154,.08); }
.cx-auth .alert-danger { border-color: rgba(255,107,107,.35); color: #ffa3a3; background: rgba(255,107,107,.08); }
.cx-auth .alert-info { border-color: rgba(214,51,108,.35); color: var(--cx-blush); background: rgba(214,51,108,.08); }
.cx-auth .spinner-border { color: var(--cx-rose); }
.cx-auth .form-control[readonly] { color: var(--cx-muted); background: rgba(255,255,255,0.015); }

/* ---------- Long-form documents (terms / privacy) ---------- */
.cx-doc { padding: 4rem 0 5rem; }
.cx-doc__in { width: min(820px, 100% - 2.5rem); margin: 0 auto; }
.cx-doc h1 { font-family: var(--cx-font); font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 0.6rem; }
.cx-doc__meta { color: var(--cx-dim); font-size: 0.85rem; margin-bottom: 2.5rem; }
.cx-doc .section-title { font-family: var(--cx-font); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; color: var(--cx-text); margin: 2.5rem 0 0.8rem; }
.cx-doc .content-text, .cx-doc p { color: var(--cx-text-2); font-size: 1rem; line-height: 1.75; }
.cx-doc .content-text p { margin-bottom: 1rem; }
.cx-doc ul, .cx-doc ol { color: var(--cx-text-2); line-height: 1.75; padding-left: 1.3rem; }
.cx-doc li { margin-bottom: 0.4rem; }
.cx-doc strong { color: var(--cx-text); }
.cx-doc a { color: var(--cx-blush); }
.cx-doc .alert-info, .cx-doc .alert-warning, .cx-doc .alert-danger { border-radius: var(--cx-r); padding: 1.35rem 1.5rem; margin: 2rem 0; border: 1px solid; background: rgba(255,255,255,0.02); }
.cx-doc .alert-info { border-color: rgba(214,51,108,0.3); background: rgba(138,21,56,0.1); }
.cx-doc .alert-info i { color: var(--cx-blush); font-size: 1.3rem; }
.cx-doc .alert-warning { border-color: rgba(243,201,105,0.3); background: rgba(243,201,105,0.05); }
.cx-doc .alert-warning i { color: var(--cx-warn); font-size: 1.3rem; }
.cx-doc .alert-danger { border-color: rgba(255,107,107,0.3); background: rgba(255,107,107,0.05); }
.cx-doc .alert-danger i { color: var(--cx-bad); font-size: 1.3rem; }
.cx-doc .alert-info h3, .cx-doc .alert-warning h3, .cx-doc .alert-danger h3 { font-family: var(--cx-font); font-size: 1.05rem; font-weight: 600; color: var(--cx-text); }
.cx-doc .alert-info p, .cx-doc .alert-warning p, .cx-doc .alert-danger p { margin: 0; font-size: 0.95rem; }
.cx-doc .text-muted { color: var(--cx-muted) !important; }
.cx-doc .btn.btn-primary { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; padding: .75rem 1.4rem; font-weight: 600; border: 0; color: #fff; background: linear-gradient(135deg, var(--cx-rose), var(--cx-burgundy)); box-shadow: 0 12px 30px -12px var(--cx-glow); }
.cx-doc .btn.btn-primary:hover { color: #fff; filter: brightness(1.06); }

/* ---------- Register split ---------- */
.cx-register { grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .cx-register { grid-template-columns: 1fr; gap: 2rem; } }
.cx-auth__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; gap: 0.75rem; }
.cx-auth__logo--mobile { display: none; }
@media (max-width: 860px) {
  .cx-auth__logo--mobile { display: inline-flex; margin-bottom: 0; }
  .cx-auth__visual .cx-orb { width: 132px; max-width: 132px; }
}
@media (max-width: 560px) {
  .cx-auth { padding: 0.9rem 0.95rem 1.35rem; gap: 0.15rem; }
  .cx-auth__visual .cx-orb { width: 120px; max-width: 120px; }
  .cx-auth__quote { margin-top: 0.5rem; font-size: 0.84rem; }
  .cx-auth__quote b { font-size: 1.05rem; }
  .cx-auth__box { padding: 1.2rem 1.05rem 1.15rem; border-radius: 22px; }
  .cx-auth__box h1 { font-size: 1.55rem; }
}

/* Mobile sign-in only. Desktop split stays as it is. */
@media (max-width: 860px) {
  body[data-i18n-page="login"] {
    background: #050203;
  }
  body[data-i18n-page="login"] .cx-auth {
    position: relative;
    align-content: center;
    justify-items: center;
    gap: 0;
    min-height: 100vh;
    min-height: 100dvh;
    padding: max(1rem, env(safe-area-inset-top)) 1.15rem max(1.4rem, env(safe-area-inset-bottom));
    background:
      radial-gradient(20rem 12rem at 50% 0%, rgba(230, 194, 122, 0.16), transparent 68%),
      radial-gradient(28rem 18rem at 50% 12%, rgba(138, 21, 56, 0.5), transparent 70%),
      #050203;
  }
  body[data-i18n-page="login"] .cx-auth__quote { display: none; }
  body[data-i18n-page="login"] .cx-auth__logo--mobile { display: none !important; }
  body[data-i18n-page="login"] .cx-auth__visual {
    padding: 0 0 0.85rem;
  }
  body[data-i18n-page="login"] .cx-auth__visual .cx-orb {
    width: 96px;
    max-width: 96px;
  }
  body[data-i18n-page="login"] .cx-auth__visual .cx-orb::before {
    background: radial-gradient(circle at 50% 45%, rgba(230, 194, 122, 0.28), rgba(138, 21, 56, 0.2) 46%, transparent 72%);
    filter: blur(10px);
  }
  body[data-i18n-page="login"] .cx-auth__visual .cx-orb::after {
    animation: none;
    inset: 4%;
    border: 1px solid rgba(230, 194, 122, 0.38);
    mask: none;
    -webkit-mask: none;
  }
  body[data-i18n-page="login"] .cx-auth__visual .cx-orb__ring2 { display: none; }
  body[data-i18n-page="login"] .cx-auth__visual .cx-orb img {
    animation: none;
    width: 54%;
    filter: drop-shadow(0 12px 22px rgba(107, 15, 43, 0.65));
  }
  body[data-i18n-page="login"] .cx-auth__top {
    position: fixed;
    top: max(0.7rem, env(safe-area-inset-top));
    right: 0.85rem;
    margin: 0;
    z-index: 5;
  }
  body[data-i18n-page="login"] .language-dropdown .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(230, 194, 122, 0.32);
    background: rgba(8, 3, 6, 0.62);
    color: #f3d9a4 !important;
    text-decoration: none;
    font-size: 0.74rem !important;
    letter-spacing: 0.02em;
  }
  body[data-i18n-page="login"] .cx-auth__box {
    width: min(420px, 100%);
    padding: 1.55rem 1.2rem 1.3rem;
    border-radius: 28px;
    border: 1px solid rgba(230, 194, 122, 0.24);
    background:
      linear-gradient(180deg, rgba(255, 226, 170, 0.05), transparent 28%),
      linear-gradient(180deg, rgba(36, 14, 22, 0.94), rgba(10, 5, 8, 0.94));
    box-shadow:
      0 28px 60px -32px rgba(0, 0, 0, 0.85),
      inset 0 1px 0 rgba(255, 230, 180, 0.16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body[data-i18n-page="login"] .cx-auth__box h1 {
    font-size: 1.85rem;
    letter-spacing: -0.04em;
    margin: 0 0 0.3rem;
  }
  body[data-i18n-page="login"] .cx-auth__box .cx-lead {
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 1.2rem;
  }
  body[data-i18n-page="login"] .cx-label {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(230, 194, 122, 0.8);
    font-weight: 600;
  }
  body[data-i18n-page="login"] .cx-input {
    min-height: 52px;
    border-radius: 16px !important;
    background: rgba(0, 0, 0, 0.32) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    font-size: 1rem !important;
  }
  body[data-i18n-page="login"] .cx-input:focus {
    border-color: rgba(230, 194, 122, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.14) !important;
  }
  body[data-i18n-page="login"] .cx-auth__row {
    align-items: center;
    margin: 0.15rem 0 1.15rem;
  }
  body[data-i18n-page="login"] .cx-auth__row a,
  body[data-i18n-page="login"] .cx-auth__foot a,
  body[data-i18n-page="login"] .cx-auth__fine a {
    color: #f3d9a4;
    font-weight: 600;
    text-decoration: none;
  }
  body[data-i18n-page="login"] .cx-btn--primary {
    min-height: 52px;
    border: 0;
    background: linear-gradient(180deg, #f0a0b8 0%, #c81e4a 42%, #8a1538 100%);
    box-shadow:
      0 16px 28px -16px rgba(214, 51, 108, 0.9),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
  body[data-i18n-page="login"] .cx-auth__foot { margin-top: 1.15rem; }
  body[data-i18n-page="login"] .cx-auth__fine {
    margin-top: 1.05rem;
    font-size: 0.72rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.38);
  }
  body[data-i18n-page="login"] #msg .alert {
    border-radius: 16px;
    text-align: center;
    background: rgba(0, 0, 0, 0.28);
  }
  body[data-i18n-page="login"] #msg .cx-btn {
    width: 100%;
    margin-top: 0.45rem;
  }
}
