/* ============ VARIABLES ============ */
:root{
  --navy: #0F2A4A;
  --navy-dark: #0A1D34;
  --teal: #0E9F6E;
  --teal-dark: #0b7f58;
  --bg-light: #F5F7FA;
  --grey-border: #E2E8F0;
  --text-main: #1E293B;
  --text-muted: #5B6B82;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15,42,74,0.08);
  --shadow-lg: 0 20px 50px rgba(15,42,74,0.14);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter', sans-serif;
  color:var(--text-main);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Poppins', sans-serif;
  color:var(--navy);
  margin:0 0 0.5em;
  line-height:1.25;
  font-weight:700;
}
p{margin:0 0 1em;color:var(--text-muted);}
a{text-decoration:none;color:inherit;}
ul{margin:0;padding:0;list-style:none;}
img{max-width:100%;display:block;}
.container{
  max-width:1160px;
  margin:0 auto;
  padding:0 24px;
}

/* ============ BUTTONS ============ */
.btn{
  display:inline-block;
  font-family:'Inter',sans-serif;
  font-weight:700;
  padding:14px 28px;
  border-radius:50px;
  transition:all .2s ease;
  cursor:pointer;
  border:none;
  font-size:1rem;
}
.btn-primary{
  background:var(--teal);
  color:var(--white);
  box-shadow:0 8px 20px rgba(14,159,110,0.35);
}
.btn-primary:hover{
  background:var(--teal-dark);
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(14,159,110,0.45);
}
.btn-lg{
  padding:18px 38px;
  font-size:1.15rem;
}
.nav-cta{
  padding:10px 22px;
  font-size:0.92rem;
  white-space:nowrap;
}

.cta-note{
  font-size:0.88rem;
  color:var(--text-muted);
  margin-top:12px;
  max-width:460px;
}
.cta-note-light{
  color:rgba(255,255,255,0.8);
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
}

/* ============ HEADER / NAV ============ */
.site-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--grey-border);
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-top:14px;
  padding-bottom:14px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'Poppins',sans-serif;
  font-weight:700;
  color:var(--navy);
  font-size:1.15rem;
  flex-shrink:0;
}
.logo-mark{
  width:38px;height:38px;
  border-radius:10px;
  background:var(--navy);
  color:var(--teal);
  display:flex;align-items:center;justify-content:center;
  font-size:1.05rem;
}
.main-nav{
  display:flex;
  gap:30px;
  flex:1;
  justify-content:center;
}
.main-nav a{
  font-weight:600;
  font-size:0.95rem;
  color:var(--navy);
  white-space:nowrap;
  position:relative;
  padding:4px 0;
}
.main-nav a:hover{color:var(--teal);}
.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}
.nav-toggle span{
  width:24px;height:2px;background:var(--navy);display:block;
  transition:all .2s ease;
}

/* ============ HERO ============ */
.hero{
  background:linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding:72px 0 80px;
  color:var(--white);
  overflow:hidden;
}
.hero-wrap{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:50px;
  align-items:center;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(14,159,110,0.18);
  color:#6FE3BA;
  border:1px solid rgba(14,159,110,0.4);
  padding:6px 16px;
  border-radius:50px;
  font-size:0.82rem;
  font-weight:700;
  margin-bottom:20px;
}
.hero h1{
  color:var(--white);
  font-size:2.5rem;
  margin-bottom:20px;
}
.hero-sub{
  color:rgba(255,255,255,0.82);
  font-size:1.08rem;
  max-width:620px;
  margin-bottom:28px;
}
.hero .cta-note{color:rgba(255,255,255,0.65);}
.trust-line{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  margin-top:26px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,0.15);
}
.trust-line li{
  font-size:0.86rem;
  color:rgba(255,255,255,0.75);
  display:flex;
  align-items:center;
  gap:7px;
}
.trust-line i{color:var(--teal);}

.cta-pulse{animation:pulseGlow 2.4s infinite;}
@keyframes pulseGlow{
  0%,100%{box-shadow:0 8px 20px rgba(14,159,110,0.35);}
  50%{box-shadow:0 8px 30px rgba(14,159,110,0.65);}
}

/* Hero visual: fake doc stack */
.hero-visual{display:flex;justify-content:center;}
.doc-stack{position:relative;width:280px;height:340px;}
.doc-card{
  position:absolute;
  border-radius:10px;
  background:var(--white);
}
.doc-card-back{
  width:100%;height:100%;
  top:24px;left:24px;
  background:rgba(255,255,255,0.08);
  transform:rotate(6deg);
}
.doc-card-mid{
  width:100%;height:100%;
  top:12px;left:12px;
  background:rgba(255,255,255,0.18);
  transform:rotate(-3deg);
}
.doc-card-front{
  width:100%;height:100%;
  padding:26px 22px;
  box-shadow:var(--shadow-lg);
  display:flex;flex-direction:column;gap:10px;
}
.doc-line{height:8px;border-radius:4px;background:#E6EAF0;width:100%;}
.doc-line.short{width:55%;}
.doc-line-title{height:16px;width:70%;background:var(--navy);margin-bottom:4px;}
.doc-divider{height:1px;background:var(--grey-border);margin:6px 0;}
.ats-badge{
  margin-top:auto;
  align-self:flex-start;
  background:rgba(14,159,110,0.12);
  color:var(--teal-dark);
  font-weight:700;
  font-size:0.8rem;
  padding:6px 12px;
  border-radius:50px;
  display:flex;align-items:center;gap:6px;
}

/* ============ SECTION GENERIC ============ */
.section{padding:84px 0;}
.section-alt{background:var(--bg-light);}
.section-head{
  text-align:center;
  max-width:720px;
  margin:0 auto 48px;
}
.section-head h2{font-size:2rem;}
.section-sub{font-size:1.05rem;}

.section-cta{
  text-align:center;
  margin-top:48px;
}
.closing-line{
  font-size:1.15rem;
  font-weight:600;
  color:var(--navy);
  max-width:600px;
  margin:0 auto 24px;
}
.section-cta .cta-note{margin-left:auto;margin-right:auto;}

/* ============ PAIN CARDS ============ */
.pain-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  margin-bottom:50px;
}
.pain-card{
  background:var(--white);
  border:1px solid var(--grey-border);
  border-radius:var(--radius);
  padding:32px 26px;
  box-shadow:var(--shadow);
}
.pain-icon{
  width:50px;height:50px;
  border-radius:12px;
  background:rgba(15,42,74,0.07);
  color:var(--navy);
  display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;
  margin-bottom:18px;
}
.pain-card h3{font-size:1.1rem;margin-bottom:10px;}
.pain-card p{font-size:0.95rem;margin-bottom:0;}

/* ============ HIGHLIGHT BOX ============ */
.highlight-box{
  background:linear-gradient(135deg, rgba(14,159,110,0.07), rgba(15,42,74,0.05));
  border:1px solid rgba(14,159,110,0.25);
  border-radius:var(--radius);
  padding:36px 34px;
  margin-bottom:50px;
}
.highlight-box h3{
  font-size:1.2rem;
  display:flex;align-items:center;gap:10px;
  color:var(--navy);
}
.highlight-box h3 i{color:var(--teal);}
.highlight-box p{font-size:0.98rem;color:var(--text-main);opacity:0.85;}
.highlight-box p:last-child{margin-bottom:0;}

/* ============ CONTRAST TABLE ============ */
.contrast-table-wrap{overflow-x:auto;margin-bottom:10px;}
.contrast-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  min-width:520px;
}
.contrast-table th,.contrast-table td{
  padding:16px 22px;
  text-align:left;
  font-size:0.95rem;
  border-bottom:1px solid var(--grey-border);
}
.contrast-table th{
  background:var(--navy);
  color:var(--white);
  font-family:'Poppins',sans-serif;
  font-size:0.95rem;
}
.contrast-table th.accent-col{background:var(--teal);}
.contrast-table td:first-child{color:var(--text-muted);}
.contrast-table td:last-child{color:var(--navy);font-weight:600;}
.contrast-table tr:last-child td{border-bottom:none;}

/* ============ WHAT'S INSIDE ============ */
.inside-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
.inside-card{
  background:var(--white);
  border:1px solid var(--grey-border);
  border-radius:var(--radius);
  padding:30px 26px;
  box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease;
}
.inside-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);}
.inside-card-wide{grid-column:span 3;}
.inside-icon{
  width:48px;height:48px;
  border-radius:12px;
  background:rgba(14,159,110,0.1);
  color:var(--teal-dark);
  display:flex;align-items:center;justify-content:center;
  font-size:1.25rem;
  margin-bottom:16px;
}
.inside-card h3{font-size:1.05rem;margin-bottom:8px;}
.inside-card p{font-size:0.93rem;margin-bottom:0;}

/* ============ TEMPLATE PREVIEWS ============ */
.preview-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.preview-card{margin:0;}
.preview-thumb{
  background:var(--white);
  border:1px solid var(--grey-border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px;
  height:260px;
  display:flex;align-items:center;justify-content:center;
}
.thumb-doc{
  width:100%;height:100%;
  background:var(--bg-light);
  border:1px solid var(--grey-border);
  border-radius:8px;
  padding:18px;
  display:flex;flex-direction:column;gap:9px;
}
.thumb-header{height:22px;width:60%;background:var(--navy);border-radius:4px;}
.thumb-header.small{height:16px;width:50%;}
.thumb-line{height:8px;border-radius:4px;background:#DCE3EC;}
.thumb-line.w100{width:100%;}
.thumb-line.w90{width:90%;}
.thumb-line.w80{width:80%;}
.thumb-line.w70{width:70%;}
.thumb-line.w60{width:60%;}
.thumb-sep{height:1px;background:var(--grey-border);margin:4px 0;}
.thumb-pill{height:10px;width:45%;background:rgba(14,159,110,0.25);border-radius:50px;}
.thumb-check{display:flex;align-items:center;gap:8px;}
.thumb-check i{color:var(--teal);font-size:0.9rem;}
.thumb-check span{flex:1;height:7px;background:#DCE3EC;border-radius:4px;}

.preview-card figcaption{
  text-align:center;
  margin-top:14px;
  font-weight:600;
  color:var(--navy);
  font-size:0.95rem;
}
.preview-caption{
  text-align:center;
  margin-top:36px;
  color:var(--text-muted);
  font-style:italic;
}

/* ============ REGION TABLE ============ */
.region-table-wrap{overflow-x:auto;}
.region-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  min-width:600px;
}
.region-table th,.region-table td{
  padding:16px 22px;
  text-align:left;
  font-size:0.95rem;
  border-bottom:1px solid var(--grey-border);
}
.region-table th{
  background:var(--navy);
  color:var(--white);
  font-family:'Poppins',sans-serif;
}
.region-table td:first-child{font-weight:700;color:var(--navy);}
.region-table tr:last-child td{border-bottom:none;}
.region-table i{margin-right:8px;color:var(--teal);}
.region-note{
  margin-top:24px;
  text-align:center;
  font-size:0.95rem;
  color:var(--text-muted);
}
.region-note i{color:var(--teal);margin-right:6px;}

/* ============ HOW IT WORKS ============ */
.steps-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-bottom:40px;
}
.step-card{
  background:var(--white);
  border:1px solid var(--grey-border);
  border-radius:var(--radius);
  padding:34px 26px;
  text-align:center;
  box-shadow:var(--shadow);
  position:relative;
}
.step-num{
  width:46px;height:46px;
  border-radius:50%;
  background:var(--teal);
  color:var(--white);
  font-family:'Poppins',sans-serif;
  font-weight:700;
  font-size:1.2rem;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 18px;
}
.step-card h3{font-size:1.1rem;}
.step-card p{font-size:0.93rem;margin-bottom:0;}

.disclosure-box{
  background:var(--white);
  border:1px dashed rgba(15,42,74,0.3);
  border-radius:var(--radius);
  padding:24px 28px;
  max-width:820px;
  margin:0 auto;
}
.disclosure-box p{
  font-size:0.9rem;
  color:var(--text-muted);
  margin:0;
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.disclosure-box i{color:var(--teal);margin-top:3px;flex-shrink:0;}

/* ============ AI SECTION ============ */
.ai-wrap{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:50px;
  align-items:center;
}
.ai-list{margin-top:20px;}
.ai-list li{
  display:flex;
  gap:10px;
  margin-bottom:12px;
  font-size:0.97rem;
  color:var(--text-main);
}
.ai-list i{color:var(--teal);margin-top:4px;flex-shrink:0;}
.ai-visual{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  justify-content:center;
}
.chat-bubble{
  background:var(--bg-light);
  border:1px solid var(--grey-border);
  border-radius:16px 16px 16px 4px;
  padding:16px 20px;
  font-size:0.9rem;
  color:var(--text-muted);
  max-width:180px;
}
.chat-bubble i{color:var(--navy);margin-right:6px;}
.ai-arrow{color:var(--teal);font-size:1.4rem;}
.doc-mini{
  background:var(--white);
  border:1px solid var(--grey-border);
  border-radius:10px;
  box-shadow:var(--shadow);
  padding:18px;
  width:120px;
  display:flex;flex-direction:column;gap:8px;
}
.doc-mini-line{height:7px;background:var(--teal);opacity:0.25;border-radius:4px;}
.doc-mini-line.short{width:60%;}

/* ============ WHO IT'S FOR ============ */
.who-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.who-grid li{
  background:var(--white);
  border:1px solid var(--grey-border);
  border-radius:var(--radius);
  padding:22px;
  font-weight:600;
  color:var(--navy);
  display:flex;
  align-items:center;
  gap:12px;
  box-shadow:var(--shadow);
}
.who-grid i{color:var(--teal);font-size:1.2rem;flex-shrink:0;}
.who-grid li:last-child{grid-column:span 3;}

/* ============ FAQ ============ */
.faq-list{max-width:800px;margin:0 auto;}
.faq-item{
  border-bottom:1px solid var(--grey-border);
}
.faq-q{
  width:100%;
  background:none;
  border:none;
  text-align:left;
  padding:22px 4px;
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size:1.02rem;
  color:var(--navy);
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  gap:16px;
}
.faq-q i{
  color:var(--teal);
  transition:transform .2s ease;
  flex-shrink:0;
}
.faq-q[aria-expanded="true"] i{transform:rotate(180deg);}
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
}
.faq-a p{
  padding:0 4px 20px;
  margin:0;
  font-size:0.96rem;
}

/* ============ FINAL CTA ============ */
.final-cta{
  background:linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding:90px 0;
}
.final-cta-wrap{
  text-align:center;
  max-width:720px;
  margin:0 auto;
}
.final-cta h2{color:var(--white);font-size:2rem;margin-bottom:28px;}

/* ============ FOOTER ============ */
.site-footer{
  background:var(--navy-dark);
  color:rgba(255,255,255,0.7);
  padding:50px 0 30px;
}
.footer-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  padding-bottom:30px;
  border-bottom:1px solid rgba(255,255,255,0.1);
  margin-bottom:24px;
}
.footer-brand{
  display:flex;align-items:center;gap:10px;
  font-family:'Poppins',sans-serif;
  font-weight:700;
  color:var(--white);
}
.footer-nav{display:flex;gap:24px;flex-wrap:wrap;}
.footer-nav a{font-size:0.9rem;color:rgba(255,255,255,0.7);}
.footer-nav a:hover{color:var(--teal);}
.footer-fine-print{
  font-size:0.82rem;
  line-height:1.6;
  color:rgba(255,255,255,0.5);
  max-width:900px;
}
.footer-copy{
  font-size:0.82rem;
  color:rgba(255,255,255,0.4);
  margin-top:16px;
  margin-bottom:0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px){
  .hero-wrap{grid-template-columns:1fr;}
  .hero-visual{order:-1;margin-bottom:10px;}
  .doc-stack{width:220px;height:270px;}
  .pain-grid, .inside-grid, .preview-grid, .steps-grid, .who-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .inside-card-wide{grid-column:span 2;}
  .who-grid li:last-child{grid-column:span 2;}
  .ai-wrap{grid-template-columns:1fr;}
  .ai-visual{order:-1;}
}

@media (max-width: 760px){
  .main-nav{
    position:fixed;
    top:68px;
    left:0;right:0;
    background:var(--white);
    flex-direction:column;
    align-items:flex-start;
    padding:18px 24px;
    gap:16px;
    box-shadow:0 12px 20px rgba(0,0,0,0.08);
    transform:translateY(-130%);
    opacity:0;
    transition:all .25s ease;
    pointer-events:none;
  }
  .main-nav.open{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
  }
  .nav-toggle{display:flex;}
  .nav-cta{display:none;}
  .hero h1{font-size:1.9rem;}
  .section-head h2{font-size:1.6rem;}
  .section{padding:60px 0;}
}

@media (max-width: 600px){
  .pain-grid, .inside-grid, .preview-grid, .steps-grid, .who-grid{
    grid-template-columns:1fr;
  }
  .inside-card-wide{grid-column:span 1;}
  .who-grid li:last-child{grid-column:span 1;}
  .contrast-table th,.contrast-table td,
  .region-table th,.region-table td{
    padding:12px 14px;
    font-size:0.86rem;
  }
  .hero{padding:50px 0 60px;}
  .btn-lg{width:100%;text-align:center;}
  .final-cta h2{font-size:1.5rem;}
}
