/* VenoPlus 8 Premium Landing — V5.3
   Cloudflare Pages • WCAG AA • No overflow-x • Root-relative assets
*/
:root{
  --bg: #f7f7ff;
  --bg2: #effaf4;
  --surface: rgba(255,255,255,.72);
  --surface2: rgba(255,255,255,.52);
  --text: #0b0f19;
  --muted: rgba(11,15,25,.72);
  --border: rgba(11,15,25,.14);
  --shadow: 0 18px 45px rgba(11,15,25,.12);

  /* accents (soft pastels) */
  --a1: #80d4ff;
  --a2: #b7f2d9;
  --a3: #ffd4f1;
  --p1: #d7f2ff;
  --p2: #e6fff4;
  --p3: #fff1f9;

  --g1: radial-gradient(1000px 600px at 10% 10%, rgba(128,212,255,.45), transparent 55%),
        radial-gradient(900px 700px at 85% 20%, rgba(255,212,241,.40), transparent 60%),
        radial-gradient(900px 700px at 40% 95%, rgba(183,242,217,.45), transparent 55%),
        linear-gradient(180deg, var(--bg), var(--bg2));
  --g2: linear-gradient(135deg, rgba(128,212,255,.65), rgba(183,242,217,.55), rgba(255,212,241,.55));
  --ctaGrad: linear-gradient(135deg, rgba(128,212,255,.95), rgba(183,242,217,.85), rgba(255,212,241,.85));

  --radius: 22px;
  --container: 1120px;
  --padX: clamp(18px, 4vw, 44px);

  --focus: 0 0 0 3px rgba(128,212,255,.55), 0 0 0 6px rgba(255,212,241,.25);

  color-scheme: light;
}
:root[data-theme="dark"]{
  --bg: #070a12;
  --bg2: #0b1020;
  --surface: rgba(15,20,35,.72);
  --surface2: rgba(15,20,35,.52);
  --text: #f3f5ff;
  --muted: rgba(243,245,255,.72);
  --border: rgba(243,245,255,.14);
  --shadow: 0 18px 55px rgba(0,0,0,.45);

  --g1: radial-gradient(1000px 600px at 10% 10%, rgba(128,212,255,.22), transparent 55%),
        radial-gradient(900px 700px at 85% 20%, rgba(255,212,241,.18), transparent 60%),
        radial-gradient(900px 700px at 40% 95%, rgba(183,242,217,.20), transparent 55%),
        linear-gradient(180deg, var(--bg), var(--bg2));
  color-scheme: dark;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
html, body { overflow-x: hidden; overflow-x: clip; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--g1);
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; }
:focus-visible{ outline: none; box-shadow: var(--focus); border-radius: 12px; }

.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border:0;
}


.container{
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--padX);
}
.section{
  padding: 30px 0;
  min-height: 100svh;
  display: grid;
  align-items: center;
}
.section--fit{ min-height: auto; }
.surface{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.grid{
  display: grid;
  gap: 18px;
}
.row{
  display:flex;
  gap: 14px;
  align-items:center;
}
.kicker{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.h1{
  font-size: clamp(34px, 4.6vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 10px 0 10px;
}
.h2{
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 10px;
}
.p{
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}
.small{
  color: var(--muted);
  font-size: 13px;
}

.header{
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: saturate(1.25) blur(10px);
  background: rgba(255,255,255,.40);
  border-bottom: 1px solid rgba(11,15,25,.10);
}
:root[data-theme="dark"] .header{
  background: rgba(7,10,18,.45);
  border-bottom: 1px solid rgba(243,245,255,.10);
}
.header__inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}
.brand__mark{
  width: 36px; height: 36px;
}
.brand__name{
  font-weight: 760;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav{
  display:flex;
  align-items:center;
  gap: 16px;
}
.nav a{
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 12px;
}
.nav a:hover{ background: rgba(128,212,255,.16); color: var(--text); }
.actions{
  display:flex;
  align-items:center;
  gap: 10px;
}
.iconbtn{
  border: 1px solid var(--border);
  background: var(--surface2);
  border-radius: 14px;
  padding: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(11,15,25,.10);
}
.iconbtn:hover{ transform: translateY(-1px); }
.iconbtn svg{ width: 18px; height: 18px; }

.progress{
  height: 2px;
  background: linear-gradient(90deg, rgba(128,212,255,.95), rgba(183,242,217,.85), rgba(255,212,241,.85));
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}

.btn{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  font-weight: 720;
  letter-spacing: -0.01em;
}
.btn--primary{
  background: var(--ctaGrad);
  color: #06101a;
  box-shadow: 0 18px 50px rgba(128,212,255,.15), 0 20px 55px rgba(255,212,241,.10);
}
.btn--primary::before{
  content:"";
  position:absolute;
  inset: -1px;
  border-radius: 18px;
  background: var(--g2);
  filter: blur(10px);
  opacity: .22;
  z-index: -1;
}
.btn--ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.pill{
  display:inline-flex;
  gap: 8px;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.45);
  color: var(--muted);
  font-size: 13px;
}
:root[data-theme="dark"] .pill{ background: rgba(15,20,35,.45); }

.hero__grid{
  display:grid;
  gap: 22px;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
}
.hero__card, .hero__art{ height: 100%; }

.hero__card{
  padding: 22px;
}
.hero__bullets{
  display:grid;
  gap: 10px;
  margin: 16px 0 18px;
}
.bullet{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: var(--muted);
}
.bullet svg{ width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }

.hero__art{
  padding: 22px;
  display:grid;
  place-items:center;
  overflow: hidden;
}
.hero__art .artframe{
  width: min(440px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: radial-gradient(50% 50% at 50% 40%, rgba(255,255,255,.55), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.35), transparent);
  display:grid;
  place-items:center;
  position: relative;
}
:root[data-theme="dark"] .hero__art .artframe{
  background: radial-gradient(50% 50% at 50% 40%, rgba(15,20,35,.75), transparent 60%),
              linear-gradient(180deg, rgba(15,20,35,.55), transparent);
}
.hero__art img{
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 22px 50px rgba(0,0,0,.25));
}
.hero__hint{
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.cards{
  display:grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.card{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  display:flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(128,212,255,.32);
}
.card__icon{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(128,212,255,.14);
  border: 1px solid rgba(128,212,255,.22);
  display:grid;
  place-items:center;
}
.card__icon svg{ width: 18px; height: 18px; }
.card__title{
  font-weight: 760;
  letter-spacing: -0.01em;
  margin: 12px 0 6px;
}
.card__text{
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}
.card__cta{
  margin-top: auto;
  padding-top: 14px;
}

.experience{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items:start;
}
.sticky{
  position: sticky;
  top: 90px;
  align-self: start;
  padding: 18px;
}
.sticky__frame{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: rgba(255,255,255,.35);
  height: 420px;
  display:grid;
  place-items:center;
  position: relative;
}
:root[data-theme="dark"] .sticky__frame{ background: rgba(15,20,35,.35); }
.sticky__frame img{
  position:absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
}
.sticky__frame img.is-active{ opacity: 1; }

.steps{
  display:grid;
  gap: 12px;
}
.step{
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface2);
}
.step.is-active{
  border-color: rgba(255,212,241,.38);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.step__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.step__title{
  font-weight: 760;
  margin: 0;
}
.step__num{
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 9px;
}

.ingredients{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.ing{
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(11,15,25,.10);
  display:flex;
  flex-direction: column;
  align-items: stretch;
}
.ing__img{
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow:hidden;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,.35);
}
:root[data-theme="dark"] .ing__img{ background: rgba(15,20,35,.35); }
.ing__img img{ width: 100%; height: 100%; object-fit: cover; }
.ing__name{
  margin: 12px 0 4px;
  font-weight: 760;
  letter-spacing: -0.01em;
  font-size: 14px;
}
.ing__desc{
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.pricing{
  display:grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.plan{
  padding: 18px;
}
.plan--best{
  border-color: rgba(183,242,217,.42);
  background: linear-gradient(180deg, rgba(183,242,217,.12), rgba(255,255,255,.0));
}
:root[data-theme="dark"] .plan--best{
  background: linear-gradient(180deg, rgba(183,242,217,.10), rgba(15,20,35,.0));
}
.plan__tag{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  background: rgba(183,242,217,.14);
  color: var(--text);
  font-size: 12px;
  font-weight: 720;
}
.plan__price{
  font-size: 34px;
  font-weight: 820;
  letter-spacing: -0.03em;
  margin: 10px 0 0;
}
.plan__sub{
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 14px;
}
.plan__media{
  margin-top: 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.35);
  padding: 14px;
  display:grid;
  place-items:center;
}
:root[data-theme="dark"] .plan__media{ background: rgba(15,20,35,.35); }
.plan__media img{
  width: 100%;
  height: 170px;
  object-fit: contain;
}
.plan__list{
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.plan__cta{
  margin-top: auto;
  padding-top: 14px;
}
.plan__note{
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.credit{
  margin-top: 14px;
  opacity: .85;
}

.faq{
  display:grid;
  gap: 12px;
}
.accordion{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(11,15,25,.10);
  overflow: hidden;
}
details{ border-top: 1px solid var(--border); }
details:first-child{ border-top: none; }
summary{
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 760;
}
summary::-webkit-details-marker{ display:none; }
details[open] summary{ background: rgba(128,212,255,.10); }
.details__body{
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 14px;
}

.footer{
  padding: 22px 0 30px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.25);
}
:root[data-theme="dark"] .footer{ background: rgba(7,10,18,.35); }
.footer__grid{
  display:grid;
  gap: 12px;
  grid-template-columns: 1.2fr .8fr;
  align-items:start;
}
.footer__links{
  display:grid;
  gap: 8px;
}
.footer__links a{
  color: var(--muted);
  font-size: 14px;
  width: fit-content;
  padding: 6px 8px;
  border-radius: 12px;
}
.footer__links a:hover{ background: rgba(128,212,255,.14); color: var(--text); }

.langpop{
  position: relative;
}
.pop{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  display:none;
  z-index: 80;
}
.pop.is-open{ display:block; }
.pop a{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  color: var(--text);
  font-size: 14px;
}
.pop a:hover{ background: rgba(128,212,255,.14); }
.pop .muted{ color: var(--muted); font-size: 12px; }

.hamburger{ display:none; }
@media (max-width: 900px){
  .nav{ display:none; }
  .hamburger{ display:inline-flex; }
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__card{ text-align: center; }
  .bullet{ justify-content:center; text-align: left; }
  .actions{ gap: 8px; }
  .cards{ grid-template-columns: 1fr; }
  .experience{ grid-template-columns: 1fr; }
  .sticky{ position: relative; top: auto; }
  .sticky__frame{ height: 340px; }
  .ingredients{ grid-template-columns: repeat(2, 1fr); }
  .pricing{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }
  /* Mobile (360–900px): overall center, with readable inner blocks */
  .container { text-align: center; }
  .hero__card { text-align: center; }
  .hero__bullets { justify-content: center; }
  .cards, .pricing, .ingredients, .faq, .steps { text-align: left; }
  .cards .card, .pricing .plan, .ing, .step, .faq details { text-align: left; margin-inline: auto; }
}

.mobile-cta{
  display:none;
}
@media (max-width: 900px){
  .mobile-cta{
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 55;
  }
  .mobile-cta .btn{
    width: 100%;
    justify-content: center;
  }
  .mobile-cta__wrap{
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(7,10,18,.25);
    backdrop-filter: saturate(1.2) blur(12px);
    padding: 10px;
  }
  :root:not([data-theme="dark"]) .mobile-cta__wrap{
    background: rgba(255,255,255,.55);
    border-color: rgba(11,15,25,.12);
  }
}

dialog.mobile-drawer{
  border: none;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100svh;
  max-width: none;
  max-height: none;
  background: transparent;
}
dialog.mobile-drawer::backdrop{
  background: rgba(0,0,0,.42);
}
.drawer{
  position: fixed;
  inset: 0;
  display:grid;
  grid-template-rows: auto 1fr auto;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 14px calc(14px + env(safe-area-inset-bottom, 0px));
}
.drawer__panel{
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.drawer__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 14px;
  border-bottom: 1px solid var(--border);
}
.drawer__nav{
  padding: 12px 10px 14px;
  display:grid;
  gap: 6px;
}
.drawer__nav a{
  padding: 12px 12px;
  border-radius: 16px;
  color: var(--text);
  font-weight: 720;
}
.drawer__nav a:hover{ background: rgba(128,212,255,.14); }
.drawer__foot{
  padding: 14px;
  border-top: 1px solid var(--border);
}

.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.is-revealed{
  opacity: 1;
  transform: translateY(0);
}

.skip{
  position:absolute;
  left: -9999px;
  top: 0;
}
.skip:focus{
  left: 10px;
  top: 10px;
  z-index: 100;
  background: var(--surface);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
