/* ==========================================================================
   Digital Products Bundle — pages.css
   Shared patterns for inner pages (product page + legal pages)
   ========================================================================== */

/* ---- Page hero banner ---- */
.page-hero{
  position:relative;
  overflow:hidden;
  background:var(--navy-950);
  padding:64px 0 60px;
}
.page-hero::before{
  content:"";
  position:absolute;inset:0;
  background:radial-gradient(620px 400px at 88% 0%, rgba(240,117,42,0.24), transparent 60%);
  pointer-events:none;
}
.page-hero .container{position:relative;}
.page-hero .hero-grid{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:44px;
  align-items:center;
}
.page-hero .hero-copy h1{max-width:none;}
.page-hero .hero-copy p.lead{max-width:none;}
@media (max-width:980px){
  .page-hero .hero-grid{grid-template-columns:1fr;gap:34px;}
  .page-hero .hero-visual{max-width:480px;margin:0 auto;width:100%;}
}
.breadcrumb{
  display:flex;align-items:center;gap:8px;
  font-size:13px;color:rgba(255,255,255,0.45);
  margin-bottom:20px;
}
.breadcrumb a{color:rgba(255,255,255,0.6);}
.breadcrumb a:hover{color:var(--orange-400);}
.page-hero h1{
  color:#fff;
  font-size:clamp(30px,4vw,46px);
  max-width:760px;
}
.page-hero p.lead{
  color:rgba(255,255,255,0.65);
  font-size:17px;
  line-height:1.7;
  max-width:640px;
  margin-top:16px;
}
.page-hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}
.page-hero-meta span{
  display:inline-flex;align-items:center;gap:7px;
  background:rgba(255,255,255,0.07);
  border:1px solid rgba(255,255,255,0.1);
  padding:8px 14px;
  border-radius:100px;
  font-size:12.5px;
  color:rgba(255,255,255,0.75);
  font-weight:600;
}
.page-hero-meta svg{color:var(--orange-400);}
.page-hero .hero-cta-row{margin-top:30px;}

/* small variant for legal pages */
.page-hero.is-compact{padding:48px 0 44px;}

/* ---- Intro / lede block ---- */
.lede{
  max-width:760px;
  font-size:18px;
  line-height:1.8;
  color:var(--muted);
}
.lede strong{color:var(--navy-900);}

/* ---- Anchor sub-nav (product page) ---- */
.subnav{
  position:sticky;
  top:63px;
  z-index:150;
  background:rgba(255,255,255,0.97);
  border-bottom:1px solid var(--line);
  backdrop-filter:none;
}
.subnav .container{
  display:flex;
  gap:4px;
  overflow-x:auto;
  padding-top:12px;
  padding-bottom:12px;
  scrollbar-width:none;
  justify-content:flex-start;
}
@media (min-width:920px){
  .subnav .container{justify-content:center;}
}
.subnav .container::-webkit-scrollbar{display:none;}
.subnav a{
  flex:none;
  padding:8px 15px;
  border-radius:100px;
  font-size:13.5px;
  font-weight:700;
  color:var(--muted);
  white-space:nowrap;
  transition:background .15s,color .15s;
}
.subnav a:hover{background:var(--bg-alt);color:var(--navy-900);}
.subnav a.is-active{background:var(--navy-900);color:#fff;}

/* ---- Detail rows (feature-by-feature deep dive) ---- */
.detail-row{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:22px;
  padding:34px 0;
  border-bottom:1px solid var(--line);
}
.detail-row:first-child{padding-top:0;}
.detail-row:last-child{border-bottom:none;}
.detail-num{
  width:56px;height:56px;
  border-radius:14px;
  background:var(--bg-alt);
  color:var(--orange-600);
  display:flex;align-items:center;justify-content:center;
  flex:none;
}
.detail-body h3{font-size:20px;margin-bottom:10px;}
.detail-body p{color:var(--muted);font-size:15px;line-height:1.75;max-width:640px;}
.detail-body ul{margin-top:14px;display:flex;flex-wrap:wrap;gap:10px;}
.detail-body ul li{
  font-size:13px;font-weight:700;color:var(--navy-800);
  background:var(--bg-alt);
  padding:6px 12px;
  border-radius:100px;
}

/* ---- Numbered steps (how it works — genuine sequence) ---- */
.steps-row{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  counter-reset:step;
}
.step-card{
  position:relative;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:26px 20px 22px;
}
.step-card::before{
  counter-increment:step;
  content:counter(step);
  font-family:var(--font-mono);
  font-size:13px;
  font-weight:700;
  color:var(--orange-600);
  background:var(--orange-100);
  width:30px;height:30px;
  border-radius:9px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:16px;
}
.step-card h4{font-size:15.5px;margin-bottom:8px;color:var(--navy-900);font-family:var(--font-display);}
.step-card p{font-size:13px;color:var(--muted);line-height:1.6;}
.step-arrow{
  display:none;
}
@media (max-width:1100px){
  .steps-row{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:640px){
  .steps-row{grid-template-columns:1fr;}
}

/* ---- Comparison table ---- */
.compare-table-wrap{
  overflow-x:auto;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
}
table.compare-table{
  width:100%;
  border-collapse:collapse;
  min-width:560px;
  background:var(--white);
}
.compare-table th,.compare-table td{
  padding:16px 20px;
  text-align:left;
  font-size:14.5px;
  border-bottom:1px solid var(--line);
}
.compare-table thead th{
  font-family:var(--font-display);
  font-size:13.5px;
  text-transform:uppercase;
  letter-spacing:.03em;
  color:var(--navy-900);
  background:var(--bg-alt);
}
.compare-table thead th:first-child{border-top-left-radius:15px;}
.compare-table thead th:last-child{border-top-right-radius:15px;}
.compare-table tbody tr:last-child td{border-bottom:none;}
.compare-table td.is-yes{color:#16A34A;font-weight:700;}
.compare-table td.is-no{color:var(--muted-2);}
.compare-table td:first-child{font-weight:700;color:var(--navy-800);}
.compare-table .col-highlight{background:var(--orange-50);}

/* ---- System requirements list ---- */
.req-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.req-card{
  border:1px solid var(--line);
  border-radius:14px;
  padding:20px;
  text-align:center;
}
.req-card svg{color:var(--orange-600);margin:0 auto 12px;}
.req-card strong{display:block;font-size:14px;color:var(--navy-900);margin-bottom:4px;}
.req-card span{font-size:12.5px;color:var(--muted);}
@media (max-width:800px){.req-grid{grid-template-columns:1fr 1fr;}}

/* ---- Keyword chip cloud (soft SEO footer block) ---- */
.kw-cloud{display:flex;flex-wrap:wrap;gap:10px;}
.kw-cloud a{
  font-size:13px;
  padding:8px 14px;
  border-radius:100px;
  background:var(--bg-alt);
  color:var(--navy-800);
  font-weight:600;
}
.kw-cloud a:hover{background:var(--orange-100);color:var(--orange-600);}

/* ==========================================================================
   Legal / policy pages
   ========================================================================== */
.legal-wrap{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:56px;
  align-items:start;
}
.legal-toc{
  position:sticky;
  top:96px;
  border:1px solid var(--line);
  border-radius:16px;
  padding:22px;
  background:var(--bg-alt);
}
.legal-toc h4{
  font-family:var(--font-mono);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--muted);
  margin-bottom:14px;
}
.legal-toc ul{display:flex;flex-direction:column;gap:2px;}
.legal-toc a{
  display:block;
  padding:8px 10px;
  border-radius:8px;
  font-size:13.5px;
  font-weight:600;
  color:var(--navy-800);
}
.legal-toc a:hover{background:var(--white);color:var(--orange-600);}

.legal-body{max-width:760px;}
.legal-updated{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;color:var(--muted);
  background:var(--bg-alt);
  padding:8px 14px;
  border-radius:100px;
  margin-bottom:36px;
}
.legal-body section{margin-bottom:38px;}
.legal-body h2{
  font-size:21px;
  margin-bottom:14px;
  padding-top:6px;
  scroll-margin-top:100px;
}
.legal-body h3{font-size:16.5px;margin:18px 0 8px;}
.legal-body p{
  font-size:15px;
  line-height:1.85;
  color:var(--muted);
  margin-bottom:14px;
}
.legal-body p strong{color:var(--navy-900);}
.legal-body ul{margin:14px 0;display:flex;flex-direction:column;gap:9px;}
.legal-body ul li{
  font-size:15px;
  line-height:1.75;
  color:var(--muted);
  padding-left:22px;
  position:relative;
}
.legal-body ul li::before{
  content:"";
  position:absolute;left:0;top:9px;
  width:6px;height:6px;border-radius:2px;
  background:var(--orange-500);
}
.legal-body a{color:var(--orange-600);font-weight:700;text-decoration:underline;text-underline-offset:2px;}
.legal-note{
  background:var(--orange-50);
  border:1px solid var(--orange-100);
  border-radius:14px;
  padding:18px 20px;
  font-size:14px;
  line-height:1.7;
  color:var(--navy-800);
  margin:24px 0;
}
.legal-note strong{color:var(--orange-600);}
.legal-contact-card{
  background:var(--navy-950);
  border-radius:18px;
  padding:28px;
  color:#fff;
  margin-top:44px;
}
.legal-contact-card h3{color:#fff;font-size:17px;margin-bottom:14px;}
.legal-contact-card ul{display:flex;flex-direction:column;gap:10px;}
.legal-contact-card li{display:flex;align-items:center;gap:10px;font-size:14px;color:rgba(255,255,255,0.75);}
.legal-contact-card svg{color:var(--orange-400);flex:none;}
.legal-contact-card a{color:rgba(255,255,255,0.9);font-weight:600;text-decoration:none;}

@media (max-width:900px){
  .legal-wrap{grid-template-columns:1fr;}
  .legal-toc{position:static;}
}

/* ---- Contact page ---- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:start;
}
.contact-cards{display:flex;flex-direction:column;gap:16px;}
.contact-card{
  display:flex;
  align-items:flex-start;
  gap:16px;
  border:1px solid var(--line);
  border-radius:16px;
  padding:22px;
  transition:border-color .2s, box-shadow .2s;
}
.contact-card:hover{border-color:var(--orange-300);box-shadow:var(--shadow-sm);}
.contact-card .icon{
  width:46px;height:46px;border-radius:12px;
  background:var(--orange-100);color:var(--orange-600);
  display:flex;align-items:center;justify-content:center;flex:none;
}
.contact-card h4{font-size:15.5px;margin-bottom:5px;}
.contact-card p{font-size:14px;color:var(--muted);}
.contact-card a.value{font-size:14.5px;font-weight:700;color:var(--navy-900);display:block;margin-top:4px;}

.contact-form{
  background:var(--bg-alt);
  border-radius:20px;
  padding:34px;
}
.form-row{margin-bottom:18px;}
.form-row label{
  display:block;font-size:13.5px;font-weight:700;
  color:var(--navy-900);margin-bottom:8px;
}
.form-row input,.form-row textarea,.form-row select{
  width:100%;
  padding:13px 15px;
  border-radius:10px;
  border:1.5px solid var(--line);
  background:var(--white);
  font-family:inherit;
  font-size:14.5px;
  color:var(--ink);
  transition:border-color .15s;
}
.form-row input:focus,.form-row textarea:focus,.form-row select:focus{
  border-color:var(--orange-500);
  outline:none;
}
.form-row textarea{resize:vertical;min-height:120px;}
.form-note{font-size:13px;color:var(--muted-2);margin-top:14px;text-align:center;}

@media (max-width:900px){
  .contact-grid{grid-template-columns:1fr;}
}

/* ==========================================================================
   "What's New" changelog panel (WA Sender — active-development trust signal)
   ========================================================================== */
.changelog-panel{
  background:var(--navy-950);
  border-radius:var(--radius-lg);
  padding:36px 34px;
  color:#fff;
}
.changelog-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
  justify-content:space-between;
  margin-bottom:22px;
  padding-bottom:20px;
  border-bottom:1px solid rgba(255,255,255,0.1);
}
.changelog-head h3{color:#fff;font-size:20px;margin:0;}
.changelog-version{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(74,222,128,0.14);
  color:#4ADE80;
  font-size:12.5px;font-weight:800;
  padding:6px 13px;
  border-radius:100px;
}
.changelog-version .live-dot{width:6px;height:6px;border-radius:50%;background:#4ADE80;animation:pulse-dot 1.6s ease-in-out infinite;}
.changelog-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px 28px;
}
.changelog-grid li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14px;
  line-height:1.55;
  color:rgba(255,255,255,0.82);
  padding:9px 0;
  border-bottom:1px dashed rgba(255,255,255,0.08);
}
.changelog-grid li svg{flex:none;margin-top:3px;color:#4ADE80;}
.changelog-grid li b{color:#fff;font-weight:700;}
@media (max-width:760px){
  .changelog-grid{grid-template-columns:1fr;}
  .changelog-panel{padding:28px 22px;}
}

/* ==========================================================================
   Sticky mobile buy bar — keeps the CTA reachable without hunting for it
   ========================================================================== */
.sticky-buy-bar{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:280;
  display:none;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:var(--white);
  border-top:1px solid var(--line);
  box-shadow:0 -10px 26px -14px rgba(10,22,38,0.25);
  padding:12px 16px;
  padding-bottom:calc(12px + env(safe-area-inset-bottom));
}
.sticky-buy-bar .sbb-price{display:flex;flex-direction:column;line-height:1.15;}
.sticky-buy-bar .sbb-price .was{font-size:11.5px;color:var(--muted-2);text-decoration:line-through;}
.sticky-buy-bar .sbb-price .now{font-family:var(--font-mono);font-size:17px;font-weight:700;color:var(--navy-900);}
.sticky-buy-bar .btn{flex:none;padding:12px 22px;font-size:14px;}
@media (max-width:760px){
  .sticky-buy-bar{display:flex;}
  body{padding-bottom:74px;}
}
