/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --bg-card: #1a1a1a;
  --cyan: #00ffff;
  --magenta: #ff00ff;
  --yellow: #ffff00;
  --green: #39ff14;
  --text: #f2f2f2;
  --text-dim: #a0a0a0;
  --border-dim: #2a2a2a;
  --font-head: "JetBrains Mono", monospace;
  --font-body: "Space Grotesk", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }

::selection { background: var(--magenta); color: #0a0a0a; }

/* ============ MATRIX BACKGROUND ============ */
.matrix-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  .matrix-bg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .matrix-bg { display: none; }
}

/* ============ CURSOR: CROSS + TRAILING GLOW ============ */
.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 26px; height: 36px;
  overflow: visible;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
  filter: blur(3px) drop-shadow(0 0 8px rgba(0,255,255,0.6));
}
.cursor-trail.active { opacity: 1; }
.cursor-trail circle,
.cursor-trail rect {
  fill: rgba(0,255,255,0.55);
}

.cursor-cross {
  position: fixed;
  top: 0; left: 0;
  width: 18px; height: 24px;
  overflow: visible;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
  opacity: 0;
}
.cursor-cross.active { opacity: 1; }
.cursor-cross polygon {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px rgba(0,255,255,0.7));
}

@media (max-width: 900px), (hover: none) {
  .cursor-trail, .cursor-cross { display: none; }
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dim);
  transition: border-color 0.3s ease;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0,255,255,0.5);
}
.nav-logo-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-logo-img-gsus {
  width: 152px;
  height: 152px;
  border-radius: 0;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover {
  color: var(--cyan);
  text-shadow: 0 0 6px rgba(0,255,255,0.6);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: all 0.25s ease;
}
.hamburger.open span { background: var(--cyan); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,0,255,0.10), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(0,255,255,0.08), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(255,255,0,0.05), transparent 50%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-kicker-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 10px rgba(0,255,255,0.4));
}
.hero-kicker span {
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0,255,255,0.6);
  text-transform: uppercase;
}

.hero-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-logo {
  display: block;
  width: min(580px, 66vw);
  aspect-ratio: 2.14 / 1;
  object-fit: cover;
  object-position: 50% 57%;
  -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, black 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, black 55%, transparent 100%);
  filter: drop-shadow(0 0 22px rgba(255,0,255,0.18));
}

.hero-byline-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-signature-logo {
  display: block;
  width: clamp(110px, 15vw, 180px);
  height: clamp(110px, 15vw, 180px);
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 44px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1px solid var(--border-dim);
  border-radius: 12px;
}
.scroll-indicator span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(0,255,255,0.7);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  60% { transform: translate(-50%, 12px); opacity: 0; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--magenta);
  color: #0a0a0a;
  box-shadow: 0 0 10px rgba(255,0,255,0.35);
}
.btn-primary:hover {
  background: var(--yellow);
  box-shadow: 0 0 14px rgba(255,255,0,0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 8px rgba(0,255,255,0.15);
}
.btn-ghost:hover {
  background: rgba(0,255,255,0.08);
  box-shadow: 0 0 14px rgba(0,255,255,0.4);
  transform: translateY(-2px);
}

.btn-block { width: 100%; text-align: center; }

.btn-book {
  background: var(--magenta);
  color: #0a0a0a;
  padding: 12px 24px;
  min-height: 48px;
}
.btn-book:hover {
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(255,255,0,0.45);
}

/* ============ FADE-IN (hero load) ============ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 1s ease forwards;
}
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.35s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }
.fade-in:nth-child(4) { animation-delay: 0.85s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ SECTIONS ============ */
.section {
  padding: 120px 24px;
}
.section-dark {
  background: #050505;
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.section-title:hover {
  color: var(--green);
  text-shadow: 0 0 8px rgba(57,255,20,0.6), 0 0 24px rgba(57,255,20,0.3);
}
.section-lede {
  color: var(--text-dim);
  font-size: 1.15rem;
  margin-bottom: 56px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.section-lede:hover {
  color: var(--green);
  text-shadow: 0 0 8px rgba(57,255,20,0.5);
}

.subsection-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0,255,255,0.35);
  text-align: center;
  margin: 0 0 24px;
}
.subsection-title:not(:first-of-type) { margin-top: 56px; }

/* ============ THEORY/PRACTICE CARDS ============ */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 40px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}
.card:hover { transform: translateY(-3px); }

.card-cyan:hover { border-color: var(--cyan); box-shadow: 0 0 16px rgba(0,255,255,0.18); }
.card-magenta:hover { border-color: var(--magenta); box-shadow: 0 0 16px rgba(255,0,255,0.18); }

.card-tag {
  display: block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: 18px;
}
.card-magenta .card-tag { color: var(--magenta); }

.card h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.card p { color: var(--text-dim); margin-bottom: 14px; }
.card p:last-child { color: var(--text); font-weight: 600; margin-bottom: 0; }
.card-btn { margin-top: 24px; }

/* ============ DUALITY VIDEO GRID ============ */
.duality-video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}
.duality-video-card:nth-child(1):hover { border-color: var(--cyan); box-shadow: 0 0 16px rgba(0,255,255,0.18); }
.duality-video-card:nth-child(2):hover { border-color: var(--magenta); box-shadow: 0 0 16px rgba(255,0,255,0.18); }
.duality-video-card:hover { transform: translateY(-3px); }

.duality-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050505;
}

.duality-video-caption {
  padding: 20px 24px;
  color: var(--text-dim);
  font-size: 0.95rem;
  border-top: 1px solid var(--border-dim);
}

/* ============ HOVER REVEAL CARD (Health & Energy) ============ */
.hover-reveal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 64px 48px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.hover-reveal-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(0,255,255,0.15), 0 0 44px rgba(255,0,255,0.1);
}

.hover-reveal-inner {
  display: grid;
}
.hover-short,
.hover-long {
  grid-area: 1 / 1;
  font-family: var(--font-head);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hover-short {
  align-self: center;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
}
.hover-short-eyebrow {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--magenta);
  text-shadow: 0 0 8px rgba(255,0,255,0.5);
  margin-bottom: 14px;
}
.hover-short-tagline {
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0,255,255,0.4);
  line-height: 1.3;
  margin-bottom: 24px;
}
.hover-short-headline {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 16px;
}
.hover-short-sub {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hover-long {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}
.hover-reveal-card:hover .hover-short {
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
}
.hover-reveal-card:hover .hover-long {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.outcome-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 28px 0 14px;
}
.outcome-title:first-child { margin-top: 0; }
.outcome-cyan { color: var(--cyan); text-shadow: 0 0 8px rgba(0,255,255,0.4); }
.outcome-magenta { color: var(--magenta); text-shadow: 0 0 8px rgba(255,0,255,0.4); }

.hover-long p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.hover-long-closer {
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 24px;
}

/* ============ EVENTS ============ */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  padding: 24px 28px;
  transition: border-color 0.3s ease, transform 0.25s ease;
}
.event-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 10px 0;
  border: 1px solid var(--border-dim);
  border-radius: 4px;
}
.event-date .day {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyan);
}
.event-date .month {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.event-info { flex: 1; }
.event-info h4 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; }
.event-info p { color: var(--text-dim); font-size: 0.88rem; }

.event-price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--yellow);
  min-width: 90px;
  text-align: right;
}

/* ============ FOOTER ============ */
.footer {
  background: #050505;
  border-top: 1px solid var(--border-dim);
  padding: 80px 24px 0;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-unpolite-logo {
  width: 114px;
  height: 114px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-gsus-logo {
  display: block;
  width: 137px;
  height: 137px;
  object-fit: cover;
  object-position: 50% 50%;
}
.footer-brand p {
  margin-top: 12px;
  color: var(--text-dim);
  max-width: 320px;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--cyan); }

.email-signup {
  display: flex;
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  overflow: hidden;
}
.email-signup input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 14px;
  color: var(--text);
}
.email-signup input:focus { outline: none; }
.email-signup button {
  padding: 0 18px;
  color: var(--cyan);
  font-size: 1.1rem;
  transition: color 0.2s ease;
}
.email-signup button:hover { color: var(--yellow); }

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border-dim);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.social-icons { display: flex; gap: 18px; }
.social-icons a {
  font-size: 1.1rem;
  color: var(--text-dim);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.social-icons a:hover {
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0,255,255,0.6);
}

/* ============ VIDEO MODAL ============ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.92);
}
.video-modal-content {
  position: relative;
  width: min(960px, 100%);
  z-index: 1;
}
.video-modal-content video {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--border-dim);
  box-shadow: 0 0 30px rgba(0,255,255,0.15);
  display: block;
}
.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: var(--text);
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.video-modal-close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ============ MOBILE ============ */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 62px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10,10,10,0.98);
    border-bottom: 1px solid var(--border-dim);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-dim);
    min-height: 48px;
  }
  .hamburger { display: flex; }

  .split-grid { grid-template-columns: 1fr; }

  .hover-reveal-card { padding: 32px 20px; }
  .hover-reveal-card:hover { border-color: var(--border-dim); box-shadow: none; }
  .hover-reveal-inner { display: block; }
  .hover-short { display: none; }
  .hover-long, .hover-reveal-card:hover .hover-long {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .hero-logo-row { flex-direction: column; gap: 20px; }
  .hero-logo { width: 100%; }
  .hero-signature-logo { width: clamp(80px, 24vw, 120px); height: clamp(80px, 24vw, 120px); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .video-modal-close { top: -52px; }

  .event-card { flex-wrap: wrap; }
  .event-price { text-align: left; }
  .btn-book { width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .section { padding: 80px 20px; }

  .reveal, .fade-in {
    transition-duration: 0.4s;
    animation-duration: 0.6s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in, .reveal, .scroll-indicator span {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
