/* ===================================================
   Clinically Ready Landing Page — style.css
   Dark, confident, clinical aesthetic
   =================================================== */

/* ---------- RESET & BASE ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:'DM Sans',sans-serif;
  color:#333;
  background:var(--warm-white);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}

/* ---------- CSS VARIABLES ---------- */
:root{
  --navy:#1a1f3d;
  --navy-light:#252a4a;
  --navy-mid:#1e2347;
  --teal:#2dd4a8;
  --teal-dark:#22b893;
  --teal-tint:#e6faf5;
  --warm-white:#fafaf9;
  --coral:#ff6b6b;
  --gray-bg:#f5f5f0;
  --text:#333;
  --text-light:#6b7280;
  --radius:12px;
  --radius-sm:8px;
  --radius-lg:20px;
  --shadow:0 4px 24px rgba(26,31,61,.08);
  --shadow-lg:0 12px 48px rgba(26,31,61,.12);
  --transition:all .3s cubic-bezier(.4,0,.2,1);
}

/* ---------- CONTAINER ---------- */
.container{max-width:1140px;margin:0 auto;padding:0 24px}

/* ---------- ANIMATIONS ---------- */
.anim-fade-up{
  opacity:0;
  transform:translateY(32px);
  transition:opacity .7s cubic-bezier(.4,0,.2,1),transform .7s cubic-bezier(.4,0,.2,1);
}
.anim-fade-up.visible{opacity:1;transform:translateY(0)}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:'DM Sans',sans-serif;
  font-weight:600;font-size:.95rem;
  border:2px solid transparent;
  border-radius:50px;cursor:pointer;
  transition:var(--transition);
  text-decoration:none;
  padding:12px 28px;
}
.btn-lg{padding:16px 36px;font-size:1.05rem}
.btn-teal{background:var(--teal);color:var(--navy);border-color:var(--teal)}
.btn-teal:hover{background:var(--teal-dark);border-color:var(--teal-dark);transform:translateY(-2px);box-shadow:0 8px 24px rgba(45,212,168,.3)}
.btn-outline-white{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.btn-outline-white:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.btn-outline-teal{background:transparent;color:var(--teal);border-color:var(--teal)}
.btn-outline-teal:hover{background:var(--teal);color:var(--navy)}
.btn-white{background:#fff;color:var(--navy);border-color:#fff}
.btn-white:hover{background:var(--warm-white);transform:translateY(-2px);box-shadow:0 8px 24px rgba(255,255,255,.25)}
.btn-full{width:100%;text-align:center}

/* ===================== NAVBAR ===================== */
.navbar{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  padding:16px 0;
  transition:background .3s,padding .3s,backdrop-filter .3s;
}
.navbar.scrolled{
  background:rgba(26,31,61,.95);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  padding:10px 0;
  box-shadow:0 2px 20px rgba(0,0,0,.2);
}
.nav-container{
  max-width:1140px;margin:0 auto;padding:0 24px;
  display:flex;align-items:center;justify-content:space-between;
}
.nav-logo{display:flex;align-items:center;gap:8px}
.logo-svg{width:36px;height:auto}
.logo-text{font-family:'Fraunces',serif;font-weight:600;font-size:1.25rem;color:#fff}
.nav-links{display:flex;align-items:center;gap:32px}
.nav-link{color:rgba(255,255,255,.7);font-size:.9rem;font-weight:500;transition:color .2s}
.nav-link:hover{color:#fff}
.nav-btn{
  background:var(--teal);color:var(--navy);
  padding:10px 24px;border-radius:50px;
  font-weight:600;font-size:.9rem;
  transition:var(--transition);
}
.nav-btn:hover{background:var(--teal-dark);transform:translateY(-1px)}

/* Hamburger */
.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}
.hamburger span{display:block;width:24px;height:2px;background:#fff;border-radius:2px;transition:var(--transition)}
.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* ===================== HERO ===================== */
.hero{
  position:relative;
  background:var(--navy);
  padding:160px 0 80px;
  overflow:hidden;
}
.hero-grain{
  position:absolute;inset:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat:repeat;
  opacity:.5;
  pointer-events:none;
}
.hero-glow{
  position:absolute;
  top:-30%;left:50%;
  width:800px;height:800px;
  transform:translateX(-50%);
  background:radial-gradient(circle,rgba(45,212,168,.08) 0%,transparent 70%);
  pointer-events:none;
}
.hero-container{max-width:1140px;margin:0 auto;padding:0 24px}
.hero-content{text-align:center;max-width:780px;margin:0 auto 56px}
.hero-headline{
  font-family:'Fraunces',serif;
  font-size:clamp(2.2rem,5.5vw,3.8rem);
  font-weight:600;
  color:#fff;
  line-height:1.12;
  margin-bottom:20px;
  letter-spacing:-.02em;
}
.hero-sub{
  font-size:clamp(1rem,2vw,1.18rem);
  color:rgba(255,255,255,.65);
  max-width:620px;
  margin:0 auto 32px;
  line-height:1.7;
}
.hero-ctas{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-bottom:28px}
.hero-credibility{
  font-size:.88rem;
  color:rgba(255,255,255,.4);
  font-weight:500;
  letter-spacing:.02em;
  text-transform:uppercase;
  font-size:.78rem;
}

/* ---------- APP MOCKUP ---------- */
.hero-mockup{max-width:920px;margin:0 auto}
.mockup-browser{
  background:var(--navy-light);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:0 24px 80px rgba(0,0,0,.4),0 0 0 1px rgba(255,255,255,.06);
}
.mockup-toolbar{
  display:flex;align-items:center;gap:8px;
  padding:12px 16px;
  background:rgba(0,0,0,.25);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.mockup-dot{width:10px;height:10px;border-radius:50%}
.mockup-url{
  margin-left:12px;
  font-size:.75rem;color:rgba(255,255,255,.3);
  background:rgba(255,255,255,.06);
  padding:4px 16px;border-radius:6px;flex:1;max-width:260px;
}
.mockup-body{display:flex;min-height:380px}

/* Sidebar */
.mockup-sidebar{
  width:200px;flex-shrink:0;
  background:rgba(0,0,0,.15);
  padding:16px 12px;
  border-right:1px solid rgba(255,255,255,.06);
}
.mockup-sidebar-logo{
  display:flex;align-items:center;gap:6px;
  font-family:'Fraunces',serif;font-size:.85rem;
  color:#fff;font-weight:600;
  margin-bottom:24px;padding:0 4px;
}
.mockup-nav-item{
  display:flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:8px;
  font-size:.78rem;color:rgba(255,255,255,.45);
  margin-bottom:4px;transition:var(--transition);cursor:default;
}
.mockup-nav-item.active{background:rgba(45,212,168,.12);color:var(--teal)}

/* Main area — Clinical Judgment Scenario */
.mockup-main{flex:1;padding:16px 20px;overflow:hidden}
.mockup-cj-header{margin-bottom:12px}
.mockup-cj-badge{
  display:inline-block;
  font-size:.65rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.06em;
  background:rgba(45,212,168,.15);color:var(--teal);
  padding:3px 10px;border-radius:4px;
  margin-bottom:8px;
}
.mockup-cj-step-indicator{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.cj-step-dot{
  width:8px;height:8px;border-radius:50%;
  background:rgba(255,255,255,.12);
}
.cj-step-dot.cj-done{background:var(--teal)}
.cj-step-dot.cj-active{
  background:var(--teal);
  box-shadow:0 0 0 3px rgba(45,212,168,.25);
  animation:pulse-dot 2s infinite;
}
@keyframes pulse-dot{
  0%,100%{box-shadow:0 0 0 3px rgba(45,212,168,.25)}
  50%{box-shadow:0 0 0 6px rgba(45,212,168,.1)}
}
.cj-step-label{
  font-size:.65rem;color:rgba(255,255,255,.4);
  margin-left:6px;
}

.mockup-scenario{font-size:.75rem;color:rgba(255,255,255,.6);line-height:1.6}
.mockup-patient-bar{
  display:flex;gap:12px;
  padding:6px 10px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  border-radius:6px;
  margin-bottom:10px;
  font-size:.7rem;
}
.mockup-patient-name{font-weight:600;color:rgba(255,255,255,.7)}
.mockup-patient-dx{color:rgba(255,255,255,.4)}
.mockup-scenario-text{
  margin-bottom:12px;
  font-size:.72rem;
  line-height:1.65;
  color:rgba(255,255,255,.55);
}
.mockup-question{margin-top:8px}
.mockup-q-text{
  font-size:.72rem;
  color:rgba(255,255,255,.7);
  font-weight:600;
  margin-bottom:8px;
}
.mockup-drag-items{display:flex;flex-direction:column;gap:5px}
.mockup-drag-item{
  padding:7px 10px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:6px;
  font-size:.68rem;
  color:rgba(255,255,255,.6);
  cursor:default;
  transition:var(--transition);
}
.mockup-drag-item.mockup-drag-placed{
  border-color:var(--teal);
  background:rgba(45,212,168,.06);
  color:var(--teal);
}
.mockup-drag-item.mockup-drag-ghost{
  opacity:.4;
  border-style:dashed;
}

/* ===================== SECTION SHARED STYLES ===================== */
.section-header{text-align:center;margin-bottom:56px}
.section-eyebrow{
  font-size:.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--teal);
  margin-bottom:12px;
}
.section-title{
  font-family:'Fraunces',serif;
  font-size:clamp(1.7rem,3.5vw,2.6rem);
  font-weight:600;color:var(--navy);
  line-height:1.2;margin-bottom:12px;
  letter-spacing:-.015em;
}
.section-title-light{color:#fff}
.section-sub{
  font-size:1.05rem;
  color:var(--text-light);
  max-width:520px;margin:0 auto;
}
.section-sub-light{color:rgba(255,255,255,.55)}

/* ===================== PROBLEM SECTION ===================== */
.problem{
  padding:100px 0;
  background:var(--warm-white);
  position:relative;
}
.problem::before{
  content:'';position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(26,31,61,.08),transparent);
}
.problem-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:28px;
}
.problem-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--radius-lg);
  padding:36px 28px;
  transition:var(--transition);
  position:relative;
  overflow:hidden;
}
.problem-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:var(--coral);
  opacity:0;transition:opacity .3s;
}
.problem-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
}
.problem-card:hover::before{opacity:1}
.problem-icon{
  width:52px;height:52px;
  background:rgba(255,107,107,.08);
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:20px;
}
.problem-title{
  font-family:'Fraunces',serif;
  font-size:1.15rem;font-weight:600;
  color:var(--navy);margin-bottom:10px;
  line-height:1.35;
}
.problem-desc{font-size:.93rem;color:var(--text-light);line-height:1.7}

/* ===================== DIFFERENCE SECTION ===================== */
.difference{
  padding:100px 0;
  background:var(--navy);
  position:relative;
  overflow:hidden;
}
.difference::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 70% 0%,rgba(45,212,168,.06) 0%,transparent 60%);
  pointer-events:none;
}

/* CJ Pipeline */
.cj-pipeline{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  margin-bottom:64px;
  flex-wrap:wrap;
  position:relative;
  z-index:1;
}
.cj-pipe-step{
  display:flex;flex-direction:column;align-items:center;
  gap:8px;padding:0 8px;
  text-align:center;
}
.cj-pipe-num{
  width:36px;height:36px;
  border-radius:50%;
  background:rgba(45,212,168,.12);
  border:1.5px solid var(--teal);
  color:var(--teal);
  font-family:'Fraunces',serif;
  font-size:.9rem;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.cj-pipe-step span{
  font-size:.72rem;
  color:rgba(255,255,255,.6);
  font-weight:500;
  max-width:90px;
  line-height:1.35;
}
.cj-pipe-arrow{
  flex-shrink:0;
  padding:0 2px;
  margin-bottom:24px;
}

/* Diff Cards */
.diff-cards{
  display:grid;grid-template-columns:repeat(3,1fr);gap:28px;
  position:relative;z-index:1;
}
.diff-card{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius-lg);
  padding:36px 28px;
  transition:var(--transition);
  position:relative;
}
.diff-card:hover{
  border-color:rgba(45,212,168,.25);
  background:rgba(255,255,255,.05);
  transform:translateY(-4px);
}
.diff-card-tag{
  display:inline-block;
  font-size:.65rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.06em;
  color:var(--teal);
  background:rgba(45,212,168,.1);
  padding:3px 10px;border-radius:4px;
  margin-bottom:16px;
}
.diff-card-tag--live{
  color:#fff;
  background:var(--teal);
  animation:pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge{
  0%,100%{opacity:1;}
  50%{opacity:.7;}
}
.diff-icon{
  width:52px;height:52px;
  background:rgba(45,212,168,.08);
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:20px;
}
.diff-title{
  font-family:'Fraunces',serif;
  font-size:1.15rem;font-weight:600;
  color:#fff;margin-bottom:10px;
  line-height:1.35;
}
.diff-desc{font-size:.93rem;color:rgba(255,255,255,.55);line-height:1.7}

/* ===================== WHO THIS IS FOR ===================== */
.who-for{
  padding:100px 0;
  background:var(--warm-white);
}
.who-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:32px;
  max-width:880px;margin:0 auto;
}
.who-col{
  background:#fff;
  border-radius:var(--radius-lg);
  padding:36px 32px;
  border:1px solid rgba(0,0,0,.06);
}
.who-yes{border-top:3px solid var(--teal)}
.who-no{border-top:3px solid var(--coral)}
.who-col-title{
  font-family:'Fraunces',serif;
  font-size:1.05rem;font-weight:600;
  color:var(--navy);
  margin-bottom:20px;
  display:flex;align-items:center;gap:10px;
  line-height:1.4;
}
.who-list li{
  font-size:.93rem;
  color:var(--text-light);
  line-height:1.7;
  padding:6px 0 6px 20px;
  position:relative;
}
.who-list li::before{
  content:'';position:absolute;left:0;top:14px;
  width:6px;height:6px;border-radius:50%;
}
.who-yes .who-list li::before{background:var(--teal)}
.who-no .who-list li::before{background:var(--coral)}

/* ===================== BUILDER SECTION ===================== */
.builder{
  padding:80px 0;
  background:var(--gray-bg);
}
.builder-inner{
  max-width:720px;
  margin:0 auto;
  position:relative;
  padding-left:28px;
}
.builder-accent{
  position:absolute;left:0;top:0;bottom:0;
  width:3px;
  background:linear-gradient(180deg,var(--teal),var(--teal-dark));
  border-radius:2px;
}
.builder-title{
  font-family:'Fraunces',serif;
  font-size:clamp(1.4rem,2.5vw,1.8rem);
  font-weight:600;color:var(--navy);
  margin-bottom:16px;
  line-height:1.3;
}
.builder-text{
  font-size:1rem;
  color:var(--text-light);
  line-height:1.8;
}

/* ===================== WHAT'S LIVE NOW ===================== */
.live-now{
  padding:100px 0;
  background:#fff;
}
.live-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:20px;
  max-width:820px;margin:0 auto;
}
.live-card{
  display:flex;align-items:flex-start;gap:16px;
  padding:24px;
  background:var(--warm-white);
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--radius);
  transition:var(--transition);
}
.live-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
  border-color:rgba(45,212,168,.15);
}
.live-icon{
  width:44px;height:44px;flex-shrink:0;
  background:var(--teal-tint);
  border-radius:10px;
  display:flex;align-items:center;justify-content:center;
}
.live-title{
  font-family:'Fraunces',serif;
  font-size:1rem;font-weight:600;
  color:var(--navy);margin-bottom:4px;
}
.live-desc{font-size:.85rem;color:var(--text-light);line-height:1.6}
.live-new-badge{
  display:inline-block;
  font-family:'DM Sans',sans-serif;
  font-size:.55rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.06em;
  color:#fff;background:var(--teal);
  padding:2px 6px;border-radius:3px;
  margin-left:6px;vertical-align:middle;
  position:relative;top:-1px;
}
.live-card--new{
  border-color:rgba(45,212,168,.25);
}

/* last card spans full width if odd */
.live-grid .live-card:last-child:nth-child(odd){
  grid-column:1 / -1;
  max-width:calc(50% - 10px);
  justify-self:center;
}

/* ===================== PRICING ===================== */
.pricing{
  background:var(--navy);
  padding:100px 0;
  position:relative;
}
.pricing::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 30% 0%,rgba(45,212,168,.08) 0%,transparent 60%);
  pointer-events:none;
}
.pricing-grid{
  display:grid;grid-template-columns:repeat(2,1fr);
  gap:28px;max-width:780px;margin:0 auto;
  position:relative;z-index:1;
}
.pricing-card{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius-lg);
  padding:40px 32px;
  position:relative;
  transition:var(--transition);
}
.pricing-card:hover{
  border-color:rgba(255,255,255,.2);
  transform:translateY(-3px);
}
.pricing-card-pro{
  background:rgba(45,212,168,.05);
  border-color:var(--teal);
  box-shadow:0 0 40px rgba(45,212,168,.1);
}
.pricing-card-pro:hover{
  border-color:var(--teal);
  box-shadow:0 0 60px rgba(45,212,168,.15);
}
.pricing-badge{
  position:absolute;top:-13px;left:50%;transform:translateX(-50%);
  background:var(--teal);color:var(--navy);
  font-size:.72rem;font-weight:700;
  padding:5px 18px;border-radius:50px;
  text-transform:uppercase;letter-spacing:.05em;
}
.pricing-plan-name{
  font-family:'Fraunces',serif;
  font-size:1.15rem;font-weight:500;
  color:rgba(255,255,255,.7);margin-bottom:8px;
}
.pricing-price{margin-bottom:4px}
.price-dollar{
  font-family:'Fraunces',serif;
  font-size:2.8rem;font-weight:700;color:#fff;
}
.price-period{font-size:1rem;color:rgba(255,255,255,.5);font-weight:400}
.pricing-tagline{
  font-size:.85rem;color:rgba(255,255,255,.4);
  margin-bottom:24px;
}
.pricing-annual{font-size:.85rem;color:rgba(255,255,255,.45);margin-bottom:24px}
.pricing-features{margin-bottom:28px}
.pricing-features li{
  display:flex;align-items:center;gap:10px;
  font-size:.9rem;color:rgba(255,255,255,.75);
  padding:8px 0;
}
.pricing-features li svg{flex-shrink:0}
.pricing-annual-link{
  display:block;text-align:center;
  margin-top:12px;font-size:.85rem;
  color:var(--teal);font-weight:500;
  transition:color .2s;
}
.pricing-annual-link:hover{color:var(--teal-dark)}

/* ===================== FAQ ===================== */
.faq{padding:100px 0;background:var(--warm-white)}
.faq-list{max-width:720px;margin:0 auto}
.faq-item{
  border-bottom:1px solid rgba(0,0,0,.08);
}
.faq-question{
  width:100%;display:flex;align-items:center;justify-content:space-between;
  padding:22px 0;
  font-family:'DM Sans',sans-serif;
  font-size:1.02rem;font-weight:600;
  color:var(--navy);
  background:none;border:none;cursor:pointer;text-align:left;
  transition:color .2s;
}
.faq-question:hover{color:var(--teal-dark)}
.faq-chevron{transition:transform .3s;flex-shrink:0;color:var(--text-light)}
.faq-item.open .faq-chevron{transform:rotate(180deg)}
.faq-answer{
  max-height:0;overflow:hidden;
  transition:max-height .4s cubic-bezier(.4,0,.2,1),padding .3s;
}
.faq-item.open .faq-answer{
  max-height:300px;
  padding-bottom:22px;
}
.faq-answer p{
  font-size:.93rem;color:var(--text-light);line-height:1.75;
}

/* ===================== FINAL CTA ===================== */
.final-cta{
  background:var(--navy);
  padding:100px 0;text-align:center;
  position:relative;overflow:hidden;
}
.final-cta::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(circle at 50% 50%,rgba(45,212,168,.1) 0%,transparent 60%);
  pointer-events:none;
}
.final-cta-headline{
  font-family:'Fraunces',serif;
  font-size:clamp(1.8rem,4vw,2.8rem);
  font-weight:600;color:#fff;
  margin-bottom:16px;
  position:relative;
  line-height:1.2;
}
.final-cta-sub{
  font-size:1.1rem;color:rgba(255,255,255,.55);
  margin-bottom:32px;position:relative;
}
.final-cta .btn{position:relative}

/* ===================== FOOTER ===================== */
.footer{background:var(--navy);padding:48px 0 32px;border-top:1px solid rgba(255,255,255,.06)}
.footer-top{
  display:flex;align-items:center;justify-content:space-between;
  padding-bottom:28px;
  border-bottom:1px solid rgba(255,255,255,.08);
  flex-wrap:wrap;gap:20px;
}
.footer-logo .logo-text{font-size:1.1rem}
.footer-links{display:flex;gap:28px}
.footer-links a{font-size:.85rem;color:rgba(255,255,255,.5);transition:color .2s}
.footer-links a:hover{color:#fff}
.footer-social{display:flex;gap:16px}
.footer-social a{color:rgba(255,255,255,.4);transition:color .2s}
.footer-social a:hover{color:var(--teal)}
.footer-bottom{text-align:center;padding-top:24px}
.footer-bottom p{font-size:.8rem;color:rgba(255,255,255,.35)}

/* ===================== PULSE ANIMATION ON LOGO SVG ===================== */
@keyframes heartbeat-pulse{
  0%,100%{opacity:1}
  50%{opacity:.6}
}
.nav-logo .logo-svg path{
  animation:heartbeat-pulse 3s ease-in-out infinite;
}
@keyframes pulse-draw{
  0%{stroke-dashoffset:100}
  50%{stroke-dashoffset:0}
  100%{stroke-dashoffset:100}
}
.nav-logo:hover .logo-svg path{
  stroke-dasharray:100;
  animation:pulse-draw 2s ease-in-out;
}

/* Heartbeat line at hero bottom */
.hero::after{
  content:'';
  position:absolute;
  bottom:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,var(--teal),transparent);
  opacity:.3;
}

/* ===================== RESPONSIVE ===================== */
@media(max-width:1024px){
  .cj-pipeline{gap:4px}
  .cj-pipe-step span{font-size:.65rem;max-width:72px}
  .cj-pipe-arrow svg{width:18px}
}

@media(max-width:900px){
  .problem-grid,.diff-cards{grid-template-columns:1fr}
  .pricing-grid{grid-template-columns:1fr;max-width:420px}
  .who-grid{grid-template-columns:1fr}
  .live-grid{grid-template-columns:1fr}
  .live-grid .live-card:last-child:nth-child(odd){
    max-width:100%;grid-column:auto;
  }
  .mockup-sidebar{display:none}
  .mockup-body{min-height:300px}

  /* Stack the CJ pipeline vertically */
  .cj-pipeline{
    flex-direction:column;
    gap:0;
    align-items:center;
  }
  .cj-pipe-step{flex-direction:row;gap:10px;padding:6px 0}
  .cj-pipe-step span{max-width:none;text-align:left}
  .cj-pipe-arrow{
    transform:rotate(90deg);
    padding:4px 0;margin-bottom:0;
  }
}

@media(max-width:768px){
  /* Nav mobile */
  .nav-links{
    position:fixed;top:0;right:-100%;width:280px;height:100vh;
    background:var(--navy);
    flex-direction:column;align-items:flex-start;
    padding:80px 32px 32px;gap:24px;
    transition:right .35s cubic-bezier(.4,0,.2,1);
    box-shadow:-8px 0 40px rgba(0,0,0,.3);
  }
  .nav-links.open{right:0}
  .nav-link{font-size:1.1rem;color:rgba(255,255,255,.8)}
  .nav-btn{width:100%;text-align:center}
  .hamburger{display:flex}

  .hero{padding:120px 0 60px}
  .hero-headline{font-size:2rem}
  .hero-sub{font-size:.95rem}
  .hero-ctas{flex-direction:column;align-items:center}
  .hero-ctas .btn{width:100%;max-width:320px}
  .hero-mockup{margin-top:40px}

  .mockup-patient-bar{flex-direction:column;gap:2px}
  .mockup-drag-items{gap:4px}
  .mockup-drag-item{font-size:.62rem;padding:5px 8px}

  .footer-top{flex-direction:column;align-items:center;text-align:center}
}

@media(max-width:480px){
  .hero-headline{font-size:1.7rem}
  .section-title{font-size:1.5rem}
  .problem-card{padding:28px 20px}
  .diff-card{padding:28px 20px}
  .pricing-card{padding:32px 24px}
  .price-dollar{font-size:2.2rem}
  .who-col{padding:28px 20px}
  .builder-inner{padding-left:20px}
}
