﻿/* Shared inner-page section styles (uses colors.css variables) */
/* ════════════════════════════════════════
     CONDITION PAGE STYLES
  ════════════════════════════════════════ */










/* ── BUTTONS ── */
.btn-primary{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;background:var(--teal);color:var(--white);font-size:15px;font-weight:600;border-radius:var(--radius-pill);border:none;cursor:pointer;transition:all var(--transition);white-space:nowrap;font-family:'DM Sans',sans-serif}
.btn-primary:hover{background:var(--teal-dark);transform:translateY(-1px);box-shadow:0 4px 16px var(--primary-30)}
.btn-primary svg{width:16px;height:16px}
.btn-secondary{display:inline-flex;align-items:center;gap:8px;padding:12px 28px;background:transparent;color:var(--navy);font-size:14px;font-weight:600;border-radius:var(--radius-pill);border:2px solid var(--grey-200);cursor:pointer;transition:all var(--transition);font-family:'DM Sans',sans-serif}
.btn-secondary:hover{border-color:var(--navy)}
.btn-white{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;background:var(--white);color:var(--navy);font-size:15px;font-weight:600;border-radius:var(--radius-pill);border:none;cursor:pointer;transition:all var(--transition);font-family:'DM Sans',sans-serif}
.btn-white:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}

/* Pulsing CTA */
.btn-pulse{position:relative;z-index:1}
.btn-pulse::before{content:'';position:absolute;inset:-4px;border-radius:var(--radius-pill);background:var(--teal);opacity:0;z-index:-1;animation:pulse-ring 2s cubic-bezier(0.4,0,0.6,1) infinite}
@keyframes pulse-ring{0%{opacity:0.4;transform:scale(1)}70%{opacity:0;transform:scale(1.15)}100%{opacity:0;transform:scale(1.15)}}

.section-eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;color:var(--teal);margin-bottom:16px}
.section-eyebrow::before{content:'';width:20px;height:2px;background:var(--teal);border-radius:1px}
.section-header{text-align:center;margin-bottom:48px}
.section-header h2{font-size:clamp(28px,3.5vw,40px);margin-bottom:12px}
.section-header p{font-size:16px;color:var(--grey-500);max-width:540px;margin:0 auto}

/* ════════════════════════════════════════
   CONDITION HERO
════════════════════════════════════════ */
.condition-hero{
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 50%,var(--color-dark-tint) 100%);
  padding:clamp(48px,6vw,80px) 0 clamp(60px,8vw,100px);
  position:relative;overflow:hidden;color:var(--white);
}
.condition-hero::before{content:'';position:absolute;top:-40%;right:-15%;width:600px;height:600px;background:radial-gradient(circle,var(--primary-08) 0%,transparent 70%);border-radius:50%}
.condition-hero 
.hero-breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--on-dark-50);margin-bottom:24px}
.hero-breadcrumb 
.hero-breadcrumb a:hover{color:var(--teal)}
.hero-breadcrumb svg{width:12px;height:12px}
.condition-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.condition-hero-content h1{font-size:clamp(32px,4.5vw,52px);color:var(--white);margin-bottom:16px;line-height:1.1}
.condition-hero-content h1 em{font-style:normal;color:var(--teal)}
.condition-hero-content>p{font-size:17px;color:var(--on-dark-70);margin-bottom:28px;line-height:1.7;max-width:500px}

/* Hero right column — image + trust card stacked */
.hero-right-col{display:flex;flex-direction:column;gap:20px}
.hero-image{border-radius:var(--radius-lg);overflow:hidden;height:220px;position:relative}
.hero-image-inner{position:absolute;inset:0;background:var(--gradient-hero);display:flex;align-items:center;justify-content:center}
.hero-image-inner::after{content:'';position:absolute;inset:0;background:linear-gradient(to bottom,transparent 40%,var(--dark-40) 100%)}
.hero-image-placeholder{position:relative;z-index:2;text-align:center;color:var(--on-dark-30)}
.hero-image-placeholder svg{width:56px;height:56px;margin-bottom:8px}
.hero-image-placeholder span{display:block;font-size:12px;font-weight:600;letter-spacing:0.06em;text-transform:uppercase}
.hero-cta-group{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin-bottom:32px}
.hero-privacy{font-size:12px;color:var(--on-dark-40);max-width:400px}
.hero-privacy 
.hero-stats{display:flex;gap:24px;padding-top:28px;border-top:1px solid var(--on-dark-10)}
.hero-stat{text-align:center}
.hero-stat-num{font-family:'Fraunces',Georgia,serif;font-size:28px;font-weight:600;color:var(--teal)}
.hero-stat-label{font-size:11px;color:var(--on-dark-50);margin-top:2px}

/* Hero right — trust card */
.hero-trust-card{background:var(--on-dark-06);backdrop-filter:blur(12px);border:1px solid var(--on-dark-10);border-radius:var(--radius);padding:20px;color:var(--white)}
.htc-features{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.htc-feature{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--on-dark-70)}
.htc-feature svg{width:16px;height:16px;color:var(--teal);flex-shrink:0}
.htc-trust-badges{display:flex;gap:16px;padding-top:14px;border-top:1px solid var(--on-dark-08)}
.htc-badge{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--on-dark-50)}
.htc-badge svg{width:16px;height:16px;opacity:0.5}

/* ════════════════════════════════════════
   PRODUCT GRID
════════════════════════════════════════ */
.products-section{padding:var(--section-pad) 0;background:var(--white)}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.product-card{background:var(--white);border:1px solid var(--grey-200);border-radius:var(--radius-lg);overflow:hidden;transition:all var(--transition);cursor:pointer;position:relative}
.product-card:hover{border-color:var(--teal);box-shadow:var(--shadow-md);transform:translateY(-4px)}
.product-badge{position:absolute;top:12px;left:12px;padding:4px 12px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0.06em;border-radius:var(--radius-pill);z-index:2}
.badge-popular{background:var(--teal);color:var(--white)}
.badge-rx{background:var(--navy);color:var(--white)}
.product-image{height:200px;background:var(--grey-100);display:flex;align-items:center;justify-content:center;padding:20px}
.product-placeholder{width:80px;height:80px;background:var(--grey-200);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;color:var(--grey-300)}
.product-placeholder svg{width:36px;height:36px}
.product-info{padding:20px}
.product-category{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.08em;color:var(--teal);margin-bottom:6px}
.product-name{font-family:'DM Sans',sans-serif;font-size:16px;font-weight:600;margin-bottom:6px;color:var(--navy);line-height:1.3}
.product-desc{font-size:12px;color:var(--grey-500);margin-bottom:12px;line-height:1.5}
.product-price{font-size:14px;color:var(--grey-500);margin-bottom:16px}
.product-price strong{color:var(--navy);font-size:18px;font-weight:700}
.product-card .btn-primary{width:100%;justify-content:center;padding:10px 20px;font-size:13px}

/* ════════════════════════════════════════
   WEIGHT LOSS CALCULATOR EMBED
════════════════════════════════════════ */
.calculator-section{padding:var(--section-pad) 0;background:var(--off-white);position:relative;overflow:hidden}
.calculator-section::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(ellipse at 80% 50%,var(--teal-subtle) 0%,transparent 50%)}
.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;position:relative;z-index:2}
.calc-content h2{font-size:clamp(28px,3.5vw,40px);margin-bottom:16px}
.calc-content h2 em{font-style:normal;color:var(--teal)}
.calc-content>p{font-size:16px;color:var(--grey-700);margin-bottom:24px;line-height:1.7}
.calc-checklist{display:flex;flex-direction:column;gap:12px;margin-bottom:28px}
.calc-check{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--grey-700)}
.calc-check svg{width:18px;height:18px;color:var(--teal);flex-shrink:0}
.calc-widget{background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);overflow:hidden}
.calc-widget-header{background:var(--navy);color:var(--white);padding:24px 28px;display:flex;align-items:center;gap:12px}
.calc-widget-header-icon{width:40px;height:40px;background:var(--primary-20);border-radius:10px;display:flex;align-items:center;justify-content:center}
.calc-widget-header-icon svg{width:20px;height:20px;color:var(--teal)}
.calc-widget-header h3{font-size:18px;color:var(--white);margin-bottom:2px}
.calc-widget-header p{font-size:13px;color:var(--on-dark-60)}
.calc-embed{padding:0;min-height:400px;display:flex;align-items:center;justify-content:center;background:var(--cream)}
.calc-embed iframe{width:100%;height:100%;min-height:400px;border:none}
.embed-placeholder{text-align:center;padding:40px;color:var(--grey-500)}
.embed-placeholder svg{width:48px;height:48px;color:var(--grey-300);margin-bottom:12px}
.embed-placeholder p{font-size:14px}
.embed-placeholder code{display:block;margin-top:12px;padding:12px 16px;background:var(--grey-100);border-radius:8px;font-size:12px;color:var(--grey-700);word-break:break-all}

/* ════════════════════════════════════════
   HOW IT WORKS (inline)
════════════════════════════════════════ */
.how-section{padding:var(--section-pad) 0;background:var(--white)}
.how-steps{display:flex;gap:0;align-items:flex-start;position:relative}
.how-step{flex:1;text-align:center;padding:0 16px;position:relative}
.how-step-num{width:44px;height:44px;background:var(--teal);color:var(--white);font-family:'Fraunces',Georgia,serif;font-size:18px;font-weight:600;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;position:relative;z-index:2}
.how-step h4{font-family:'DM Sans',sans-serif;font-size:14px;font-weight:600;margin-bottom:6px}
.how-step p{font-size:12px;color:var(--grey-500);line-height:1.5}
.how-step::after{content:'';position:absolute;top:22px;left:calc(50% + 28px);right:calc(-50% + 28px);height:2px;background:var(--grey-200);z-index:1}
.how-step:last-child::after{display:none}

/* ════════════════════════════════════════
   ABOUT THIS CONDITION
════════════════════════════════════════ */
.about-section{padding:var(--section-pad) 0;background:var(--off-white)}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.about-content h2{font-size:clamp(24px,3vw,32px);margin-bottom:16px}
.about-content p{font-size:15px;color:var(--grey-700);line-height:1.8;margin-bottom:16px}
.about-content p strong{color:var(--navy)}
.about-sidebar{display:flex;flex-direction:column;gap:20px}
.about-info-card{background:var(--white);border:1px solid var(--grey-200);border-radius:var(--radius);padding:24px}
.about-info-card h4{font-family:'DM Sans',sans-serif;font-size:14px;font-weight:600;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.about-info-card h4 svg{width:18px;height:18px;color:var(--teal)}
.about-info-card ul{list-style:none;display:flex;flex-direction:column;gap:8px}
.about-info-card li{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--grey-700)}
.about-info-card li svg{width:14px;height:14px;color:var(--teal);flex-shrink:0}
.about-important{background:var(--accent-06);border:1px solid var(--accent-15);border-radius:var(--radius);padding:20px;margin-top:8px}
.about-important p{font-size:13px;color:var(--grey-700);line-height:1.6;margin:0}
.about-important strong{color:var(--coral)}

/* ════════════════════════════════════════
   REVIEWS + VIDEO TESTIMONIALS
════════════════════════════════════════ */
.reviews-section{padding:var(--section-pad) 0;background:var(--white)}
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:56px}
.review-card{padding:28px;background:var(--cream);border-radius:var(--radius-lg);border:1px solid var(--grey-200);position:relative}
.review-quote{position:absolute;top:16px;right:20px;font-family:'Fraunces',Georgia,serif;font-size:48px;color:var(--teal);opacity:0.2;line-height:1}
.review-stars{display:flex;gap:3px;margin-bottom:16px}
.review-stars svg{width:16px;height:16px;fill:var(--color-star)}
.review-text{font-size:15px;color:var(--grey-700);line-height:1.7;margin-bottom:20px;font-style:italic}
.review-author{display:flex;align-items:center;gap:12px}
.review-avatar{width:40px;height:40px;background:var(--teal);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--white);font-weight:700;font-size:14px}
.review-meta strong{display:block;font-size:14px;color:var(--navy)}
.review-meta span{font-size:12px;color:var(--grey-500)}

.video-header{text-align:center;margin-bottom:28px}
.video-header h3{font-size:22px;margin-bottom:6px}
.video-header p{font-size:14px;color:var(--grey-500)}
.video-scroll{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 4px 20px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.video-scroll::-webkit-scrollbar{display:none}
.video-card{flex:0 0 190px;scroll-snap-align:start;border-radius:var(--radius-lg);overflow:hidden;background:var(--navy);position:relative;cursor:pointer;aspect-ratio:9/16;transition:all var(--transition)}
.video-card:hover{transform:scale(1.03);box-shadow:var(--shadow-lg)}
.video-card-bg{position:absolute;inset:0;background:linear-gradient(180deg,var(--dark-10) 0%,var(--dark-70) 70%,var(--dark-95) 100%);z-index:1}
.video-card-pattern{position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 4px,var(--on-dark-02) 4px,var(--on-dark-02) 5px);z-index:0}
.video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:44px;height:44px;background:var(--on-dark-20);backdrop-filter:blur(8px);border-radius:50%;display:flex;align-items:center;justify-content:center;z-index:2;transition:all var(--transition);border:2px solid var(--on-dark-30)}
.video-card:hover .video-play{background:var(--teal);border-color:var(--teal)}
.video-play svg{width:18px;height:18px;color:var(--white);margin-left:2px}
.video-card-info{position:absolute;bottom:0;left:0;right:0;padding:16px 14px;z-index:2}
.video-card-name{font-size:13px;font-weight:600;color:var(--white);margin-bottom:3px}
.video-card-desc{font-size:11px;color:var(--on-dark-60)}
.video-card-stars{display:flex;gap:2px;margin-bottom:6px}
.video-card-stars svg{width:11px;height:11px;fill:var(--color-star)}
.scroll-arrows{display:flex;gap:8px;justify-content:center;margin-top:16px}
.scroll-arrow{width:40px;height:40px;border-radius:50%;border:1px solid var(--grey-200);background:var(--white);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all var(--transition);color:var(--grey-700)}
.scroll-arrow:hover{border-color:var(--teal);color:var(--teal)}
.scroll-arrow svg{width:18px;height:18px}

/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.faq-section{padding:var(--section-pad) 0;background:var(--off-white)}
.faq-list{max-width:720px;margin:0 auto}
.faq-item{background:var(--white);border:1px solid var(--grey-200);border-radius:var(--radius);margin-bottom:12px;overflow:hidden;transition:all var(--transition)}
.faq-item:hover{border-color:var(--teal)}
.faq-question{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;cursor:pointer;font-weight:600;font-size:15px;color:var(--navy);gap:16px}
.faq-toggle{width:28px;height:28px;background:var(--grey-100);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all var(--transition)}
.faq-item:hover .faq-toggle{background:var(--teal-glow)}
.faq-toggle svg{width:14px;height:14px;color:var(--grey-500);transition:transform var(--transition)}
.faq-item.open .faq-toggle svg{transform:rotate(45deg)}
.faq-item.open .faq-toggle{background:var(--teal)}
.faq-item.open .faq-toggle svg{color:var(--white)}
.faq-answer{padding:0 24px 20px;font-size:14px;color:var(--grey-700);line-height:1.7;display:none}
.faq-item.open .faq-answer{display:block}

/* ════════════════════════════════════════
   STICKY CTA BAR
════════════════════════════════════════ */
.sticky-ct
.sticky-cta.visible{transform:translateY(0)}
.sticky-cta 
.sticky-cta-text{font-size:15px;font-weight:600;color:var(--navy)}
.sticky-cta-text span{color:var(--grey-500);font-weight:400;font-size:13px;margin-left:8px}
.sticky-cta-actions{display:flex;gap:12px;align-items:center}
.sticky-cta-price{font-size:13px;color:var(--grey-500)}
.sticky-cta-price strong{color:var(--navy);font-size:16px}

/* ════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════ */
.cta-banner{padding:var(--section-pad) 0;background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%);text-align:center;color:var(--white);position:relative;overflow:hidden}
.cta-banner::before{content:'';position:absolute;top:-100px;right:-100px;width:400px;height:400px;background:radial-gradient(circle,var(--primary-10) 0%,transparent 60%);border-radius:50%}
.cta-banner h2{font-size:clamp(28px,4vw,40px);color:var(--white);margin-bottom:12px;position:relative}
.cta-banner p{font-size:16px;color:var(--on-dark-70);max-width:480px;margin:0 auto 28px}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media(max-width:1024px){
  .condition-hero-grid{grid-template-columns:1fr}
  .hero-right-col{display:none}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .calc-grid{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}
  .how-steps{flex-wrap:wrap;gap:20px}
  .how-step{flex:0 0 calc(33.33% - 14px)}
  .how-step::after{display:none}
}
@media(max-width:768px){
  .product-grid{grid-template-columns:1fr}
  .reviews-grid{grid-template-columns:1fr}
  .hero-stats{flex-wrap:wrap;gap:16px}
  .how-step{flex:0 0 calc(50% - 10px)}
  .sticky-cta-text span{display:none}
}
@media(max-width:480px){
  .hero-cta-group{flex-direction:column;align-items:flex-start}
  .how-step{flex:0 0 100%}
  .sticky-cta 
}
