/* XAUVORA AI sales website v2.2 — futuristic dark theme, mixed design:
   v2.2: wide layout (content column min(1440px, 94vw)) + performance
   pass (no animated blur filters, backdrop-filter only on the hero
   glass card and price chips, cheaper canvas) — same look, faster.
   aurora/mesh background + headings + plan cards (design C), live-chart
   hero canvas + ticker + price chips (design A), glass hero dashboard
   (design B).
   Palette: bg #070B14, secondary #0C1220, cards #111A2B (glass),
   accent cyan #00E5FF, violet #8B5CF6, success #22C55E,
   text #F8FAFC, muted #94A3B8. No external assets — works offline. */
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
:root {
  --bg: #070B14;
  --bg2: #0C1220;
  --card: #111A2B;
  --card2: #16223A;
  --border: #1E2A44;
  --border-glow: rgba(0, 229, 255, 0.35);
  --text: #F8FAFC;
  --muted: #94A3B8;
  --cyan: #00E5FF;
  --cyan-dark: #062A33;
  --violet: #8B5CF6;
  --green: #22C55E;
  --red: #FF6B6B;
  --amber: #FFC24B;
  --gold: #00E5FF;   /* legacy class alias -> cyan accent */
  --gold2: #7DF3FF;
  --radius: 14px;
  --wrap: min(1440px, 94vw);   /* public content column (v2.2 wide layout) */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

/* Aurora / mesh background (design C) — shared by every page.
   Fixed layers at z-index -1: above the body background, below content. */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
/* v2.2: no filter: blur() here — an animated blur on full-screen blobs
   forces a repaint every frame. The radial gradients fade to transparent
   on their own, giving the same soft edge for free; only transform moves. */
.aurora .blob { position: absolute; border-radius: 50%; opacity: 0.5; will-change: transform; }
.aurora .b1 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(0, 184, 212, 0.9) 0%, rgba(0, 184, 212, 0.38) 42%, transparent 70%); top: -160px; left: -120px; animation: drift1 26s ease-in-out infinite alternate; }
.aurora .b2 { width: 640px; height: 640px; background: radial-gradient(circle, rgba(109, 40, 217, 0.9) 0%, rgba(109, 40, 217, 0.38) 42%, transparent 70%); top: 6%; right: -200px; animation: drift2 32s ease-in-out infinite alternate; }
.aurora .b3 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(14, 116, 144, 0.9) 0%, rgba(14, 116, 144, 0.38) 42%, transparent 70%); bottom: -180px; left: 34%; animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(150px, 90px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-170px, 130px) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-120px, -90px) scale(1.2); } }
.gridlines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
}
a { color: var(--cyan); }
h1, h2, h3 { line-height: 1.2; margin: 0.4em 0; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 1.2em; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.small-note { color: var(--muted); font-size: 0.88rem; }
.gold { color: var(--cyan); }
.pos { color: var(--green) !important; }
.neg { color: var(--red) !important; }
.center { text-align: center; }
.mono { font-family: Consolas, monospace; word-break: break-all; }

/* Header */
.announcement {
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--violet));
  color: #06121A; text-align: center; font-weight: 700; padding: 8px 12px;
}
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  /* v2.2: inner content aligns with the wide content column; no
     backdrop-filter on the sticky header (it repaints on every scroll). */
  padding: 14px max(22px, calc((100vw - min(1440px, 94vw)) / 2 + 20px));
  border-bottom: 1px solid var(--border);
  background: rgba(7, 11, 20, 0.97); position: sticky; top: 0; z-index: 40;
}
.brand {
  color: var(--cyan); font-weight: 800; font-size: 1.25rem; text-decoration: none;
  letter-spacing: 1.5px; text-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
  display: inline-flex; align-items: center; gap: 10px;
}
.brand-mark { height: 34px; width: auto; border-radius: 7px; display: block; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--text); text-decoration: none; margin-left: 18px; font-weight: 600; font-size: 0.97rem; }
.site-nav a:hover { color: var(--cyan); }
.site-nav a.btn { margin-left: 18px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; font-size: 1.1rem; padding: 4px 10px; }

/* Live ticker tape (design A) — real feed prices only, under the nav */
.ticker { background: #05080F; border-bottom: 1px solid rgba(139, 92, 246, 0.25); overflow: hidden; height: 38px; display: flex; align-items: center; position: relative; z-index: 30; }
.ticker-track { display: flex; white-space: nowrap; animation: tickmove 36s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker .tk { padding: 0 34px; font-size: 0.86rem; color: var(--muted); letter-spacing: 0.04em; }
.ticker .tk b { color: var(--text); font-weight: 700; }
.ticker .up { color: var(--green); }
.ticker .dn { color: var(--red); }
@keyframes tickmove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hero (v2.1 mix): cinematic candle canvas + shade (A) over the aurora
   (C), oversized type (C), glass live-dashboard card (B), floating price
   chips (A) and cycling trade notification chips (B). */
.hero { position: relative; padding: 72px 20px 64px; max-width: var(--wrap); margin: 0 auto; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; pointer-events: none; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1000px 480px at 28% 42%, rgba(7, 11, 20, 0.1), rgba(7, 11, 20, 0.62) 78%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.35), rgba(7, 11, 20, 0.12) 40%, rgba(7, 11, 20, 0.72));
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 1fr; gap: 52px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px; font-size: 0.8rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 7px 14px; border-radius: 999px; background: rgba(0, 229, 255, 0.06); margin-bottom: 24px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.55; } }
.hero-title { font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.015em; margin: 0 0 6px; }
.hero-logo {
  width: min(290px, 72%); height: auto; display: block; margin: 0 0 20px;
  border-radius: 16px; border: 1px solid rgba(255, 194, 75, 0.35);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45), 0 0 22px rgba(255, 194, 75, 0.14);
}
.hero-tagline {
  color: var(--amber); font-size: 1.22rem; font-weight: 700;
  letter-spacing: 0.4px; margin: 8px 0 0;
}
.hero-sub { color: var(--muted); font-size: 1.16rem; max-width: 54ch; margin: 14px 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { margin: 0; }
.hero-mini { display: flex; gap: 28px; margin-top: 38px; color: var(--muted); font-size: 0.88rem; flex-wrap: wrap; }
.hero-mini b { color: var(--text); display: block; font-size: 1.08rem; }
.shimmer {
  background: linear-gradient(100deg, #ffffff 15%, var(--cyan) 38%, var(--violet) 55%, var(--cyan) 70%, #ffffff 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* Glass live-dashboard card (design B) */
.hero-stage { position: relative; }
.glass-dash {
  position: relative; overflow: hidden; border-radius: 22px; padding: 24px 24px 18px;
  background: rgba(17, 26, 43, 0.55); border: 1px solid rgba(0, 229, 255, 0.18);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 40px rgba(0, 229, 255, 0.04);
}
.glass-dash::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.7), transparent);
}
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-title { font-weight: 800; letter-spacing: 0.1em; font-size: 0.92rem; }
.live-badge { display: flex; align-items: center; gap: 7px; font-size: 0.76rem; letter-spacing: 0.14em; color: var(--green); font-weight: 700; }
.dash-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.fig { background: rgba(7, 11, 20, 0.55); border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 13px; padding: 13px 15px; }
.fig-label { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fig-value { display: block; font-size: 1.32rem; font-weight: 800; margin-top: 3px; }
.fig-value.cy { color: var(--cyan); }
.dash-eq { background: rgba(7, 11, 20, 0.5); border: 1px solid rgba(148, 163, 184, 0.1); border-radius: 13px; padding: 12px 12px 6px; margin-bottom: 6px; }
.dash-eq-svg { width: 100%; height: 110px; display: block; }
#heroEqPath { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; }
#heroEqPath.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawline 2.4s ease forwards; }
/* v2.2: no drop-shadow filter — this dot moves every 40 ms and a filter
   would repaint on every move; the light stroke gives the same pop. */
#heroEqDot { fill: var(--violet); stroke: #F8FAFC; stroke-width: 1.6; }
.dash-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 0.78rem; padding-top: 12px; }
.dash-updated { color: var(--muted); font-size: 0.78rem; margin: 6px 0 0; }
.dash-empty { text-align: center; padding: 30px 10px 22px; }
.dash-empty-title { font-size: 1.15rem; font-weight: 800; color: var(--cyan); margin: 0 0 8px; }
.dash-empty p { color: var(--muted); margin: 0; }

/* Trade notification chips cycling around the glass card (design B) */
.note-chip {
  position: absolute; z-index: 5; display: flex; gap: 9px; align-items: center; max-width: 290px;
  background: rgba(12, 18, 32, 0.92); border: 1px solid rgba(0, 229, 255, 0.3); border-radius: 12px;
  padding: 10px 14px; font-size: 0.83rem; font-weight: 600; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateX(26px); pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.note-chip.show { opacity: 1; transform: none; }
.note-chip small { display: block; color: var(--muted); font-weight: 400; font-size: 0.72rem; }
.note-chip .note-ic { font-size: 1rem; }
.note-1 { top: -22px; right: 12%; }
.note-2 { bottom: -24px; left: 26px; border-color: rgba(34, 197, 94, 0.4); }
.note-3 { top: 38%; right: -8px; border-color: rgba(139, 92, 246, 0.45); }

/* Floating glass price chips (design A) — real feed prices only */
.price-chips { position: relative; z-index: 2; display: flex; gap: 16px; flex-wrap: wrap; margin-top: 48px; }
.price-chip {
  min-width: 220px; flex: 0 1 260px; border-radius: 14px; padding: 13px 16px;
  background: rgba(17, 26, 43, 0.62); border: 1px solid rgba(0, 229, 255, 0.16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), inset 0 0 24px rgba(0, 229, 255, 0.05);
  animation: bob 6s ease-in-out infinite;
}
.price-chip.pc-2 { animation-delay: -2s; }
.price-chip.pc-3 { animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.pc-sym { display: block; font-size: 0.78rem; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.pc-price { display: block; font-size: 1.42rem; font-weight: 800; margin: 2px 0; }
.pc-price .up { color: var(--green); }
.pc-price .dn { color: var(--red); }
.price-chip small { display: block; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.08em; }

/* Buttons */
.btn {
  display: inline-block; padding: 11px 24px; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-gold, .btn-primary {
  background: linear-gradient(180deg, #5FF2FF, var(--cyan)); color: #04222B;
  box-shadow: 0 0 0 rgba(0, 229, 255, 0);
}
.btn-gold:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 229, 255, 0.35); }
.btn-violet { background: linear-gradient(180deg, #A78BFA, var(--violet)); color: #160B33; }
.btn-violet:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(139, 92, 246, 0.35); }
.btn-ghost { background: rgba(17, 26, 43, 0.6); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-danger { background: #3A1220; color: #FF9A9A; border-color: #6E2436; }
.btn-big { font-size: 1.1rem; padding: 14px 30px; }
.btn-small { padding: 6px 12px; font-size: 0.88rem; margin: 2px 0; }

/* Layout + glass cards */
.section { max-width: var(--wrap); margin: 0 auto; padding: 34px 20px; scroll-margin-top: 84px; }
.section.wide { max-width: var(--wrap); }
.section.narrow { max-width: 640px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 18px 0; }
.card {
  background: linear-gradient(180deg, rgba(22, 34, 58, 0.92), rgba(12, 18, 32, 0.96));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  box-shadow: inset 0 1px 0 rgba(0, 229, 255, 0.1);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-glow); box-shadow: inset 0 1px 0 rgba(0, 229, 255, 0.16), 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 22px rgba(0, 229, 255, 0.1); }
.card h3 { color: var(--cyan); margin-top: 0; }
.card p { color: var(--muted); margin-bottom: 0; }
.market-card .market-bid { font-size: 1.55rem; font-weight: 800; color: var(--text); margin: 2px 0; }
.stats-strip {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  max-width: var(--wrap); margin: 6px auto 0; padding: 10px 20px;
}
.stat {
  flex: 1 1 180px; text-align: center; background: rgba(17, 26, 43, 0.94); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 10px;
}
.stat-value { display: block; font-size: 1.7rem; font-weight: 800; color: var(--cyan); text-shadow: 0 0 16px rgba(0, 229, 255, 0.3); }
.stat-label { color: var(--muted); font-size: 0.9rem; }
.stats-note { width: 100%; text-align: center; color: var(--muted); }
/* Stat sparklines (design C) — drawn from real snapshot history */
.stat-spark { display: block; width: 100%; height: 34px; margin-top: 12px; }
.spark-line { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; }
.stat:nth-child(2) .spark-line { stroke: var(--violet); }
.stat:nth-child(4) .spark-line { stroke: var(--violet); }
.reveal.inview .spark-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawline 1.8s ease forwards 0.2s; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 18px 0; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.step-num {
  display: inline-flex; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(180deg, #5FF2FF, var(--cyan)); color: #04222B; font-weight: 800;
  align-items: center; justify-content: center; box-shadow: 0 0 14px rgba(0, 229, 255, 0.4);
}
.step p { color: var(--muted); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 18px 0; }
/* Plans — animated rotating gradient borders (design C) */
.plan-card {
  --a: 0deg;
  border: 1.5px solid transparent; border-radius: 20px; padding: 22px; text-align: center; display: block;
  background:
    linear-gradient(180deg, rgba(22, 34, 58, 0.94), rgba(12, 18, 32, 0.97)) padding-box,
    conic-gradient(from var(--a), rgba(0, 229, 255, 0.55), rgba(139, 92, 246, 0.55), rgba(0, 229, 255, 0.07), rgba(139, 92, 246, 0.07), rgba(0, 229, 255, 0.55)) border-box;
  animation: spin-a 7s linear infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plans .plan-card:nth-child(2), .plans-grid .plan-card:nth-child(2) { animation-duration: 5.5s; }
.plans .plan-card:nth-child(3), .plans-grid .plan-card:nth-child(3) { animation-duration: 8.5s; }
.plans .plan-card:nth-child(4), .plans-grid .plan-card:nth-child(4) { animation-duration: 6.5s; }
@keyframes spin-a { to { --a: 360deg; } }
/* v2.2: the rotating border is paused while its section is still
   off-screen (the reveal observer adds .inview when it scrolls in). */
.reveal:not(.inview) .plan-card { animation-play-state: paused; }
.plan-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(0, 229, 255, 0.18); }
.plan-card h3 { margin-top: 0; color: var(--cyan); }
.plan-price { font-size: 1.6rem; font-weight: 800; color: var(--cyan); margin: 6px 0; }
.plan-days { color: var(--muted); }
.plan-features { list-style: none; padding: 0; margin: 12px 0; color: var(--muted); font-size: 0.93rem; text-align: left; }
.plan-features li { padding: 3px 0 3px 18px; position: relative; }
.plan-features li::before { content: "▸"; color: var(--violet); position: absolute; left: 2px; }
.plan-card.selectable { cursor: pointer; }
.plan-card.selectable input { accent-color: var(--cyan); transform: scale(1.25); }
.plan-card.selectable:has(input:checked) { border-color: var(--cyan); box-shadow: 0 0 0 2px var(--cyan) inset; }
.plan-edit { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; margin: 10px 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); margin: 14px 0; background: rgba(12, 18, 32, 0.6); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--cyan); background: rgba(0, 229, 255, 0.05); white-space: nowrap; }
td { color: var(--text); }
tr:last-child td { border-bottom: none; }
.badge { padding: 2px 9px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; background: #22345C; color: #C9D6F2; white-space: nowrap; }
.badge-pending_payment, .badge-awaiting_payment { background: #4D3D10; color: #FFD95E; }
.badge-paid_key_pending, .badge-awaiting_approval { background: #4D2410; color: #FFAB5E; }
.badge-info_requested { background: #2E1A56; color: #C4B0FF; }
.badge-key_sent, .badge-active, .badge-verified, .badge-approved, .badge-sent { background: #0E3A24; color: #4ADE80; }
.badge-pack_sent { background: #0B3050; color: #6FD3FF; }
.badge-cancelled, .badge-rejected, .badge-revoked, .badge-failed { background: #40222A; color: #FF9A9A; }
.badge-expired { background: #2A2F3A; color: #A8B3C7; }
.badge-suspended, .badge-pending, .badge-queued, .badge-open { background: #4D3410; color: #FFC24B; }
.badge-in_progress, .badge-waiting_customer { background: #123A4D; color: #7DD7FF; }
.badge-resolved, .badge-closed { background: #233028; color: #9FB8A6; }
.actions form { display: inline-block; margin: 1px; }

/* Forms */
.order-form { background: rgba(17, 26, 43, 0.96); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin: 18px 0; }
.field { display: block; margin: 12px 0; color: var(--muted); font-weight: 600; }
.field input[type="text"], .field input[type="email"], .field input[type="password"],
.field input[type="number"], .field input[type="date"], .field textarea, .field select, select, textarea, input[type="text"], input[type="email"], input[type="password"] {
  margin-top: 6px; padding: 11px 12px; border-radius: 9px;
  border: 1px solid var(--border); background: #0A1120; color: var(--text); font-size: 1rem;
}
.field input, .field textarea, .field select { width: 100%; }
.field.inline { display: inline-block; margin-right: 14px; }
.field.inline input { width: auto; }
.radio-row { display: block; margin: 8px 0; font-weight: 600; }
.radio-row input { accent-color: var(--cyan); }
.radio-row.danger { color: #FF9A9A; }
.filter-row { margin: 10px 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.filter-row select, .filter-row input { width: auto; margin-top: 0; }
.check-row { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0; font-weight: 600; }
.check-row input { accent-color: var(--cyan); transform: scale(1.2); margin-top: 4px; }

/* Alerts, pay boxes, key box */
.alert { border-radius: var(--radius); padding: 14px 18px; margin: 14px 0; font-weight: 600; }
.alert-ok { background: #0C2E1E; border: 1px solid #1F6B41; color: #A9F0C6; }
.alert-error { background: #3D1620; border: 1px solid #7A2A3C; color: #FFB3BA; }
.alert-warn { background: #3D3312; border: 1px solid #7A641F; color: #FFE28A; }
.pay-box { background: var(--card); border: 1px solid var(--cyan); border-radius: var(--radius); padding: 20px; margin: 14px 0; box-shadow: 0 0 22px rgba(0, 229, 255, 0.12); }
.pay-text { white-space: pre-wrap; font-family: inherit; color: var(--text); margin: 0; }
.pay-addr { font-family: Consolas, monospace; word-break: break-all; font-size: 1.05rem; color: var(--cyan); }
.pay-qr-row { display: flex; gap: 16px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.pay-qr { background: #fff; border-radius: 10px; padding: 6px; width: 132px; height: 132px; }
.pay-qr-side { flex: 1; min-width: 220px; }
.download-card { border-color: var(--gold, #f5c542); }
.key-once { background: #062A33; border: 2px solid var(--cyan); border-radius: var(--radius); padding: 20px; margin: 16px 0; box-shadow: 0 0 30px rgba(0, 229, 255, 0.25); }
.key-value { font-family: Consolas, monospace; font-size: 1.25rem; color: var(--cyan); word-break: break-all; }
.next-steps li { margin: 8px 0; }
.updated { color: var(--muted); }
.empty-state { background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius); padding: 34px; text-align: center; margin: 20px 0; }
.prose { white-space: pre-wrap; color: var(--text); max-width: 78ch; }
.tag { display: inline-block; padding: 1px 8px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.8rem; color: var(--muted); margin: 1px; }

/* Chart */
.chart-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.chart { width: 100%; height: auto; display: block; }
.chart-area { fill: rgba(0, 229, 255, 0.12); stroke: none; }
.chart-line { fill: none; stroke: var(--cyan); stroke-width: 2.5; }
.chart-line.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawline 2.2s ease forwards; }
@keyframes drawline { to { stroke-dashoffset: 0; } }
svg.chart { height: auto; }

/* FAQ */
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 18px; margin: 10px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.faq-item p { color: var(--muted); }
.faq-edit { border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 16px 14px; margin: 12px 0; }

/* Footer + WhatsApp */
.site-footer { border-top: 1px solid var(--border); padding: 28px max(22px, calc((100vw - min(1440px, 94vw)) / 2 + 20px)); margin-top: 30px; text-align: center; }
.footer-brand { color: var(--cyan); font-weight: 800; letter-spacing: 1px; }
.footer-links a { color: var(--muted); text-decoration: none; margin: 0 8px; font-size: 0.9rem; }
.footer-links a:hover { color: var(--cyan); }
.disclaimer { color: var(--muted); font-size: 0.86rem; max-width: 85ch; margin: 8px auto; }
.footer-small { color: var(--muted); font-size: 0.82rem; }
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  background: #1FAA55; color: #fff; font-weight: 700; text-decoration: none;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.whatsapp-float:hover { background: #23C562; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.inview { opacity: 1; transform: none; }

/* Section headings with a line that grows in on reveal (design C) */
.sec-title { position: relative; display: inline-block; padding-bottom: 14px; }
.sec-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
}
.reveal.inview .sec-title::after, .sec-title.inview::after { transform: scaleX(1); }

/* Customer dashboard layout */
.dash-layout { display: grid; grid-template-columns: 250px 1fr; gap: 0; max-width: 1400px; margin: 0 auto; align-items: start; }
.dash-sidebar {
  position: sticky; top: 66px; padding: 20px 14px; border-right: 1px solid var(--border);
  background: rgba(12, 18, 32, 0.94); min-height: calc(100vh - 66px);
}
.dash-sidebar .who { padding: 4px 10px 14px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.dash-sidebar .who strong { display: block; font-size: 1.05rem; }
.dash-sidebar .who span { color: var(--muted); font-size: 0.88rem; }
.dash-nav a {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text); text-decoration: none; padding: 9px 10px; border-radius: 9px; font-weight: 600;
}
.dash-nav a:hover { background: rgba(0, 229, 255, 0.08); color: var(--cyan); }
.unread-badge { background: var(--violet); color: #fff; border-radius: 999px; padding: 0 8px; font-size: 0.78rem; font-weight: 800; }
.dash-main { padding: 10px 22px 30px; min-width: 0; }
.dash-toggle { display: none; margin: 12px 0; }
.timeline { list-style: none; padding: 0; margin: 10px 0; }
.timeline li { padding: 8px 0 8px 18px; border-left: 2px solid var(--border); position: relative; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.timeline li strong { color: var(--text); }
.msg { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; margin: 10px 0; background: rgba(17, 26, 43, 0.7); }
.msg.admin-msg { border-color: rgba(139, 92, 246, 0.5); }
.msg.internal { border-color: #7A641F; background: rgba(61, 51, 18, 0.35); }
.msg .meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 4px; }
.note-item { display: block; text-decoration: none; color: var(--text); }
.note-item.unread { border-color: var(--border-glow); }

/* Admin */
.admin-body main { max-width: 1400px; margin: 0 auto; }
.admin-nav a { margin-left: 12px; font-size: 0.92rem; }

/* Home promo video */
.promo-video-wrap { display: flex; justify-content: center; margin-top: 18px; }
.promo-video {
  width: min(340px, 90vw); max-height: 70vh; aspect-ratio: 9 / 16;
  border-radius: var(--radius); border: 1px solid var(--border-glow);
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.14), 0 0 64px rgba(139, 92, 246, 0.10);
  background: #000; object-fit: contain;
}
.promo-video-note { text-align: center; color: var(--muted); margin-top: 14px; }

/* Homepage video player (custom overlay, loading, error and replay states) */
.video-frame {
  position: relative; width: min(340px, 90vw); margin: 18px auto 0;
  border-radius: var(--radius); overflow: hidden; background: #000;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.14), 0 0 64px rgba(139, 92, 246, 0.10);
}
.video-frame .promo-video { width: 100%; display: block; border: 0; box-shadow: none; border-radius: 0; max-height: none; }
.video-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(180deg, rgba(4, 24, 46, 0.04), rgba(4, 24, 46, 0.48));
  border: 0; cursor: pointer; padding: 20px;
}
.video-overlay[hidden], .video-loading[hidden], .video-error[hidden] { display: none; }
.video-play-icon {
  width: 74px; height: 74px; border-radius: 50%;
  background: linear-gradient(180deg, #1273DE, #0B6BCB); color: #fff;
  display: grid; place-items: center; font-size: 1.65rem; padding-left: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  animation: xav-pulse 2.2s ease-out infinite;
}
.video-replay .video-play-icon { padding-left: 0; }
.video-overlay-text { color: #fff; font-weight: 700; letter-spacing: 0.02em; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.video-replay { background: rgba(4, 24, 46, 0.55); }
.video-loading {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 10px;
  background: rgba(4, 24, 46, 0.85); color: #fff; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
}
.video-spinner {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  border: 3px solid rgba(255, 255, 255, 0.3); border-top-color: #fff;
  animation: xav-spin 0.8s linear infinite;
}
.video-error {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  background: rgba(4, 24, 46, 0.9); color: #fff; text-align: center; padding: 24px;
}
@keyframes xav-spin { to { transform: rotate(360deg); } }
@keyframes xav-pulse {
  0% { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(18, 115, 222, 0.55); }
  70% { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 0 20px rgba(18, 115, 222, 0); }
  100% { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(18, 115, 222, 0); }
}
@media (prefers-reduced-motion: reduce) { .video-play-icon { animation: none; } .video-spinner { animation-duration: 1.6s; } }

/* Homepage market cards */
.market-card { text-decoration: none; display: flex; flex-direction: column; }
.market-mono {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: linear-gradient(180deg, #1273DE, #0B6BCB); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.02rem;
  margin-bottom: 12px; box-shadow: 0 8px 20px rgba(11, 107, 203, 0.35);
}
.market-link { margin-top: auto; padding-top: 10px; color: #2E8BE6; font-weight: 700; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; }
  .hero-logo { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-mini { justify-content: center; }
  .price-chips { justify-content: center; }
}
@media (max-width: 900px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; min-height: 0; border-right: none; border-bottom: 1px solid var(--border); display: none; }
  .dash-sidebar.open { display: block; }
  .dash-toggle { display: inline-block; }
  .dash-main { padding: 6px 14px 24px; }
}
@media (max-width: 760px) {
  .hero { padding: 52px 16px 44px; }
  .hero-title { font-size: clamp(2rem, 9.5vw, 2.6rem); }
  .note-chip { display: none; }
  .price-chip { flex: 1 1 100%; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 60px; right: 12px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 18px; z-index: 60; }
  .site-nav.open { display: block; }
  .site-nav a { display: block; margin: 8px 0; }
  h1 { font-size: 1.6rem; }
  table { min-width: 480px; }
  .aurora .blob { opacity: 0.32; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .chart-line.draw { stroke-dasharray: none; stroke-dashoffset: 0; }
  .hero-canvas { display: none; }
  .ticker-track { animation: none; }
  .sec-title::after { transform: scaleX(1); }
  .reveal .spark-line { stroke-dasharray: none; stroke-dashoffset: 0; }
  #heroEqPath.draw { stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* Intro logo overlay — cinematic sunrise sequence (v2.7.2): a
   full-screen XAUVORA logo build a visitor sees when they first
   arrive. The overlay is display:none by default; a gate script in
   <head> marks <html class="intro-play"> before the first paint on
   the homepage, an inline critical
   style then covers the page with the overlay from the first frame,
   and app.js adds .intro-show to run the sequence. With JavaScript
   off the gate never fires, the overlay never appears, and it can
   never block the page. The mark is rebuilt as an inline SVG so every element
   animates on its own (all animations are transform/opacity only,
   running on the compositor at 60fps; the timeline lives entirely
   in CSS — no library is loaded):
     0.0-0.4s  darkness, a gold glow grows at the horizon
     0.5-1.9s  the crescent is in place and the golden sun RISES
               from behind it (clipped at the horizon line)
     0.8-2.1s  25 rays grow outward one by one, centre first
     2.0-2.7s  the arrow emerges from the sun and travels up to
               its logo position, leaving a soft glow trail
     2.5-3.4s  XAUVORA AI fades in, a gold sweep crosses the
               letters, the tagline fades in underneath
     3.4-4.4s  the finished logo and name HOLD, fully readable
               (the crossfade used to start at 3.3s, while the name
               was still fading in — it never fully appeared)
     4.4-4.9s  the SVG build crossfades to the official logo.png
     ~5.0s     app.js flies the official logo toward the header
               mark while the overlay fades over the loaded page. */
.intro-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  align-items: center; justify-content: center;
  background: radial-gradient(ellipse 62% 46% at 50% 46%, rgba(255, 194, 75, 0.10), transparent 70%), var(--bg);
  cursor: pointer;
}
.intro-overlay.intro-show { display: flex; opacity: 1; transition: opacity 0.55s ease; }
.intro-overlay.intro-hide { opacity: 0; }
.intro-stage {
  position: relative;
  width: min(560px, 90vw);
  aspect-ratio: 3 / 2;
  container-type: inline-size;
}
.intro-show .intro-stage { animation: introStageSettle 1.2s cubic-bezier(0.22, 0.8, 0.3, 1) 2.3s both; }
.intro-build {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
}
/* Nothing in the column may be compressed: the wordmark carries
   overflow:hidden (for its shine sweep), which also makes its flex
   minimum size 0 — on narrower windows the column used to squeeze
   the wordmark's height and slice the letters in half. */
.intro-build > * { flex: none; }
.intro-show .intro-build { animation: introBuildOut 0.45s ease 4.4s both; }
.intro-svg { width: 57%; height: auto; display: block; margin-top: -4%; overflow: visible; }
.intro-official {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0; pointer-events: none;
}
.intro-show .intro-official { animation: introOfficialIn 0.45s ease 4.4s both; }
.intro-horizon-glow { opacity: 0; }
.intro-show .intro-horizon-glow { animation: introGlowIn 1.3s ease 0.15s both; }
.intro-sun-disc { transform: translateY(172px); }
.intro-show .intro-sun-disc { animation: introSunRise 1.35s cubic-bezier(0.25, 0.7, 0.3, 1) 0.55s both; }
.intro-ray { opacity: 0; transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; }
.intro-show .intro-ray { animation: introRayGrow 0.8s cubic-bezier(0.22, 0.8, 0.3, 1) var(--rd, 0.9s) both; }
.intro-crescent { opacity: 0; }
.intro-show .intro-crescent { animation: introCrescentIn 0.8s ease 0.45s both; }
.intro-arrow-shape { opacity: 0; transform: translateY(208px); }
.intro-show .intro-arrow-shape { animation: introArrowRise 0.75s cubic-bezier(0.22, 0.8, 0.3, 1) 1.95s both; }
.intro-arrow-trail { opacity: 0; }
.intro-show .intro-arrow-trail { animation: introTrailGlow 1.05s ease 1.95s both; }
.intro-wordmark {
  position: relative; overflow: hidden;
  margin-top: 1.2%;
  font-size: 34px; font-size: 7cqw; line-height: 1.15;
  font-weight: 700; letter-spacing: 0.14em; white-space: nowrap;
  opacity: 0;
}
.intro-show .intro-wordmark { animation: introWordIn 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) 2.5s both; }
.intro-wordmark .wm-gold {
  background: linear-gradient(100deg, #7c4d0e 0%, #caa13c 30%, #ffeeb0 50%, #caa13c 70%, #7c4d0e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro-wordmark .wm-ai { color: #f4f6fb; }
.intro-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.32) 48%, rgba(255, 225, 160, 0.45) 52%, transparent 70%);
  transform: translateX(-130%);
}
.intro-show .intro-shine { animation: introShine 0.9s ease-in-out 2.85s both; }
.intro-tagline {
  margin: 1.6% 0 0;
  font-size: 15px; font-size: 2.7cqw; line-height: 1.3;
  letter-spacing: 0.22em; color: #e9c25e; white-space: nowrap;
  opacity: 0;
}
.intro-show .intro-tagline { animation: introTagIn 0.6s ease 2.95s both; }
.intro-skip {
  position: absolute; right: 22px; bottom: 18px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(233, 194, 94, 0.75); opacity: 0;
}
.intro-show .intro-skip { animation: introTagIn 0.6s ease 0.9s both; }
@keyframes introGlowIn {
  from { opacity: 0; } to { opacity: 0.9; }
}
@keyframes introSunRise {
  from { transform: translateY(172px); } to { transform: translateY(0); }
}
@keyframes introRayGrow {
  from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: scaleY(1); }
}
@keyframes introCrescentIn {
  from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); }
}
@keyframes introArrowRise {
  0% { opacity: 0; transform: translateY(208px); }
  12% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes introTrailGlow {
  0% { opacity: 0; } 35% { opacity: 0.85; } 100% { opacity: 0; }
}
@keyframes introWordIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes introShine {
  to { transform: translateX(130%); }
}
@keyframes introTagIn {
  from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); }
}
@keyframes introStageSettle {
  from { transform: scale(1.045); } to { transform: scale(1); }
}
@keyframes introBuildOut {
  from { opacity: 1; } to { opacity: 0; }
}
@keyframes introOfficialIn {
  from { opacity: 0; } to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none !important; }
}

/* ============================================================
   Phase 2 premium pass (2026-11-18) — typography, depth and
   polish layered over the v2 design system. Same palette and
   class names; nothing structural changes. The global
   prefers-reduced-motion guard above still wins (it uses
   !important), and everything here is transitions/opacity only.
   ============================================================ */

/* Typography — Inter for text, Manrope for display type.
   Both load with display=swap; the system stacks underneath
   remain as instant fallbacks if the font CDN is unreachable. */
body { font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif; letter-spacing: 0.005em; }
h1, h2, h3, .brand, .hero-title, .sec-title, .plan-price, .fig-value,
.stat-value, .pc-price, .market-bid, .dash-title, .footer-brand {
  font-family: "Manrope", "Inter", "Segoe UI", system-ui, sans-serif;
}
h1 { font-size: 2.35rem; letter-spacing: -0.01em; }
h2 { letter-spacing: -0.005em; }
::selection { background: rgba(0, 229, 255, 0.35); color: #fff; }

/* Slim dark scrollbar to match the theme (webkit/blink). */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0A1120; }
::-webkit-scrollbar-thumb { background: #22345C; border-radius: 99px; border: 2px solid #0A1120; }
::-webkit-scrollbar-thumb:hover { background: #2E4A7D; }

/* Header + footer presence */
.site-header { box-shadow: 0 1px 0 rgba(0, 229, 255, 0.05), 0 14px 34px rgba(0, 0, 0, 0.35); }
.site-nav a { position: relative; padding: 4px 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--amber)); border-radius: 99px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a.btn::after { display: none; }
.site-footer { background: linear-gradient(180deg, transparent, rgba(12, 18, 32, 0.75)); }
.footer-brand { font-size: 1.15rem; }

/* More air + stronger section titles */
.section { padding: 52px 20px; }
.sec-title { font-size: 1.95rem; font-weight: 800; }
.lead { line-height: 1.65; }

/* Cards: deeper glass, gold-kissed top edge on hover */
.card {
  background: linear-gradient(180deg, rgba(24, 38, 64, 0.95), rgba(12, 18, 32, 0.97));
  box-shadow: inset 0 1px 0 rgba(0, 229, 255, 0.1), 0 10px 28px rgba(0, 0, 0, 0.28);
}
.card:hover {
  box-shadow: inset 0 1px 0 rgba(255, 194, 75, 0.35), 0 18px 38px rgba(0, 0, 0, 0.45), 0 0 26px rgba(0, 229, 255, 0.12);
}
.step { transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.step:hover { transform: translateY(-3px); border-color: var(--border-glow); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); }
.step h3 { margin-top: 12px; }

/* Hero refinements */
.hero { padding-top: 84px; }
.hero-mini div + div { border-left: 1px solid var(--border); padding-left: 28px; }
.glass-dash {
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 229, 255, 0.04), inset 0 -22px 44px rgba(255, 194, 75, 0.03);
}
.btn { letter-spacing: 0.01em; }
.btn-gold, .btn-primary { background: linear-gradient(180deg, #8BF4FF, var(--cyan) 55%, #00C6DE); }
a:focus-visible, .btn:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px;
}

/* Featured plan (Professional, 2nd card): gold badge + lift */
.plans .plan-card:nth-child(2), .plans-grid .plan-card:nth-child(2) {
  position: relative; transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 194, 75, 0.12);
}
.plans .plan-card:nth-child(2)::after, .plans-grid .plan-card:nth-child(2)::after {
  content: "MOST POPULAR"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, #FFD97A, var(--amber)); color: #2A1A00;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; padding: 4px 13px;
  border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); white-space: nowrap;
}
.plans .plan-card:nth-child(2):hover, .plans-grid .plan-card:nth-child(2):hover { transform: translateY(-12px); }

/* Forms: clear focus state */
.field input:focus, .field textarea:focus, .field select:focus,
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus,
input[type="number"]:focus, input[type="date"]:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.16);
}

/* FAQ + prose readability */
.faq-item { padding: 10px 20px; transition: border-color 0.18s ease; }
.faq-item:hover { border-color: var(--border-glow); }
.faq-item summary:hover { color: var(--cyan); }
.prose { line-height: 1.75; font-size: 1.02rem; }

/* Tables: gentle row hover */
tbody tr { transition: background 0.15s ease; }
tbody tr:hover td { background: rgba(0, 229, 255, 0.03); }

/* About page sections */
.about-section { margin: 38px 0; }
.about-section h2 {
  font-size: 1.55rem; margin-bottom: 8px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.about-section p { color: var(--muted); line-height: 1.75; max-width: 78ch; }
.about-section p strong, .about-section li strong { color: var(--text); }
.about-section ul { color: var(--muted); line-height: 1.75; padding-left: 20px; }
.about-section li { margin: 5px 0; }
.principles { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.principle {
  border: 1px solid rgba(255, 194, 75, 0.4); color: var(--amber);
  background: rgba(255, 194, 75, 0.06); border-radius: 999px;
  padding: 7px 16px; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em;
}

@media (max-width: 760px) {
  .section { padding: 38px 16px; }
  .sec-title { font-size: 1.6rem; }
  .hero-mini div + div { border-left: none; padding-left: 0; }
  .plans .plan-card:nth-child(2), .plans-grid .plan-card:nth-child(2) { transform: none; }
}

/* ============================================================
   LIGHT THEME — public website (redesign Phase 1, 2026-11-19).
   The owner chose a professional light fintech look: deep navy,
   professional blue, white / light grey, subtle cyan accents.
   Scoped to body:is(.public, .light) (templates/base.html only): the customer
   dashboard and admin keep the dark theme until their Phase 2
   toggle. Var()-driven rules flip via the palette below; the
   remaining rules restate only what the dark theme hardcodes.
   The intro overlay is pinned to deep navy on purpose — it is
   the brand moment (gold sunrise) that opens the light site.
   ============================================================ */
body:is(.public, .light) {
  --bg: #F3F6FB;
  --bg2: #E9EFF7;
  --card: #FFFFFF;
  --card2: #EEF3F9;
  --border: #D7E1EE;
  --border-glow: rgba(11, 107, 203, 0.45);
  --text: #0C2340;
  --muted: #52677E;
  --cyan: #0B6BCB;
  --cyan-dark: #E3EEFA;
  --violet: #7C6CF0;
  --green: #128A43;
  --red: #D63A3A;
  --amber: #C77400;
  --gold: #0B6BCB;
  --gold2: #2EA3E8;
}

/* Backdrop: soft blue aurora + faint grid on light */
body:is(.public, .light) .aurora .blob { opacity: 0.32; }
body:is(.public, .light) .aurora .b1 { background: radial-gradient(circle, rgba(46, 163, 232, 0.55) 0%, rgba(46, 163, 232, 0.20) 42%, transparent 70%); }
body:is(.public, .light) .aurora .b2 { background: radial-gradient(circle, rgba(124, 108, 240, 0.42) 0%, rgba(124, 108, 240, 0.15) 42%, transparent 70%); }
body:is(.public, .light) .aurora .b3 { background: radial-gradient(circle, rgba(11, 107, 203, 0.45) 0%, rgba(11, 107, 203, 0.16) 42%, transparent 70%); }
body:is(.public, .light) .gridlines {
  background-image:
    linear-gradient(rgba(11, 60, 110, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 60, 110, 0.05) 1px, transparent 1px);
}
body:is(.public, .light) ::selection { background: rgba(11, 107, 203, 0.22); color: inherit; }

/* Announcement bar + header: deep navy anchors the light page */
body:is(.public, .light) .announcement { background: linear-gradient(90deg, #0A2A52, #0B6BCB, #0A2A52); color: #FFFFFF; }
body:is(.public, .light) .site-header {
  background: rgba(8, 24, 46, 0.98); border-bottom: 1px solid #0E2C50;
  box-shadow: 0 10px 30px rgba(8, 24, 46, 0.22);
}
body:is(.public, .light) .brand { color: #FFFFFF; text-shadow: none; }
body:is(.public, .light) .site-nav a { color: #D7E3F2; }
body:is(.public, .light) .site-nav a:hover { color: #7CC4FF; }
body:is(.public, .light) .site-nav a::after { background: linear-gradient(90deg, #2EA3E8, #7CC4FF); }
body:is(.public, .light) .site-nav a.btn { color: #FFFFFF; }
body:is(.public, .light) .nav-toggle { border-color: #33507A; color: #E8EEF7; }
@media (max-width: 760px) {
  body:is(.public, .light) .site-nav { background: #0A2242; border-color: #33507A; }
}

/* Ticker stays a navy strip */
body:is(.public, .light) .ticker { background: #08182E; border-bottom-color: rgba(124, 108, 240, 0.35); }
body:is(.public, .light) .ticker .tk { color: #93A7C0; }
body:is(.public, .light) .ticker .tk b { color: #F2F6FC; }

/* Hero on light */
body:is(.public, .light) .hero-canvas { opacity: 0.32; }
body:is(.public, .light) .hero-shade {
  background:
    radial-gradient(1000px 480px at 28% 42%, rgba(255, 255, 255, 0.22), rgba(243, 246, 251, 0.55) 78%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(243, 246, 251, 0.10) 40%, rgba(233, 239, 247, 0.66));
}
body:is(.public, .light) .kicker { border-color: rgba(11, 107, 203, 0.35); background: rgba(11, 107, 203, 0.06); }
body:is(.public, .light) .shimmer {
  background: linear-gradient(100deg, #0C2340 15%, #0B6BCB 38%, #2EA3E8 55%, #0B6BCB 70%, #0C2340 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body:is(.public, .light) .hero-tagline { color: #A87400; }
body:is(.public, .light) .hero-logo { border-color: rgba(168, 116, 0, 0.35); box-shadow: 0 14px 34px rgba(12, 35, 64, 0.18); }
body:is(.public, .light) .glass-dash {
  background: rgba(255, 255, 255, 0.88); border-color: #D7E1EE;
  box-shadow: 0 30px 70px rgba(12, 35, 64, 0.16), inset 0 0 40px rgba(11, 107, 203, 0.03);
}
body:is(.public, .light) .glass-dash::before { background: linear-gradient(90deg, transparent, rgba(11, 107, 203, 0.55), transparent); }
body:is(.public, .light) .fig { background: #F2F6FB; border-color: #DFE8F2; }
body:is(.public, .light) .dash-eq { background: #F8FAFD; border-color: #DFE8F2; }
body:is(.public, .light) #heroEqDot { stroke: #FFFFFF; }
body:is(.public, .light) .note-chip {
  background: rgba(255, 255, 255, 0.96); border-color: rgba(11, 107, 203, 0.35);
  box-shadow: 0 16px 36px rgba(12, 35, 64, 0.16); color: var(--text);
}
body:is(.public, .light) .note-2 { border-color: rgba(18, 138, 67, 0.45); }
body:is(.public, .light) .note-3 { border-color: rgba(124, 108, 240, 0.45); }
body:is(.public, .light) .price-chip {
  background: rgba(255, 255, 255, 0.9); border-color: #D7E1EE;
  box-shadow: 0 14px 34px rgba(12, 35, 64, 0.13), inset 0 0 24px rgba(11, 107, 203, 0.03);
}

/* Buttons: professional blue primary */
body:is(.public, .light) .btn-gold, body:is(.public, .light) .btn-primary { background: linear-gradient(180deg, #2EA3E8, #0B6BCB); color: #FFFFFF; }
body:is(.public, .light) .btn-gold:hover, body:is(.public, .light) .btn-primary:hover { box-shadow: 0 10px 26px rgba(11, 107, 203, 0.35); }
body:is(.public, .light) .btn-violet { color: #FFFFFF; }
body:is(.public, .light) .btn-ghost { background: #FFFFFF; color: var(--text); border-color: #C4D3E6; }
body:is(.public, .light) .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
body:is(.public, .light) .btn-danger { background: #FDECEC; color: #B32626; border-color: #F2B8B8; }
body:is(.public, .light) .step-num { background: linear-gradient(180deg, #2EA3E8, #0B6BCB); color: #FFFFFF; box-shadow: 0 6px 16px rgba(11, 107, 203, 0.35); }

/* Cards, stats, plans */
body:is(.public, .light) .card {
  background: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 26px rgba(12, 35, 64, 0.08);
}
body:is(.public, .light) .card:hover {
  border-color: var(--border-glow);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 18px 38px rgba(12, 35, 64, 0.13);
}
body:is(.public, .light) .step:hover { box-shadow: 0 12px 28px rgba(12, 35, 64, 0.10); }
body:is(.public, .light) .stat { background: #FFFFFF; }
body:is(.public, .light) .stat-value { text-shadow: none; }
body:is(.public, .light) .plan-card {
  background:
    linear-gradient(180deg, #FFFFFF, #F4F8FC) padding-box,
    conic-gradient(from var(--a), rgba(11, 107, 203, 0.55), rgba(46, 163, 232, 0.55), rgba(11, 107, 203, 0.10), rgba(46, 163, 232, 0.10), rgba(11, 107, 203, 0.55)) border-box;
}
body:is(.public, .light) .plan-card:hover { box-shadow: 0 24px 46px rgba(12, 35, 64, 0.16), 0 0 24px rgba(11, 107, 203, 0.12); }
body:is(.public, .light) .plans .plan-card:nth-child(2), body:is(.public, .light) .plans-grid .plan-card:nth-child(2) {
  box-shadow: 0 22px 44px rgba(12, 35, 64, 0.15), 0 0 26px rgba(255, 194, 75, 0.20);
}
body:is(.public, .light) .plan-features li::before { color: var(--cyan); }

/* Premium pricing (2026-11-22): per-plan card identities, badges,
   per-day prices and the Lifetime comparison note. */
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em;
  padding: 4px 13px; border-radius: 999px; white-space: nowrap; z-index: 2;
}
.badge-value { background: linear-gradient(180deg, #2EA3E8, #0B6BCB); color: #FFFFFF; box-shadow: 0 6px 18px rgba(11, 107, 203, 0.35); }
.badge-ultimate { background: linear-gradient(180deg, #FFD97A, #FFC44B); color: #2A1A00; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.plan-perday { color: var(--muted); font-size: 0.92rem; margin: 2px 0 0; }
.plan-onetime { color: #B8860B; font-weight: 800; letter-spacing: 0.12em; font-size: 0.78rem; margin: 2px 0; }
.plan-crown { margin: 6px 0 0; }
body:is(.public, .light) .plan-advanced {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(12, 35, 64, 0.16), 0 0 26px rgba(11, 107, 203, 0.16);
}
body:is(.public, .light) .plan-advanced:hover { transform: translateY(-12px); }
body:is(.public, .light) .plan-lifetime {
  animation: none;
  background:
    linear-gradient(180deg, #16283F, #0A1526) padding-box,
    linear-gradient(160deg, #FFD97A, #B8860B, #FFD97A) border-box;
  color: #E9EEF5;
}
.plan-lifetime h3 { color: #FFC44B; }
.plan-lifetime .plan-price { color: #FFC44B; }
.plan-lifetime .plan-onetime { color: #FFC44B; }
.plan-lifetime .plan-days, .plan-lifetime .plan-perday { color: #B9C6D8; }
.plan-lifetime .plan-features { color: #C9D4E4; }
body:is(.public, .light) .plan-lifetime .plan-features li::before { color: #FFC44B; }
.plan-lifetime .small-note { color: #9FB0C6; }
.plan-lifetime .small-note a { color: #FFD97A; }
body:is(.public, .light) .plan-lifetime:hover { box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 196, 75, 0.22); }
.compare-note {
  border: 1px solid #C4D3E6; background: #F4F8FC; border-radius: 16px;
  padding: 18px 22px; margin: 18px 0; text-align: center;
}
.compare-note h3 { margin-top: 0; color: #0B6BCB; }

/* Tables, forms, alerts, badges */
body:is(.public, .light) .table-wrap { background: #FFFFFF; }
body:is(.public, .light) th { background: rgba(11, 107, 203, 0.06); }
body:is(.public, .light) tbody tr:hover td { background: rgba(11, 107, 203, 0.04); }
body:is(.public, .light) input[type="text"], body:is(.public, .light) input[type="email"], body:is(.public, .light) input[type="password"],
body:is(.public, .light) input[type="number"], body:is(.public, .light) input[type="date"], body:is(.public, .light) select, body:is(.public, .light) textarea {
  background: #FFFFFF; color: var(--text); border-color: #C4D3E6;
}
body:is(.public, .light) input:focus, body:is(.public, .light) select:focus, body:is(.public, .light) textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(11, 107, 203, 0.16);
}
body:is(.public, .light) .alert-ok { background: #E7F6EC; border-color: #9BD3AC; color: #14532D; }
body:is(.public, .light) .alert-error { background: #FDECEC; border-color: #F0A8A8; color: #8A1F2D; }
body:is(.public, .light) .alert-warn { background: #FFF3D4; border-color: #EAC96B; color: #7A5410; }
body:is(.public, .light) .badge { background: #E2E8F0; color: #33475E; }
body:is(.public, .light) .badge-pending_payment, body:is(.public, .light) .badge-awaiting_payment { background: #F7E8B8; color: #7A5410; }
body:is(.public, .light) .badge-paid_key_pending, body:is(.public, .light) .badge-awaiting_approval { background: #FBE3C8; color: #8A4A0B; }
body:is(.public, .light) .badge-info_requested { background: #E4DFFB; color: #4C3A9E; }
body:is(.public, .light) .badge-key_sent, body:is(.public, .light) .badge-active, body:is(.public, .light) .badge-verified, body:is(.public, .light) .badge-approved, body:is(.public, .light) .badge-sent { background: #D9F2E1; color: #166534; }
body:is(.public, .light) .badge-pack_sent { background: #D6ECFB; color: #0B5FA5; }
body:is(.public, .light) .badge-cancelled, body:is(.public, .light) .badge-rejected, body:is(.public, .light) .badge-revoked, body:is(.public, .light) .badge-failed { background: #FBDADA; color: #9E2B25; }
body:is(.public, .light) .badge-expired { background: #E2E8F0; color: #5B6B7E; }
body:is(.public, .light) .badge-suspended, body:is(.public, .light) .badge-pending, body:is(.public, .light) .badge-queued, body:is(.public, .light) .badge-open { background: #F7E3B0; color: #8A5A00; }
body:is(.public, .light) .badge-in_progress, body:is(.public, .light) .badge-waiting_customer { background: #D2EDFA; color: #0B5FA5; }
body:is(.public, .light) .badge-resolved, body:is(.public, .light) .badge-closed { background: #E1EDE3; color: #40634A; }
body:is(.public, .light) .pay-box { box-shadow: 0 10px 28px rgba(12, 35, 64, 0.10); }
body:is(.public, .light) .key-once { background: #EAF3FD; box-shadow: 0 10px 28px rgba(11, 107, 203, 0.15); }
body:is(.public, .light) .order-form { background: #FFFFFF; }
body:is(.public, .light) .msg { background: #FFFFFF; }
body:is(.public, .light) .empty-state { background: #FFFFFF; }
body:is(.public, .light) .principle { border-color: rgba(168, 116, 0, 0.45); color: #A87400; background: rgba(255, 194, 75, 0.10); }
body:is(.public, .light) .chart-area { fill: rgba(11, 107, 203, 0.10); }

/* Footer: deep navy */
body:is(.public, .light) .site-footer { background: linear-gradient(180deg, #0A2242, #071830); border-top: 1px solid #0E2C50; }
body:is(.public, .light) .footer-brand { color: #FFFFFF; }
body:is(.public, .light) .footer-links a { color: #A9BED8; }
body:is(.public, .light) .footer-links a:hover { color: #7CC4FF; }
body:is(.public, .light) .disclaimer, body:is(.public, .light) .footer-small { color: #8FA5C0; }

/* Intro overlay: pinned to deep navy (brand moment, unchanged) */
body:is(.public, .light) .intro-overlay {
  background: radial-gradient(ellipse 62% 46% at 50% 46%, rgba(255, 194, 75, 0.10), transparent 70%), #070B14;
}

/* Dashboard pieces under the light theme (redesign Phase 2):
   the customer dashboard opts in with body.light (toggle in its
   header, choice saved in localStorage; light is the default so
   the dashboard matches the public site). */
body:is(.public, .light) .dash-sidebar { background: rgba(255, 255, 255, 0.94); }
body:is(.public, .light) .dash-nav a:hover { background: rgba(11, 107, 203, 0.08); }
body:is(.public, .light) .msg.internal { background: #FFF7DB; }
.theme-toggle {
  background: none; border: 1px solid rgba(215, 227, 242, 0.4); color: var(--text);
  border-radius: 999px; padding: 5px 13px; margin-left: 18px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 0.9rem;
}
body:is(.public, .light) .theme-toggle { color: #D7E3F2; }
.theme-toggle:hover { border-color: #7CC4FF; color: #7CC4FF; }

/* Support chat widget (redesign Phase 3) — public pages + customer
   dashboard. Follows the page theme through the CSS variables; the
   header band stays brand navy in every theme. */
.chat-widget { position: fixed; right: 18px; bottom: 18px; z-index: 90; }
.chat-fab {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, #2EA3E8, #0B6BCB); color: #FFFFFF;
  border: none; border-radius: 999px; padding: 13px 20px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(8, 24, 46, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(8, 24, 46, 0.4); }
.chat-panel {
  position: absolute; right: 0; bottom: 62px;
  width: min(372px, calc(100vw - 32px)); height: min(580px, calc(100vh - 110px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); color: var(--text);
  border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 30px 70px rgba(8, 24, 46, 0.35);
}
.chat-panel[hidden] { display: none; }
.chat-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  background: linear-gradient(90deg, #0A2A52, #0B6BCB); color: #FFFFFF;
  padding: 14px 16px;
}
.chat-head strong { display: block; font-size: 1rem; letter-spacing: 0.02em; }
.chat-head span { display: block; font-size: 0.78rem; color: #BFD8F2; margin-top: 2px; }
.chat-close {
  background: none; border: none; color: #FFFFFF; font-size: 1.35rem;
  line-height: 1; cursor: pointer; padding: 0 2px;
}
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.chat-row { display: flex; }
.chat-row.user { justify-content: flex-end; }
.chat-bubble {
  max-width: 84%; padding: 9px 13px; border-radius: 14px;
  font-size: 0.92rem; line-height: 1.5; white-space: pre-wrap; word-break: break-word;
}
.chat-row.bot .chat-bubble { background: var(--card2); color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.chat-row.user .chat-bubble { background: #0B6BCB; color: #FFFFFF; border-bottom-right-radius: 4px; }
.chat-row.typing .chat-bubble { color: var(--muted); }
.chat-links { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-links a {
  font-size: 0.82rem; font-weight: 700; text-decoration: none;
  color: var(--cyan); border: 1px solid var(--border-glow);
  padding: 5px 11px; border-radius: 999px;
}
.chat-links a:hover { background: rgba(11, 107, 203, 0.08); }
.chat-topics {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px 12px; border-top: 1px solid var(--border);
}
.chat-topics button {
  background: var(--card2); color: var(--text); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 11px; cursor: pointer;
  font: inherit; font-size: 0.8rem; font-weight: 600;
}
.chat-topics button:hover { border-color: var(--cyan); color: var(--cyan); }
.chat-whatsapp {
  display: block; text-align: center; margin: 0 12px 10px;
  background: #1FAA55; color: #FFFFFF; font-weight: 700; text-decoration: none;
  padding: 11px 14px; border-radius: 12px; font-size: 0.95rem;
}
.chat-whatsapp:hover { background: #23C562; }
.chat-form {
  display: flex; gap: 8px; padding: 10px 12px 12px;
  border-top: 1px solid var(--border);
}
.chat-form input {
  flex: 1; min-width: 0; margin: 0; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--card); color: var(--text);
  font: inherit; font-size: 0.92rem;
}
.chat-form button {
  background: linear-gradient(180deg, #2EA3E8, #0B6BCB); color: #FFFFFF;
  border: none; border-radius: 10px; padding: 10px 16px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 0.92rem;
}
@media (max-width: 760px) {
  .chat-widget { right: 12px; bottom: 12px; }
  .chat-panel { bottom: 58px; }
}

/* Promotional popup (2026-11-24) */
.promo-popup-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(4, 16, 38, 0.62);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.promo-popup-overlay[hidden] { display: none; }
.promo-popup {
  position: relative; width: 100%; max-width: 340px;
  background: linear-gradient(150deg, #0A1F44, #0B6BCB);
  color: #fff; border-radius: 18px; padding: 26px 22px 22px;
  text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: promo-popup-in 0.35s ease-out;
}
@keyframes promo-popup-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.promo-popup-close {
  position: absolute; top: 8px; right: 12px;
  background: transparent; border: 0; color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer; opacity: 0.85;
}
.promo-popup-close:hover, .promo-popup-close:focus { opacity: 1; }
.promo-popup-img { max-width: 100%; border-radius: 10px; margin-bottom: 10px; }
.promo-popup-heading {
  letter-spacing: 2px; font-size: 12px; font-weight: 700;
  color: #7FD4FF; margin: 4px 0 2px; text-transform: uppercase;
}
.promo-popup-discount { font-size: 32px; font-weight: 800; margin: 2px 0 6px; }
.promo-popup-text { font-size: 14px; opacity: 0.92; margin: 0 0 12px; }
.promo-popup-label { font-size: 11px; letter-spacing: 2px; opacity: 0.75; margin: 0; }
.promo-popup-code {
  display: block; width: 100%; margin: 4px 0 4px;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  border: 1px dashed rgba(255, 255, 255, 0.55); border-radius: 8px;
  padding: 9px; font-family: monospace; font-size: 17px;
  letter-spacing: 2px; cursor: pointer;
}
.promo-popup-note { font-size: 12px; opacity: 0.8; margin: 2px 0 12px; }
.promo-popup-claim {
  display: block; background: #fff; color: #0A1F44;
  border-radius: 8px; padding: 11px; font-weight: 800;
  text-decoration: none; letter-spacing: 0.5px;
}
.promo-popup-claim:hover { background: #EAF4FF; }
