/* ══════════════════════════════════════════════════════════
   BINARY CATASTROPHE FOREX ACADEMY
   DESIGN TOKENS — 60/30/10 RULE
   60% → Black    #06070A
   30% → Charcoal Panels + Slate Text
   10% → Gold #D4AF37  /  Green #16D97A

   Structure: nested SCSS-style (native CSS nesting), grouped
   section-by-section to mirror the HTML document flow.
   ══════════════════════════════════════════════════════════ */

/* ==========================================================
   1. DESIGN TOKENS
   ========================================================== */
:root {
  --black-950: #030405;
  --black-900: #06070a;
  --black-800: #0b0d12;
  --black-700: #12151c;
  --black-600: #191d27;
  --black-500: #232838;

  --gold-800: #7a5e1c;
  --gold-700: #a3822a;
  --gold-600: #c9a53a;
  --gold-500: #d4af37;
  --gold-400: #e0c15f;
  --gold-300: #f0d89a;

  --green-700: #0e9c5c;
  --green-600: #16d97a;
  --green-500: #35e693;
  --green-400: #5df0ac;

  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);

  --glass-bg: rgba(18, 21, 28, 0.55);
  --glass-border: rgba(212, 175, 55, 0.22);
  --glass-blur: blur(20px);

  --neu-shadow-out: 6px 6px 16px rgba(3, 4, 5, 0.75), -4px -4px 12px rgba(35, 40, 56, 0.3);
  --neu-shadow-in: inset 4px 4px 10px rgba(3, 4, 5, 0.65), inset -3px -3px 8px rgba(35, 40, 56, 0.25);

  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);

  /* theme-swappable roles */
  --bg-app: var(--black-950);
  --bg-panel: var(--black-800);
  --text-body: var(--white-60);
  --text-high: var(--white);
  --border-soft: var(--glass-border);
}

/* data-theme lives on <body>, not <html> — so this MUST be a
   top-level rule keyed off body[data-theme="light"], not nested
   inside :root (nesting it there compiles to "[data-theme=light] :root",
   which asks :root to be a descendant of its own child and can
   never match). Custom properties set here still cascade down to
   every element on the page, same as if they lived in :root. */
body[data-theme="light"] {
  --bg-app: #f7f4ec;
  --bg-panel: #ffffff;
  --text-body: #55524a;
  --text-high: #17170f;
  --border-soft: rgba(201, 165, 58, 0.35);

  /* Light mode goes flat/plain instead of glass — solid panel,
     no blur, and a simple 1-shadow card instead of the dual
     inner/outer neumorphic shadow pair used on dark. */
  --glass-bg: #ffffff;
  --glass-border: rgba(23, 23, 15, 0.1);
  --glass-blur: none;
  --neu-shadow-out: 0 1px 3px rgba(23, 23, 15, 0.09);
  --neu-shadow-in: inset 0 1px 2px rgba(23, 23, 15, 0.08);
  --white-05: rgba(15, 15, 10, 0.04);
  --white-10: rgba(15, 15, 10, 0.07);
  --white-30: rgba(15, 15, 10, 0.25);
  --white-50: rgba(15, 15, 10, 0.5);
  --white-60: rgba(15, 15, 10, 0.6);
  --white-70: rgba(15, 15, 10, 0.72);
  --white-90: rgba(15, 15, 10, 0.9);
}

/* ==========================================================
   2. RESET
   ========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-app);
  color: var(--text-body);
  overflow-x: hidden;
  cursor: default;
  transition: background-color .4s ease, color .4s ease;

  /* ---- noise overlay (page-level pseudo) ---- */
  &::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: .3;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- scrollbar ---- */
/* Note: ::-webkit-scrollbar-track / -thumb are distinct pseudo-elements,
   not modifiers of ::-webkit-scrollbar, so they can't be nested inside it. */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-app);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-600);
  border-radius: 10px;
}

/* ==========================================================
   3. GLOBAL CHROME — cursor, ambient orbs
   ========================================================== */
.cursor {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-500);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .08s, width .2s var(--ease), height .2s var(--ease), opacity .2s;
  mix-blend-mode: exclusion;

  @media (hover: none) {
    display: none;
  }
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-400);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .18s var(--ease), width .3s var(--ease), height .3s var(--ease);
  opacity: .7;

  @media (hover: none) {
    display: none;
  }
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orb-float 12s ease-in-out infinite alternate;

  &.orb-1 {
    width: clamp(280px, 70vw, 560px);
    height: clamp(280px, 70vw, 560px);
    background: rgba(212, 175, 55, 0.14);
    top: -140px;
    right: -140px;
  }

  &.orb-2 {
    width: clamp(220px, 55vw, 420px);
    height: clamp(220px, 55vw, 420px);
    background: rgba(22, 217, 122, 0.12);
    bottom: 8%;
    left: -90px;
    animation-delay: -5s;
  }

  &.orb-3 {
    width: clamp(180px, 45vw, 320px);
    height: clamp(180px, 45vw, 320px);
    background: rgba(212, 175, 55, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -9s;
  }
}

@keyframes orb-float {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(-40px) scale(1.06);
  }
}

/* ==========================================================
   4. SHARED LAYOUT / TYPE PRIMITIVES
   (used across every section below)
   ========================================================== */
.section-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 100px 5%;
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-high);
  margin-bottom: 1rem;

  & .accent {
    color: var(--gold-500);
  }
}

.section-sub {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
}

.text-green {
  color: var(--green-500);
}

.accent {
  color: var(--gold-500);
}

.section-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 0 5%;
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  z-index: 1;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 14px 28px;
  border-radius: 10px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
  white-space: nowrap;

  & i {
    font-size: 1.1rem;
  }

  &:hover {
    transform: translateY(-3px);
  }

  &:active {
    transform: translateY(0);
  }

  &.btn--lg {
    padding: 16px 30px;
  }

  &.btn--sm {
    padding: 9px 18px;
    font-size: 0.82rem;
    border-radius: 999px;
  }

  &.btn--full {
    width: 100%;
  }

  &.btn--gold {
    background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
    color: var(--black-950);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35);

    &:hover {
      box-shadow: 0 14px 40px rgba(212, 175, 55, 0.5);
      filter: brightness(1.05);
    }
  }

  &.btn--green {
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    color: var(--black-950);
    box-shadow: 0 8px 32px rgba(22, 217, 122, 0.35);

    &:hover {
      box-shadow: 0 14px 40px rgba(22, 217, 122, 0.5);
      filter: brightness(1.05);
    }
  }

  &.btn--ghost {
    background: transparent;
    color: var(--text-high);
    border: 1px solid var(--white-30);
    backdrop-filter: blur(10px);

    &:hover {
      background: var(--white-10);
      border-color: var(--white-50);
    }
  }

  &.btn--outline-gold {
    border: 1.5px solid var(--gold-500);
    color: var(--gold-400);
    background: var(--glass-bg);

    &:hover {
      background: rgba(212, 175, 55, 0.1);
    }
  }
}

.btn-neu {
  padding: 13px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, var(--black-700), var(--black-600));
  color: var(--white-90);
  box-shadow: var(--neu-shadow-out);
  transition: box-shadow .2s, transform .15s;

  &:active {
    box-shadow: var(--neu-shadow-in);
    transform: scale(0.98);
  }
}

/* ---- reveal / motion ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);

  &.visible {
    opacity: 1;
    transform: translateY(0);
  }

  &.reveal-delay-1 {
    transition-delay: .1s;
  }

  &.reveal-delay-2 {
    transition-delay: .2s;
  }

  &.reveal-delay-3 {
    transition-delay: .3s;
  }

  &.reveal-delay-4 {
    transition-delay: .4s;
  }
}

@keyframes card-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-12px) rotate(.5deg);
  }

  66% {
    transform: translateY(-6px) rotate(-.3deg);
  }
}

/* ==========================================================
   5. PRELOADER
   ========================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  /* Always a dark splash regardless of theme — the banner art has a
     black backdrop baked in, so this keeps it seamless instead of
     showing a black box on a cream page when reloading in light mode. */
  background: var(--black-950);
  transition: opacity .6s var(--ease), visibility .6s var(--ease);

  & .preloader__mark {
    width: min(420px, 78vw);
    height: auto;
    object-fit: contain;
    animation: pulse-mark 1.4s ease-in-out infinite;
  }

  & .preloader__bar {
    width: 220px;
    max-width: 60vw;
    height: 3px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
  }

  & .preloader__bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--gold-700), var(--gold-400));
    transition: width 2.3s var(--ease);
  }

  &.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@keyframes pulse-mark {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(.88);
    opacity: .6;
  }
}

/* ==========================================================
   6. HEADER / NAV
   ========================================================== */
.header {
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 50;
  height: 76px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);

  &.is-scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid var(--glass-border);
  }

  & .header__inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  & .header__brand {
    display: flex;
    align-items: center;
    gap: 10px;

    & .header__logo {
      width: 34px;
      height: 34px;
      object-fit: contain;
    }

    & .header__brand-text {
      display: flex;
      flex-direction: column;
      line-height: 1.15;

      & .brand-main {
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 1rem;
        color: var(--text-high);

        & em {
          color: var(--gold-500);
          font-style: normal;
        }
      }

      & .brand-sub {
        font-family: var(--font-head);
        font-size: 0.6rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--gold-400);
        margin-top: 2px;
      }
    }
  }

  & .header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  @media (max-width: 900px) {
    & #navCta {
      display: none;
    }
  }

  @media (max-width: 400px) {
    & .header__inner {
      gap: 10px;
    }

    & .header__brand {
      gap: 8px;

      & .header__logo {
        width: 75px;
        height: 75px;
      }

      & .header__brand-text .brand-sub {
        display: none;
      }

      & .header__brand-text .brand-main {
        font-size: 0.88rem;
        display: none;
      }
    }

    & .header__actions {
      gap: 8px;
    }
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;

  & .nav__link {
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--white-60);
    position: relative;
    transition: color .25s;

    &::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 0;
      height: 1px;
      background: var(--gold-500);
      transition: width .3s var(--ease);
    }

    &:hover {
      color: var(--text-high);
    }

    &:hover::after {
      width: 100%;
    }
  }

  @media (max-width: 900px) {
    display: none;
  }
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--black-700), var(--black-600));
  border: 1px solid var(--glass-border);
  color: var(--gold-500);
  font-size: 1.05rem;
  box-shadow: var(--neu-shadow-out);
  transition: transform .3s var(--ease), background .3s var(--ease);

  [data-theme="light"] & {
    background: #ffffff;
    color: var(--gold-700);
  }

  &:hover {
    transform: rotate(20deg);
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;

  & span {
    width: 20px;
    height: 2px;
    background: var(--text-high);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }

  &.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  &.is-active span:nth-child(2) {
    opacity: 0;
  }

  &.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  @media (max-width: 900px) {
    display: flex;
  }
}

/* ---- mobile menu ---- */
.mobile-menu {
  position: fixed;
  top: 86px;
  left: 16px;
  right: 16px;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  transform: translateY(-16px);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s var(--ease), opacity .35s var(--ease), visibility .35s var(--ease);

  &.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  & .mobile-menu__link {
    padding: 13px 12px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-high);
    border-radius: 10px;
    transition: background-color .25s;

    &:hover {
      background: rgba(22, 217, 122, 0.08);
    }
  }

  & .mobile-menu__cta {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--glass-border);
  }
}

/* ==========================================================
   7. HERO
   ========================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 5% 80px;
  position: relative;
  overflow: hidden;

  @media (max-width: 960px) {
    min-height: auto;
    padding: 110px 5% 50px;
  }

  & .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    position: relative;
    z-index: 1;

    @media (max-width: 960px) {
      grid-template-columns: 1fr;
      text-align: center;
    }
  }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;

  & .hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-400);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 100px;
    padding: 6px 14px;
  }

  & .hero__title {
    font-family: var(--font-head);
    font-size: clamp(2.3rem, 5vw, 3.7rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-high);

    & .line {
      display: block;
    }
  }

  & .hero__subtitle {
    max-width: 480px;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text-body);

    @media (max-width: 960px) {
      max-width: 100%;
    }
  }

  & .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 4px;

    @media (max-width: 960px) {
      justify-content: center;
    }
  }

  @media (max-width: 960px) {
    align-items: center;
  }
}

.hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.4rem;

  @media (max-width: 960px) {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 1.4rem;
  }

  @media (max-width: 480px) {
    gap: 1.4rem;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;

  & .stat-num {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-high);
  }

  & .stat-label {
    font-size: 0.74rem;
    color: var(--white-50);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
}

.stat-divider {
  width: 1px;
  background: var(--glass-border);

  @media (max-width: 960px) {
    display: none;
  }
}

/* ---- hero visual: floating stack ---- */
.hero__visual {
  position: relative;
  height: 480px;

  @media (max-width: 960px) {
    height: 380px;
    margin-top: 2rem;
  }

  @media (max-width: 480px) {
    height: 300px;
    margin-top: 1.4rem;
  }
}

.hero__lion-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.35;
  mask-image: radial-gradient(circle at 60% 40%, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 60% 40%, black 40%, transparent 75%);

  & .hero__lion-bg {
    width: 120%;
    max-width: none;
    object-fit: contain;
  }

  [data-theme="light"] & {
    display: none;
  }
}

.hero-card-main {
  position: absolute;
  top: 10px;
  left: 0;
  right: 60px;
  padding: 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: card-float 7s ease-in-out infinite;

  @media (max-width: 960px) {
    right: 0;
    left: 20px;
  }
}

.hero-card-small {
  position: absolute;
  bottom: 30px;
  right: 0;
  width: 200px;
  padding: 18px 20px;
  background: rgba(212, 175, 55, 0.12) !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  animation: card-float 9s ease-in-out 2s infinite reverse;

  [data-theme="light"] & {
    background: #fdf8ec !important;
    border-color: rgba(201, 165, 58, 0.4) !important;
    box-shadow: 0 14px 32px rgba(23, 23, 15, 0.12);
  }

  @media (max-width: 960px) {
    right: 10px;
  }
}

.hero-card-badge {
  position: absolute;
  top: 190px;
  right: -12px;
  background: linear-gradient(135deg, var(--black-700), var(--black-600));
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--neu-shadow-out);
  animation: card-float 8s ease-in-out 4s infinite;
  display: flex;
  align-items: center;
  gap: 10px;

  [data-theme="light"] & {
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(23, 23, 15, 0.12);
  }

  @media (max-width: 960px) {
    display: none;
  }
}

/* ---- signal-card widget (reused in hero + signals section) ---- */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 217, 122, 0.14);
  border: 1px solid rgba(22, 217, 122, 0.3);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 0.72rem;
  color: var(--green-500);
  font-weight: 600;
  margin-bottom: 14px;

  & i {
    font-size: 12px;
    color: var(--green-500);
  }
}

.signal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.signal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--white-05);
  border-radius: 10px;
  border: 1px solid var(--white-05);
  transition: background .2s;

  &:hover {
    background: var(--white-10);
  }
}

.signal-pair-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;

  &.buy {
    background: rgba(22, 217, 122, 0.18);
    color: var(--green-500);
  }

  &.sell {
    background: rgba(224, 84, 107, 0.18);
    color: #e0546b;
  }
}

.signal-info {
  flex: 1;
  min-width: 0;
}

.signal-pair {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-high);
  display: flex;
  align-items: center;
  gap: 6px;
}

.signal-tag {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: 4px;

  &.buy {
    background: rgba(22, 217, 122, 0.18);
    color: var(--green-500);
  }

  &.sell {
    background: rgba(224, 84, 107, 0.18);
    color: #e0546b;
  }
}

.signal-meta {
  font-size: 0.72rem;
  color: var(--white-50);
}

.score-pill {
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 100px;
  padding: 3px 9px;
  flex-shrink: 0;

  &.up {
    background: rgba(22, 217, 122, 0.15);
    color: var(--green-500);
    border: 1px solid rgba(22, 217, 122, 0.2);
  }
}

.placement-label {
  font-size: 0.72rem;
  color: var(--white-50);
  margin-bottom: 4px;
}

.placement-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-400);

  [data-theme="light"] & {
    color: var(--gold-800);
  }

  & span {
    font-size: 1.1rem;
  }
}

.placement-sub {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--green-500);
  margin-top: 4px;

  & i {
    font-size: 12px;
  }
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
  display: grid;
  place-items: center;
  flex-shrink: 0;

  & i {
    font-size: 20px;
    color: var(--black-950);
  }
}

.badge-text {
  & .t1 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-high);
  }

  & .t2 {
    font-size: 0.68rem;
    color: var(--white-50);
  }
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--white-50);
  animation: bob 2.2s ease-in-out infinite;
  z-index: 2;
}

@keyframes bob {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

/* ==========================================================
   8. PAIR MARQUEE
   ========================================================== */
.marquee-wrap {
  position: relative;
  z-index: 1;
  background: rgba(212, 175, 55, 0.08);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;

  & .marquee-track {
    display: inline-flex;
    align-items: center;
    animation: marquee-scroll 28s linear infinite;
  }

  & .marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-400);
    padding: 0 2.5rem;

    & i {
      font-size: 14px;
      color: var(--gold-600);
    }
  }

  & .marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-700);
    flex-shrink: 0;
  }
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================
   9. HOW IT WORKS  (#how)
   ========================================================== */
#how {
  background: linear-gradient(180deg, var(--bg-app) 0%, var(--black-900) 100%);

  [data-theme="light"] & {
    background: linear-gradient(180deg, var(--bg-app) 0%, #efe9d6 100%);
  }
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;

  &::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(90deg, var(--glass-border) 0%, var(--gold-600) 50%, var(--glass-border) 100%);
    z-index: 0;
  }

  @media (max-width: 860px) {
    grid-template-columns: 1fr;

    &::before {
      display: none;
    }
  }
}

.step-card {
  padding: 32px 28px;
  position: relative;
  z-index: 1;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;

  &:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.12);
  }

  & .step-num {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--gold-600);
    margin-bottom: 1rem;
  }

  & .step-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--black-700), var(--black-600));
    border: 1px solid var(--glass-border);
    box-shadow: var(--neu-shadow-out);
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;

    & i {
      font-size: 26px;
      color: var(--gold-500);
    }
  }

  & h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-high);
    margin-bottom: 0.7rem;
  }

  & p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
  }
}

/* ==========================================================
   10. METRICS  (#metrics)
   ========================================================== */
#metrics {
  background: linear-gradient(135deg, var(--black-900) 0%, var(--black-800) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);

  [data-theme="light"] & {
    background: linear-gradient(135deg, #efe9d6 0%, #f7f4ec 100%);
  }
}

.metrics-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 70px 5%;
  position: relative;
  z-index: 1;

  @media (max-width: 700px) {
    padding: 48px 5%;
  }
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;

  @media (max-width: 700px) {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.metric-item {
  padding: 32px 24px;
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  transition: transform .3s var(--ease), border-color .3s;

  &:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.35);
  }

  & .metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-500);
    font-size: 1.15rem;
  }

  & .metric-num {
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: 0.4rem;
  }

  & .metric-label {
    font-size: 0.82rem;
    color: var(--text-body);
  }

  @media (max-width: 700px) {
    padding: 22px 10px;

    & .metric-icon {
      width: 36px;
      height: 36px;
      font-size: 1rem;
      margin-bottom: 10px;
    }

    & .metric-num {
      font-size: 1.6rem;
    }

    & .metric-label {
      font-size: 0.7rem;
    }
  }
}

/* ==========================================================
   11. SERVICES  (#services)
   ========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;

  @media (max-width: 900px) {
    grid-template-columns: 1fr 1fr;
  }

  @media (max-width: 560px) {
    grid-template-columns: 1fr;
  }
}

.service-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;

  &:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  }

  & h3 {
    font-family: var(--font-head);
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--text-high);
  }

  & p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-body);
    flex-grow: 1;
  }
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  box-shadow: var(--neu-shadow-out);
  font-size: 1.3rem;

  &.gold {
    background: linear-gradient(135deg, var(--gold-700), var(--gold-600));
    color: var(--black-950);
  }

  &.green {
    background: linear-gradient(135deg, var(--black-700), var(--black-600));
    border: 1px solid var(--glass-border);
    color: var(--green-500);
  }
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green-500);
  margin-top: 4px;
  transition: gap .25s var(--ease);

  &:hover {
    gap: 10px;
  }
}

.services-more {
  text-align: center;
  margin-top: 2.4rem;

  & a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-500);
    transition: gap .25s var(--ease);

    &:hover {
      gap: 10px;
    }
  }
}

/* ==========================================================
   11b. PRICING  (#pricing)
   ========================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;

  @media (max-width: 900px) {
    grid-template-columns: 1fr 1fr;
  }

  @media (max-width: 560px) {
    grid-template-columns: 1fr;
  }
}

.price-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;

  &:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  }

  & h3 {
    font-family: var(--font-head);
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--text-high);
  }

  & p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-body);
    flex-grow: 1;
  }
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;

  & .price-card__amount {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-400);
  }

  & .price-card__period {
    font-size: 0.76rem;
    color: var(--text-body);
  }

  &.price-card__price--free .price-card__amount {
    color: var(--green-500);
  }

  &.price-card__price--contact {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-head);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--white-50);
    background: var(--white-05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 5px 12px;
  }
}

/* ==========================================================
   12. SIGNALS — FREE COMMUNITY  (#signals)
   ========================================================== */
.signals-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;

  @media (max-width: 900px) {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.signals-copy {

  & .section-title,
  & .section-sub {
    text-align: left;

    @media (max-width: 900px) {
      text-align: center;
    }
  }
}

.signals-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 1.6rem 0 2rem;

  & li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-body);

    & i {
      color: var(--green-500);
      font-size: 16px;
      flex-shrink: 0;
    }
  }
}

.signals-visual {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.signals-visual-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green-500);
  border-top: 1px solid var(--glass-border);
  padding-top: 14px;
  transition: gap .25s var(--ease);

  &:hover {
    gap: 10px;
  }
}

/* ==========================================================
   13. IDENTITY — motto & vision  (#identity)
   ========================================================== */
.identity-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 100px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;

  @media (max-width: 800px) {
    grid-template-columns: 1fr;
  }
}

.identity-block {
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  gap: 12px;

  & .identity-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    display: grid;
    place-items: center;
    color: var(--gold-500);
    font-size: 1.3rem;
    margin-bottom: 4px;
  }

  & h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-high);
  }

  & p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
  }
}

.identity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;

  & li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-body);

    & i {
      font-size: 0.4rem;
      color: var(--green-500);
    }
  }
}

.identity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;

  & span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 100px;
    background: var(--white-05);
    border: 1px solid var(--glass-border);
    color: var(--text-body);

    & i {
      color: var(--gold-500);
      font-size: 14px;
    }
  }
}

/* ==========================================================
   14. TEAM  (#team)
   ========================================================== */
.team-carousel {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.team-track {
  flex: 1;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
  }
}

.team-slide {
  flex: 0 0 280px;
  scroll-snap-align: center;

  @media (max-width: 640px) {
    flex-basis: 78vw;
  }
}

.team-card {
  padding: 20px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  transition: transform .3s var(--ease), border-color .3s;

  &:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.4);
  }
}

.team-photo-frame {
  position: relative;
  display: flex;
  justify-content: center;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: 130px 130px 14px 14px;
  border: 1px solid var(--glass-border);
}

.team-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black-950);
  background: linear-gradient(135deg, var(--gold-600), var(--gold-400));
  border-radius: 100px;
  padding: 4px 10px;
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;

  & h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-high);
  }

  & p {
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--text-body);
    margin-top: 4px;
  }
}

.team-role {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--green-500);
}

.team-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--black-700), var(--black-600));
  border: 1px solid var(--glass-border);
  color: var(--gold-500);
  font-size: 1.3rem;
  box-shadow: var(--neu-shadow-out);
  transition: transform .25s var(--ease), border-color .25s;

  &:hover {
    transform: scale(1.08);
    border-color: rgba(212, 175, 55, 0.4);
  }

  @media (max-width: 640px) {
    display: none;
  }
}

.team-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.6rem;
}

.team-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white-30);
  border: none;
  transition: background .25s, transform .25s;

  &.is-active {
    background: var(--gold-500);
    transform: scale(1.3);
  }
}

/* ==========================================================
   15. TESTIMONIALS  (#testimonials)
   ========================================================== */
.testi-carousel {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: 640px;
  margin: 0 auto;

  @media (max-width: 640px) {
    gap: .6rem;
  }
}

.testi-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--black-700), var(--black-600));
  border: 1px solid var(--glass-border);
  color: var(--gold-500);
  font-size: 1.3rem;
  box-shadow: var(--neu-shadow-out);
  transition: transform .25s var(--ease), border-color .25s;

  &:hover {
    transform: scale(1.08);
    border-color: rgba(212, 175, 55, 0.4);
  }

  @media (max-width: 640px) {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
}

.testi-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.testi-track {
  display: flex;
  transition: transform .5s var(--ease);
}

.testi-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.6rem;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white-30);
  border: none;
  transition: background .25s, transform .25s;

  &.is-active {
    background: var(--gold-500);
    transform: scale(1.3);
  }
}

.testi-card {
  width: 100%;
  max-width: 460px;
  padding: 26px 24px;
  transition: transform .3s var(--ease), border-color .3s;

  &:hover {
    border-color: rgba(212, 175, 55, 0.4);
  }

  & .testi-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1rem;

    & i {
      font-size: 14px;
      color: var(--gold-500);
    }
  }

  & .testi-text {
    font-size: 0.9rem;
    color: var(--white-70);
    line-height: 1.75;
    margin-bottom: 1.4rem;
    font-style: italic;
  }

  @media (max-width: 640px) {
    width: 280px;
  }
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;

  & .testi-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-high);
  }

  & .testi-role {
    font-size: 0.75rem;
    color: var(--white-50);
  }
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;

  &.gold {
    background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
    color: var(--black-950);
  }

  &.green {
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    color: var(--black-950);
  }
}

.testi-source-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-500);
  background: rgba(22, 217, 122, 0.12);
  border: 1px solid rgba(22, 217, 122, 0.25);
  border-radius: 100px;
  padding: 4px 10px;
  margin-bottom: 1rem;

  & i {
    font-size: 12px;
  }
}

.testimonials-more {
  text-align: center;
  margin-top: 2.4rem;

  & a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-500);
    transition: gap .25s var(--ease);

    &:hover {
      gap: 10px;
    }
  }
}

/* ==========================================================
   16. CAREERS  (#careers)
   ========================================================== */
.careers-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 42px;

  @media (max-width: 800px) {
    flex-direction: column;
    text-align: center;
  }
}

.careers-icon {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(22, 217, 122, 0.1);
  display: grid;
  place-items: center;
  color: var(--green-500);
  font-size: 1.8rem;
}

.careers-copy {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;

  & h2 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-high);
    line-height: 1.3;
  }

  & p {
    font-size: 0.92rem;
    color: var(--text-body);
  }
}

.careers-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================
   17. CTA / APPLICATION FORM  (#cta)
   ========================================================== */
#cta {
  background: var(--black-900);
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 1;

  [data-theme="light"] & {
    background: #efe9d6;
  }
}

.cta-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 100px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;

  @media (max-width: 900px) {
    grid-template-columns: 1fr;
  }
}

.cta-left {
  & h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-high);
    margin-bottom: 1.2rem;
  }

  & p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 2rem;
  }
}

.cta-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--white-70);

  & i {
    color: var(--gold-500);
    font-size: 18px;
  }
}

.cta-right {
  padding: 36px;
  box-shadow: var(--neu-shadow-out);

  & h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-high);
    margin-bottom: 0.4rem;
  }

  & .cta-form-sub {
    font-size: 0.82rem;
    color: var(--white-50);
    margin-bottom: 1.6rem;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;

  @media (max-width: 480px) {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.2rem;

  & label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--white-60);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
  }
}

.form-input {
  width: 100%;
  background: rgba(3, 4, 5, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-high);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  box-shadow: var(--neu-shadow-in);
  transition: border-color .2s, box-shadow .2s;

  &:focus {
    border-color: var(--gold-600);
    box-shadow: var(--neu-shadow-in), 0 0 0 3px rgba(212, 175, 55, 0.15);
  }

  &::placeholder {
    color: var(--white-30);
  }

  [data-theme="light"] & {
    background: rgba(255, 255, 255, 0.6);
  }

  &:is(select) {
    appearance: none;
  }
}

/* ==========================================================
   18. FOOTER
   ========================================================== */
footer {
  background: var(--bg-app);
  border-top: 1px solid var(--glass-border);
  padding: 60px 5% 30px;
  position: relative;
  z-index: 1;
}

.footer-top {
  max-width: 1220px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;

  @media (max-width: 700px) {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;

  & img {
    width: 34px;
    height: 34px;
    object-fit: contain;
  }

  & .footer-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;

    & .brand-main {
      font-family: var(--font-head);
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text-high);

      & em {
        color: var(--gold-500);
        font-style: normal;
      }
    }

    & .brand-sub {
      font-family: var(--font-head);
      font-size: 0.64rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gold-400);
      margin-top: 3px;
    }
  }
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--white-50);
  line-height: 1.65;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 1.4rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--black-700), var(--black-600));
  border: 1px solid var(--glass-border);
  box-shadow: var(--neu-shadow-out);
  display: grid;
  place-items: center;
  color: var(--white-60);
  font-size: 16px;
  transition: color .2s, border-color .2s;

  [data-theme="light"] & {
    background: #ffffff;
  }

  &:hover {
    color: var(--gold-400);
    border-color: rgba(212, 175, 55, 0.3);
  }
}

.footer-col {
  & h4 {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 1rem;
  }

  & ul {
    display: flex;
    flex-direction: column;
    gap: 8px;

    & a {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.85rem;
      color: var(--white-50);
      transition: color .2s;

      &:hover {
        color: var(--gold-400);
      }
    }
  }
}

/* ---- footer broker strip ---- */
.footer-brokers {
  max-width: 1220px;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
  gap: 14px;

  & .footer-brokers__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white-40);
  }

  & .footer-brokers__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    & span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.76rem;
      font-weight: 600;
      color: var(--white-50);
      background: var(--white-05);
      border: 1px solid var(--glass-border);
      border-radius: 100px;
      padding: 6px 14px;

      & i {
        color: var(--gold-600);
        font-size: 13px;
      }
    }
  }
}

.footer-bottom {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;

  & .footer-copy {
    font-size: 0.76rem;
    color: var(--white-40);
  }

  @media (max-width: 600px) {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================
   19. AI AGENT FAB + CHAT PANEL
   ========================================================== */
.agent-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: var(--black-950);
  font-size: 1.5rem;
  box-shadow: 0 12px 28px -8px rgba(212, 175, 55, 0.55);
  animation: fab-pulse 2.6s ease-in-out infinite;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);

  &:hover {
    transform: scale(1.08) rotate(-6deg);
  }

  &.is-active {
    animation: none;
    transform: rotate(90deg);
    background: linear-gradient(135deg, var(--black-600), var(--black-800));
    color: var(--gold-400);
    box-shadow: 0 12px 28px -8px rgba(3, 4, 5, 0.6);
  }
}

@keyframes fab-pulse {

  0%,
  100% {
    box-shadow: 0 12px 28px -8px rgba(212, 175, 55, 0.55);
  }

  50% {
    box-shadow: 0 12px 34px -4px rgba(212, 175, 55, 0.8);
  }
}

.agent-panel {
  position: fixed;
  bottom: 100px;
  right: 26px;
  z-index: 59;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 140px));
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);

  &.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  & .agent-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--glass-border);
    background: var(--bg-panel);
    flex-shrink: 0;
  }

  & .agent-panel__id {
    display: flex;
    align-items: center;
    gap: 10px;

    & h4 {
      font-family: var(--font-head);
      font-size: 0.95rem;
      color: var(--text-high);
      line-height: 1.2;
    }
  }

  & .agent-panel__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
    color: var(--black-950);
    font-size: 1.05rem;
    flex-shrink: 0;
  }

  & .agent-panel__status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: var(--text-body);

    & i {
      color: var(--green-500);
      font-size: 0.55rem;
    }
  }

  & .agent-panel__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--text-body);
    font-size: 1.2rem;
    transition: background .2s var(--ease), color .2s var(--ease);

    &:hover {
      background: var(--white-05);
      color: var(--text-high);
    }
  }

  & .agent-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  & .agent-panel__whatsapp {
    flex-shrink: 0;
    padding: 10px 14px;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-panel);

    & a {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 9px;
      border-radius: 12px;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--green-500);
      background: rgba(22, 217, 122, 0.1);
      border: 1px solid rgba(22, 217, 122, 0.25);
      transition: background .2s var(--ease), transform .2s var(--ease);

      &:hover {
        background: rgba(22, 217, 122, 0.18);
        transform: translateY(-1px);
      }
    }
  }

  & .agent-panel__input {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
    padding: 12px 14px 14px;
    background: var(--bg-panel);

    & input {
      flex: 1;
      min-width: 0;
      background: var(--white-05);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      padding: 10px 14px;
      color: var(--text-high);
      font-family: var(--font-body);
      font-size: 0.85rem;

      &::placeholder {
        color: var(--white-30);
      }

      &:focus {
        outline: none;
        border-color: var(--gold-500);
      }
    }

    & button {
      width: 40px;
      height: 40px;
      flex-shrink: 0;
      border-radius: 12px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
      color: var(--black-950);
      font-size: 1rem;
      transition: opacity .2s var(--ease), transform .2s var(--ease);

      &:hover {
        transform: scale(1.06);
      }

      &:disabled {
        opacity: 0.5;
        transform: none;
      }
    }
  }
}

.agent-msg {
  display: flex;

  &.agent-msg--user {
    justify-content: flex-end;
  }

  & .agent-msg__bubble {
    max-width: 84%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  &.agent-msg--bot .agent-msg__bubble {
    background: var(--white-05);
    border: 1px solid var(--glass-border);
    color: var(--text-body);
    border-bottom-left-radius: 4px;
  }

  &.agent-msg--user .agent-msg__bubble {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
    color: var(--black-950);
    font-weight: 500;
    border-bottom-right-radius: 4px;
  }
}

.agent-typing {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  width: fit-content;
  background: var(--white-05);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;

  & span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--white-30);
    animation: agent-typing-bounce 1.2s ease-in-out infinite;

    &:nth-child(2) {
      animation-delay: 0.15s;
    }

    &:nth-child(3) {
      animation-delay: 0.3s;
    }
  }
}

@keyframes agent-typing-bounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }

  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.agent-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-chip {
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 0.74rem;
  color: var(--gold-400);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--glass-border);
  transition: background .2s var(--ease), transform .2s var(--ease);

  &:hover {
    background: rgba(212, 175, 55, 0.16);
    transform: translateY(-1px);
  }
}

@media (max-width: 460px) {
  .agent-panel {
    right: 16px;
    bottom: 90px;
    width: calc(100vw - 32px);
  }

  .agent-fab {
    right: 16px;
    bottom: 20px;
  }
}

.agent-msg__bubble p {
  margin: 0 0 8px;
}

.agent-msg__bubble p:last-child {
  margin-bottom: 0;
}

.agent-msg__bubble ul,
.agent-msg__bubble ol {
  margin: 4px 0 8px;
  padding-left: 20px;
}

.agent-msg__bubble li {
  margin-bottom: 4px;
}

.agent-msg__bubble li:last-child {
  margin-bottom: 0;
}

.agent-msg__bubble strong {
  color: var(--accent, #f4c542);
  /* swap for your actual accent CSS var */
  font-weight: 600;
}

/* ==========================================================
   20. EVENTS SECTION (LANDING PAGE)
   ========================================================== */
#events {
  padding: 100px 5%;
  position: relative;
  z-index: 1;
}

/* On events.html, the hero directly above already has its own bottom
   padding via .section-wrap — don't stack another 100px on top of it */
#events-hero+#events {
  padding-top: 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 360px));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 40px auto 0;
  justify-content: center;
}

.event-card {
  padding: 1.6rem;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;

  & .event-card__poster {
    width: calc(100% + 3.2rem);
    max-width: calc(100% + 3.2rem);
    height: 260px;
    object-fit: cover;
    object-position: center 25%;
    margin: -1.6rem -1.6rem 0;
    border-radius: 18px 18px 0 0;
    display: block;
    cursor: zoom-in;
    transition: filter 0.2s ease;

    &:hover {
      filter: brightness(1.08);
    }
  }

  & .event-card__date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--gold-400);
    text-transform: uppercase;

    & i {
      font-size: 1rem;
    }
  }

  & h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    color: var(--text-high);
    line-height: 1.3;
  }

  & p {
    font-size: 0.9rem;
    color: var(--white-60);
    line-height: 1.5;
    flex: 1;
  }
}

.event-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--white-60);

  & span {
    display: flex;
    align-items: center;
    gap: 6px;
  }
}

.event-card__spots {
  font-weight: 600;

  &.low {
    color: var(--gold-500);
  }

  &.full {
    color: #e05a5a;
  }
}

.events-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--white-60);

  & i {
    font-size: 2.4rem;
    color: var(--gold-500);
    margin-bottom: 12px;
    display: block;
  }
}

.events-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2.5rem;

  &:empty {
    display: none;
  }
}

.events-viewmore {
  display: none;
  justify-content: center;
  margin-top: 2.5rem;

  &.is-visible {
    display: flex;
  }
}

/* ---------- EVENTS TOAST NOTIFICATION ---------- */
.events-toast {
  position: fixed;
  top: 100px;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 48px);
  z-index: 998;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transform: translateX(calc(100% + 40px));
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.16, 1, .3, 1), opacity 0.4s ease;
  pointer-events: none;

  &.is-visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  @media (max-width: 640px) {
    left: 16px;
    right: 16px;
    width: auto;
    top: auto;
    bottom: 90px;
    transform: translateY(calc(100% + 40px));

    &.is-visible {
      transform: translateY(0);
    }
  }
}

.events-toast__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black-950);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.events-toast__body {
  min-width: 0;
}

.events-toast__label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 2px;
}

.events-toast__title {
  font-size: 0.95rem;
  color: var(--text-high);
  line-height: 1.3;
  margin-bottom: 4px;
}

.events-toast__meta {
  font-size: 0.78rem;
  color: var(--white-60);
  margin-bottom: 8px;
}

.events-toast__cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  gap: 4px;

  &:hover {
    filter: brightness(1.2);
  }
}

.events-toast__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--white-60);
  font-size: 1rem;
  cursor: pointer;

  &:hover {
    color: var(--gold-400);
  }
}

.events-pagination__btn {
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--white-60);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s ease, color 0.2s ease;

  &:hover:not(:disabled) {
    border-color: var(--gold-500);
    color: var(--gold-400);
    transform: translateY(-2px);
  }

  &:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }

  &.is-active {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--black-950);
  }

  & i {
    font-size: 1.1rem;
  }
}

/* ---------- RSVP MODAL (shared popup, used from #events) ---------- */
.rsvp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 5, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;

  &.is-open {
    opacity: 1;
    pointer-events: auto;
  }
}

.rsvp-modal {
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  border-radius: 20px;
  position: relative;
  transform: translateY(12px);
  transition: transform 0.25s ease;

  .rsvp-overlay.is-open & {
    transform: translateY(0);
  }

  & h3 {
    font-family: var(--font-head);
    color: var(--text-high);
    margin-bottom: 4px;
  }

  & .rsvp-modal__sub {
    font-size: 0.85rem;
    color: var(--white-60);
    margin-bottom: 1.4rem;
  }
}

.rsvp-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--white-60);
  font-size: 1.2rem;
  cursor: pointer;

  &:hover {
    color: var(--gold-400);
  }
}

.rsvp-modal__note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--white-60);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--glass-border);

  & i {
    color: var(--gold-500);
    margin-top: 2px;
  }
}

/* ---------- POSTER LIGHTBOX ---------- */
.poster-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 5, 0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;

  &.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  & img {
    max-width: min(90vw, 640px);
    max-height: 85vh;
    width: auto;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.96);
    transition: transform 0.25s ease;
  }

  &.is-open img {
    transform: scale(1);
  }
}

.poster-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-high);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  &:hover {
    color: var(--gold-400);
  }
}

/* ==========================================================
   21. ADMIN DASHBOARD (admin.html only)
   ========================================================== */
#admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.admin-login-card {
  width: 100%;
  max-width: 380px;
  padding: 2.2rem;
  border-radius: 20px;
  text-align: center;

  & i.admin-login-icon {
    font-size: 2rem;
    color: var(--gold-500);
    margin-bottom: 10px;
  }

  & h2 {
    font-family: var(--font-head);
    color: var(--text-high);
    margin-bottom: 4px;
  }

  & p {
    font-size: 0.85rem;
    color: var(--white-60);
    margin-bottom: 1.5rem;
  }

  & form {
    text-align: left;
  }
}

.admin-login-error {
  color: #e05a5a;
  font-size: 0.82rem;
  margin-top: 10px;
  display: none;

  &.is-visible {
    display: block;
  }
}

#admin-dashboard {
  display: none;
  padding: 120px 5% 80px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;

  &.is-visible {
    display: block;
  }
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 12px;

  & h1 {
    font-family: var(--font-head);
    color: var(--text-high);
    font-size: 1.6rem;
  }
}

.admin-section {
  padding: 1.6rem;
  border-radius: 18px;
  margin-bottom: 1.6rem;

  & h2 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--text-high);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;

    & i {
      color: var(--gold-500);
    }
  }
}

.admin-event-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);

  &:last-child {
    border-bottom: none;
  }

  @media (max-width: 640px) {
    flex-direction: column;
  }
}

.admin-event-row__info {
  & h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--text-high);
    margin-bottom: 4px;
  }

  & .admin-event-row__meta {
    font-size: 0.8rem;
    color: var(--white-60);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;

    & span {
      display: flex;
      align-items: center;
      gap: 4px;
    }
  }
}

.admin-event-row__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.admin-icon-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--white-60);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;

  &:hover {
    color: var(--gold-400);
    border-color: var(--gold-500);
  }

  &.danger:hover {
    color: #e05a5a;
    border-color: #e05a5a;
  }
}

.admin-status-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;

  &.upcoming {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-400);
  }

  &.completed {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white-60);
  }

  &.cancelled {
    background: rgba(224, 90, 90, 0.15);
    color: #e05a5a;
  }
}

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 5, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;

  &.is-open {
    opacity: 1;
    pointer-events: auto;
  }
}

.admin-modal {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  border-radius: 20px;

  & h3 {
    font-family: var(--font-head);
    color: var(--text-high);
    margin-bottom: 1.4rem;
  }
}

.admin-zoom-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--white-60);
  margin: -0.6rem 0 1.2rem;

  & i {
    color: var(--gold-500);
    margin-top: 2px;
  }
}

.rsvp-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.85rem;

  &:last-child {
    border-bottom: none;
  }

  & .rsvp-list-row__who {
    color: var(--text-high);
    font-weight: 500;
  }

  & .rsvp-list-row__phone {
    color: var(--white-60);
    font-size: 0.8rem;
  }
}

.rsvp-sent-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--white-60);
  cursor: pointer;
  white-space: nowrap;

  & input {
    accent-color: var(--gold-500);
  }
}

/* ==========================================================
   33. LIGHT MODE — FLATTEN REMAINING GLASS EFFECTS
   Most glassmorphism/neumorphism is already flattened via the
   --glass-bg / --glass-blur / --neu-shadow-* token overrides
   above. A handful of spots hardcode their own blur() value
   instead of using the token, so they're neutralized here, plus
   the dark-mode-only ambient decoration is hidden outright.
   ========================================================== */
[data-theme="light"] {

  & .btn--ghost,
  & .header.is-scrolled,
  & .rsvp-overlay,
  & .poster-lightbox,
  & .admin-modal-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Ambient glow blobs and film-grain noise are tuned for a dark
     backdrop — on light they just look like smudges, so hide them. */
  & .orb {
    display: none;
  }
}

/* data-theme lives on <body> itself, so this needs to target body's
   own ::before, not a descendant of it. */
[data-theme="light"]::before {
  display: none;
}