/* Premium landing — Cloudflare Pages ready
   Root-relative assets: /assets/...
   Anti overflow-x: hidden + clip fallback
*/
:root{
  --max: 1120px;
  --gutter: 20px;
  --radius: 22px;
  --radius2: 28px;
  --shadow: 0 18px 50px rgba(0,0,0,.22);
  --shadow2: 0 10px 30px rgba(0,0,0,.14);

  /* Accent extracted from label (approx) */
  --a1:#ff6b36; /* orange */
  --a2:#ffcfbf; /* peach pastel */
  --a3:#7bd7ff; /* cool highlight */

  /* Pastels */
  --p1:#ffd7c9;
  --p2:#c8fff0;
  --p3:#e3dbff;

  --g1: radial-gradient(1200px 700px at 15% 10%, rgba(255,107,54,.28), transparent 60%),
        radial-gradient(900px 600px at 85% 15%, rgba(123,215,255,.20), transparent 55%),
        radial-gradient(900px 650px at 70% 85%, rgba(227,219,255,.18), transparent 55%);
  --g2: linear-gradient(135deg, rgba(255,107,54,.18), rgba(255,207,191,.10) 45%, rgba(123,215,255,.10));
  --ctaGrad: linear-gradient(135deg, var(--a1), #ff9a5d 50%, var(--p2));

  --border: rgba(30,40,60,.16);
  --borderStrong: rgba(30,40,60,.24);
  --focus: rgba(123,215,255,.55);

  --bg:#fbfbfd;
  --surface: rgba(255,255,255,.72);
  --surface2: rgba(255,255,255,.92);
  --text:#0b0f19;
  --muted:#4a556a;
  --muted2:#667089;
}

html{
  color-scheme: light dark;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[data-theme="dark"]{
  --bg:#070a12;
  --surface: rgba(13,17,28,.66);
  --surface2: rgba(13,17,28,.92);
  --text:#eef2ff;
  --muted:#b7c0d8;
  --muted2:#99a3bd;
  --border: rgba(190,205,255,.12);
  --borderStrong: rgba(190,205,255,.20);
  --shadow: 0 24px 70px rgba(0,0,0,.45);
  --shadow2: 0 14px 44px rgba(0,0,0,.34);
}

*{ box-sizing:border-box; }
img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; }
button{ font: inherit; }
:focus-visible{ outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }

.container{
  max-width: var(--max);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

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

/* Background */
.bg-wrap{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--g1), var(--g2);
}
.bg-wrap::after{
  content:"";
  position:absolute; inset:-10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  opacity:.045;
}

/* Header */
header.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,.55);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
html[data-theme="dark"] header.site-header{
  background: rgba(7,10,18,.55);
}

.progress{
  height: 2px;
  width: 100%;
  background: transparent;
  position:absolute;
  left:0; top:0;
}
.progress > span{
  display:block;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--a1), var(--a3));
}

.header-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  min-width: 0;
}
.brand svg{ width: 34px; height:34px; flex: 0 0 auto; }
.brand .word{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand .word strong{ font-size: 14px; letter-spacing:.2px; }
.brand .word span{ font-size: 12px; color: var(--muted2); }

nav.desktop-nav{
  display:flex;
  align-items:center;
  gap: 18px;
}
nav.desktop-nav a{
  text-decoration:none;
  font-size: 13px;
  color: var(--muted);
}
nav.desktop-nav a:hover{ color: var(--text); }

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.icon-btn, .pill-btn{
  border: 1px solid var(--borderStrong);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: var(--shadow2);
}
.icon-btn{
  width: 40px; height: 40px;
  display:grid; place-items:center;
  padding:0;
}
.icon-btn svg{ width: 18px; height:18px; }

.pill-btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  font-weight: 650;
  letter-spacing:.2px;
}

.pill-btn .shine{
  width: 14px; height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,0));
  box-shadow: 0 0 0 1px rgba(255,255,255,.25);
}

.gradient-border{
  position: relative;
  border-radius: 999px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,107,54,.85), rgba(123,215,255,.55), rgba(255,207,191,.45));
  box-shadow: var(--shadow2);
}
.gradient-border > a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width: 100%;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--surface2);
  text-decoration:none;
  font-weight: 750;
}
.gradient-border > a:hover{ filter: brightness(1.03); }

.lang details{
  position: relative;
}
.lang summary{
  list-style:none;
  cursor:pointer;
}
.lang summary::-webkit-details-marker{ display:none; }
.lang .menu{
  position:absolute;
  right:0;
  top: 46px;
  min-width: 180px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--borderStrong);
  background: var(--surface2);
  box-shadow: var(--shadow);
}
.lang .menu a{
  display:flex;
  justify-content:space-between;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration:none;
  font-size: 13px;
  color: var(--text);
}
.lang .menu a:hover{
  background: rgba(255,107,54,.10);
}
.lang .menu small{
  color: var(--muted2);
}

/* Mobile header controls */
.hamburger{
  display:none;
}
@media (max-width: 900px){
  nav.desktop-nav{ display:none; }
  .desktop-only{ display:none !important; }
  .hamburger{ display:grid; }
}

/* Sections */
main{
  display:block;
}
.section{
  padding-block: 30px;
}
.section.fill{
  min-height: 100svh;
  display:flex;
  align-items:center;
}
.section .container{
  width: 100%;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 12px;
  letter-spacing:.18em;
  text-transform: uppercase;
  color: var(--muted2);
}
.kicker .dot{
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--ctaGrad);
  box-shadow: 0 0 0 6px rgba(255,107,54,.12);
}

h1{
  font-size: clamp(34px, 4vw, 56px);
  margin: 12px 0 10px;
  letter-spacing: -0.02em;
}
h2{
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
p{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.lead{
  font-size: 18px;
  color: var(--muted);
  max-width: 62ch;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items:center;
}
@media (max-width: 900px){
  .hero-grid{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .hero-grid .hero-copy{ order:2; }
  .hero-grid .hero-media{ order:1; }
}

.hero-bullets{
  margin: 18px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap: 10px;
}
.hero-bullets li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  justify-content:flex-start;
  color: var(--muted);
}
.hero-bullets svg{ width: 18px; height:18px; margin-top: 3px; flex:0 0 auto; }
@media (max-width: 900px){
  .hero-bullets{ justify-items:center; }
  .hero-bullets li{ justify-content:center; text-align:left; max-width: 34ch; }
}

.hero-cta{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  align-items:center;
}
@media (max-width: 900px){
  .hero-cta{ justify-content:center; flex-wrap:wrap; }
}

.cta{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.28);
  background: var(--ctaGrad);
  color: #0b0f19;
  font-weight: 850;
  letter-spacing: .2px;
  text-decoration:none;
  box-shadow: 0 18px 60px rgba(255,107,54,.24);
}
.cta:hover{ filter: brightness(1.02); }
.cta:active{ transform: translateY(1px); }

.cta.secondary{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--borderStrong);
  box-shadow: var(--shadow2);
}
.cta.secondary:hover{ background: rgba(255,107,54,.08); }

.note{
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.5;
}

.media-card{
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.22));
  box-shadow: var(--shadow);
  padding: 20px;
}
html[data-theme="dark"] .media-card{
  background: linear-gradient(180deg, rgba(13,17,28,.72), rgba(13,17,28,.32));
}
.media-card .mask{
  border-radius: 26px;
  background: radial-gradient(500px 320px at 50% 20%, rgba(255,107,54,.22), transparent 60%),
              radial-gradient(520px 360px at 50% 85%, rgba(123,215,255,.14), transparent 55%);
  padding: 22px;
  border: 1px solid rgba(255,255,255,.10);
}
.media-card picture, .media-card img{
  margin-inline:auto;
  max-width: 520px;
  object-fit: contain;
}

/* Experience sticky */
.experience{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 22px;
  align-items:start;
}
.experience .sticky{
  position: sticky;
  top: 86px;
}
@media (max-width: 900px){
  .experience{ grid-template-columns: 1fr; }
  .experience .sticky{ position: relative; top:auto; }
}
.steps{
  display:grid;
  gap: 14px;
}
.step{
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 16px;
  box-shadow: var(--shadow2);
}
.step h3{
  margin: 0 0 6px;
  font-size: 16px;
}
.step p{ margin:0; font-size: 14px; }
.step[data-active="true"]{
  border-color: rgba(255,107,54,.38);
  box-shadow: 0 18px 55px rgba(255,107,54,.16);
  background: linear-gradient(180deg, rgba(255,107,54,.10), rgba(255,255,255,.0));
}
html[data-theme="dark"] .step[data-active="true"]{
  background: linear-gradient(180deg, rgba(255,107,54,.14), rgba(13,17,28,.10));
}

/* Cards / grid */
.grid{
  display:grid;
  gap: 14px;
}
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 900px){
  .grid.cols-3,.grid.cols-2{ grid-template-columns: 1fr; }
}

.card{
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 16px;
  box-shadow: var(--shadow2);
  display:flex;
  flex-direction: column;
  align-items: stretch;
}
.card h3{
  font-size: 16px;
  margin: 0 0 6px;
}
.card p{ font-size: 14px; margin: 0; }
.card .icon{
  width: 38px; height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,107,54,.20), rgba(123,215,255,.16));
  border: 1px solid rgba(255,255,255,.10);
  display:grid;
  place-items:center;
  margin-bottom: 10px;
}
.card .icon svg{ width: 18px; height:18px; }

.card.hoverable{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
@media (hover:hover){
  .card.hoverable:hover{
    transform: translateY(-4px);
    border-color: rgba(255,107,54,.28);
    box-shadow: 0 22px 70px rgba(0,0,0,.22);
  }
}

/* Pricing */
.pricing .plan{
  padding: 18px;
  position:relative;
}
.plan .badge{
  position:absolute;
  top: 14px; right: 14px;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,107,54,.14);
  color: var(--text);
}
.plan .price{
  display:flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 8px;
}
.plan .price strong{
  font-size: 34px;
}
.plan .price span{
  font-size: 12px;
  color: var(--muted2);
}
.plan ul{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.plan .product{
  margin-top: 14px;
  display:grid;
  place-items:center;
}
.plan .product img{
  width: min(310px, 90%);
  height: auto;
  object-fit: contain;
}
.plan__cta{
  margin-top: auto;
  padding-top: 14px;
  display:grid;
  gap: 10px;
}
.plan__cta a{
  width:100%;
  text-align:center;
}
.plan__cta .note{ text-align:center; }

/* Label section */
.label{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items:center;
}
@media (max-width: 900px){
  .label{ grid-template-columns: 1fr; text-align:center; }
}
.label .facts img{ border-radius: 18px; border: 1px solid var(--border); }

/* FAQ */
.faq details{
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 14px 14px;
  box-shadow: var(--shadow2);
}
.faq summary{
  cursor:pointer;
  font-weight: 750;
  list-style:none;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq details p{ margin-top: 10px; }

/* Footer */
footer{
  border-top: 1px solid var(--border);
  padding: 26px 0 32px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr; text-align:center; }
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
}
.footer-links a{
  font-size: 13px;
  color: var(--muted);
  text-decoration:none;
}
.footer-links a:hover{ color: var(--text); }

/* Language hint bar (root only) */
.lang-hint{
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.40);
}
html[data-theme="dark"] .lang-hint{
  background: rgba(7,10,18,.50);
}
.lang-hint .row{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
  padding: 10px 0;
}
.lang-hint p{
  margin:0;
  font-size: 13px;
  color: var(--muted);
}
.lang-hint .links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.lang-hint .links a{
  font-size: 13px;
  color: var(--muted);
  text-decoration:none;
  border-bottom: 1px solid transparent;
}
.lang-hint .links a:hover{
  color: var(--text);
  border-bottom-color: rgba(255,107,54,.4);
}

/* Dialog (mobile nav) */
dialog#mobile-nav{
  border: none;
  padding: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  background: transparent;
}
dialog#mobile-nav::backdrop{
  background: rgba(0,0,0,.52);
}
.mobile-drawer{
  position: fixed;
  inset: 0;
  display:grid;
  align-content:start;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: rgba(7,10,18,.92);
  color: #eef2ff;
}
.mobile-drawer a{ color: #eef2ff; text-decoration:none; }
.mobile-drawer .top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-drawer nav{
  margin-top: 18px;
  display:grid;
  gap: 10px;
}
.mobile-drawer nav a{
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.mobile-drawer nav a:hover{
  background: rgba(255,107,54,.18);
  border-color: rgba(255,107,54,.28);
}

/* Floating CTA (mobile only) */
.floating-cta{
  position: fixed;
  z-index: 40;
  left: 16px;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display:none;
}
@media (max-width: 900px){
  .floating-cta{ display:block; }
}
.floating-cta .wrap{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content: space-between;
  border-radius: 22px;
  padding: 12px 12px;
  border: 1px solid var(--borderStrong);
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
html[data-theme="dark"] .floating-cta .wrap{
  background: rgba(7,10,18,.70);
}
.floating-cta .wrap span{
  font-size: 13px;
  color: var(--muted);
}
html[data-theme="dark"] .floating-cta .wrap span{ color: var(--muted); }

.floating-cta .wrap a{
  border-radius: 18px;
  padding: 12px 14px;
  font-weight: 850;
  background: var(--ctaGrad);
  color: #0b0f19;
  text-decoration:none;
  white-space: nowrap;
}

/* Reveal */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ opacity: 1 !important; transform:none !important; transition:none !important; }
  .card.hoverable{ transition:none !important; }
  .cta:active{ transform:none; }
}
