/* ============================================
   TASK 1: CSS DESIGN SYSTEM + SHARED STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-muted);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Element Resets */
img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* Custom Properties */
:root {
  /* Colors */
  --bg: #0a0606;
  --surface: #1f0f10;
  --border: #3b1519;
  --primary: #f43f5e;
  --primary-light: #fb7185;
  --primary-glow: rgba(244, 63, 94, 0.12);
  --text: #fff1f2;
  --text-muted: #6b4549;
  --text-dim: #3b1519;

  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --section-padding: 100px 48px;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text);
}

h1 {
  font-size: 64px;
  letter-spacing: -2.5px;
  line-height: 1.1;
}

h2 {
  font-size: 40px;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

h3 {
  font-size: 20px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

/* Utility Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  background: var(--primary-glow);
  z-index: 0;
}

.glow-orb--large {
  width: 600px;
  height: 600px;
}

.glow-orb--small {
  width: 350px;
  height: 350px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #e11d48, var(--primary));
  color: var(--text);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 8px 24px var(--primary-glow);
  transition: transform 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-light);
  padding: 16px 32px;
  border-radius: 12px;
  border: 1px solid var(--primary-light);
  backdrop-filter: blur(8px);
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(244, 63, 94, 0.1);
}

/* Glass Card */
.glass-card {
  background: rgba(31, 15, 16, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(244, 63, 94, 0.1);
  border-radius: 20px;
  transition: border-color 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(244, 63, 94, 0.3);
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px var(--primary);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 16px var(--primary);
  }
}

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

/* Responsive Typography */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 32px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 20px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 18px;
  }
}

/* ============================================
   TASK 2: NAVIGATION COMPONENT STYLES
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  transition: background 0.3s ease, border 0.3s ease;
}

.nav--scrolled {
  background: rgba(10, 6, 6, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.nav__logo span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav__link {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.nav__cta {
  background: var(--primary);
  color: var(--bg);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  transition: transform 0.2s ease;
}

.nav__cta:hover {
  transform: translateY(-1px);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 101;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav__drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 32px;
  padding-right: 32px;
  transition: right 0.3s ease;
  z-index: 99;
}

.nav__drawer.open {
  right: 0;
}

.nav__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav__overlay.active {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 768px) {
  .nav {
    padding: 16px 20px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

/* ============================================
   TASK 3: HERO SECTION STYLES
   ============================================ */

.hero {
  position: relative;
  padding: 160px 48px 100px;
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: visible;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -200px -50vw;
  z-index: -1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(244, 63, 94, 0.06);
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: 100px;
  font-size: 13px;
  color: var(--primary-light);
  margin-bottom: 24px;
}

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

.hero h1 {
  max-width: 700px;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img,
.avatar-stack div {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
}

.avatar-stack img:first-child,
.avatar-stack div:first-child {
  margin-left: 0;
}

.avatar-stack div {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.hero__social-text {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.hero__social-text strong {
  color: var(--text-muted);
  font-weight: 600;
}

.hero .glow-orb--large {
  top: -200px;
  right: -100px;
}

.hero .glow-orb--small {
  top: 300px;
  left: -150px;
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 20px 60px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn-primary,
  .hero__actions .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   TASK 4: MARQUEE, STATS, HOW-IT-WORKS, WHO-ITS-FOR STYLES
   ============================================ */

/* Marquee */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 48px;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  font-size: 14px;
  color: var(--text-muted);
}

.marquee__item::after {
  content: '•';
  color: var(--border);
}

/* Stats */
.stats {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stats__item {
  position: relative;
  background: linear-gradient(160deg, rgba(31, 15, 16, 0.7), rgba(10, 6, 6, 0.9));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(244, 63, 94, 0.1);
  border-radius: 20px;
  padding: 44px 32px 36px;
  text-align: center;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.stats__item:hover {
  border-color: rgba(244, 63, 94, 0.25);
  box-shadow: 0 0 50px rgba(244, 63, 94, 0.08), 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

/* Top edge glow line */
.stats__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 63, 94, 0.3), transparent);
}

/* Radial glow behind number */
.stats__glow {
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(244, 63, 94, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.stats__number {
  position: relative;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-light), #fecdd3);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(244, 63, 94, 0.3));
  margin-bottom: 16px;
  animation: statsShimmer 4s ease 2.5s infinite;
}

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

.stats__label {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.stats__sublabel {
  position: relative;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats__item {
    padding: 32px 24px 28px;
  }

  .stats__number {
    font-size: 56px;
  }
}

/* How It Works */
.how-it-works {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
}

.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.bento__card {
  background: linear-gradient(180deg, #110a0b, #0f0808);
  border: 1px solid rgba(244, 63, 94, 0.08);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: border-color 0.3s ease;
}

.bento__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 63, 94, 0.2), transparent);
}

.bento__card:hover {
  border-color: rgba(244, 63, 94, 0.2);
}

.bento__card--full {
  grid-column: 1 / -1;
}

.bento__num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.3), rgba(251, 113, 133, 0.1));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.bento__card h3 {
  margin-bottom: 12px;
}

.bento__card p {
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .bento__num {
    font-size: 40px;
  }
}

/* Who It's For */
.who-its-for {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
}

.who-its-for__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.who-its-for__card {
  padding: 40px 32px;
  border-radius: 20px;
  backdrop-filter: blur(16px);
}

.who-its-for__card--for {
  background: rgba(34, 197, 94, 0.04);
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.who-its-for__card--not {
  background: rgba(244, 63, 94, 0.04);
  border: 1px solid rgba(244, 63, 94, 0.1);
}

.who-its-for__card--for h3 {
  color: #22c55e;
  margin-bottom: 24px;
}

.who-its-for__card--not h3 {
  color: var(--primary-light);
  margin-bottom: 24px;
}

.who-its-for__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.who-its-for__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.who-its-for__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.who-its-for__card--for .who-its-for__icon {
  background: #22c55e;
  color: var(--bg);
}

.who-its-for__card--not .who-its-for__icon {
  background: var(--primary);
  color: var(--text);
}

@media (max-width: 768px) {
  .who-its-for__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TASK 5: TESTIMONIALS, FAQ, FINAL CTA, FOOTER STYLES
   ============================================ */

/* Testimonials */
.testimonials {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  padding: 36px 28px;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 16px;
}

.testimonial-card__quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 24px;
}

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

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-card__role {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* FAQ */
.faq {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
}

.faq__list {
  max-width: 800px;
  margin: 48px auto 0;
}

.faq__item {
  border-bottom: 1px solid rgba(244, 63, 94, 0.06);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.faq__question-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.faq__icon {
  color: var(--primary);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq__question.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__answer-inner {
  padding-bottom: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Final CTA */
.final-cta {
  position: relative;
  text-align: center;
  padding: var(--section-padding);
  overflow: visible;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin-bottom: 16px;
}

.final-cta__sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.final-cta__spots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.final-cta__spot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.final-cta__spot--taken {
  background: var(--primary);
  opacity: 0.3;
}

.final-cta__spot--available {
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

.final-cta__calendly {
  max-width: 700px;
  margin: 0 auto;
  min-height: 1000px;
  border-radius: 16px;
  overflow: hidden;
}

.final-cta__fallback {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-dim);
}

.final-cta__fallback a {
  color: var(--primary-light);
  text-decoration: underline;
}

.final-cta .glow-orb--large {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.final-cta .glow-orb--small {
  bottom: -100px;
  right: -50px;
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 48px 32px;
}

.footer__grid {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer__col {
  text-align: center;
}

.footer__heading {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 16px;
}

.footer__link {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

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

.footer__bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 24px;
  }

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

/* ============================================
   Quiz Page
   ============================================ */
.quiz {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
}

.quiz__container {
  max-width: 700px;
  width: 100%;
  position: relative;
}

.quiz__progress {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 48px;
  overflow: hidden;
}

.quiz__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 4px;
  width: 0%;
  transition: width 0.5s ease;
}

.quiz__screen {
  display: none;
  animation: quizSlideIn 0.4s ease;
}

.quiz__screen--active {
  display: block;
}

@keyframes quizSlideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.quiz h1 {
  margin-bottom: 16px;
}

.quiz h2 {
  margin-bottom: 32px;
}

.quiz__intro-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.quiz__step-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 16px;
}

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

.quiz__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.3s, background 0.3s;
}

.quiz__option:hover {
  border-color: rgba(244, 63, 94, 0.3);
  background: rgba(244, 63, 94, 0.06);
}

.quiz__option--selected {
  border-color: var(--primary) !important;
  background: rgba(244, 63, 94, 0.08) !important;
}

/* Results */
.quiz__results {
  text-align: center;
}

.quiz__score-ring {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}

.quiz__score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
}

.quiz__results-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.quiz__hours-saved {
  position: relative;
  padding: 36px 40px 30px;
  margin-bottom: 32px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(31, 15, 16, 0.8), rgba(10, 6, 6, 0.95));
  backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(244, 63, 94, 0.15);
  box-shadow:
    0 0 40px rgba(244, 63, 94, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(244, 63, 94, 0.1);
  animation: hoursSavedGlow 3s ease-in-out infinite alternate;
}

@keyframes hoursSavedGlow {
  from {
    box-shadow:
      0 0 40px rgba(244, 63, 94, 0.06),
      0 8px 32px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(244, 63, 94, 0.1);
    border-color: rgba(244, 63, 94, 0.15);
  }
  to {
    box-shadow:
      0 0 60px rgba(244, 63, 94, 0.12),
      0 8px 32px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(244, 63, 94, 0.18);
    border-color: rgba(244, 63, 94, 0.25);
  }
}

.quiz__hours-saved-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 160px;
  background: radial-gradient(ellipse, rgba(244, 63, 94, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.quiz__hours-saved-edge {
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 63, 94, 0.3), transparent);
}

.quiz__hours-saved-pretitle {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
}

.quiz__hours-saved-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.quiz__hours-saved-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-light), #fecdd3);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(244, 63, 94, 0.35));
  animation: hoursShimmer 4s ease infinite;
  line-height: 1;
  letter-spacing: -2px;
}

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

.quiz__hours-saved-unit {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.quiz__hours-saved-unit span {
  color: var(--text-muted);
  font-weight: 400;
}

.quiz__hours-saved-equiv {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  position: relative;
  line-height: 1.5;
}

.quiz__recommendations {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.quiz__rec {
  padding: 24px 28px;
  text-align: left;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.quiz__rec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.quiz__rec-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.quiz__rec-time-badge {
  background: rgba(244, 63, 94, 0.1);
  color: var(--primary-light);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.quiz__rec-problem {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 14px;
}

.quiz__rec-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.quiz__rec-tool-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}

.quiz__rec-quickwin {
  background: rgba(34, 197, 94, 0.04);
  border: 1px solid rgba(34, 197, 94, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.quiz__rec-quickwin strong {
  color: #22c55e;
  font-weight: 600;
}

.quiz__rec-locked {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.quiz__rec-locked .quiz__rec {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}

.quiz__rec-blur {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 6, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.quiz__rec-blur::after {
  content: '\1F512  Unlock with email';
  color: var(--text-muted);
  font-size: 13px;
  font-family: var(--font-body);
}

.quiz__rec-unlocked .quiz__rec {
  filter: none;
  user-select: auto;
  pointer-events: auto;
}

.quiz__rec-unlocked .quiz__rec-blur {
  display: none;
}

.quiz__rec-unlocked {
  animation: recUnlock 0.5s ease forwards;
}

@keyframes recUnlock {
  from { opacity: 0.6; transform: scale(0.97); }
  to   { opacity: 1;   transform: scale(1); }
}

@media (max-width: 768px) {
  .quiz {
    padding: 100px 20px 60px;
  }

  .quiz__rec {
    padding: 20px 20px;
  }

  .quiz__rec-header {
    flex-direction: column;
    gap: 8px;
  }

  .quiz__rec-time-badge {
    align-self: flex-start;
  }

  .quiz__hours-saved {
    padding: 28px 24px 24px;
  }

  .quiz__hours-saved-number {
    font-size: 48px;
  }

  .quiz__hours-saved-unit {
    font-size: 18px;
  }
}

/* ============================================
   Blog Listing
   ============================================ */
.blog-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 48px 60px;
}

.blog-hero h1 {
  margin-bottom: 16px;
}

.blog-hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
}

.blog-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.blog-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
}

.blog-card:hover {
  border-color: rgba(244, 63, 94, 0.2);
  transform: translateY(-2px);
}

.blog-card__image {
  height: 200px;
  background: linear-gradient(135deg, #110a0b, var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 13px;
}

.blog-card__body {
  padding: 28px 24px;
}

.blog-card__meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Blog Card Featured */
.blog-card--featured {
  grid-column: 1 / -1;
}

.blog-card--featured .blog-card__image {
  height: 280px;
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 120px 20px 40px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    padding: 0 20px 60px;
  }
}

/* ============================================
   Blog Post (single article)
   ============================================ */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 160px 48px 80px;
}

.blog-post__header {
  margin-bottom: 48px;
}

.blog-post__meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.blog-post__title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -2px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.blog-post__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

.blog-post__body h2 {
  font-size: 28px;
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.blog-post__body h3 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 12px;
}

.blog-post__body p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.blog-post__body ul,
.blog-post__body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.blog-post__body ul {
  list-style: disc;
}

.blog-post__body ol {
  list-style: decimal;
}

.blog-post__body li {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}

.blog-post__body a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post__body a:hover {
  color: var(--primary);
}

.blog-post__body blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(244, 63, 94, 0.04);
  border-radius: 0 12px 12px 0;
}

.blog-post__body blockquote p {
  color: var(--text);
  font-style: italic;
  margin-bottom: 0;
}

.blog-post__body strong {
  color: var(--text);
  font-weight: 600;
}

/* Blog Inline CTA */
.blog-cta {
  background: rgba(31, 15, 16, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: 20px;
  padding: 36px 32px;
  margin: 40px 0;
  text-align: center;
}

.blog-cta h3 {
  margin-bottom: 12px;
}

.blog-cta p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Blog Related Posts */
.blog-post__related {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.blog-post__related h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.blog-post__related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ============================================
   Legal Page
   ============================================ */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 160px 48px 80px;
}

.legal-page h1 {
  font-size: 44px;
  letter-spacing: -2px;
  margin-bottom: 12px;
}

.legal-page__updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.legal-page h3 {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-page p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page li {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-page a {
  color: var(--primary-light);
  text-decoration: underline;
}

/* ============================================
   480px Breakpoint
   ============================================ */
@media (max-width: 480px) {
  h1 {
    font-size: 28px;
    letter-spacing: -1.5px;
  }

  h2 {
    font-size: 22px;
    letter-spacing: -0.8px;
  }

  h3 {
    font-size: 16px;
  }

  .hero {
    padding: 100px 16px 48px;
  }

  .hero__sub {
    font-size: 15px;
  }

  .hero__badge {
    font-size: 11px;
  }

  .stats__number {
    font-size: 44px;
  }

  .stats__item {
    padding: 24px 20px 22px;
  }

  .bento__card {
    padding: 28px 20px;
  }

  .bento__num {
    font-size: 32px;
  }

  .who-its-for__card {
    padding: 28px 20px;
  }

  .who-its-for__item {
    font-size: 14px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

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

  .faq__question-text {
    font-size: 14px;
  }

  .faq__answer-inner {
    font-size: 14px;
  }

  .final-cta__sub {
    font-size: 15px;
  }

  .footer {
    padding: 32px 16px 20px;
  }

  .nav {
    padding: 12px 16px;
  }

  .quiz {
    padding: 88px 16px 48px;
  }

  .quiz__option {
    padding: 16px 18px;
    font-size: 14px;
  }

  .quiz__hours-saved-number {
    font-size: 40px;
  }

  .quiz__hours-saved {
    padding: 24px 18px 20px;
  }

  .quiz__rec {
    padding: 18px 16px;
  }

  .blog-hero {
    padding: 100px 16px 32px;
  }

  .blog-grid {
    padding: 0 16px 48px;
  }

  .blog-card__body {
    padding: 20px 18px;
  }

  .blog-card__title {
    font-size: 17px;
  }

  .blog-post {
    padding: 100px 16px 48px;
  }

  .blog-post__title {
    font-size: 28px;
    letter-spacing: -1.5px;
  }

  .blog-post__body h2 {
    font-size: 22px;
  }

  .blog-post__body h3 {
    font-size: 18px;
  }

  .blog-post__related-grid {
    grid-template-columns: 1fr;
  }

  .blog-cta {
    padding: 24px 18px;
  }

  .blog-cta__buttons {
    flex-direction: column;
  }

  .blog-cta__buttons .btn-primary,
  .blog-cta__buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .legal-page {
    padding: 100px 16px 48px;
  }

  .legal-page h1 {
    font-size: 28px;
  }

  .legal-page h2 {
    font-size: 20px;
  }
}
