/* ====================================== */
/* PREMIUM ADVERTORIAL STYLE */
/* FILE: styles.css */
/* ====================================== */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html {
  scroll-behavior: smooth;
}

body{
  font-family:'Inter', sans-serif;
  background:#f5f7fb;
  color:#0f172a;
  overflow-x:hidden;
}

h3,h4,h5,h6, h7, h8{
  font-size:2.5rem;
  line-height:1.05;
  margin-bottom:28px;
}
.hidden {
  display:none !important;
}

/* TOPBAR */

.topbar{
  position:fixed;
  width:100%;
  z-index:999;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 40px;
  backdrop-filter:blur(16px);
  background:rgba(10,15,30,0.68);
}

.logo{
  color:white;
  font-weight:800;
  font-size:22px;
  letter-spacing:1px;
}

.trusted{
  color:#cbd5e1;
  font-size:14px;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:14px;
}

.topbar-btn{
  padding:12px 22px;
  font-size:14px;
  border-radius:16px;
}

/* HERO */

.hero{
  position:relative;
  min-height:auto;
  display:flex;
  justify-content:center;
  padding:130px 40px 80px;
  background:#ffffff;
}

.hero-overlay{
  display:none;
}

.hero-grid{
  position:relative;
  z-index:2;
  width:100%;
  max-width:800px;
  display:grid;
  grid-template-columns:1fr;
  justify-items:center;
  gap:40px;
}


.hero-copy,
.hero-image{
  width:100%;
  max-width:700px;
  margin:0 auto;
}

.hero-top{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:18px;
}

.hero-top h1 {
  width: 100%;
  max-width: 800px;
  font-size:2.5rem;
  line-height:1.05;
  margin-bottom:28px;
}

.hero-copy{
  color:#0f172a;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:24px;
}

.hero-image{
  width:100%;
  display:flex;
  justify-content:center;
}

.eyebrow{
  display:inline-block;
  margin-bottom:24px;
  padding:10px 18px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  color:#93c5fd;
  background:rgba(96,165,250,0.16);
  letter-spacing:1px;
}

.hero-copy {
  font-size:4.4rem;
  margin-bottom:28px;
}

.hero-description{
  color:#475569;
  font-size:21px;
  line-height:1.8;
  margin-bottom:36px;
  max-width:620px;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:34px;
}

.primary-btn,
.secondary-btn{
  cursor:pointer;
  border-radius:16px;
  padding:18px 34px;
  font-size:18px;
  font-weight:700;
  transition:0.3s ease;
}

.primary-btn{
  border:none;
  background:linear-gradient(135deg, #2563eb, #3b82f6);
  color:white;
  box-shadow:0 18px 40px rgba(37,99,235,0.28);
}

.secondary-btn{
  border:2px solid rgba(255,255,255,0.28);
  background:rgba(255,255,255,0.08);
  color:white;
}

.primary-btn:hover,
.secondary-btn:hover{
  transform:translateY(-3px);
}

.hero-proof{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  width:100%;
  max-width:760px;
  margin:0 auto;
}

.proof-item{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:18px 20px;
  color:#334155;
  font-size:15px;
}

.hero-image,
.image-card,
.highlight-image{
  width:100%;
  display:flex;
  justify-content:center;
}

.hero-image img,
.image-card img,
.highlight-image img{
  width:100%;
  max-width:700px;
  border-radius:32px;
  object-fit:cover;
  box-shadow:0 18px 45px rgba(15,23,42,0.12);
  margin-top: 0;
}

/* ARTICLE */

.article-section{
  padding:20px 40px 80px;
  background:white;
}

.article-container{
  width:100%;
  max-width:800px;
  margin:0 auto;
}

.article-label{
  color:#2563eb;
  font-size:16px;
  font-weight:700;
  letter-spacing:1px;
  margin-bottom:16px;
}

.article-container h2{
  font-size:2.5rem;
  line-height:1.05;
  margin-bottom:28px;
}

.article-container p{
  font-size:1.1rem;
  line-height:1.9;
  margin-bottom:28px;
  color:#334155;
}

.section-split{
  display:grid;
  grid-template-columns:1fr;
  gap:40px;
  justify-items:center;
  margin-bottom:80px;
}

.section-split .image-card{
  order:0;
  width:100%;
  max-width:800px;
}

.section-split .section-copy{
  order:1;
  width:100%;
  max-width:760px;
}

.section-split.reverse{
  direction:ltr;
}

.section-split.reverse .image-card{
  order:0;
}

.section-split.reverse .section-copy{
  order:1;
}

.section-copy h3{
  font-size:2.4rem;
  margin-bottom:24px;
  color:#0f172a;
}

.section-copy p{
  margin-bottom:22px;
}

.feature-list{
  list-style:none;
  padding-left:0;
}

.feature-list li{
  position:relative;
  padding-left:28px;
  margin-bottom:18px;
  color:#334155;
  font-size:1rem;
}

.feature-list li:before{
  content:'✔';
  position:absolute;
  left:0;
  top:0;
  color:#2563eb;
}

.image-card img{
  width:100%;
  display:block;
  border-radius:28px;
  object-fit:cover;
}

.highlight-section{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:24px;
  margin-bottom:20px;
  margin-top:60px;
}

.highlight-copy{
  padding:24px 20px;
  background:#eff6ff;
  border-radius:16px;
  width:100%;
  max-width:800px;
  box-sizing:border-box;
}

.highlight-copy h3{
  font-size:1.8rem;
  margin-bottom:12px;
  color:#0f172a;
}

.highlight-copy p{
  color:#334155;
  font-size:1rem;
}

.highlight-image{
  width:100%;
  max-width:800px;
  display:flex;
  justify-content:center;
}

.highlight-image img{
  width:100%;
  height:auto;
  border-radius:12px;
  object-fit:cover;
  box-shadow:0 18px 40px rgba(15,23,42,0.08);
}

/* Section variant to reuse the same stacked behavior for article-grid */
.article-grid-section{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:24px;
  margin-bottom:40px;
}

.article-grid-section .article-grid{
  width:100%;
  max-width:800px;
  display:flex;
  gap:20px;
}

.article-grid-section .feature-card{
  width:100%;
}

.article-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}

.article-grid p {
  color:#334155;
  font-size:1.2rem;
}

.final-cta{
  padding:80px 40px 120px;
  background:#eff6ff;
}

.final-cta-content{
  max-width:900px;
  margin:0 auto;
  text-align:center;
  background:white;
  padding:50px;
  border-radius:32px;
  box-shadow:0 18px 50px rgba(15,23,42,0.08);
}

.final-cta-content h2{
  font-size:3rem;
  margin-bottom:18px;
}

.final-cta-content p{
  color:#475569;
  font-size:1.15rem;
  margin-bottom:32px;
}

.final-cta .primary-btn{
  padding:18px 38px;
}

.feature-card{
  background:white;
  border-radius:28px;
  box-shadow:0 18px 50px rgba(15,23,42,0.08);
  padding:26px;
}

.feature-card img{
  width:100%;
  border-radius:24px;
  margin-bottom:22px;
}

.feature-card h4{
  font-size:1.55rem;
  margin-bottom:16px;
}

.feature-card p{
  color:#475569;
  line-height:1.85;
}

/* QUIZ */

.quiz-section{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding:120px 20px 40px;
  background:#f5f7fb;
}

.quiz-wrapper{
  width:100%;
  max-width:760px;
  padding-bottom:20px;
}

.quiz-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
  font-weight:600;
  color:#334155;
  gap:16px;
}

.quiz-header-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.quiz-back-btn{
  width:38px;
  height:38px;
  border:none;
  border-radius:50%;
  background:#eff6ff;
  color:#2563eb;
  font-size:1.35rem;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  transition:0.25s ease;
  flex-shrink:0;
}

.quiz-back-btn:hover:not(:disabled){
  background:#dbeafe;
  transform:translateX(-2px);
}

.quiz-back-btn:disabled{
  cursor:default;
}

.quiz-back-btn.is-hidden{
  visibility:hidden;
}

.progress-container{
  width:100%;
  height:12px;
  border-radius:999px;
  overflow:hidden;
  background:#dbeafe;
  margin-bottom:40px;
}

.progress-bar{
  height:100%;
  width:0%;
  transition:0.4s;
  background:linear-gradient(90deg, #2563eb, #60a5fa);
}

.question-card{
  background:white;
  padding:50px;
  border-radius:28px;
  box-shadow:0 10px 40px rgba(15,23,42,0.08);
}

.question-card h2{
  font-size:2.4rem;
  line-height:1.3;
  margin-bottom:40px;
}

.answers-container{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.quiz-intro{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border:1px solid rgba(37, 99, 235, 0.12);
  border-radius:32px;
  box-shadow:0 18px 50px rgba(15,23,42,0.12);
  padding:42px;
  margin-bottom:30px;
}

.quiz-intro::before{
  content:'';
  position:absolute;
  inset:auto -18% -32% auto;
  width:280px;
  height:280px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(96,165,250,0.28), transparent 70%);
}

.quiz-intro-grid{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  gap:36px;
  min-height:auto;
}

.intro-copy{
  flex:1.1;
  padding-top:14px;
  min-width:280px;
}

.intro-copy h2{
  font-size:2.2rem;
  line-height:1.2;
  margin-bottom:18px;
  color:#0f172a;
}

.intro-copy p{
  color:#334155;
  font-size:1.02rem;
  line-height:1.8;
  margin-bottom:16px;
}

.gender-buttons{
  display:flex;
  gap:14px;
  margin:22px 0 28px;
}

.gender-btn{
  border:none;
  border-radius:999px;
  padding:14px 28px;
  min-width:170px;
  background:linear-gradient(135deg, #2563eb, #60a5fa);
  color:white;
  font-weight:800;
  font-size:1rem;
  cursor:pointer;
  transition:0.25s ease;
  box-shadow:0 14px 30px rgba(37,99,235,0.22);
}

.gender-btn:hover{
  transform:translateY(-2px);
}

.social-proof-block{
  display:grid;
  grid-template-columns:auto auto;
  align-items:center;
  gap:12px 14px;
  width:fit-content;
  margin-top:10px;
  padding:16px 18px;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(239,246,255,0.9), rgba(255,255,255,0.95));
  border:1px solid rgba(37,99,235,0.12);
}

.profile-stack{
  display:flex;
  align-items:center;
  width:fit-content;
}

.profile-stack img{
  width:30px;
  height:auto;
  border-radius:50%;
  border:2px solid #ffffff;
  box-shadow:0 4px 12px rgba(15,23,42,0.12);
  margin-left:-10px;
}

.profile-stack img:first-child{
  margin-left:0;
}

.stars{
  display:flex;
  gap:4px;
  color:#f59e0b;
  font-size:1.2rem;
}

.social-proof-block p{
  grid-column:1 / -1;
  margin:0;
  color:#0f172a;
  font-weight:700;
  font-size:0.82rem;
  white-space:nowrap;
}

.intro-visual{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:stretch;
  height:420px;
  max-height:420px;
  padding:0;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(219,234,254,0.7), rgba(255,255,255,0.9));
  overflow:hidden;
}

.intro-visual img{
  width:100%;
  height:100%;
  max-width:none;
  border-radius:20px;
  border:none;
  box-shadow:0 16px 34px rgba(15,23,42,0.16);
  object-fit:cover;
  display:block;
}

.answer-btn{
  width:100%;
  text-align:left;
  padding:20px 24px;
  border-radius:18px;
  border:1px solid #e2e8f0;
  background:white;
  color:#0f172a;
  font-size:1rem;
  cursor:pointer;
  transition:0.25s ease;
}

.answer-btn:hover{
  border-color:#2563eb;
  background:#eff6ff;
}

.testimonials-section{
  padding:18px 0 28px;
  background:transparent;
  margin-top:22px;
}

.testimonials-container{
  max-width:100%;
  margin:0;
}

.testimonials-container h2{
  text-align:left;
  font-size:2rem;
  line-height:1.15;
  margin-bottom:20px;
  color:#0f172a;
  letter-spacing:-0.02em;
}

.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  align-items:stretch;
}

.testimonial-card{
  position:relative;
  background:rgba(255,255,255,0.96);
  border:1px solid rgba(37,99,235,0.12);
  border-radius:24px;
  padding:20px 18px;
  box-shadow:0 12px 30px rgba(15,23,42,0.06);
  display:flex;
  flex-direction:column;
  gap:16px;
  min-height:210px;
}

.testimonial-card::after{
  display:none;
}

.testimonial-profile{
  display:flex;
  align-items:center;
  gap:12px;
}

.testimonial-profile img{
  width:72px;
  height:72px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #dbeafe;
  box-shadow:none;
}

.testimonial-name-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:4px;
  font-size:0.98rem;
  color:#0f172a;
  font-weight:700;
}

.verified-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:999px;
  background:#16a34a;
  color:white;
  font-size:0.7rem;
  font-weight:900;
}

.testimonial-stars{
  color:#f59e0b;
  letter-spacing:1px;
  font-size:0.8rem;
}

.testimonial-card p{
  font-size:0.96rem;
  line-height:1.75;
  color:#334155;
  margin:0;
  margin-top:auto;
}

.processing,
.result{
  padding:120px 20px;
  background:#f5f7fb;
}

.processing-card,
.result-card{
  max-width:760px;
  margin:0 auto;
  background:white;
  padding:56px;
  border-radius:32px;
  box-shadow:0 10px 40px rgba(15,23,42,0.08);
}

.processing-card .scanner{
  width:100%;
  height:14px;
  border-radius:999px;
  background:#dbeafe;
  margin-bottom:30px;
  overflow:hidden;
  position:relative;
}

.processing-card .scanner::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, transparent, rgba(37,99,235,0.4), transparent);
  animation:scan 2.4s infinite;
}

@keyframes scan{
  0%{transform:translateX(-110%)}
  100%{transform:translateX(110%)}
}

.result-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px;
  border-radius:999px;
  background:#eff6ff;
  color:#2563eb;
  font-weight:700;
  letter-spacing:0.5px;
  margin-bottom:26px;
}

.result-card h2{
  font-size:2.9rem;
  margin-bottom:20px;
}

.result-card h3{
  font-size:2rem;
  margin-bottom:20px;
}

.result-card p{
  font-size:1rem;
  line-height:1.8;
  margin-bottom:30px;
  color:#475569;
}

.price{
  font-size:2.8rem;
  font-weight:800;
  margin-bottom:32px;
  color:#0f172a;
}

.primary-btn.large{
  width:100%;
  padding:18px 24px;
}

.secure-info{
  margin-top:18px;
  color:#64748b;
  font-size:0.95rem;
}

@media (max-width:1080px){
  .hero-grid,
  .section-split,
  .highlight-section,
  .article-grid{
    grid-template-columns:1fr;
  }

  .topbar{
    padding:18px 24px;
  }

  .hero{
    padding:110px 24px 70px;
  }
}

@media (max-width:720px){
  .hero-copy h1{
    font-size:2.7rem;
  }

  .hero-description{
    font-size:1rem;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-proof{
    grid-template-columns:1fr;
  }

  .article-section{
    padding:80px 20px 60px;
  }

  .article-container h2{
    font-size:2.6rem;
  }

  .section-copy h3,
  .highlight-copy h3{
    font-size:2rem;
  }
}

.processing{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  background:#020617;
  padding:20px;
}

.processing-card{
  max-width:700px;
  text-align:center;
  color:white;
}

.scanner{
  width:140px;
  height:140px;
  border-radius:50%;
  margin:auto;
  margin-bottom:40px;
  border:8px solid rgba(255,255,255,0.08);
  border-top:8px solid #3b82f6;
  animation:spin 1s linear infinite;
}

@keyframes spin{
  100%{
    transform:rotate(360deg);
  }
}

.processing h2{
  font-size:48px;
  margin-bottom:20px;
}

.processing p{
  font-size:22px;
  color:#cbd5e1;
}

/* RESULT */

.result{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:40px;
  background:
  linear-gradient(
    135deg,
    #020617,
    #0f172a
  );
}

.result-card{
  max-width:760px;
  width:100%;
  background:white;
  border-radius:32px;
  padding:60px;
  text-align:center;
  box-shadow:
  0 20px 80px rgba(0,0,0,0.25);
}

.result-badge{
  display:inline-block;
  padding:10px 18px;
  border-radius:999px;
  background:#dbeafe;
  color:#2563eb;
  font-size:13px;
  font-weight:700;
  margin-bottom:25px;
}

.result-card h2{
  font-size:42px;
  margin-bottom:20px;
}

.result-card h3{
  font-size:52px;
  color:#2563eb;
  margin-bottom:30px;
}

.result-card p{
  font-size:21px;
  line-height:1.7;
  color:#475569;
  margin-bottom:35px;
}

.price{
  font-size:64px;
  font-weight:800;
  margin-bottom:35px;
}

/* Responsive refinement */
img {
  max-width:100%;
  height:auto;
}

button,
.answer-btn,
.primary-btn,
.secondary-btn {
  min-width:0;
}

.topbar {
  flex-wrap:wrap;
  gap:14px;
}

.topbar-right {
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:12px;
}

.hero {
  min-height:auto;
}

.hero-grid {
  align-items:start;
}

.section-split.reverse {
  direction:ltr;
}

.section-split.reverse .image-card {
  order:1;
}

.section-split.reverse .section-copy {
  order:2;
}

@media (max-width:1024px) {
  .hero-copy h1 {
    font-size:3.4rem;
  }

  .hero-description {
    font-size:1.05rem;
  }

  .article-container h2,
  .final-cta-content h2 {
    font-size:2.6rem;
  }

  .final-cta-content {
    padding:40px;
  }

  .hero-proof,
  .article-grid,
  .highlight-section,
  .section-split,
  .quiz-wrapper,
  .processing-card,
  .result-card {
    gap:24px;
  }
}

@media (max-width:820px) {
  .topbar {
    padding:18px 20px;
  }

  .hero {
    padding:100px 20px 60px;
  }

  .hero-copy h1 {
    font-size:2.9rem;
  }

  .hero-description {
    font-size:1rem;
  }

  .hero-proof {
    grid-template-columns:1fr;
  }

  .article-section,
  .final-cta,
  .quiz-section,
  .processing,
  .result {
    padding-left:16px;
    padding-right:16px;
  }

  .article-container h2 {
    font-size:2.4rem;
  }

  .section-copy h3,
  .highlight-copy h3 {
    font-size:1.9rem;
  }

  .highlight-copy {
    padding:28px;
  }

  .final-cta-content {
    padding:32px;
  }

  .question-card,
  .processing-card,
  .result-card {
    padding:32px;
  }

  .testimonials-grid {
    grid-template-columns:1fr;
  }
}

@media (max-width:620px) {
  .topbar {
    justify-content:center;
    text-align:center;
    padding:14px 18px;
  }

  .logo {
    width:100%;
    justify-content:center;
  }

  .topbar-right {
    width:100%;
    justify-content:center;
  }

  .hero {
    padding:120px 16px 50px;
    min-height:calc(100vh - 120px);
  }

  .hero-copy h1 {
    font-size:2.4rem;
  }

  .hero-description {
    font-size:0.95rem;
  }

  .hero-proof,
  .article-grid,
  .hero-grid,
  .section-split,
  .highlight-section {
    grid-template-columns:1fr;
  }

  .hero-grid {
    gap:24px;
  }

  .article-section {
    padding:60px 16px 40px;
  }

  .final-cta {
    padding:60px 16px 80px;
  }

  .final-cta-content {
    margin:0;
    border-radius:24px;
  }

  .feature-card {
    padding:22px;
  }

  .feature-card h4 {
    font-size:1.3rem;
  }

  .question-card,
  .processing-card,
  .result-card {
    padding:24px;
  }

  .question-card h2,
  .result-card h2 {
    font-size:2rem;
  }

  .result-card h3 {
    font-size:1.7rem;
  }

  .price {
    font-size:3.6rem;
  }

  .hero-grid,
  .article-container,
  .hero-copy,
  .quiz-wrapper,
  .processing-card,
  .result-card {
    max-width:100%;
    width:100%;
  }

  .hero-top h1 {
    width:100%;
  }

  .testimonials-grid {
    grid-template-columns:1fr;
  }

  .testimonials-container h2 {
    font-size:1.6rem;
  }

  .testimonial-card {
    padding:18px;
    min-height:auto;
  }

  .testimonial-profile img {
    width:60px;
    height:60px;
  }

  .quiz-section {
    padding-top: 80px !important;
  }

  .intro-visual {
    height: 180px;
    min-height: 180px;
  }

  .quiz-intro {
    padding: 24px 20px;
  }

  .gender-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .gender-btn {
    width: 100%;
    min-width: 0;
    padding: 12px 20px;
  }
}

@media (max-width:480px) {
  .hero {
    padding:140px 16px 50px;
    min-height:calc(100vh - 140px);
  }

  .hero-copy h1 {
    font-size:2.2rem;
  }

  .hero-description {
    font-size:0.95rem;
  }

  .primary-btn,
  .topbar-btn,
  .answer-btn {
    width:100%;
  }

  .article-container p,
  .result-card p,
  .final-cta-content p {
    font-size:0.98rem;
  }

  .highlight-copy,
  .section-copy,
  .feature-card,
  .question-card,
  .result-card {
    border-radius:20px;
  }

  .hero-grid,
  .article-container,
  .hero-copy,
  .quiz-wrapper,
  .processing-card,
  .result-card {
    max-width:100%;
    width:100%;
  }

  .hero-top h1 {
    width:100%;
  }

  .intro-copy h2 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  body.quiz-active #quizSection {
    padding: 20px 16px !important;
  }

}

/* Video section styles */
.video-section{
  padding:40px 20px;
  background:white;
}
.video-container{
  max-width:900px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:16px;
  align-items:center;
}
.video-container h3{
  font-size:1.6rem;
  color:#0f172a;
}
.video-container video{
  width:100%;
  max-width:500px;
  aspect-ratio:16 / 9;
  height:auto;
  border-radius:12px;
  box-shadow:0 12px 30px rgba(15,23,42,0.08);
  background:#000;
}
.video-controls{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}
.video-speed{
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #e2e8f0;
  background:white;
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

@media (max-width:768px) {
  .video-section {
    padding:32px 16px;
  }

  .video-container {
    max-width:100%;
    gap:12px;
  }

  .video-container h3 {
    font-size:1.3rem;
  }

  .video-container video {
    max-width:100%;
    width:100%;
  }
}

@media (max-width:480px) {
  .video-section {
    padding:24px 12px;
  }

  .video-container h3 {
    font-size:1.1rem;
    margin-bottom:12px;
  }

  .video-container video {
    max-width:100%;
    border-radius:8px;
  }

  .video-controls {
    width:100%;
    justify-content:center;
    gap:8px;
  }

  .video-controls button,
  .video-controls select {
    font-size:12px;
    padding:8px 12px;
  }
}

/* INFO CARD: integrada en el flujo del quiz */
.info-card{
  display:block;
  width:100%;
  margin-top:24px;
}
.info-card-inner{
  background:white;
  border-radius:20px;
  padding:22px;
  box-shadow:0 10px 40px rgba(15,23,42,0.08);
  text-align:center;
  max-width:760px;
  margin:0 auto;
}
.info-card-inner h3{
  font-size:1.6rem;
  margin-bottom:12px;
  color:#0f172a;
}
.info-card-image{
  margin:10px 0;
}
.info-card-image img{
  width:100%;
  max-width:760px;
  border-radius:12px;
  box-shadow:0 18px 40px rgba(15,23,42,0.08);
}
.info-card-body{
  color:#334155;
  font-size:1rem;
  margin-top:16px;
  text-align:left;
  line-height:1.75;
}
.info-card-body p{
  margin:0 auto 18px;
  max-width:740px;
}
.info-points{
  list-style:none;
  padding-left:0;
  margin-top:12px;
}
.info-points li{
  margin-bottom:8px;
  text-align:left;
  padding-left:22px;
  position:relative;
}
.info-points li:before{
  content:'•';
  position:absolute;
  left:0;
  color:#2563eb;
}
.info-card-footer{
  margin-top:14px;
  display:flex;
  justify-content:center;
  position: sticky;
  bottom: -22px; /* Alinea con el fondo del contenedor ignorando el padding */
  background: white;
  padding: 15px 0;
  z-index: 100;
}

/* --- Fullscreen quiz helper: hide unrelated page sections --- */
html.quiz-active,
body.quiz-active {
  overflow: hidden !important;
  height: 100% !important;
}

html.quiz-active #quizSection,
body.quiz-active #quizSection,
body.quiz-active .quiz-section {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 1200 !important;
  background: #f5f7fb !important;
  overflow: auto !important;
  padding: 56px 24px 24px !important;
  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch !important;
}

body.quiz-active .quiz-wrapper {
  min-height: 100vh;
}

body.quiz-active .question-card,
body.quiz-active .info-card-inner,
body.quiz-active .bio-page-wrapper {
  max-height: none;
  overflow: visible;
}

body.quiz-active .topbar,
body.quiz-active .hero,
body.quiz-active .article-section,
body.quiz-active .final-cta,
body.quiz-active .video-section,
body.quiz-active .processing,
body.quiz-active .result,
body.quiz-active .main-footer {
  display: none !important;
}

body .processing,
body .result {
  z-index: 1300;
}

/* BIO PAGE: After Question 10 */
.bio-page {
  display: block;
  width: 100%;
  min-height: 100vh;
  padding: 60px 20px;
  background: #f5f7fb;
}

.bio-page-wrapper {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bio-page-image {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.bio-page-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.bio-page-title {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0;
  color: #0f172a;
  font-weight: 700;
}

.bio-page-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.bio-page-expert-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0;
  text-align: center;
}

.bio-page-expert-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 12px 0;
}

.bio-page-expert-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.bio-page-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #16a34a;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.bio-page-expert-name {
  font-size: 0.95rem;
  color: #334155;
  margin: 0;
  text-align: left;
}

.bio-page-footer {
  position: sticky;
  bottom: -50px;
  background: white;
  z-index: 100;
  padding: 15px 0;
  margin-top: 10px;
}

body.quiz-active .bio-page {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 1200 !important;
  background: #f5f7fb !important;
  overflow: auto !important;
  padding: 56px 24px 24px !important;
  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch !important;
}

body.quiz-active .bio-page-wrapper {
  min-height: auto;
}

/* PERSONALIZED PLAN PAGE: After Question 15 */
/* STRESS LEVEL PAGE: After Question 15 */
.stress-level-page {
  display: block;
  width: 100%;
  min-height: 100vh;
  padding: 60px 20px;
  background: #f5f7fb;
}

.stress-level-wrapper {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stress-level-title {
  font-size: 2.2rem;
  line-height: 1.3;
  margin: 0;
  color: #0f172a;
  font-weight: 700;
}

.stress-level-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.stress-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stress-card-header {
  display: flex;
  justify-content: center;
}

.stress-card-label {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 10px;
  background: #dc2626;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
}

.stress-card-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stress-card-image {
  display: flex;
  justify-content: center;
}

.stress-card-image img {
  width: 100%;
  max-width: 360px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.stress-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.stress-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.stress-bar {
  width: 100%;
  height: 10px;
  min-height: 10px;
  position: relative;
  border-radius: 18px;
}

.stress-bar-label {
  font-weight: 700;
  color: #0f172a;
}

.stress-bar-low {
  background: linear-gradient(90deg, #93c5fd 0%, #a7f3d0 100%);
}

.stress-bar-normal {
  background: linear-gradient(90deg, #65a30d 0%, #facc15 100%);
}

.stress-bar-medium {
  background: linear-gradient(90deg, #fb923c 0%, #f87171 100%);
}

.stress-bar-high {
  background: linear-gradient(90deg, #f87171 0%, #dc2626 100%);
}

.stress-bar-low,
.stress-bar-normal,
.stress-bar-medium,
.stress-bar-high {
  min-height: 10px;
  position: relative;
}

.stress-level-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stress-level-label {
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.stress-level-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 3px solid rgba(245, 101, 101, 0.9);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.16);
}

.stress-warning {
  display: flex;
  justify-content: center;
}

.stress-warning img {
  width: 72px;
  height: auto;
}

.stress-warning-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  margin: 0;
}

.stress-level-footer {
  position: sticky;
  bottom: -50px;
  background: white;
  z-index: 100;
  padding: 15px 0;
  margin-top: 10px;
}

body.quiz-active .stress-level-page {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 1200 !important;
  background: #f5f7fb !important;
  overflow: auto !important;
  padding: 56px 24px 24px !important;
  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch !important;
}

body.quiz-active .stress-level-wrapper {
  min-height: auto;
}

/* PERSONALIZED PLAN PAGE: After Stress Level Page */
.personalized-plan {
  display: block;
  width: 100%;
  min-height: 100vh;
  padding: 60px 20px;
  background: #f5f7fb;
}

.personalized-plan-wrapper {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.personalized-plan-title {
  font-size: 2.2rem;
  line-height: 1.3;
  margin: 0;
  color: #0f172a;
  font-weight: 700;
}

.personalized-plan-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.stress-counter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.stress-counter-graphic {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stress-gauge {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-background {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 16;
}

.gauge-progress {
  fill: none;
  stroke: url(#gaugeGradient);
  stroke-width: 16;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 565.48;
  transition: stroke-dashoffset 0.2s linear;
}

.gauge-text {
  fill: #0f172a;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: central;
  transform: rotate(90deg);
  transform-origin: 100px 100px;
}

.testimonials-carousel-container {
  width: 100%;
  overflow: hidden;
  margin: 30px 0;
  min-height: 200px;
}

.testimonials-carousel {
  display: flex;
  position: relative;
  width: 100%;
}

.testimonial-carousel-item {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.testimonial-carousel-item.visible {
  opacity: 1;
  z-index: 2;
}

.testimonial-carousel-item.exit-left {
  animation: slideOutLeft 0.6s ease forwards;
}

.testimonial-carousel-item.enter-right {
  animation: slideInRight 0.6s ease forwards;
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(-50%);
  }
  to {
    opacity: 0;
    transform: translateX(-150%);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(150%);
  }
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}

.testimonial-carousel-item img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #dbeafe;
  box-shadow: none;
}

.testimonial-carousel-info {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.testimonial-carousel-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: #0f172a;
}

.testimonial-carousel-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #16a34a;
  color: white;
  font-size: 0.7rem;
  font-weight: 900;
}

.testimonial-carousel-stars {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.testimonial-carousel-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

.personalized-plan-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  margin-top: 20px;
}

.personalized-plan-hidden.visible {
  opacity: 1;
  pointer-events: auto;
}

.plan-continue-btn {
  width: 100%;
  padding: 18px 24px;
}

#planContinueContainer {
  position: sticky;
  bottom: -50px;
  background: white;
  z-index: 100;
  padding: 15px 0;
}

body.quiz-active .personalized-plan {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 1200 !important;
  background: #f5f7fb !important;
  overflow: auto !important;
  padding: 56px 24px 24px !important;
  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch !important;
}

body.quiz-active .personalized-plan-wrapper {
  min-height: auto;
}

/* PLAN READY PAGE: After Personalized Plan Page */
.plan-ready-page {
  display: block;
  width: 100%;
  min-height: 100vh;
  padding: 60px 20px;
  background: #f5f7fb;
}

.plan-ready-wrapper {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.plan-ready-title {
  font-size: 2.2rem;
  line-height: 1.3;
  margin: 0;
  color: #0f172a;
  font-weight: 700;
}

.plan-ready-image {
  display: flex;
  justify-content: center;
  width: 100%;
}

.plan-ready-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.plan-ready-blocks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-ready-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #f8fafc;
  text-align: left;
}

.plan-ready-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eff6ff;
  font-size: 1.55rem;
  flex-shrink: 0;
}

.plan-ready-block-copy {
  min-width: 0;
}

.plan-ready-block h3,
.plan-ready-notice h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 6px;
  color: #0f172a;
  font-weight: 800;
}

.plan-ready-block p,
.plan-ready-notice p {
  margin: 0;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.65;
}

.plan-ready-notice {
  padding: 20px;
  border-radius: 20px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  text-align: left;
}

.plan-ready-notice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.plan-ready-notice-header img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.plan-ready-footer {
  position: sticky;
  bottom: -50px;
  background: white;
  z-index: 100;
  padding: 15px 0;
  margin-top: 10px;
}

body.quiz-active .plan-ready-page {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 1200 !important;
  background: #f5f7fb !important;
  overflow-y: auto !important;
  padding: 56px 24px 24px !important;
  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch !important;
}

body.quiz-active .plan-ready-wrapper {
  min-height: auto;
}

@media (max-width: 620px) {
  .plan-ready-wrapper {
    padding: 28px 20px;
    border-radius: 24px;
    gap: 20px;
  }

  .plan-ready-title {
    font-size: 1.75rem;
  }

  .plan-ready-block {
    padding: 16px;
    gap: 12px;
  }

  /* Ajustes para botones flotantes en dispositivos móviles */
  .info-card-footer { bottom: -22px; }
  .bio-page-footer { bottom: -20px; }
  .stress-level-footer { bottom: -20px; }
  #planContinueContainer { bottom: -20px; }
  .plan-ready-footer { bottom: -20px; }
  }

/* FOOTER PRINCIPAL */
.main-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 20px;
  text-align: center;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
}

.footer-brand {
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-disclaimer {
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-copyright {
  font-size: 0.8rem;
}
