*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{font-family:'Poppins',-apple-system,BlinkMacSystemFont,sans-serif;background:#111827;color:#fff;line-height:1.5;overflow-x:hidden}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
:root{--bg:#F2F3F5;--dark:#111827;--blue:#1B6FE4;--purple:#7B35E8;--tblue:#1E8FFF;--orange:#FF7300;--white:#FFF;--gray:#6B7280;--lightgray:#E5E7EB;--muted:#8BAFD4;--card-bg:#0D1A2D}

/* ── NAV ── */
.nav{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(17,24,39,0.95);backdrop-filter:blur(12px);padding:14px 0}
.nav .container{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between}
.nav-logo{display:flex;align-items:center;gap:10px}
.nav-logo .tc-box{width:34px;height:34px;background:var(--blue);border-radius:9px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:14px}
.nav-logo .tc-name{color:#fff;font-weight:700;font-size:16px}
.nav-cta{background:var(--blue);color:#fff;padding:10px 24px;border-radius:10px;font-weight:600;font-size:14px;cursor:pointer;border:none;transition:transform .2s,box-shadow .2s}
.nav-cta:hover{transform:translateY(-1px);box-shadow:0 4px 16px rgba(27,111,228,.4)}

/* ── HERO ── */
/* The fixed nav is ~70px tall (logo chip), so the hero reserves clearly more than that above its content. min-height (not height)
   lets the hero grow on short/narrow viewports instead of clipping the feature heading. */
.hero{min-height:100vh;display:flex;align-items:center;padding:110px 0 56px;background:var(--dark);position:relative}
.hero::after{content:'';position:absolute;bottom:0;left:0;right:0;height:120px;background:linear-gradient(to bottom,transparent,var(--dark));pointer-events:none}
html{scroll-padding-top:80px}
.hero .container{max-width:1200px;margin:0 auto;padding:0 24px;width:100%}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px}
.hero-left h1{font-size:42px;font-weight:800;color:#fff;line-height:1.15}
.hero-left h1 .accent{color:var(--blue)}
.hero-sub{font-size:18px;color:var(--muted);margin-top:18px;max-width:420px}
.hero-cta{margin-top:30px;display:flex;flex-direction:column;gap:14px}
.hero-cta-btn{background:var(--blue);color:#fff;padding:15px 36px;border-radius:12px;font-weight:600;font-size:16px;display:inline-block;width:fit-content;cursor:pointer;border:none;transition:transform .2s,box-shadow .2s}
.hero-cta-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(27,111,228,.4)}
.hero-cta-note{font-size:13px;color:var(--muted)}

/* ── CAROUSEL ── */
.carousel{position:relative;width:100%;display:flex;flex-direction:column;align-items:center;gap:14px}
.carousel-header{text-align:center;min-height:28px}
.carousel-header .feat-name{font-size:19px;font-weight:700;color:#fff;letter-spacing:.5px}
.carousel-body{display:flex;align-items:center;gap:20px;width:100%;justify-content:center}
/* Phone images are cropped tight to the phone (648x1376), so the track simply matches that ratio. 280px wide = 594px tall,
   i.e. the phone now fills (and slightly exceeds) the old 260x540 white container. */
.carousel-track{position:relative;width:280px;aspect-ratio:632/1360;flex-shrink:0}
/* Shadow is drawn here (follows the phone's rounded outline) instead of being baked into the image, where the crop left a visible box. */
.carousel-slide img,.carousel-slide video{filter:drop-shadow(0 14px 22px rgba(0,0,0,.55))}
.carousel-slide{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;transform:scale(.94);transition:opacity .5s ease,transform .5s ease;pointer-events:none}
.carousel-slide.active{opacity:1;transform:scale(1);pointer-events:auto}

/* iPhone frame removed — screenshots are already full-screen iPhone images */
/* No white backing, clipping or rounding: the transparent phone image (and its soft shadow) sits directly on the dark hero. */
.iphone{width:100%;height:100%;position:relative}
.iphone-screen{width:100%;height:100%;position:relative}
.carousel-slide img.contain{object-fit:contain}

/* Callout points to the right of phone */
.callouts{width:200px;flex-shrink:0}
.callouts-slide{display:none}
.callouts-slide.active{display:block}
.callout-point{margin-bottom:16px}
.callout-point:last-child{margin-bottom:0}
.callout-point .cp-title{font-size:14px;font-weight:700;color:#fff;margin-bottom:4px;line-height:1.3}
.callout-point .cp-body{font-size:12px;color:var(--muted);line-height:1.5}
.callout-point .cp-body strong{color:#cbd5e1;font-weight:600}
.callout-divider{width:24px;height:2px;background:var(--blue);border-radius:1px;margin-bottom:16px}

.carousel-desc{text-align:center;max-width:340px}
.carousel-desc p{font-size:14px;color:var(--muted);line-height:1.5}
.carousel-dots{display:flex;gap:9px}
.carousel-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.25);cursor:pointer;transition:background .3s}
.carousel-dot.active{background:var(--blue)}

/* ── SECTION BASE ── */
section{padding:80px 0}
.section-label{font-size:11px;font-weight:700;letter-spacing:3px;text-transform:uppercase;margin-bottom:12px}
.light-section{background:var(--bg);color:var(--dark)}
.light-section .section-label{color:var(--gray)}
.container{max-width:1200px;margin:0 auto;padding:0 24px}

/* ── PROBLEM ── */
.problem h2{font-size:30px;font-weight:700;margin-bottom:48px;max-width:700px}
.problem-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.p-card{background:#fff;border-radius:16px;padding:32px 24px;box-shadow:0 2px 12px rgba(0,0,0,.06);border:1px solid var(--lightgray)}
.p-card .p-icon{width:40px;height:40px;margin-bottom:20px}
.p-card h3{font-size:17px;font-weight:700;margin-bottom:10px}
.p-card p{font-size:14px;color:var(--gray);line-height:1.6}
.problem-bottom{text-align:center;margin-top:48px}
.problem-bottom span{font-size:18px;font-weight:700;color:var(--blue)}

/* ── HOW IT WORKS ── */
.how .container{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.how .section-label{color:var(--purple)}
.how-left h2{font-size:26px;font-weight:700;margin-bottom:36px;max-width:500px}
.how-steps{display:flex;flex-direction:column;gap:24px}
.how-step{display:flex;gap:16px;align-items:flex-start}
.how-step .step-num{width:40px;height:40px;border-radius:50%;background:var(--purple);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:15px;flex-shrink:0}
.how-step .step-content h4{font-size:13px;font-weight:700;letter-spacing:1px;color:var(--purple);text-transform:uppercase;margin-bottom:6px}
.how-step .step-content p{font-size:14px;color:var(--gray);line-height:1.5}
.step-connector{width:2px;height:24px;border-left:2px dashed var(--lightgray);margin-left:20px}
.how-right{display:flex;justify-content:center}
.how-right img{max-width:100%;max-height:550px;object-fit:contain;border-radius:12px}

/* ── PROFILE ── */
.profile .container{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.profile .section-label{color:var(--purple)}
.profile h2{font-size:22px;font-weight:700;margin-bottom:32px;max-width:450px}
.profile-left img{max-width:100%;border-radius:12px}
.profile-cats{display:flex;flex-direction:column;gap:12px}
.profile-cat{background:#fff;border:1px solid var(--lightgray);border-radius:12px;padding:16px 20px;display:flex;align-items:flex-start;gap:12px;box-shadow:0 1px 6px rgba(0,0,0,.03)}
.profile-cat .cat-dot{width:12px;height:12px;border-radius:50%;flex-shrink:0;margin-top:4px}
.profile-cat .cat-body h4{font-size:14px;font-weight:700;margin-bottom:4px}
.profile-cat .cat-body .cat-when{font-size:10px;font-weight:700;letter-spacing:.5px;margin-bottom:4px}
.profile-cat .cat-body p{font-size:12px;color:var(--gray);line-height:1.5}
.profile-foot{font-size:12px;color:var(--gray);font-style:italic;margin-top:16px}

/* ── WHEN READY ── */
.when-ready .section-label{color:var(--gray)}
.when-ready h2{font-size:24px;font-weight:700;margin-bottom:8px}
.when-ready>.container>p{font-size:15px;color:var(--gray);margin-bottom:40px;max-width:650px}
.wr-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.wr-card{background:#fff;border:1px solid var(--lightgray);border-radius:16px;padding:32px 28px;box-shadow:0 1px 8px rgba(0,0,0,.04);position:relative;overflow:hidden}
.wr-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px}
.wr-card.track::before{background:var(--tblue)}
.wr-card.cast::before{background:var(--orange)}
.wr-card .wr-icon{width:36px;height:36px;margin-bottom:16px}
.wr-card h3{font-size:15px;font-weight:700;margin-bottom:8px}
.wr-card.track h3{color:var(--tblue)}
.wr-card.cast h3{color:var(--orange)}
.wr-card p{font-size:14px;color:var(--gray);line-height:1.6;margin-bottom:16px}
.wr-card .wr-foot{font-size:13px;font-weight:600}
.wr-card.track .wr-foot{color:var(--tblue)}
.wr-card.cast .wr-foot{color:var(--orange)}

/* ── WHY IT WORKS ── */
.why{background:var(--dark);position:relative;overflow:hidden}
.why-bg{position:absolute;top:0;left:0;right:0;bottom:0;background-size:cover;background-position:center;opacity:.12}
.why .container{position:relative;z-index:1}
.why h2{font-size:28px;font-weight:700;color:#fff;margin-bottom:48px;max-width:650px;line-height:1.35}
.why-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.why-col{background:rgba(13,26,45,.9);border:1px solid rgba(30,48,72,.8);border-radius:16px;padding:28px 24px;position:relative;overflow:hidden}
.why-col::before{content:'';position:absolute;left:0;top:0;width:60px;height:4px}
.why-col.coaches::before{background:var(--blue)}
.why-col.families::before{background:#F59E0B}
.why-col.team::before{background:var(--orange)}
.why-col h3{font-size:15px;font-weight:700;color:#fff;margin-bottom:20px;margin-top:8px}
.why-col ul{list-style:none}
.why-col ul li{font-size:13px;color:#CBD5E1;line-height:1.6;margin-bottom:14px;padding-left:18px;position:relative}
.why-col ul li::before{content:'';position:absolute;left:0;top:7px;width:7px;height:7px;border-radius:50%}
.why-col.coaches ul li::before{background:var(--blue)}
.why-col.families ul li::before{background:#F59E0B}
.why-col.team ul li::before{background:var(--orange)}
.why-foot{text-align:center;margin-top:40px}
.why-foot span{font-size:13px;color:var(--muted);font-style:italic}

/* ── PILOT ── */
.pilot{text-align:center}
.pilot h2{font-size:36px;font-weight:800;margin-bottom:16px}
.pilot h2 .accent{color:var(--blue)}
.pilot>.container>p{font-size:15px;color:var(--gray);max-width:600px;margin:0 auto 36px;line-height:1.6}
.pilot-checks{display:flex;flex-direction:column;gap:16px;max-width:500px;margin:0 auto;text-align:left}
.pilot-check{display:flex;align-items:center;gap:12px}
.pilot-check .check-icon{width:24px;height:24px;flex-shrink:0}
.pilot-check span{font-size:15px;color:var(--dark)}

/* ── FINAL CTA ── */
.final-cta{background:var(--dark);padding:80px 0}
.final-cta .container{max-width:900px;text-align:center}
.final-cta h2{font-size:32px;font-weight:700;color:#fff;margin-bottom:16px}
.final-cta>.container>p{font-size:15px;color:var(--muted);max-width:550px;margin:0 auto 40px;line-height:1.6}
.cta-form{max-width:500px;margin:0 auto;display:flex;flex-direction:column;gap:14px;text-align:left}
.cta-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cta-form input,.cta-form select,.cta-form textarea{width:100%;padding:13px 16px;border:1px solid #2D3B4E;border-radius:10px;background:#0D1A2D;color:#fff;font-family:'Poppins',sans-serif;font-size:14px}
.cta-form input::placeholder,.cta-form textarea::placeholder{color:#5A7A9A}
.cta-form input:focus,.cta-form select:focus,.cta-form textarea:focus{outline:none;border-color:var(--blue)}
.cta-form textarea{resize:vertical;min-height:80px}
.cta-submit{background:var(--blue);color:#fff;padding:15px 32px;border-radius:10px;font-weight:600;font-size:16px;border:none;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-top:8px}
.cta-submit:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(27,111,228,.4)}
.cta-contact{margin-top:24px;font-size:14px;color:var(--muted)}
.cta-contact a{color:var(--blue);font-weight:600}

/* ── FOOTER ── */
.footer{background:var(--dark);padding:40px 0 32px;border-top:1px solid #1E3048}
.footer .container{display:flex;flex-direction:column;align-items:center;gap:16px}
.footer-logo{display:flex;align-items:center;gap:10px}
.footer-logo .tc-box{width:32px;height:32px;background:var(--blue);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:13px}
.footer-logo span{color:#fff;font-weight:700;font-size:15px}
.footer-tag{font-size:13px;color:var(--muted);font-style:italic}
.footer-links{display:flex;gap:24px}
.footer-links a{font-size:13px;color:var(--muted)}
.footer-links a:hover{color:#fff}
.footer-copy{font-size:12px;color:#5A7A9A}
.writer-credit{font-size:11px;color:#5A7A9A;margin-top:8px}

/* ── ANIMATIONS ── */
.fade-in{opacity:0;transform:translateY(30px);transition:opacity .7s ease,transform .7s ease}
.fade-in.visible{opacity:1;transform:translateY(0)}

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .hero-grid,.how .container,.profile .container{grid-template-columns:1fr}
  .hero-left h1{font-size:34px}
  .carousel-body{flex-direction:column;gap:16px}
  .carousel-track{width:min(250px,66vw)}
  .hero{padding:96px 0 48px}
  .nav .container{padding:0 14px}
  .nav-right{gap:12px}
  .nav-cta{padding:9px 14px;font-size:13px;white-space:nowrap}
  .logo-chip img{height:30px}
  .callouts{width:100%;max-width:300px;text-align:center}
  .callout-point{text-align:center}
  .carousel-header .feat-name{font-size:18px}
  .problem-cards,.why-cols,.wr-cards,.cta-form-row{grid-template-columns:1fr}
  section{padding:56px 0}
  .pilot h2{font-size:28px}
  .final-cta h2{font-size:26px}
}

/* ── Additions for the PHP version of the mockup ── */
/* Real site logo (img/team-capsule-logo.png is dark artwork on transparency, so it sits on a white chip over the dark nav/footer) */
.logo-chip{display:inline-flex;align-items:center;background:#fff;border-radius:10px;padding:4px 10px}
.logo-chip img{height:34px;width:auto;display:block}
.footer-logo .logo-chip img{height:30px}
.nav-right{display:flex;align-items:center;gap:18px}
.nav-login{color:#cbd5e1;font-size:14px;font-weight:600;transition:color .2s}
.nav-login:hover{color:#fff}
.carousel-dot{border:0;padding:0}
.carousel-dot:focus-visible,.nav-cta:focus-visible,.hero-cta-btn:focus-visible,.cta-submit:focus-visible{outline:2px solid #fff;outline-offset:3px}
.carousel-slide img,.carousel-slide video{width:100%;height:100%;object-fit:contain;display:block}
.how-right video,.profile-left video{max-width:100%;max-height:550px;border-radius:12px}
.footer-links{flex-wrap:wrap;justify-content:center}
.hp-field{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.cta-error{background:rgba(220,38,38,.12);border:1px solid rgba(220,38,38,.5);color:#fecaca;border-radius:10px;padding:10px 14px;font-size:14px}
.cta-thanks{max-width:500px;margin:0 auto;text-align:center;color:#fff;font-size:16px;padding:20px}
.cta-submit[disabled]{opacity:.6;cursor:wait;transform:none;box-shadow:none}
.cf-turnstile{min-height:65px}
[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .fade-in{opacity:1;transform:none;transition:none}
  .carousel-slide{transition:none}
}

