@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:         #0084FF;
  --purple:       #7231EC;
  --violet:       #B948FF;
  --bg:           #07050f;
  --bg-card:      #0f0b20;
  --border:       rgba(114, 49, 236, 0.28);
  --border-hover: rgba(185, 72, 255, 0.55);
  --text:         #ffffff;
  --text-muted:   rgba(255, 255, 255, 0.62);
  --text-subtle:  rgba(255, 255, 255, 0.3);
  --gradient:        linear-gradient(135deg, #0084FF 0%, #7231EC 50%, #B948FF 100%);
  --gradient-text:   linear-gradient(100deg, #0084FF, #B948FF);
  --nav-height: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Ambient background glow */
body::before {
  content: '';
  position: fixed;
  top: -30%;
  left: -15%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(114,49,236,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -25%;
  right: -10%;
  width: 48%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(0,132,255,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════ NAV ═══════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 200;
  background: rgba(7, 5, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  gap: 2rem;
}

.nav-brand {
  font-family: 'Exo 2', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.15rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text); background: rgba(114,49,236,0.14); }
.nav-links a.active { color: var(--violet); background: rgba(114,49,236,0.12); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ═══════════════════════ MAIN / LAYOUT ═══════════════════════ */
main {
  padding-top: var(--nav-height);
  position: relative;
  z-index: 1;
}

.page-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

/* ═══════════════════════ TYPOGRAPHY ═══════════════════════ */
h1, h2, h3, h4, h5 { font-family: 'Exo 2', sans-serif; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-eyebrow {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.6rem;
  display: block;
}

.page-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.page-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

.divider {
  width: 56px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 0.9rem 0 1.6rem;
}

/* ═══════════════════════ CARDS ═══════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 44px rgba(114, 49, 236, 0.2);
}

/* ═══════════════════════ VIDEO ═══════════════════════ */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ═══════════════════════ BUTTONS ═══════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(114, 49, 236, 0.4);
  opacity: 0.93;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  background: rgba(114, 49, 236, 0.14);
  transform: translateY(-2px);
}

/* ═══════════════════════ EMAIL SIGNUP ═══════════════════════ */
.email-signup-box {
  text-align: center;
}

.email-signup-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
}

.email-signup-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.email-input {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  width: 240px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.email-input::placeholder { color: var(--text-subtle); }
.email-input:focus {
  border-color: var(--border-hover);
  background: rgba(114, 49, 236, 0.07);
}
.email-input:disabled { opacity: 0.5; cursor: not-allowed; }

.email-feedback {
  font-size: 0.82rem;
  margin-top: 0.5rem;
  min-height: 1.1rem;
  color: var(--text-muted);
}

/* Footer compact variant */
.footer-signup {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-bottom: 1.25rem;
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem;
  color: var(--text-subtle);
  font-size: 0.82rem;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 820px) {
  nav { padding: 0 1.25rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(7, 5, 15, 0.97);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
    gap: 0.15rem;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }

  .page-section { padding: 3rem 1.25rem 4rem; }
}
