/* =========================================================
   Thriving Wolves — Premium Affiliate Network
   Design system, components, layout and responsive rules
   ========================================================= */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- TOKENS ---------- */
:root {
  /* Palette — deep midnight + gold */
  --bg-0: #07090F;
  --bg-1: #0B0F1B;
  --bg-2: #11162A;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.045);
  --surface-3: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --gold: #D4A24C;
  --gold-2: #E8C172;
  --gold-soft: rgba(212, 162, 76, 0.14);
  --gold-glow: rgba(212, 162, 76, 0.35);

  --text: #ECEEF3;
  --text-dim: #B8BECE;
  --text-mute: #828A9C;

  --success: #5DE0A6;
  --danger: #F87171;

  /* Effects */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-1: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 16px 40px rgba(212, 162, 76, 0.25);

  --container: 1240px;
  --gutter: clamp(16px, 3vw, 28px);

  /* Type */
  --font-sans: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
}

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0;
  z-index: 100;
  background:
    radial-gradient(600px 400px at 50% 50%, rgba(212, 162, 76, 0.12), transparent 60%),
    linear-gradient(180deg, #07090F 0%, #0A0E1A 100%);
  display: grid; place-items: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner {
  position: relative;
  width: 140px; height: 140px;
  display: grid; place-items: center;
}
.preloader__mark {
  width: 80px; height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(212, 162, 76, 0.45));
  animation: preloader-pulse 1.6s ease-in-out infinite;
}
.preloader__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-right-color: rgba(212, 162, 76, 0.35);
  animation: preloader-spin 1.1s linear infinite;
}
@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}
@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader__ring, .preloader__mark { animation: none; }
}

/* ---------- BASE ---------- */
html, body { min-height: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-0);
  background-image:
    radial-gradient(1100px 700px at 10% -10%, rgba(212, 162, 76, 0.10), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(110, 64, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #07090F 0%, #0A0E1A 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #0B0F1B; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 4.6vw + 1rem, 4.6rem); }
h2 { font-size: clamp(1.9rem, 2.6vw + 1rem, 3rem); }
h3 { font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem); }
h4 { font-size: 1.18rem; font-family: var(--font-sans); font-weight: 700; }
p { color: var(--text-dim); }
small { color: var(--text-mute); }
.lead { font-size: clamp(1.05rem, 0.4vw + 1rem, 1.18rem); color: var(--text-dim); }
.serif { font-family: var(--font-display); }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-sm { padding: clamp(48px, 5vw, 80px) 0; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.text-center { text-align: center; }
.center-narrow { max-width: 760px; margin-inline: auto; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }

/* ---------- COMPONENTS: pill / eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-2);
  backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold-glow); }

/* ---------- BUTTONS ---------- */
.btn {
  --bg: var(--gold);
  --fg: #0B0F1B;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  position: relative; isolation: isolate;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn .arrow { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost { --bg: transparent; --fg: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-3); box-shadow: none; }

.btn--outline { --bg: transparent; --fg: var(--gold-2); border-color: var(--gold); }
.btn--outline:hover { background: var(--gold-soft); box-shadow: none; }

.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--lg { padding: 17px 32px; font-size: 1rem; }

.link {
  color: var(--gold-2);
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, transform .2s ease;
}
.link:hover { border-color: var(--gold); }
.link .arrow { width: 16px; height: 16px; transition: transform .2s ease; }
.link:hover .arrow { transform: translateX(4px); }

/* ---------- NAV / HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  background: rgba(7, 9, 15, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.is-scrolled { border-color: var(--border); background: rgba(7, 9, 15, 0.85); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  min-height: 96px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.04em; }
.nav__brand img { height: 80px; width: auto; max-width: 240px; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  position: relative;
  padding: 10px 14px;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a::after {
  content: '';
  position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__cta .btn { padding: 11px 20px; font-size: 0.88rem; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  align-items: center; justify-content: center;
}
.nav__burger span {
  position: relative; width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  display: block;
}
.nav__burger span::before,
.nav__burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .25s ease, top .25s ease;
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.nav__burger.is-open span { background: transparent; }
.nav__burger.is-open span::before { top: 0; transform: rotate(45deg); }
.nav__burger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: rgba(7, 9, 15, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 96px var(--gutter) 32px;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  z-index: 40;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-menu a:hover { color: var(--gold-2); }
.mobile-menu .mobile-ctas { display: grid; gap: 12px; margin-top: 24px; }
.mobile-menu .mobile-ctas .btn {
  justify-content: center;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 14px 22px;
  border-bottom: 0;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 80% 20%, rgba(212, 162, 76, 0.18), transparent 60%),
    radial-gradient(600px 500px at 10% 80%, rgba(212, 162, 76, 0.06), transparent 60%);
  z-index: -1; pointer-events: none;
}
.hero__grid { display: grid; gap: 56px; grid-template-columns: 1.05fr 0.95fr; align-items: center; }
.hero__title { margin-top: 18px; }
.hero__title .accent { color: var(--gold-2); font-style: italic; }
.hero__sub { max-width: 580px; margin-top: 22px; font-size: 1.1rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 22px; max-width: 640px;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(229, 184, 96, 0.06);
  border: 1px solid rgba(229, 184, 96, 0.22);
  font-size: 0.85rem; color: var(--text);
  letter-spacing: 0.01em;
}
.trust-pill b { color: var(--gold-2, #e5b860); font-weight: 600; }
.trust-pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
  animation: trust-pulse 2.2s ease-in-out infinite;
  flex: 0 0 auto;
}
@keyframes trust-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}
.hero__ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  aspect-ratio: 5 / 5.4;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(155deg, rgba(212, 162, 76, 0.14), rgba(255, 255, 255, 0.02) 60%),
    linear-gradient(180deg, #131829, #0B0F1B);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.hero__visual::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px 420px at 90% -10%, var(--gold-soft), transparent 60%);
  pointer-events: none;
}
.hero__card {
  position: absolute;
  background: rgba(11, 15, 27, 0.85);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-1);
  z-index: 2;
  min-width: 220px;
}
.hero__card .label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); }
.hero__card .val { font-family: var(--font-display); font-size: 1.7rem; color: var(--text); margin-top: 4px; }
.hero__card .delta { color: var(--success); font-size: 0.85rem; font-weight: 700; }
.hero__card.is-top { top: 28px; right: 28px; }
.hero__card.is-bottom { bottom: 28px; left: 28px; }
.hero__chart {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(212, 162, 76, 0.06) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'><defs><linearGradient id='g' x1='0' x2='0' y1='0' y2='1'><stop offset='0%25' stop-color='%23D4A24C' stop-opacity='0.35'/><stop offset='100%25' stop-color='%23D4A24C' stop-opacity='0'/></linearGradient></defs><path d='M0,420 C80,360 140,400 220,340 C300,280 360,300 440,240 C520,180 580,200 600,170 L600,600 L0,600 Z' fill='url(%23g)'/><path d='M0,420 C80,360 140,400 220,340 C300,280 360,300 440,240 C520,180 580,200 600,170' stroke='%23E8C172' stroke-width='2.4' fill='none' stroke-linecap='round'/></svg>") center/cover no-repeat;
  opacity: 0.95;
}

.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--border); }
.stat .v { font-family: var(--font-display); font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem); color: var(--text); display: flex; align-items: baseline; gap: 4px; }
.stat .v .plus { color: var(--gold-2); font-weight: 700; }
.stat .k { font-size: 0.84rem; color: var(--text-mute); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* ---------- LOGO STRIP ---------- */
.logos {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  background: rgba(255, 255, 255, 0.015);
}
.logos__title { color: var(--text-mute); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; margin-bottom: 20px; }
.logos__row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: center; }
.logos__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logos__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: logos-scroll 60s linear infinite;
  will-change: transform;
}
.logos__marquee:hover .logos__track { animation-play-state: paused; }
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; }
}
.logos__item {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 8px; opacity: 0.55;
  font-family: var(--font-display); font-style: italic; font-size: 1.4rem;
  color: var(--text); transition: opacity .2s;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.logos__item:hover { opacity: 1; }

/* ---------- INLINE SPINNER ---------- */
.spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -0.15em;
  margin-right: 6px;
  animation: spinner-rotate .7s linear infinite;
}
@keyframes spinner-rotate { to { transform: rotate(360deg); } }

/* ---------- SECTION HEAD ---------- */
.section-head { display: grid; gap: 16px; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; justify-items: center; }

/* ---------- CARDS ---------- */
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(212, 162, 76, 0.10), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-1); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--gold-soft), transparent);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  color: var(--gold-2);
  margin-bottom: 22px;
}
.card__icon svg { width: 24px; height: 24px; }
.card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; font-family: var(--font-sans); color: var(--text); }
.card__body { font-size: 0.96rem; }

/* Offer / vertical tile */
.vertical {
  background: linear-gradient(180deg, var(--surface-2), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: grid; gap: 14px;
  transition: transform .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.vertical:hover { transform: translateY(-4px); border-color: rgba(212, 162, 76, 0.45); }
.vertical__num { font-family: var(--font-display); font-size: 0.95rem; color: var(--gold-2); letter-spacing: 0.18em; }
.vertical__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--text); }
.vertical__meta { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-mute); }
.vertical__meta b { color: var(--gold-2); font-weight: 700; font-family: var(--font-sans); }
.vertical__tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-2);
  border: 1px solid rgba(212, 162, 76, 0.35);
}

/* Feature row alternating */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: clamp(40px, 5vw, 72px) 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: 0; }
.feature-row.reverse > div:first-child { order: 2; }
.feature-row__media {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 5/4;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-1));
  position: relative;
  box-shadow: var(--shadow-1);
}
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform .6s ease; }
.feature-row__media:hover img { transform: scale(1.04); }
.feature-row__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,15,27,0) 50%, rgba(11,15,27,0.6) 100%);
  pointer-events: none;
}
.feature-row__num {
  font-family: var(--font-display);
  font-size: 0.95rem; color: var(--gold-2); letter-spacing: 0.2em; text-transform: uppercase;
}
.feature-row__title { font-size: clamp(1.7rem, 1.6vw + 1rem, 2.4rem); margin-top: 10px; }
.feature-row ul.checks { display: grid; gap: 10px; margin-top: 20px; }
.feature-row ul.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); }
.feature-row ul.checks li::before {
  content: ''; width: 22px; height: 22px; border-radius: 50%; flex: 0 0 22px;
  background: var(--gold-soft); border: 1px solid rgba(212, 162, 76, 0.45);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8C172' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 7'/></svg>");
  background-position: center; background-repeat: no-repeat; background-size: 12px;
  margin-top: 3px;
}

/* ---------- PRICING / COMMISSIONS ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: transform .3s ease, border-color .3s ease;
}
.price:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.price.is-featured {
  background: linear-gradient(180deg, rgba(212, 162, 76, 0.12), rgba(212, 162, 76, 0.03));
  border-color: rgba(212, 162, 76, 0.45);
  box-shadow: 0 24px 60px rgba(212, 162, 76, 0.10);
}
.price__tag {
  position: absolute; top: -14px; right: 28px;
  background: var(--gold); color: #0B0F1B;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.price__kind { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); }
.price__amount { font-family: var(--font-display); font-size: clamp(2rem, 1vw + 1.8rem, 2.8rem); margin-top: 12px; line-height: 1.1; }
.price__amount .unit { font-size: 1rem; color: var(--text-mute); margin-left: 8px; letter-spacing: 0.05em; font-family: var(--font-sans); }
.price__desc { margin-top: 12px; font-size: 0.95rem; }
.price__list { display: grid; gap: 12px; margin: 24px 0; }
.price__list li { display: flex; gap: 10px; color: var(--text-dim); font-size: 0.95rem; }
.price__list li::before {
  content: ''; width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%;
  background: var(--gold-soft); margin-top: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8C172' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 7'/></svg>");
  background-position: center; background-repeat: no-repeat; background-size: 11px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.quote {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  display: grid; gap: 18px;
  transition: border-color .25s ease, transform .25s ease;
}
.quote:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.quote__icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gold-soft); display: grid; place-items: center; color: var(--gold-2);
}
.quote__text { color: var(--text); font-size: 1.02rem; line-height: 1.65; }
.quote__author { display: flex; gap: 14px; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); }
.quote__author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-strong); }
.quote__author .who { font-weight: 700; color: var(--text); }
.quote__author .role { color: var(--text-mute); font-size: 0.86rem; }

/* ---------- CTA BAND ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(212, 162, 76, 0.20), transparent 60%),
    linear-gradient(180deg, #141A30, #0B0F1B);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-2);
}
.cta-band__inner { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr; align-items: center; }
.cta-band h2 { font-size: clamp(1.8rem, 2vw + 1rem, 2.8rem); }
.cta-band .ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.site-footer {
  margin-top: 80px;
  background: linear-gradient(180deg, var(--bg-1), #050709);
  border-top: 1px solid var(--border);
  padding: 72px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand img { height: 110px; width: auto; max-width: 320px; object-fit: contain; margin-bottom: 4px; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 0.95rem; }
.footer h5 {
  font-family: var(--font-sans);
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: var(--text-dim); transition: color .2s ease; font-size: 0.95rem; }
.footer ul a:hover { color: var(--gold-2); }

.newsletter {
  display: flex; gap: 8px; margin-top: 16px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 999px;
  padding: 5px;
}
.newsletter input {
  flex: 1; min-width: 0;
  padding: 12px 16px;
  background: transparent; border: 0; outline: 0;
  color: var(--text); font-size: 0.95rem;
}
.newsletter input::placeholder { color: var(--text-mute); }
.newsletter button {
  padding: 10px 18px;
  background: var(--gold); color: #0B0F1B;
  border-radius: 999px; font-weight: 700; font-size: 0.88rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.newsletter button:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }

.footer-bottom {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  color: var(--text-mute); font-size: 0.88rem;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.socials a:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0 clamp(50px, 6vw, 80px);
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, var(--gold-soft), transparent 60%);
  z-index: -1;
}
.page-hero p { margin: 18px auto 0; max-width: 640px; font-size: 1.1rem; }
.breadcrumbs {
  display: flex; gap: 10px; justify-content: center; align-items: center;
  color: var(--text-mute); font-size: 0.9rem; margin-bottom: 18px;
}
.breadcrumbs a:hover { color: var(--gold-2); }
.breadcrumbs .sep { opacity: 0.6; }

/* ---------- TIMELINE (about) ---------- */
.timeline { display: grid; gap: 24px; max-width: 820px; margin: 0 auto; position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
}
.timeline-item { position: relative; padding: 20px 24px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); }
.timeline-item::before {
  content: ''; position: absolute; left: -27px; top: 26px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 162, 76, 0.18);
}
.timeline-item .yr { color: var(--gold-2); font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.16em; }
.timeline-item h4 { margin: 4px 0 6px; font-size: 1.15rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item.is-open { border-color: var(--border-strong); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; color: var(--text);
}
.faq-item__q .ic {
  width: 30px; height: 30px; flex: 0 0 30px;
  border-radius: 50%; border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--gold-2);
  transition: transform .3s ease, background .3s ease;
}
.faq-item.is-open .faq-item__q .ic { transform: rotate(45deg); background: var(--gold-soft); }
.faq-item__a { padding: 0 26px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.is-open .faq-item__a { padding: 0 26px 22px; max-height: 400px; }
.faq-item__a p { color: var(--text-dim); }

/* ---------- FILTER CHIPS ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 0.9rem; font-weight: 600;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.filter-chip:hover { color: var(--text); border-color: var(--border-strong); }
.filter-chip.is-active { background: var(--gold); color: #0B0F1B; border-color: var(--gold); }

/* ---------- BLOG ---------- */
.posts { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.post {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
  display: flex; flex-direction: column;
}
.post:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.post__media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post:hover .post__media img { transform: scale(1.05); }
.post__body { padding: 24px; display: grid; gap: 12px; flex: 1; }
.post__meta { display: flex; gap: 12px; font-size: 0.84rem; color: var(--text-mute); letter-spacing: 0.06em; }
.post__meta .cat { color: var(--gold-2); }
.post__title { font-size: 1.25rem; line-height: 1.3; color: var(--text); font-family: var(--font-display); }
.post__excerpt { color: var(--text-dim); font-size: 0.95rem; flex: 1; }

/* ---------- FORMS / CONTACT ---------- */
[hidden] { display: none !important; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.86rem; color: var(--text-mute); letter-spacing: 0.08em; text-transform: uppercase; }
.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  transition: border-color .2s ease, background .2s ease;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--gold); background: var(--surface-2); outline: none; }
.textarea { min-height: 140px; resize: vertical; font-family: var(--font-sans); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.fallback-note {
  margin-top: 28px;
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px;
  background: var(--gold-soft);
  border: 1px solid rgba(212, 162, 76, 0.35);
  border-radius: var(--radius);
}
.fallback-note__icon {
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 50%;
  background: rgba(212, 162, 76, 0.18);
  border: 1px solid rgba(212, 162, 76, 0.5);
  display: grid; place-items: center;
  color: var(--gold-2);
}
.fallback-note__icon svg { width: 18px; height: 18px; }
.fallback-note h5 {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.fallback-note p { font-size: 0.92rem; color: var(--text-dim); margin: 0; line-height: 1.6; }
.fallback-note a { color: var(--gold-2); font-weight: 600; border-bottom: 1px solid transparent; }
.fallback-note a:hover { border-color: var(--gold); }
.contact-info { display: grid; gap: 22px; }
.contact-info .item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border: 1px solid var(--border); background: var(--surface-2);
  border-radius: var(--radius);
}
.contact-info .item .ic {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px;
  background: var(--gold-soft); border: 1px solid rgba(212, 162, 76, 0.35);
  display: grid; place-items: center; color: var(--gold-2);
}
.contact-info .item h5 { color: var(--text); font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 6px; font-weight: 700; }
.contact-info .item a, .contact-info .item p { color: var(--text); font-size: 1rem; }
.contact-info .item a:hover { color: var(--gold-2); }

/* ---------- SIGNUP FORM EXTRAS ---------- */
.form-section {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  margin: 8px 0 -4px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.form-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.agree-line {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.9rem; color: var(--text-mute); line-height: 1.55;
  padding: 8px 0;
}
.agree-line input[type="checkbox"] { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.agree-line a { color: var(--gold-2); font-weight: 600; }
.agree-line a:hover { text-decoration: underline; }

/* Success card */
.signup-success {
  display: grid; gap: 8px;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 162, 76, 0.35);
  background:
    radial-gradient(500px 280px at 50% 0%, rgba(212, 162, 76, 0.18), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-2);
  text-align: center;
}
.signup-success[hidden] { display: none !important; }
.signup-success__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: #0B0F1B;
  display: grid; place-items: center;
  margin: 0 auto 14px;
  box-shadow: var(--shadow-gold);
  animation: success-pop .55s cubic-bezier(.16, 1.2, .3, 1) both;
}
.signup-success__icon svg { width: 28px; height: 28px; }
@keyframes success-pop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.signup-success h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.2rem); }
.signup-success .lead { color: var(--text); }
.signup-success__list {
  display: grid; gap: 10px;
  margin: 24px auto 0;
  text-align: left;
  max-width: 380px;
}
.signup-success__list li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.signup-success__list .check {
  width: 20px; height: 20px; flex: 0 0 20px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid rgba(212, 162, 76, 0.45);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8C172' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 7'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px;
  margin-top: 1px;
}
.signup-success__ctas {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 28px;
}
.signup-success__hint {
  margin-top: 20px;
  color: var(--text-mute);
  font-size: 0.86rem;
}
.signup-success__hint a { color: var(--gold-2); font-weight: 600; }
.signup-success__hint a:hover { text-decoration: underline; }

/* Force-hide the form when its [hidden] attribute is set (overrides display:grid from .form) */
.signup-form[hidden] { display: none !important; }
/* When success is visible, hide the bottom "Already a member?" link too */
.signup-form[hidden] ~ .signup-alt { display: none; }

/* ---------- AUTH PAGES ---------- */
.auth {
  min-height: calc(100vh - 78px);
  display: grid; grid-template-columns: 1fr 1fr;
}
.auth__aside {
  position: relative;
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(212, 162, 76, 0.20), transparent 60%),
    linear-gradient(180deg, #131829, #07090F);
  padding: clamp(40px, 6vw, 80px);
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--border);
}
.auth__aside .badge { color: var(--gold-2); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; }
.auth__aside h2 { margin-top: 16px; font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem); }
.auth__aside .quote-mini { padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-dim); font-style: italic; }
.auth__main {
  padding: clamp(40px, 6vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
}
.auth__main .form-wrap { max-width: 460px; width: 100%; margin: 0 auto; }
.auth__main h1 { font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem); }
.auth__main .meta { color: var(--text-mute); font-size: 0.95rem; margin-top: 8px; margin-bottom: 32px; }
.auth__main .alt { text-align: center; margin-top: 26px; color: var(--text-mute); font-size: 0.95rem; }
.auth__main .alt a { color: var(--gold-2); font-weight: 700; }
.auth__main .divider {
  display: flex; align-items: center; gap: 16px; margin: 26px 0;
  color: var(--text-mute); font-size: 0.84rem;
}
.auth__main .divider::before, .auth__main .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ---------- UTILITIES / ANIMATION ---------- */
/* Reveal only hides content when JS has marked the page (progressive enhancement) */
.reveal { transition: opacity .8s ease, transform .8s ease; }
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.floaty { animation: float-y 5s ease-in-out infinite; }

/* Marquee */
.marquee {
  display: flex; gap: 60px;
  animation: marq 40s linear infinite;
  white-space: nowrap;
}
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }

/* Back to top */
.top-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold); color: #0B0F1B;
  display: grid; place-items: center;
  box-shadow: var(--shadow-gold);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.top-btn.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.top-btn svg { width: 18px; height: 18px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .testimonials, .posts, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .logos__row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin: 0 auto; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse > div:first-child { order: 0; }
  .cta-band__inner { grid-template-columns: 1fr; text-align: center; }
  .cta-band .ctas { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .auth { grid-template-columns: 1fr; }
  .auth__aside { border-right: 0; border-bottom: 1px solid var(--border); min-height: auto; }
}

@media (max-width: 820px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__cta .nav__burger { display: flex; }
  .nav__cta .btn--ghost { display: none; }
  .nav { min-height: 88px; }
  .nav__brand img { height: 90px; max-width: 240px; }
  .mobile-menu { display: block; padding-top: 104px; }
  .hero { padding-top: 24px !important; }
  .section { padding-top: 40px; }
  section.auth { padding-top: 24px; }
  .crumbs, .breadcrumbs { padding-top: 0; }
  .hero__visual { display: none; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero__sub { font-size: 1rem; }
  .hero__card { min-width: 180px; padding: 12px 14px; }
  .hero__card .val { font-size: 1.3rem; }
  .grid-3, .grid-2, .testimonials, .posts, .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .logos__row { grid-template-columns: repeat(2, 1fr); }
  .field--row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding-top: 70px; padding-bottom: 50px; }
}

@media (max-width: 480px) {
  .hero__stats { grid-template-columns: 1fr; padding-top: 24px; margin-top: 28px; }
  .stat .v { font-size: 1.7rem; }
  .nav { min-height: 76px; }
  .nav__brand img { height: 72px; max-width: 200px; }
  .mobile-menu { padding-top: 92px; }
  .hero { padding-top: 16px !important; padding-bottom: 30px !important; }
  .section { padding: 36px 0; }
  .btn { padding: 12px 22px; }
  .card, .vertical, .price, .quote { padding: 22px; }
  .cta-band { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
