/* =============================================
   VIRAL FLOW — STYLES.CSS
   taste-skill: DESIGN_VARIANCE:8 MOTION:6 DENSITY:4
   ============================================= */

/* ─── DESIGN TOKENS ─── */
:root {
  --bg:            #0A0A0A;
  --bg-surface:    #111111;
  --bg-card:       #161616;
  --bg-card-hover: #1d1d1d;
  --border:        rgba(255,255,255,0.08);
  --border-light:  rgba(255,255,255,0.12);

  --accent:        #D4AF37;
  --accent-muted:  rgba(212,175,55,0.15);
  --accent-glow:   rgba(212,175,55,0.25);

  --text:          #f0f0f0;
  --muted:         #7a7a7a;
  --muted-light:   #9a9a9a;

  --font:          'Outfit', system-ui, sans-serif;

  /* 8px grid spacing scale */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-pill: 999px;

  --transition: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── GLOBAL RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-transform: capitalize;
}

/* ─── AMBIENT VFX ─── */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: overlay;
}

.ambient-orbs {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  background: var(--accent);
  animation: orb-float 12s ease-in-out infinite alternate;
  will-change: transform;
}

.orb-1 { width: 400px; height: 400px; top: -10%; left: -10%; animation-duration: 14s; }
.orb-2 { width: 600px; height: 500px; bottom: 20%; right: -20%; background: rgba(255, 170, 0, 0.4); animation-duration: 11s; animation-direction: alternate-reverse; }
.orb-3 { width: 350px; height: 350px; top: 40%; left: 30%; animation-duration: 13s; }
.orb-4 { width: 500px; height: 500px; bottom: -10%; left: -10%; animation-duration: 10s; animation-direction: alternate-reverse; }

@keyframes orb-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.05); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

img, svg { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }
ul[role="list"] { list-style: none; }

/* ─── LAYOUT CONTAINER ─── */
.container {
  width: 70%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

/* Mobile exception - keep full width on mobile */
@media (max-width: 768px) {
  .container {
    width: 100%;
    padding-inline: var(--sp-3);
  }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

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

/* ─── ACCENT TEXT ─── */
.accent-text {
  background: linear-gradient(
    140deg,
    #FFF0A0 0%,
    #F5C518 20%,
    #D4AF37 45%,
    #FFD966 62%,
    #A07010 82%,
    #D4AF37 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.45));
}

/* ─── SECTION LABELS ─── */
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--sp-4);
}


/* ─── NAVIGATION ─── */
#site-nav {
  position: fixed;
  top: var(--sp-3);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - var(--sp-4));
  max-width: 900px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#site-nav.nav-hidden {
  transform: translateX(-50%) translateY(-150%);
  opacity: 0;
  pointer-events: none;
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 10px 14px 10px var(--sp-3);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-pill.scrolled {
  background: rgba(10,10,10,0.92);
  box-shadow: 0 8px 48px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted-light);
  padding: 6px var(--sp-1);
  border-radius: var(--radius-pill);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}


/* ─── HERO ─── */
.section-hero {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  max-width: 900px;
  height: 70vh;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.parallax-bg {
  will-change: transform;
}

.section-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-4);
  letter-spacing: 0.04em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #D4AF37; color: #0A0A0A;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: var(--sp-3);
  max-width: 900px;
}

.hero-sub {
  font-size: clamp(0.88rem, 1.8vw, 1.05rem);
  color: var(--muted-light);
  max-width: 520px;
  margin-bottom: var(--sp-5);
  line-height: 1.65;
}

.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--sp-10);
}

.hero-sub-cta {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ─── X-FACTOR PREMIUM STYLES ─── */
.text-glow {
  filter: drop-shadow(0 0 0px rgba(255,255,255,0));
  animation: text-glow-in 2s forwards 0.5s;
}
@keyframes text-glow-in {
  to { filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.18)) drop-shadow(0 0 50px rgba(212, 175, 55, 0.1)); }
}

.hero-ambient-mesh::after {
  content: ''; position: absolute; width: 140vw; height: 140vh; top: -20vh; left: -20vw;
  background: radial-gradient(circle at 10% 20%, rgba(212,175,55,0.05), transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(40,40,40,0.3), transparent 60%);
  filter: blur(80px); opacity: 0.8; z-index: 0; pointer-events: none;
  animation: mesh-shift 20s ease-in-out infinite alternate;
}
@keyframes mesh-shift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.05) translate(-3%, 2%); }
}

.border-glow-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.border-glow-wrapper::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 60%, rgba(212,175,55,0.6) 80%, transparent 100%);
  animation: rotate-glow 4s linear infinite;
  z-index: 0;
}
@keyframes rotate-glow {
  100% { transform: rotate(360deg); }
}
.border-glow-inner {
  position: relative;
  z-index: 1;
  background: rgba(14,14,14,0.6) !important;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  margin: 1.5px;
  height: calc(100% - 3px) !important;
  width: calc(100% - 3px) !important;
  border-radius: calc(var(--radius-xl) - 1.5px) !important;
  border: none !important;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06) !important;
}


.magnetic-wrapper {
  display: inline-block;
  will-change: transform;
}

/* Video mockup */
.hero-video {
  position: relative;
  width: 70%;
  max-width: 900px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: visible;
  margin-inline: auto;
}

/* Mobile video exception */
@media (max-width: 768px) {
  .hero-video {
    width: 100%;
    max-width: 100%;
  }
}

/* Disable legacy rotating glow panel on video only */
.hero-video.border-glow-wrapper::before {
  display: none;
}

/* Static ambient halo outside the frame */
.hero-video::before {
  content: "";
  position: absolute;
  inset: -34px;
  border-radius: calc(var(--radius-xl) + 34px);
  pointer-events: none;
  z-index: 10;
  background: radial-gradient(ellipse at center, rgba(245, 197, 24, 0.28) 0%, rgba(245, 197, 24, 0.08) 45%, transparent 75%);
  filter: blur(22px);
  opacity: 1;
}

.hero-video::after {
  display: none;
}

.video-glow {
  display: none;
}

.border-beam-aura,
.border-beam-chroma,
.border-beam-ambient,
.border-beam-core {
  display: none;
}

.border-beam-core.core-1 {
  position: absolute;
  display: block;
  inset: -5.5px;
  border-radius: calc(var(--radius-xl) + 5.5px);
  z-index: 13;
  pointer-events: none;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 3.5px;
  background: conic-gradient(
    from var(--beam-angle, 0deg),
    transparent 0deg 324deg,
    rgba(245, 197, 24, 0.0) 332deg,
    rgba(245, 197, 24, 0.95) 342deg,
    #fff6cf 348deg,
    rgba(245, 197, 24, 1) 355deg,
    rgba(245, 197, 24, 0.0) 360deg
  );
  filter: drop-shadow(0 0 8px rgba(245, 197, 24, 1))
          drop-shadow(0 0 22px rgba(245, 197, 24, 0.95))
          drop-shadow(0 0 42px rgba(245, 197, 24, 0.85))
          drop-shadow(0 0 70px rgba(245, 197, 24, 0.55));
  animation: beam-rotate 3.6s linear infinite;
  will-change: transform, opacity;
}

.core-1 {
  opacity: 1;
}

.core-2 {
  display: none;
}

@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes beam-rotate {
  to { --beam-angle: 360deg; }
}

.video-clipper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 4px);
  background: #000;
}

.video-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

.play-btn {
  width: 72px;
  height: 72px;
  background: #D4AF37; color: #0A0A0A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 32px rgba(212,175,55,0.4);
}
.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 48px rgba(212,175,55,0.5);
}

.video-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ─── BENEFITS ─── */
.section-benefits {
  padding-block: var(--sp-16);
  border-top: 1px solid var(--border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--sp-6);
}

.benefit-item {
  background: var(--bg-surface);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  will-change: transform;
}
.benefit-item:hover { 
  background: var(--bg-card-hover); 
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(245, 197, 24, 0.25);
  z-index: 10;
  position: relative;
}

.benefit-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.benefit-desc {
  font-size: 0.9rem;
  color: var(--muted-light);
  line-height: 1.65;
}

.benefits-cta { text-align: center; }

/* ─── CURRICULUM ─── */
.section-curriculum {
  padding-block: var(--sp-16);
  border-top: 1px solid var(--border);
}

.curriculum-tabs {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
  padding: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  width: fit-content;
}

.tab-pill {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  color: var(--muted-light);
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}
.tab-pill:hover { color: var(--text); }
.tab-pill.active {
  background: #D4AF37; color: #0A0A0A;
  color: #fff;
  box-shadow: 0 2px 16px rgba(212,175,55,0.3);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.curriculum-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.curriculum-item {
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  transition: background var(--transition-fast);
}
.curriculum-item:last-child { border-bottom: none; }
.curriculum-item:hover { background: var(--bg-card-hover); }
.curriculum-item.open { background: var(--bg-card); }

.curriculum-toggle {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  color: var(--text);
  transition: color var(--transition-fast);
}

.curriculum-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  min-width: 24px;
}

.curriculum-title {
  font-size: 1rem;
  font-weight: 600;
  flex: 1;
}

.curriculum-chevron {
  color: var(--muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}
.curriculum-item.open .curriculum-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.curriculum-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}
.curriculum-body p {
  padding: 0 var(--sp-4) var(--sp-3) calc(var(--sp-3) + 24px + var(--sp-3));
  font-size: 0.92rem;
  color: var(--muted-light);
  line-height: 1.7;
}
.curriculum-item.open .curriculum-body { max-height: 200px; }

/* ─── CONTENT MANAGER ─── */
.section-manager {
  padding-block: var(--sp-16);
  border-top: 1px solid var(--border);
}

.manager-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

.manager-desc {
  font-size: 1rem;
  color: var(--muted-light);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: var(--sp-4);
}

.manager-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-5);
}

.manager-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.manager-feature-item:last-child { border-bottom: none; }

.feature-dot {
  width: 8px;
  height: 8px;
  background: #D4AF37; color: #0A0A0A;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Mockup */
.manager-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px var(--sp-3);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  opacity: 0.8;
}

.mockup-title {
  font-size: 0.78rem;
  color: var(--muted);
  margin-left: var(--sp-1);
}

.mockup-body {
  padding: var(--sp-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: border-color var(--transition-fast);
}
.mockup-row:hover { border-color: var(--border-light); }

.shimmer-row {
  border-color: rgba(212,175,55,0.25);
  background: rgba(212,175,55,0.06);
}

.mockup-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted-light);
  white-space: nowrap;
}
.mockup-tag.accent {
  background: rgba(212,175,55,0.15);
  border-color: rgba(212,175,55,0.3);
  color: var(--accent);
}

.mockup-text {
  font-size: 0.84rem;
  color: var(--muted-light);
}

/* ─── TESTIMONIAL VIDEO EMBED ─── */
@property --tv-beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.testimonial-video {
  position: relative;
  width: 72%;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  background: #000;
  margin-bottom: var(--sp-3);
  flex-shrink: 0;
}

/* Electric yellow border beam */
.testimonial-video::before {
  content: '';
  position: absolute;
  inset: -2.5px;
  border-radius: 14.5px;
  z-index: 2;
  pointer-events: none;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  padding: 2.5px;
  background: conic-gradient(
    from var(--tv-beam-angle, 0deg),
    transparent 0deg 310deg,
    rgba(255, 220, 0, 0.0) 322deg,
    rgba(255, 220, 0, 0.9) 340deg,
    #fff9a0 348deg,
    rgba(255, 220, 0, 0.9) 356deg,
    rgba(255, 220, 0, 0.0) 360deg
  );
  filter:
    drop-shadow(0 0 5px rgba(255, 220, 0, 1))
    drop-shadow(0 0 14px rgba(255, 220, 0, 0.7))
    drop-shadow(0 0 28px rgba(255, 220, 0, 0.35));
  animation: tv-beam-rotate 7s linear infinite;
}

/* Clip iframe to rounded corners */
.testimonial-video::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.testimonial-video iframe {
  border-radius: 12px;
  overflow: hidden;
}

@keyframes tv-beam-rotate {
  to { --tv-beam-angle: 360deg; }
}

/* ─── TESTIMONIALS ─── */
.section-testimonials {
  padding-block: var(--sp-16);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--sp-8);
}

.testimonial-card {
  background: var(--bg-surface);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  will-change: transform;
}
.testimonial-card:hover { 
  background: var(--bg-card-hover); 
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(245, 197, 24, 0.25);
  z-index: 10;
  position: relative;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--accent-muted);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-handle {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.testimonial-platform {
  font-size: 0.78rem;
  color: var(--muted);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--muted-light);
  line-height: 1.7;
  flex: 1;
}
.testimonial-quote em { font-style: normal; }

.testimonial-stat {
  display: flex;
  flex-direction: column;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Marquee */
.marquee-track {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-inner span:not(.marquee-dot) {
  position: relative;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.marquee-inner span:not(.marquee-dot)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transition: width var(--transition-fast);
}

.marquee-inner span:not(.marquee-dot):hover {
  color: var(--text);
}

.marquee-inner span:not(.marquee-dot):hover::after {
  width: 100%;
}

.marquee-dot {
  color: var(--accent);
  opacity: 0.5;
}

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

/* ─── PRICING ─── */
.section-pricing {
  padding-block: var(--sp-16);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pricing-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  max-width: 700px;
  height: 60vh;
  background: radial-gradient(ellipse at 50% 100%, rgba(212,175,55,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.section-pricing .container { position: relative; z-index: 1; }

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  max-width: 560px;
  margin-inline: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,175,55,0.08), inset 0 1px 0 rgba(255,255,255,0.04);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  will-change: transform;
}
.pricing-card:hover { 
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 20px rgba(245, 197, 24, 0.25), inset 0 1px 0 rgba(255,255,255,0.04);
}

.pricing-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  margin-bottom: var(--sp-4);
}

.pricing-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.pricing-tagline {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 4px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}

.pricing-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--muted);
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: var(--sp-4);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--sp-5);
  list-style: none;
}

.pricing-feat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--muted-light);
}

.feat-check { flex-shrink: 0; }

.pricing-cancel {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: var(--sp-2);
}

/* ─── ABOUT ─── */
.section-about {
  padding-block: var(--sp-16);
  border-top: 1px solid var(--border);
  text-align: center;
}

.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.about-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
}

.about-sub {
  font-size: 1rem;
  color: var(--muted-light);
  max-width: 480px;
  line-height: 1.65;
}

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: var(--sp-4);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.footer-nav {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color var(--transition-fast);
}
.footer-nav a:hover { color: var(--text); }

/* ─── RESPONSIVE ─── */

/* Tablet and below */
@media (max-width: 900px) {
  .nav-links { display: none; }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .manager-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .curriculum-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .section-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .hero-headline {
    font-size: clamp(2rem, 6vw, 3.2rem);
  }

  .hero-sub {
    font-size: clamp(0.8rem, 2.2vw, 0.96rem);
  }

  .pricing-card {
    padding: var(--sp-4);
  }
}

/* Mobile */
@media (max-width: 640px) {
  #site-nav { 
    top: var(--sp-2); 
    width: calc(100% - var(--sp-3)); 
  }

  .nav-logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .nav-logo span {
    font-size: 0.75rem;
    white-space: normal;
    line-height: 1.2;
  }

  .hero-headline { 
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    line-height: 1.2;
  }

  .hero-sub {
    font-size: clamp(0.7rem, 2.2vw, 0.8rem);
    max-width: 100%;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    margin-bottom: 12px;
  }

  .hero-cta {
    flex-direction: column;
    gap: var(--sp-1);
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .section-label {
    font-size: 0.7rem;
  }

  .benefit-item {
    padding: var(--sp-4);
  }

  .benefit-title {
    font-size: 1.1rem;
  }

  .benefit-desc {
    font-size: 0.85rem;
  }

  .curriculum-tabs {
    width: 100%;
    justify-content: flex-start;
    overflow: visible;
    flex-wrap: wrap;
    border-radius: var(--radius-lg);
    padding: 6px;
    gap: 6px;
  }

  .tab-pill {
    font-size: 0.8rem;
    padding: 8px 14px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
  }

  .curriculum-toggle {
    padding: var(--sp-2) var(--sp-3);
  }

  .curriculum-title {
    font-size: 0.9rem;
  }

  .curriculum-body p {
    font-size: 0.85rem;
    padding: 0 var(--sp-2) var(--sp-2) calc(var(--sp-2) + 24px + var(--sp-2));
  }

  .manager-feature-item {
    font-size: 0.9rem;
    padding: 10px 0;
  }

  .testimonial-card {
    padding: var(--sp-4);
  }

  .testimonial-quote {
    font-size: 0.9rem;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .section-pricing {
    padding-block: var(--sp-4);
  }

  .pricing-card {
    padding: var(--sp-3) var(--sp-3) var(--sp-2);
    max-width: 100%;
    text-align: center;
  }

  .pricing-card-header { 
    flex-direction: column;
    align-items: center;
    gap: var(--sp-1);
    margin-bottom: var(--sp-2);
  }

  .pricing-name {
    font-size: 1.1rem !important;
  }

  .pricing-tagline {
    font-size: 0.72rem;
    margin-top: 2px;
  }

  .pricing-price {
    font-size: 1.4rem !important;
  }

  .pricing-period {
    font-size: 0.75rem !important;
  }

  .pricing-divider {
    margin-bottom: var(--sp-2);
  }

  .pricing-features {
    gap: 7px;
    margin-bottom: var(--sp-2);
  }

  .pricing-feat {
    font-size: 0.78rem;
    gap: 8px;
    justify-content: center;
  }

  .pricing-cancel {
    font-size: 0.68rem;
    margin-top: 6px;
  }

  .section-pricing .hero-sub {
    margin-bottom: 16px !important;
    font-size: 0.7rem;
  }

  .footer-inner { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: var(--sp-2); 
  }

  .footer-brand {
    font-size: 0.85rem;
  }

  .footer-nav a {
    font-size: 0.75rem;
  }
}

/* ═══════════════════════════════════════════════
   ENHANCEMENT LAYER — GLOW + METALLIC UPGRADES
   taste-skill: MOTION:6 elevated, VARIANCE:8 kept
   ═══════════════════════════════════════════════ */

/* ─── METALLIC GRADIENT TEXT CLASS ─── */
.metallic-text {
  background: linear-gradient(
    155deg,
    #ffffff 0%,
    #e8e8e8 18%,
    #c0c0c0 38%,
    #f5f5f5 54%,
    #a0a0a0 70%,
    #d8d8d8 84%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 20px rgba(255, 255, 255, 0.18));
}

/* ─── STAT NUMBERS → METALLIC GOLD ─── */
.stat-num {
  background: linear-gradient(
    140deg,
    #FFF0A0 0%,
    #F5C518 22%,
    #D4AF37 48%,
    #FFD966 65%,
    #A07010 85%,
    #D4AF37 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.65));
}

/* ─── BENEFIT NUMBERS → METALLIC ─── */
.benefit-number {
  background: linear-gradient(135deg, #FFEF88 0%, #D4AF37 50%, #A0720E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
}

/* ─── CURRICULUM NUMBERS → GLOW ─── */
.curriculum-num {
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.55);
}

/* ─── ENHANCED AMBIENT ORBS ─── */
.orb {
  opacity: 0.22;
}
.orb-1 { opacity: 0.18; filter: blur(90px); }
.orb-2 { opacity: 0.3; filter: blur(70px); }
.orb-3 { opacity: 0.16; filter: blur(110px); }
.orb-4 { opacity: 0.22; filter: blur(85px); }

/* ─── SECTION LABELS → GLOWING ─── */
.section-label {
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.55), 0 0 28px rgba(212, 175, 55, 0.22);
  letter-spacing: 0.22em;
}

/* ─── HERO BADGE → REFINED GLOW ─── */
.hero-badge {
  box-shadow:
    0 0 20px rgba(212, 175, 55, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 12px rgba(212, 175, 55, 0.06);
}

/* ─── FEATURE DOTS → PULSING GLOW ─── */
.feature-dot {
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.7), 0 0 18px rgba(212, 175, 55, 0.35);
  animation: dot-glow-pulse 2.6s ease-in-out infinite;
}
@keyframes dot-glow-pulse {
  0%, 100% {
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.6), 0 0 14px rgba(212, 175, 55, 0.28);
  }
  50% {
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.95), 0 0 28px rgba(212, 175, 55, 0.5), 0 0 42px rgba(212, 175, 55, 0.18);
  }
}

/* ─── BENEFIT ITEMS → SPOTLIGHT + REFRACTION ─── */
.benefit-item {
  position: relative;
}
.benefit-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, -60%) var(--mouse-y, -60%),
    rgba(212, 175, 55, 0.07) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.benefit-item:hover::before { opacity: 1; }
.benefit-item > * { position: relative; z-index: 1; }
.benefit-item {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ─── TESTIMONIAL CARDS → SPOTLIGHT + GLOW ─── */
.testimonial-card {
  position: relative;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, -60%) var(--mouse-y, -60%),
    rgba(212, 175, 55, 0.07) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.testimonial-card:hover::before { opacity: 1; }
.testimonial-card > * { position: relative; z-index: 1; }

/* ─── TESTIMONIAL AVATAR → GLOW RING ─── */
.testimonial-avatar {
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 0 12px rgba(212, 175, 55, 0.28),
    0 0 24px rgba(212, 175, 55, 0.12);
  animation: avatar-glow 3.2s ease-in-out infinite alternate;
}
@keyframes avatar-glow {
  from {
    box-shadow:
      0 0 0 1px rgba(212, 175, 55, 0.3),
      0 0 10px rgba(212, 175, 55, 0.22),
      0 0 20px rgba(212, 175, 55, 0.08);
  }
  to {
    box-shadow:
      0 0 0 1px rgba(212, 175, 55, 0.55),
      0 0 18px rgba(212, 175, 55, 0.45),
      0 0 34px rgba(212, 175, 55, 0.18);
  }
}

/* ─── PRICING CARD → ROTATING BORDER BEAM ─── */
@property --pricing-beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.pricing-card {
  position: relative;
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  z-index: 0;
  pointer-events: none;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  padding: 2px;
  background: conic-gradient(
    from var(--pricing-beam-angle, 0deg),
    transparent 0deg 300deg,
    rgba(212, 175, 55, 0.0) 312deg,
    rgba(212, 175, 55, 0.85) 330deg,
    #fff5a0 341deg,
    rgba(212, 175, 55, 0.85) 352deg,
    rgba(212, 175, 55, 0.0) 360deg
  );
  filter:
    drop-shadow(0 0 6px rgba(212, 175, 55, 0.9))
    drop-shadow(0 0 18px rgba(212, 175, 55, 0.55))
    drop-shadow(0 0 36px rgba(212, 175, 55, 0.25));
  animation: pricing-beam-rotate 5.5s linear infinite;
}

@keyframes pricing-beam-rotate {
  to { --pricing-beam-angle: 360deg; }
}

/* ─── PRICING CARD AMBIENT UNDER-GLOW ─── */
.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.08) inset;
  pointer-events: none;
  z-index: 1;
}

/* ─── MARQUEE DOTS → GLOWING ─── */
.marquee-dot {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.75), 0 0 20px rgba(212, 175, 55, 0.35);
  opacity: 0.9;
}

/* ─── ACTIVE TAB PILL → METALLIC ─── */
.tab-pill.active {
  background: linear-gradient(135deg, #FFDF73 0%, #D4AF37 50%, #A68422 100%) !important;
  color: #0A0A0A !important;
  box-shadow: 0 2px 18px rgba(212, 175, 55, 0.45), 0 0 28px rgba(212, 175, 55, 0.2) !important;
}


/* ─── SCROLL PROGRESS BAR → GLOWING GRADIENT ─── */
#scroll-progress-bar {
  background: linear-gradient(to right, #D4AF37, #FFE066, #D4AF37) !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.7), 0 0 20px rgba(212, 175, 55, 0.35) !important;
  transition: width 0.1s ease-out !important;
}

/* ─── SHIMMER ROW → PULSING AMBIENT ─── */
.shimmer-row {
  animation: shimmer-pulse 3.2s ease-in-out infinite;
}
@keyframes shimmer-pulse {
  0%, 100% {
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.05);
  }
  50% {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.12), inset 0 0 12px rgba(212, 175, 55, 0.05);
  }
}

/* ─── MOCKUP TAG ACCENT → GLOWING ─── */
.mockup-tag.accent {
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* ─── SECTION DIVIDERS → GLOWING GRADIENT LINES ─── */
.section-benefits,
.section-curriculum,
.section-manager,
.section-testimonials,
.section-pricing,
.section-about {
  border-top: none;
  border-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.12) 15%,
    rgba(212, 175, 55, 0.42) 50%,
    rgba(212, 175, 55, 0.12) 85%,
    transparent 100%
  ) 1;
  border-top-width: 1px;
  border-top-style: solid;
}

/* ─── LIQUID GLASS MANAGER MOCKUP ─── */
.manager-mockup {
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 175, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 40px rgba(212, 175, 55, 0.03);
}

/* ─── HERO VIDEO AMBIENT GLOW → STRONGER ─── */
.hero-video::before {
  background: radial-gradient(ellipse at center, rgba(245, 197, 24, 0.36) 0%, rgba(245, 197, 24, 0.1) 42%, transparent 72%);
  filter: blur(18px);
}


/* Small mobile */
@media (max-width: 380px) {
  .container {
    padding-inline: var(--sp-2);
  }

  .hero-headline {
    font-size: clamp(1.6rem, 9vw, 2.4rem);
  }

  .hero-sub {
    font-size: clamp(0.65rem, 2vw, 0.74rem);
  }

  .pricing-card {
    padding: var(--sp-3);
  }
}

/* ═══════════════════════════════════════════
   GALAXY BUTTON
   ═══════════════════════════════════════════ */

.galaxy-btn {
  --btn-bg: #0e0e0e;
  --btn-text: #f5f0e0;
  --btn-primary: #D4AF37;
  --btn-secondary: #B8860B;
  --btn-accent: #F0C040;

  font-family: var(--font);
  font-size: 17px;
  padding: 0.9em 2em;
  border-radius: 0.75em;
  border: none;
  background: var(--btn-bg);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  display: inline-flex;
  box-shadow: 0 0.5em 1.5em -0.5em rgba(212, 175, 55, 0.35);
}

.galaxy-btn:focus-visible {
  outline: 2px solid var(--btn-primary);
  outline-offset: 4px;
}

.galaxy-btn:active {
  transform: scale(0.96);
}

.galaxy-btn__content {
  display: flex;
  align-items: center;
  gap: 0.75em;
  position: relative;
  z-index: 2;
  color: var(--btn-text);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.galaxy-btn__icon {
  width: 1.25em;
  height: 1.25em;
  transition: transform 0.3s ease;
  fill: var(--btn-text);
}

.galaxy-btn:hover .galaxy-btn__icon {
  transform: translateX(0.25em) rotate(-10deg);
}

/* Wrapper contains the rotating border ring, clipped cleanly */
.galaxy-btn-glow {
  position: relative;
  display: inline-flex;
  border-radius: 0.85em;
  padding: 2px;
  overflow: hidden;
  box-shadow: 0 0 14px 3px rgba(212, 175, 55, 0.30);
  transition: box-shadow 0.3s ease;
}

.galaxy-btn-glow:hover {
  box-shadow: 0 0 20px 5px rgba(212, 175, 55, 0.50);
}

.galaxy-btn-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #D4AF37;
}

/* Button itself: no ::before needed, ::after is the glass fill */
.galaxy-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent) top / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(255,255,255,0.8), transparent, rgba(255,255,255,0.3)) left / 1px 100% no-repeat,
    rgba(255, 243, 180, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 6px 3px rgba(255, 255, 255, 0.3);
}

.galaxy-btn__stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, white 1px, transparent 1.5px),
    radial-gradient(circle at 80% 70%, white 1px, transparent 1.5px),
    radial-gradient(circle at 40% 80%, white 0.5px, transparent 1px);
  background-size: 120% 120%;
  opacity: 0.3;
  transition: opacity 0.3s ease, background-position 0.3s ease;
}

.galaxy-btn:hover .galaxy-btn__stars {
  opacity: 0.8;
  animation: star-drift 5s linear infinite alternate;
}

@keyframes rotate-nebula {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes star-drift {
  0%   { transform: scale(1); }
  100% { transform: scale(1.1) translate(-2%, -2%); }
}

/* ─── GALAXY BTN — NAV SIZE ─── */
.galaxy-btn-glow--nav {
  border-radius: 0.65em;
  box-shadow: 0 0 10px 2px rgba(212, 175, 55, 0.22);
}
.galaxy-btn-glow--nav:hover {
  box-shadow: 0 0 14px 3px rgba(212, 175, 55, 0.38);
}
.galaxy-btn--nav {
  font-size: 13px;
  padding: 0.55em 1.1em;
  border-radius: 0.55em;
}

/* ─── GALAXY BTN — SECTION CTA WRAPPER ─── */
.section-galaxy-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 600px) {
  .galaxy-btn {
    font-size: 14px;
    padding: 0.8em 1.4em;
  }
}

@media (max-width: 480px) {
  .galaxy-btn {
    font-size: 13px;
    padding: 0.75em 1.2em;
  }
  .galaxy-btn--nav {
    font-size: 11px;
    padding: 0.5em 0.85em;
  }
  .galaxy-btn--nav .galaxy-btn__icon {
    display: none;
  }
}
