/* ============================================
   BULLISH EVENTS — Styles
   Colors: Dark bg (#060B18), White text, Light blue accent (#A8D5F2)
   Font: Inter
   ============================================ */

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

:root {
  --bg-primary: #060B18;
  --bg-secondary: #0C1424;
  --bg-card: #111C30;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B8C9;
  --accent: #A8D5F2;
  --accent-hover: #8AC4E8;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--accent);
}

.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent) !important;
  padding: 10px 24px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-primary) !important;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-headline {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 1050px;
  margin: 0 auto 28px;
}

.hero-subtext {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-primary);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ---- STEPS SECTION ---- */
.steps-section {
  padding: 80px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step-number {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.step-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.step-divider {
  width: 48px;
  height: 2px;
  background: rgba(168, 213, 242, 0.25);
  flex-shrink: 0;
}

/* ---- SECTION TITLES (reused) ---- */
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ---- QUIZ MODAL ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 48px 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.modal-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  padding-right: 32px;
}

.modal-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 36px;
}

.quiz-container {
  background: none;
  padding: 0;
  border: none;
  border-radius: 0;
}

/* Progress bar */
.quiz-progress {
  margin-bottom: 40px;
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.quiz-progress-fill {
  height: 100%;
  width: 20%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.quiz-step-text {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Questions */
.quiz-question {
  display: none;
}

.quiz-question.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-question h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.3;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  padding: 18px 24px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.quiz-option:hover {
  border-color: var(--accent);
  background: rgba(168, 213, 242, 0.06);
  transform: translateX(4px);
}

.quiz-option.selected {
  border-color: var(--accent);
  background: rgba(168, 213, 242, 0.12);
}

/* Results */
.quiz-result {
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.result-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.result-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.result-description {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.result-card {
  background: rgba(168, 213, 242, 0.08);
  border: 1.5px solid rgba(168, 213, 242, 0.2);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 36px;
}

.result-card h4 {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.result-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.result-cta-text {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 20px;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  margin-top: 16px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.placeholder-notice {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 32px;
  opacity: 0.6;
}

/* ---- TESTIMONIALS SECTION ---- */
.testimonials-section {
  padding: 100px 24px 120px;
  background: var(--bg-secondary);
}

/* Horizontal videos: 3 across */
.testimonials-row-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 24px;
}

/* Vertical videos: 2 centered, capped width so they aren't huge */
.testimonials-row-vertical {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 500px;
  margin: 0 auto;
}

.testimonial-card {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
}

/* Video wrapper — responsive container */
.video-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

/* Horizontal videos: 16:9 */
.testimonial-card.horizontal .video-wrap {
  aspect-ratio: 16 / 9;
}

/* Vertical videos (Shorts): 9:16 */
.testimonial-card.vertical .video-wrap {
  aspect-ratio: 9 / 16;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Name & title below video */
.testimonial-info {
  padding: 16px 20px;
}

.testimonial-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.testimonial-title {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .logo-img {
    height: 24px;
  }

  .footer-logo-img {
    height: 22px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-link:not(.btn-outline) {
    display: none;
  }

  .modal-content {
    padding: 32px 20px;
    max-height: 95vh;
    border-radius: 16px;
  }

  .modal-title {
    font-size: 22px;
  }

  .modal-overlay {
    padding: 12px;
  }

  .steps-grid {
    flex-direction: column;
    gap: 0;
  }

  .step-card {
    width: 100%;
    padding: 28px 20px;
  }

  .step-divider {
    width: 2px;
    height: 32px;
    background: rgba(168, 213, 242, 0.2);
  }

  .testimonials-row-horizontal {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto 16px;
  }

  .testimonials-row-vertical {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 320px;
  }

  .testimonial-info {
    padding: 12px 14px;
  }

  .testimonial-name {
    font-size: 14px;
  }

  .testimonial-title {
    font-size: 12px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

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

@media (max-width: 480px) {
  .testimonials-row-horizontal {
    max-width: 100%;
  }

  .testimonials-row-vertical {
    max-width: 280px;
    gap: 12px;
  }
}
