/* ===== Reset & base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0b0f;
  --bg-elevated: #12141c;
  --surface: #1a1d28;
  --border: rgba(255, 255, 255, 0.06);
  --text: #e8eaef;
  --text-muted: #8b8f9c;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.15);
  --accent-glow: rgba(0, 212, 170, 0.25);
  --gold: #f5b042;
  --gold-dim: rgba(245, 176, 66, 0.15);
  --purple: #a78bfa;
  --purple-dim: rgba(167, 139, 250, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===== Background effects ===== */
.noise {
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* ===== Gradient orbs ===== */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  animation-delay: -14s;
  animation-duration: 25s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.orb-3 { animation-name: orbFloatCenter; }
@keyframes orbFloatCenter {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* ===== Reveal (scroll animation) ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.course-card.is-visible,
.reveal.step.is-visible {
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 11, 15, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.header.glass {
  background: rgba(10, 11, 15, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-icon {
  color: var(--accent);
  font-size: 1.25rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav-guest,
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

/* Default: show guest nav, hide user nav */
.nav-user {
  display: none !important;
}

/* When body has .logged-in (set by script after me.php): hide guest, show user */
body.logged-in .nav-guest {
  display: none !important;
}
body.logged-in .nav-user {
  display: inline-flex !important;
}

/* When logged in (body.logged-in): hide guest-only, show user-only */
body.logged-in .guest-only {
  display: none !important;
}
.user-only {
  display: none !important;
}
body.logged-in .user-only {
  display: inline !important;
}
body.logged-in .hero-cta .user-only,
body.logged-in .cta-content .user-only {
  display: inline-block !important;
}
.cta-content .cta-user.user-only {
  display: none !important;
}
body.logged-in .cta-content .cta-user.user-only {
  display: block !important;
}
.cta-content .cta-guest.guest-only {
  display: block;
}
.footer-links .user-only a {
  margin-right: 1rem;
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: var(--bg);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.btn-logout {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-logout:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-ghost {
  color: var(--text-muted);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-glow {
  position: relative;
  box-shadow: 0 0 32px var(--accent-glow);
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}

.btn-glow:hover {
  box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(0, 212, 170, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

/* WhatsApp button - chat CTA */
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ee06a 0%, #159a8a 100%);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-whatsapp .wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  margin-right: 0.35rem;
  font-size: 1.15em;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.btn-whatsapp.btn-lg .wa-icon {
  width: 1.35em;
  height: 1.35em;
  margin-right: 0.45rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 2;
  padding: 8rem 2rem 6rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 2rem;
}

.pulse {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-title .line {
  display: block;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #5eead4 40%, var(--purple) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientTextShine 6s ease-in-out infinite;
}

@keyframes gradientTextShine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.arrow {
  transition: transform 0.2s;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 0;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

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

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero dashboard & floating cards */
.hero-visual {
  margin-top: 4rem;
  min-height: 220px;
  position: relative;
}

.hero-dashboard {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.dashboard-glow {
  position: absolute;
  width: 120%;
  height: 140%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.15;
  pointer-events: none;
}

.hero-grid-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  pointer-events: none;
}

.hero-grid-line.h {
  width: 80%;
  height: 1px;
  bottom: 30%;
  left: 10%;
}

.hero-grid-line.v {
  width: 1px;
  height: 60%;
  right: 35%;
  top: 20%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.03), transparent);
}

.card-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  z-index: 1;
}

.floating-card {
  position: relative;
  padding: 1.25rem 1.75rem;
  background: rgba(26, 29, 40, 0.7);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.floating-card.gradient-border {
  border: 1px solid var(--border);
}

.floating-card.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,212,170,0.4), rgba(167,139,250,0.3), rgba(245,176,66,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.floating-card:hover::before {
  opacity: 1;
}

.card-spark {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transition: left 0.5s;
}

.floating-card:hover .card-spark {
  left: 100%;
}

.card-label {
  color: var(--text-muted);
}

.card-value {
  color: var(--accent);
  font-weight: 500;
}

.floating-card.accent-card {
  background: rgba(0, 212, 170, 0.08);
  border-color: rgba(0, 212, 170, 0.25);
}

.floating-card.accent-card .card-value {
  color: var(--accent);
}

.card-1 { animation: float 4s ease-in-out infinite; }
.card-2 { animation: float 4s ease-in-out infinite 0.5s; }
.card-3 { animation: float 4s ease-in-out infinite 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Sections ===== */
section {
  position: relative;
  z-index: 2;
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 3rem;
}

/* ===== Registration section ===== */
.register-section {
  padding: 5rem 2rem 6rem;
}

.register-section .section-title {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.register-section .section-subtitle {
  max-width: 560px;
}

.register-steps {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  position: relative;
}

/* Vertical timeline line - connects step circles */
.register-steps::before {
  content: '';
  position: absolute;
  left: 27px; /* center under 56px circle */
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--purple), var(--accent));
  opacity: 0.4;
  border-radius: 1px;
}

.register-step {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  position: relative;
  padding: 1.75rem 0;
}

.register-step:first-child {
  padding-top: 0;
}

.register-step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  background: rgba(26, 29, 40, 0.9);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(0, 212, 170, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  z-index: 1;
}

.register-step-content {
  flex: 1;
  padding: 1.5rem 1.75rem;
  background: rgba(26, 29, 40, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.register-step-content:hover {
  border-color: rgba(0, 212, 170, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.register-step-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.register-step-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.register-step-content p strong {
  color: var(--accent);
  font-weight: 600;
}

.register-step-content .btn {
  margin-top: 0;
}

/* Ready to start CTA box */
.register-cta-box {
  position: relative;
  text-align: center;
  padding: 3rem 2.5rem;
  background: rgba(18, 20, 28, 0.85);
  backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.register-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.register-cta-box p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.register-cta-box.gradient-border-wrap::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.register-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
}

.register-cta-buttons .btn {
  min-width: 180px;
  justify-content: center;
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5), 0 0 0 8px rgba(37, 211, 102, 0.15);
}

.wa-float-icon {
  font-size: 1.75rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Course grid */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.course-card {
  position: relative;
  padding: 1.75rem;
  background: rgba(26, 29, 40, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.course-card:hover {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 212, 170, 0.1);
}

.course-card:hover::before {
  opacity: 0.6;
}

.course-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
  background: rgba(0, 212, 170, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.course-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.course-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.course-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--accent), var(--border), transparent);
  opacity: 0.6;
}

.step {
  position: relative;
  padding: 2.5rem 2rem;
  background: rgba(26, 29, 40, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 0 0.5rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.step:hover {
  border-color: rgba(0, 212, 170, 0.25);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.1), 0 16px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  background: linear-gradient(135deg, var(--accent-dim), var(--purple-dim));
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: 6px;
  color: var(--accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* CTA section */
.cta-section {
  padding: 5rem 2rem;
}

.cta-content {
  position: relative;
  text-align: center;
  padding: 3.5rem 2.5rem;
  background: rgba(18, 20, 28, 0.8);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.cta-content.gradient-border-wrap {
  isolation: isolate;
}

.cta-content.gradient-border-wrap::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), var(--purple), var(--gold));
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.cta-content > * {
  position: relative;
  z-index: 1;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto;
  justify-content: center;
}

.cta-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
}

.cta-form input::placeholder {
  color: var(--text-muted);
}

.cta-form input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* ===== Responsive ===== */
/* Mobile nav when open */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
  }

  .nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .menu-toggle span {
    transition: transform 0.2s, opacity 0.2s;
  }

  .hero {
    padding: 6rem 1.5rem 4rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .stat-divider {
    display: none;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form input {
    min-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .steps::before {
    display: none;
  }

  .step {
    margin: 0;
  }

  .register-steps::before {
    left: 23px;
    top: 24px;
    bottom: 24px;
  }

  .register-step {
    flex-direction: row;
    gap: 1.25rem;
    padding: 1.5rem 0;
  }

  .register-step-num {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .register-step-content {
    padding: 1.25rem 1.25rem;
  }

  .register-step-content h3 {
    font-size: 1.15rem;
  }

  .register-cta-box {
    padding: 2rem 1.5rem;
  }

  .register-cta-box h3 {
    font-size: 1.25rem;
  }

  .register-cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .register-cta-buttons .btn {
    width: 100%;
    min-width: unset;
    justify-content: center;
  }
}

/* ===== Site-wide disclaimer banner (sticky bottom) ===== */
.disclaimer-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.disclaimer-banner.is-closed {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.disclaimer-banner-text {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
}

.disclaimer-banner-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.disclaimer-banner-close:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--surface);
}
