/*
  Prime World Markets — theme.css
  Original hand-authored stylesheet. Replaces the previous bundled/mirrored CSS.
  Palette: warm charcoal + gold + emerald ("Elite Trading for VIP Capital").
*/

:root {
  /* Height of #trustpilot-top-banner, measured live by site.js so every fixed
     header element can sit below it instead of guessing a pixel value. */
  --tp-height: 41px;

  /* Surfaces */
  --bg-primary: #0a0908;
  --bg-secondary: #14120e;
  --bg-tertiary: #1c1914;
  --card-bg: #17140f;
  --card-bg-raised: #1e1a13;

  /* Text */
  --text-primary: #f6f2e9;
  --text-secondary: #ab9f89;
  --text-muted: #7c7261;

  /* Accents */
  --gold: #d4a24e;
  --gold-bright: #e8c069;
  --gold-dark: #96712f;
  --emerald: #3f9c72;
  --emerald-bright: #57c28f;
  --emerald-dark: #276448;

  /* Borders */
  --border-accent: rgba(212, 162, 78, 0.25);
  --border-subtle: rgba(246, 242, 233, 0.09);
  --border-emerald: rgba(63, 156, 114, 0.3);

  /* Effects */
  --glow-gold: 0 0 24px rgba(212, 162, 78, 0.25);
  --glow-emerald: 0 0 24px rgba(63, 156, 114, 0.25);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--bg-primary); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
h1, h2, h3, .font-display { font-family: var(--font-display); font-weight: 600; }
.text-balance { text-wrap: balance; }
.accent { color: var(--gold); font-style: italic; }
.accent-emerald { color: var(--emerald-bright); }

/* ---------- Layout ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--bg-secondary); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin: 14px 0 16px; }
.section-head p { color: var(--text-secondary); font-size: 1.05rem; }

.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.hero-content, .hero-panel, .mobile-header .bar, .mobile-menu .grid > * { min-width: 0; }
.hero-actions, .hero-badges, .cta-actions, .tag-row, .tier-actions, .header-actions .row, .card-head-row { min-width: 0; }
.footer-grid > *, .bento-grid > *, .zig-row > *, .platform-split > *, .quote-feature-grid > *, .tier-row > *, .award-row > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(100deg, var(--gold-bright), var(--gold-dark));
  color: #1a1207;
  box-shadow: var(--glow-gold);
}
.btn-primary:hover { box-shadow: 0 0 32px rgba(212, 162, 78, 0.4); }
.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-bright);
}
.btn-outline:hover { background: rgba(212, 162, 78, 0.08); }
.btn-ghost {
  background: rgba(246, 242, 233, 0.06);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* ---------- Trustpilot bar ---------- */
#trustpilot-top-banner {
  position: sticky; top: 0; left: 0; right: 0; z-index: 80;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  display: flex; justify-content: center; align-items: center;
  padding: 10px 12px; font-family: var(--font-body); font-size: 13px;
}
#trustpilot-top-banner .tp-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
#trustpilot-top-banner span { color: var(--text-primary); }
#trustpilot-top-banner strong { color: var(--gold-bright); }
#trustpilot-top-banner a { color: inherit; text-decoration: underline; }
#trustpilot-top-banner .tp-star { color: var(--emerald-bright); font-weight: 700; }

/* ---------- Header / Nav ---------- */
.brand-mark { position: fixed; z-index: 70; left: 24px; top: calc(var(--tp-height) + 14px); pointer-events: auto; }
.brand-mark img { height: 58px; width: auto; }

.site-header {
  position: fixed; top: calc(var(--tp-height) + 31px); left: 50%; transform: translateX(-50%);
  z-index: 60; max-width: 820px; width: auto; height: 64px;
  border-radius: var(--radius-pill);
  background: rgba(20, 18, 14, 0.72);
  border: 1px solid var(--border-subtle);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
}
.site-header nav { display: flex; align-items: center; height: 100%; gap: 32px; padding: 0 28px; justify-content: center; }
.nav-link {
  font-size: 0.875rem; font-weight: 500; color: var(--text-primary);
  transition: color 0.2s ease; position: relative;
}
.nav-link:hover { color: var(--gold-bright); }
.nav-dropdown { position: relative; }
.nav-dropdown > button {
  display: flex; align-items: center; gap: 6px; background: none; border: none;
  font-size: 0.875rem; font-weight: 500; color: var(--text-primary);
}
.nav-dropdown > button:hover { color: var(--gold-bright); }
.nav-dropdown-menu {
  position: absolute; left: 0; top: 100%; margin-top: 10px; width: 210px;
  background: var(--card-bg-raised); border: 1px solid var(--border-accent);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(4px);
  transition: all 0.2s ease; overflow: hidden;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 11px 16px; font-size: 0.85rem; color: var(--text-primary); }
.nav-dropdown-menu a:hover { background: rgba(212, 162, 78, 0.1); color: var(--gold-bright); }

.header-actions { position: fixed; z-index: 70; right: 24px; top: calc(var(--tp-height) + 18px); pointer-events: auto; }
.header-actions .row { display: flex; align-items: center; gap: 14px; }
.gtranslate_wrapper {
  position: relative; overflow: hidden; z-index: 1; transform: translateZ(0);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
}
.login-link {
  padding: 7px 20px; font-size: 0.85rem; border-radius: var(--radius-pill);
  border: 1px solid var(--border-accent); color: var(--text-primary);
}
.login-link:hover { border-color: var(--gold); color: var(--gold-bright); }

.desktop-only { display: block; }
.mobile-only { display: none; }
@media (max-width: 1023px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; }
}

/* Mobile header */
.mobile-header {
  position: fixed; top: var(--tp-height); left: 0; right: 0; z-index: 60;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background: rgba(10, 9, 8, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; padding: 0 20px;
}
.mobile-wordmark {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--text-primary);
}
.mobile-actions { display: flex; align-items: center; gap: 12px; }
.mobile-gtranslate {
  position: relative; overflow: hidden; z-index: 1; transform: translateZ(0);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
}
.menu-toggle {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(212, 162, 78, 0.1); border: 1px solid var(--border-accent);
  color: var(--gold-bright);
}
.menu-toggle .icon-close { display: none; }
.menu-toggle.open .icon-menu { display: none; }
.menu-toggle.open .icon-close { display: block; }
.mobile-menu {
  background: rgba(10, 9, 8, 0.97); border-top: 1px solid var(--border-subtle);
  padding: 12px 16px 20px;
}
.mobile-menu.hidden { display: none; }
.mobile-menu .grid { gap: 8px; }
.mobile-menu a, .mobile-menu summary {
  display: block; padding: 13px 16px; border-radius: 14px;
  background: rgba(246, 242, 233, 0.04); font-size: 0.9rem; font-weight: 500;
  color: var(--text-primary);
}
.mobile-menu summary { cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu details[open] summary { border-radius: 14px 14px 0 0; }
.mobile-menu .submenu { display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 4px; }
.mobile-menu .submenu a { background: none; padding: 9px 12px; font-weight: 400; font-size: 0.85rem; color: var(--text-secondary); }
.mobile-menu .btn-primary { color: #1a1207; text-align: center; }

/* ---------- Hero (split layout) ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding: 48px 24px 80px;
  background: linear-gradient(160deg, var(--bg-primary), var(--bg-secondary) 70%);
}
.hero-bg {
  position: absolute; inset: 0; opacity: 0.07; background-size: cover; background-position: center;
}
.hero-scrim { position: absolute; inset: 0; background: radial-gradient(1100px circle at 80% 20%, rgba(63,156,114,0.08), transparent 60%); }
.hero-grid {
  position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center;
}
.hero-content h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; margin-bottom: 22px; }
.hero-content .lede { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary); max-width: 520px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.hero-note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 40px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge {
  padding: 9px 18px; border-radius: var(--radius-pill); font-size: 0.85rem;
  background: var(--card-bg); border: 1px solid var(--border-accent); color: var(--gold-bright);
}
.hero-actions-center { justify-content: center; margin-top: 26px; }
.card-title-lg { font-size: 1.2rem; margin-bottom: 16px; }

/* Hero live-panel mockup */
.hero-panel {
  position: relative; background: var(--card-bg-raised); border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg);
}
.hero-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.hero-panel-head .label { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-bright); box-shadow: 0 0 8px var(--emerald-bright); animation: glowPulse 2s ease-in-out infinite; }
.hero-panel-head .pill { font-size: 0.75rem; padding: 4px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border-accent); color: var(--gold-bright); }
.hero-balance { font-family: var(--font-display); font-size: 2.1rem; margin-bottom: 4px; }
.hero-balance-change { font-size: 0.9rem; font-weight: 600; color: var(--emerald-bright); }
.hero-sparkline { width: 100%; height: 64px; margin: 18px 0 6px; }
.hero-assets { margin-top: 10px; }
.hero-asset-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--border-subtle); font-size: 0.85rem; }
.hero-asset-row:first-child { border-top: none; }
.hero-asset-name { font-weight: 600; color: var(--text-primary); }
.hero-asset-price { color: var(--text-secondary); margin-right: auto; margin-left: 14px; }
.hero-asset-change { font-weight: 600; }
.hero-asset-change.up { color: var(--emerald-bright); }
.hero-asset-change.down { color: #cf7a68; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 24px; height: 40px; border: 2px solid var(--gold); border-radius: var(--radius-pill);
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: var(--radius-pill); background: var(--gold); animation: scrollCue 2s ease-in-out infinite; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content .lede { margin: 0 auto 34px; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-panel { max-width: 440px; margin: 0 auto; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--card-bg); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 28px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--glow-gold); }
.card .icon { font-size: 1.75rem; margin-bottom: 16px; }
.card h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }
.card.row { display: flex; gap: 16px; align-items: flex-start; }
.card.row img.card-icon { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.card ul.bullets { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.card ul.bullets li { font-size: 0.85rem; color: var(--text-secondary); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-pill { padding: 5px 14px; border-radius: var(--radius-pill); font-size: 0.75rem; background: rgba(212, 162, 78, 0.12); color: var(--gold-bright); border: 1px solid var(--border-accent); }
.card-icon-tile { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, rgba(212, 162, 78, 0.2), rgba(212, 162, 78, 0.04)); border: 1px solid var(--border-accent); flex-shrink: 0; }
.card-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head-row h3 { margin: 0; font-size: 1.2rem; }
.mt-lg { margin-top: 24px; }
.mb-lg { margin-bottom: 20px; }
.grid-2-1 { grid-template-columns: 2fr 1fr; }
.card-lede { font-size: 1.4rem; }
.head-row-tight { justify-content: flex-start; gap: 10px; margin-bottom: 14px; }
.text-body { color: var(--text-secondary); line-height: 1.75; }
.center-narrow { max-width: 640px; margin: 0 auto; }
.center-narrow.text-center { text-align: center; }
.badges-center { justify-content: center; }
.fw-600 { font-weight: 600; }
.grid-center { align-items: center; }
.title-md { font-size: 1.6rem; }
.stat-num.sz-lg { font-size: 1.3rem; }
.stat-num.sz-sm { font-size: 1.1rem; }
.fine-print { color: var(--text-muted); font-size: 0.8rem; }
.mt-sm { margin-top: 10px; }

.tech-card {
  background: var(--card-bg-raised); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 40px 28px; text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--glow-emerald); border-color: var(--border-emerald); }
.tech-card img { width: 88px; height: 88px; object-fit: contain; margin: 0 auto 22px; }
.tech-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.tech-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

.market-card {
  background: var(--card-bg); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 26px; text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.market-card:hover { transform: translateY(-3px); border-color: var(--border-emerald); }
.market-card .icon { font-size: 2.1rem; margin-bottom: 12px; }
.market-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.market-card p { font-size: 0.85rem; color: var(--text-secondary); }

.platform-card {
  background: var(--card-bg); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 32px; display: flex; gap: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.platform-card:hover { transform: translateY(-3px); border-color: var(--border-accent); }
.platform-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; border: 1px solid var(--border-accent); background: rgba(212, 162, 78, 0.1);
  color: var(--gold-bright);
}
.platform-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.platform-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

.testimonial-card {
  background: var(--card-bg); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 28px;
}
.testimonial-card .stars { color: var(--gold-bright); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p.quote { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 18px; }
.testimonial-card .name { font-weight: 700; font-size: 0.95rem; }
.testimonial-card .role { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Split / feature banner ---------- */
.banner {
  position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden;
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,9,8,0.9) 20%, rgba(10,9,8,0.35)); }
.banner-content { position: relative; z-index: 2; padding: 0 24px; max-width: 720px; margin: 0 40px; }
.banner-content .eyebrow { color: var(--emerald-bright); }
.banner-content h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; margin: 14px 0; }
.banner-content p { color: rgba(246,242,233,0.78); font-size: 1.05rem; margin-bottom: 28px; max-width: 520px; }

/* ---------- Stats / trust band ---------- */
.trust-band { text-align: center; }
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 40px 0; }
.partner-logo {
  padding: 14px 26px; border-radius: 14px; border: 1px solid var(--border-subtle);
  background: rgba(246, 242, 233, 0.04); color: var(--text-secondary); font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s ease, color 0.2s ease;
}
.partner-logo:hover { transform: translateY(-2px); color: var(--gold-bright); }
.award-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 640px; margin: 32px auto 0; }
@media (max-width: 640px) { .award-row { grid-template-columns: 1fr; } }
.award-card {
  border: 1px solid var(--border-accent); background: rgba(212, 162, 78, 0.07);
  border-radius: var(--radius-md); padding: 20px; display: flex; align-items: center; gap: 14px;
}
.award-dot { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-accent); background: rgba(212,162,78,0.15); animation: glowPulse 2.4s ease-in-out infinite; }
.award-card span { font-weight: 600; font-size: 0.9rem; }

.stat-strip {
  margin-top: 56px; padding: 32px; border-radius: var(--radius-lg);
  background: rgba(212, 162, 78, 0.06); border: 1px solid var(--border-accent);
}
.stat-strip .grid { text-align: center; }
.stat-strip .stat-value { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-bright); margin-bottom: 6px; }
.stat-strip .stat-label { font-size: 0.875rem; color: var(--text-secondary); }

/* ---------- CTA ---------- */
.cta-section { text-align: center; }
.cta-section h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 18px; }
.cta-section p { color: var(--text-secondary); max-width: 560px; margin: 0 auto 34px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Help bubble ---------- */
.help-bubble { position: fixed; bottom: 24px; right: 24px; z-index: 50; }
.help-bubble .tip {
  padding: 10px 18px; border-radius: 18px; background: var(--card-bg-raised);
  border: 1px solid var(--border-accent); font-size: 0.85rem; box-shadow: var(--shadow-lg);
}
@media (max-width: 640px) { .help-bubble .tip { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border-subtle); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding: 72px 0 48px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid img { height: 64px; width: auto; margin-bottom: 16px; }
.footer-grid p.tagline { color: var(--text-secondary); font-size: 0.9rem; max-width: 260px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.875rem; color: var(--text-secondary); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding: 28px 0; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; max-width: 640px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--gold-bright);
  background: var(--card-bg); transition: background 0.2s ease;
}
.social-links a:hover { background: rgba(212, 162, 78, 0.15); }

/* ---------- Animations ---------- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: translateX(0); } }
@keyframes floatUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes scrollCue { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(10px); opacity: 0.4; } }
@keyframes glowPulse { 0%, 100% { box-shadow: 0 0 0 rgba(212,162,78,0); } 50% { box-shadow: 0 0 16px rgba(212,162,78,0.5); } }
@keyframes shimmer { from { left: -100%; } to { left: 100%; } }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .award-dot, .scroll-cue span { animation: none !important; }
}

/* ---------- Bento feature grid ---------- */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); gap: 20px; grid-auto-flow: dense; }
.bento-grid .card:not(.bento-spotlight):not(.bento-wide) { padding: 22px; }
.bento-grid .card:not(.bento-spotlight):not(.bento-wide) .icon { font-size: 1.4rem; margin-bottom: 10px; }
.bento-grid .card:not(.bento-spotlight):not(.bento-wide) h3 { font-size: 0.95rem; margin-bottom: 6px; }
.bento-grid .card:not(.bento-spotlight):not(.bento-wide) p { font-size: 0.8rem; }
.bento-spotlight { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.bento-spotlight .icon { font-size: 2.5rem; }
.bento-spotlight h3 { font-size: 1.4rem; }
.bento-spotlight p { font-size: 1rem; max-width: 380px; }
.bento-wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; }
.bento-wide .icon { font-size: 2rem; margin-bottom: 0; }
@media (max-width: 980px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-spotlight, .bento-wide { grid-column: auto; grid-row: auto; }
  .bento-wide { flex-direction: column; text-align: center; }
}

/* ---------- Zig-zag rows ---------- */
.zig-list { display: flex; flex-direction: column; gap: 64px; }
.zig-row { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center; }
.zig-row.reverse { grid-template-columns: 1fr 240px; }
.zig-row.reverse .zig-figure { order: 2; }
.zig-row.reverse .zig-text { order: 1; }
.zig-figure {
  aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--card-bg-raised);
  border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; padding: 26px;
}
.zig-figure img { width: 100%; height: 100%; object-fit: contain; }
.zig-index { display: block; font-family: var(--font-display); font-style: italic; font-size: 0.95rem; color: var(--gold); margin-bottom: 10px; }
.zig-text h3 { font-size: 1.4rem; margin-bottom: 12px; }
.zig-text p { color: var(--text-secondary); font-size: 1rem; line-height: 1.75; max-width: 540px; }
@media (max-width: 720px) {
  .zig-row, .zig-row.reverse { grid-template-columns: 1fr; text-align: center; }
  .zig-row .zig-figure, .zig-row.reverse .zig-figure { order: 1; width: 160px; margin: 0 auto; }
  .zig-row .zig-text, .zig-row.reverse .zig-text { order: 2; }
  .zig-text p { margin-inline: auto; }
}

/* ---------- Market ticker strip ---------- */
.ticker-strip {
  display: flex; overflow-x: auto; scrollbar-width: none;
  border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
}
.ticker-strip::-webkit-scrollbar { display: none; }
.ticker-item {
  flex: 1 0 190px; display: flex; align-items: center; gap: 14px;
  padding: 30px 26px; border-right: 1px solid var(--border-subtle); transition: background 0.2s ease;
}
.ticker-item:last-child { border-right: none; }
.ticker-item:hover { background: rgba(212, 162, 78, 0.05); }
.ticker-icon { font-size: 1.7rem; flex-shrink: 0; }
.ticker-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.ticker-item p { font-size: 0.8rem; color: var(--text-secondary); }

/* ---------- Platform split ---------- */
.platform-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.platform-mock {
  background: var(--card-bg-raised); border: 1px solid var(--border-accent); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-lg);
}
.platform-mock-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.platform-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-subtle); }
.platform-mock-bar span:first-child { background: #cf7a68; }
.platform-mock-bar span:nth-child(2) { background: var(--gold); }
.platform-mock-bar span:nth-child(3) { background: var(--emerald); }
.platform-mock img { width: 100%; border-radius: var(--radius-md); }
.feature-list { display: flex; flex-direction: column; }
.feature-row { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--border-subtle); }
.feature-row:first-child { border-top: none; padding-top: 0; }
.feature-row h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.feature-row p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 900px) {
  .platform-split { grid-template-columns: 1fr; }
}

/* ---------- Featured testimonial ---------- */
.quote-feature-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }
.quote-feature {
  background: var(--card-bg-raised); border: 1px solid var(--border-accent); border-radius: var(--radius-lg);
  padding: 44px; display: flex; flex-direction: column; justify-content: center;
}
.quote-feature .mark { font-family: var(--font-display); font-size: 3.5rem; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.quote-feature .quote { font-size: 1.2rem; line-height: 1.6; color: var(--text-primary); margin-bottom: 24px; }
.quote-list { display: flex; flex-direction: column; gap: 16px; }
.quote-compact {
  background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  padding: 22px; flex: 1;
}
.quote-compact .quote { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
@media (max-width: 900px) {
  .quote-feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Diagonal CTA ---------- */
.cta-diagonal {
  position: relative; margin-top: -1px; padding-top: 130px;
  background: linear-gradient(160deg, var(--bg-secondary), var(--bg-primary) 75%);
  clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
}
@media (max-width: 640px) {
  .cta-diagonal { clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%); padding-top: 90px; }
}

/* ---------- Price ticker marquee ---------- */
.price-ticker { overflow: hidden; background: var(--bg-secondary); border-bottom: 1px solid var(--border-subtle); margin-top: calc(var(--tp-height) + 99px); }
@media (max-width: 1023px) { .price-ticker { margin-top: calc(var(--tp-height) + 43px); } }
.price-ticker-track { display: flex; width: max-content; animation: tickerScroll 34s linear infinite; }
.price-ticker-group { display: flex; }
.price-ticker-item {
  display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 0.8rem;
  padding: 12px 28px; border-right: 1px solid var(--border-subtle);
}
.price-ticker-item .sym { font-weight: 700; color: var(--text-primary); }
.price-ticker-item .px { color: var(--text-secondary); }
.price-ticker-item .chg.up { color: var(--emerald-bright); }
.price-ticker-item .chg.down { color: #cf7a68; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .price-ticker-track { animation: none; overflow-x: auto; } }

/* ---------- Stat band ---------- */
.stat-band { padding: 52px 0; border-bottom: 1px solid var(--border-subtle); background: var(--bg-secondary); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--gold-bright); margin-bottom: 6px; }
.stat-caption { font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 640px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Account tier teaser ---------- */
.tier-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier-card {
  background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 32px; text-align: center; position: relative; transition: transform 0.25s ease, border-color 0.25s ease;
}
.tier-card:hover { transform: translateY(-4px); border-color: var(--border-accent); }
.tier-card.featured { border-color: var(--gold); background: var(--card-bg-raised); box-shadow: var(--glow-gold); }
.tier-card .tier-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 14px; border-radius: var(--radius-pill);
  background: var(--gold); color: #1a1207;
}
.tier-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.tier-card .tier-min { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-bright); margin-bottom: 14px; }
.tier-card p.tier-tag { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 20px; min-height: 40px; }
.tier-more { text-align: center; margin-top: 32px; }
@media (max-width: 900px) { .tier-row { grid-template-columns: 1fr; } }

.tier-card.detailed { text-align: left; }
.tier-card.detailed .tier-tag { min-height: 0; margin-bottom: 16px; }
.tier-card.detailed.featured { border-color: var(--gold); }
.tier-card.detailed.vip { border-color: var(--gold); background: var(--card-bg-raised); }
.tier-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.tier-features li { color: var(--text-secondary); font-size: 0.85rem; }
.tier-desc { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 18px; }
.tier-actions { display: flex; gap: 10px; }
.tier-actions .btn { flex: 1; }

.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { color: var(--text-secondary); font-size: 0.9rem; }
.check-list li strong { color: var(--text-primary); }

.faq-list.flat .faq-item { background: transparent; border: none; border-bottom: 1px solid var(--border-subtle); border-radius: 0; }
.faq-list.flat .faq-item:last-child { border-bottom: none; }
.faq-list.flat .faq-item summary { padding: 16px 0; }
.faq-list.flat .faq-item .faq-answer { padding: 0 0 16px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--gold); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 24px 20px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ---------- Footer newsletter ---------- */
.footer-newsletter { display: flex; gap: 10px; margin-top: 18px; max-width: 320px; }
.footer-newsletter input {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border-subtle);
  background: rgba(246, 242, 233, 0.05); color: var(--text-primary); font-size: 0.85rem; font-family: var(--font-body);
}
.footer-newsletter input::placeholder { color: var(--text-muted); }
.footer-newsletter input:focus { outline: none; border-color: var(--gold); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; text-align: center; padding: 56px 24px 60px;
  background: linear-gradient(160deg, var(--bg-primary), var(--bg-secondary) 80%);
  border-bottom: 1px solid var(--border-subtle);
}
.page-hero.no-ticker { padding-top: calc(var(--tp-height) + 129px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin: 14px 0 16px; }
.page-hero p.lede { color: var(--text-secondary); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
@media (max-width: 1023px) {
  .page-hero { padding-top: 32px; }
  .page-hero.no-ticker { padding-top: calc(var(--tp-height) + 93px); }
}

/* ---------- Tab switcher ---------- */
.tab-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.tab-btn {
  padding: 10px 22px; border-radius: var(--radius-pill); border: 1px solid var(--border-subtle);
  background: var(--card-bg); color: var(--text-secondary); font-size: 0.875rem; font-weight: 600;
  font-family: var(--font-body); cursor: pointer; transition: all 0.2s ease;
}
.tab-btn.active { border-color: var(--gold); color: var(--gold-bright); background: rgba(212, 162, 78, 0.09); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Legal / long-form document layout ---------- */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-updated { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 44px; text-align: center; }
.legal-content h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-bright); margin: 48px 0 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; margin: 26px 0 10px; color: var(--text-primary); }
.legal-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; font-size: 0.95rem; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; color: var(--text-secondary); }
.legal-content li { margin-bottom: 8px; line-height: 1.7; font-size: 0.95rem; }

/* ---------- Comparison table ---------- */
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare-table th, .compare-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--border-subtle); font-size: 0.85rem; }
.compare-table thead th { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--gold-bright); background: var(--bg-secondary); }
.compare-table td { color: var(--text-secondary); }
.compare-table td:first-child, .compare-table th:first-child { color: var(--text-primary); font-weight: 600; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(212, 162, 78, 0.04); }

/* ---------- Numbered step list ---------- */
.step-list { display: flex; flex-direction: column; }
.step-item { display: flex; gap: 24px; padding: 28px 0; border-top: 1px solid var(--border-subtle); }
.step-item:first-child { border-top: none; padding-top: 0; }
.step-num {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  color: var(--gold-bright); font-size: 1.15rem; background: rgba(212, 162, 78, 0.06);
}
.step-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step-item p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ---------- Simple contact form ---------- */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle);
  background: rgba(246, 242, 233, 0.05); color: var(--text-primary); font-family: var(--font-body); font-size: 0.9rem;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { min-height: 130px; resize: vertical; }
@media (max-width: 640px) { .contact-form .field-row { grid-template-columns: 1fr; } }

/* ---------- Page-specific helpers ---------- */
.eyebrow-hero { margin-bottom: 18px; }
.hero-bg-home { background-image: url("../images/hero2.png"); }
.trust-cta-line { margin-top: 44px; font-weight: 600; color: var(--text-primary); }
.rating-line { color: var(--gold-bright); font-size: 1.1rem; }
.rating-line span { color: var(--text-primary); font-weight: 700; font-size: 1rem; }

/* ---------- Responsive header offsets ---------- */
@media (max-width: 1023px) {
  .hero { padding-top: 32px; }
}
