/* ===== Tovli landing — clean-room styles ===== */
:root{
  --green:#0B3B2C;
  --green-deep:#082e23;
  --mint:#5EEAD4;
  --mint-2:#34D399;
  --yellow:#FFC531;
  --yellow-dark:#e8a90c;
  --teal:#0D9488;
  --white:#FFFFFF;
  --gray-bg:#F6F7F9;
  --footer-bg:#EEF0F3;
  --ink:#12211b;
  --muted:#5b6b64;
  --radius:22px;
  --shadow:0 18px 45px rgba(11,59,44,.10);
  --font:"Heebo",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font);
  color:var(--ink);
  background:var(--white);
  line-height:1.7;
  overflow-x:hidden;
}
img,svg{display:block}
a{text-decoration:none;color:inherit}
button{font-family:inherit}
.container{width:min(1200px,92%);margin-inline:auto}
.narrow{width:min(860px,92%)}
.center{text-align:center}

/* ---------- reveal on scroll (JS adds .js-on to <html>) ---------- */
.js-on .reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.js-on .reveal.visible{opacity:1;transform:none}

/* ---------- sticky header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(11,59,44,.06);
  transition:box-shadow .3s ease;
}
.site-header.scrolled{box-shadow:0 8px 28px rgba(11,59,44,.12)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:1.35rem;color:var(--green)}
.logo-mark{
  width:40px;height:40px;border-radius:14px;
  background:var(--green);color:var(--white);
  display:grid;place-items:center;font-weight:800;font-size:1.3rem;
}
.main-nav{display:flex;gap:28px;font-weight:500}
.main-nav a{color:var(--ink);position:relative;padding:4px 0}
.main-nav a::after{content:"";position:absolute;bottom:0;right:0;width:0;height:2px;background:var(--mint-2);border-radius:2px;transition:width .25s ease}
.main-nav a:hover::after{width:100%}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;flex-direction:column;gap:5px;padding:8px}
.nav-toggle span{width:24px;height:2.5px;border-radius:2px;background:var(--green)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;cursor:pointer;border-radius:999px;font-weight:700}
.btn-yellow{background:var(--yellow);color:#3a2c00;padding:12px 28px;font-size:1rem;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.btn-yellow:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(255,197,49,.45)}
.btn-small{padding:10px 22px;font-size:.92rem}
.btn-block{width:100%}

/* ---------- hero ---------- */
.hero{background:radial-gradient(1200px 600px at 80% -10%,rgba(94,234,212,.14),transparent 60%),var(--green);color:#fff;position:relative;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;padding:84px 0 96px}
.hero h1{font-size:clamp(2.1rem,4.6vw,3.4rem);font-weight:800;line-height:1.25;margin-bottom:18px}
.hero h1 .hl{color:var(--mint)}
.hero-sub{font-size:1.15rem;color:#d9efe8;max-width:34rem;margin-bottom:30px}
.hero-sub strong{color:#fff}
.store-row{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:28px}
.store-row.center{justify-content:center}
.store-btn{
  position:relative;display:flex;align-items:center;gap:12px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);
  color:#fff;border-radius:16px;padding:12px 18px;cursor:not-allowed;opacity:.85;
}
.store-icon{width:30px;height:30px;fill:#fff}
.store-txt{display:flex;flex-direction:column;text-align:right;line-height:1.35}
.store-line1{font-size:.78rem;color:#cfe7de}
.store-line2{font-size:1.05rem;font-weight:700}
.soon-badge{
  position:absolute;top:-11px;left:-8px;background:var(--yellow);color:#3a2c00;
  font-size:.72rem;font-weight:800;padding:3px 12px;border-radius:999px;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
}
.hero-checks{list-style:none;display:flex;gap:26px;flex-wrap:wrap;font-weight:600}
.hero-checks li{display:flex;align-items:center;gap:9px}
.hero-checks svg{width:22px;height:22px;fill:var(--mint-2);flex:none}

/* ---------- CSS iPhone mockups ---------- */
.hero-phones{display:flex;justify-content:center;align-items:flex-start;gap:0;perspective:1200px}
.phone{
  width:250px;height:510px;background:#0e1513;border-radius:44px;
  padding:12px;box-shadow:0 40px 80px rgba(0,0,0,.45),inset 0 0 0 2px rgba(255,255,255,.08);
  position:relative;flex:none;
}
.phone.tilt-left{transform:rotateY(14deg) rotateZ(-3deg);margin-top:36px;z-index:1}
.phone.tilt-right{transform:rotateY(-14deg) rotateZ(3deg);margin-right:-56px;z-index:2}
.phone.mini{width:100%;max-width:230px;height:440px;border-radius:36px;margin:26px auto 0;transform:none;box-shadow:0 24px 50px rgba(11,59,44,.18),inset 0 0 0 2px rgba(255,255,255,.08)}
.phone-notch{position:absolute;top:22px;right:50%;transform:translateX(50%);width:96px;height:22px;background:#0e1513;border-radius:12px;z-index:3}
.phone-screen{background:#f4f6f5;border-radius:32px;height:100%;overflow:hidden;display:flex;flex-direction:column;color:var(--ink);padding-top:30px}
.app-bar{display:flex;align-items:center;gap:10px;padding:8px 14px;font-weight:700;font-size:.95rem}
.app-back{font-size:1.3rem;color:var(--teal)}
.app-title{flex:1}
.listing-img{height:130px;margin:4px 12px 0;border-radius:16px;background:linear-gradient(135deg,#0D9488,#0B3B2C);display:flex;align-items:flex-end;padding:12px}
.listing-route{color:#fff;font-weight:800;font-size:1.05rem;letter-spacing:.04em}
.listing-body{padding:14px;display:flex;flex-direction:column;gap:8px}
.listing-row{display:flex;justify-content:space-between;align-items:center;font-size:.92rem}
.listing-price{color:var(--green);font-weight:800;font-size:1.1rem}
.listing-meta{font-size:.8rem;color:var(--muted)}
.seller-row{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;padding:10px;box-shadow:0 4px 14px rgba(11,59,44,.07)}
.avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--mint),var(--teal));flex:none}
.seller-info{display:flex;flex-direction:column;font-size:.82rem;line-height:1.4}
.stars{color:#b8860b;font-size:.78rem}
.stars b{color:var(--ink)}
.search-bar{display:flex;align-items:center;gap:8px;background:#fff;border-radius:12px;margin:6px 12px;padding:9px 12px;font-size:.85rem;color:#9aa7a1}
.search-icon{width:16px;height:16px;fill:#9aa7a1}
.result{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;padding:10px;margin:6px 12px;box-shadow:0 4px 14px rgba(11,59,44,.06);font-size:.85rem}
.result>div{display:flex;flex-direction:column;line-height:1.4}
.result span{color:var(--muted);font-size:.78rem}
.result.dim{opacity:.6}
.result-icon{width:40px;height:40px;border-radius:12px;flex:none}
.icon-sky{background:#BAE6FD}.icon-mint{background:#A7F3D0}.icon-peach{background:#FED7AA}.icon-lav{background:#DDD6FE}
.field{background:#fff;border-radius:12px;margin:6px 12px;padding:10px 12px;display:flex;justify-content:space-between;font-size:.85rem}
.field span{color:var(--muted)}
.chat{display:flex;flex-direction:column;gap:8px;padding:10px 12px}
.bubble{max-width:80%;padding:8px 12px;border-radius:16px;font-size:.82rem;line-height:1.5}
.bubble.in{background:#fff;align-self:flex-start;border-top-right-radius:4px;box-shadow:0 3px 10px rgba(11,59,44,.06)}
.bubble.out{background:var(--green);color:#fff;align-self:flex-end;border-top-left-radius:4px}
.chat-input{margin:auto 12px 12px;background:#fff;border-radius:12px;padding:10px 12px;font-size:.82rem;color:#9aa7a1}
.sold-row{display:flex;justify-content:center;margin:8px 12px}

/* ---------- sections ---------- */
.section{padding:96px 0}
.section.light{background:var(--white)}
.section.alt{background:var(--gray-bg)}
.section-label{color:var(--teal);font-weight:700;font-size:.88rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px}
.section-label.on-dark{color:var(--mint)}
h2{font-size:clamp(1.6rem,3.2vw,2.4rem);font-weight:800;line-height:1.35;margin-bottom:16px;color:var(--green)}
h2.on-dark{color:#fff}
.section-intro{color:var(--muted);max-width:44rem;margin-bottom:44px;font-size:1.08rem}

/* ---------- categories ---------- */
.cat-row{display:grid;grid-template-columns:repeat(7,1fr);gap:18px}
.cat{display:flex;flex-direction:column;align-items:center;gap:12px;font-weight:600;font-size:.95rem;text-align:center}
.cat-circle{
  width:88px;height:88px;border-radius:50%;background:var(--pastel);
  display:grid;place-items:center;transition:transform .25s ease,box-shadow .25s ease;
  box-shadow:0 10px 24px rgba(11,59,44,.08);
}
.cat-circle svg{width:40px;height:40px;fill:var(--green)}
.cat:hover .cat-circle{transform:translateY(-6px) scale(1.05);box-shadow:0 18px 34px rgba(11,59,44,.14)}

/* ---------- how it works ---------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.step{background:var(--white);border-radius:var(--radius);padding:36px 30px 8px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.step-num{font-size:3.4rem;font-weight:800;color:transparent;-webkit-text-stroke:2px var(--mint-2);line-height:1;margin-bottom:10px}
.step h3{font-size:1.35rem;font-weight:800;color:var(--green);margin-bottom:10px}
.step p{color:var(--muted);margin-bottom:6px}

/* ---------- dark sections ---------- */
.dark-section{background:linear-gradient(180deg,var(--green) 0%,var(--green-deep) 100%);color:#fff;padding:96px 0}
.dark-intro{color:#cfe7de;max-width:46rem;margin-bottom:44px;font-size:1.08rem}
.protect-card{background:rgba(255,255,255,.06);border:1px solid rgba(94,234,212,.28);border-radius:var(--radius);padding:36px;margin-bottom:44px;backdrop-filter:blur(6px)}
.protect-card h3{font-size:1.5rem;font-weight:800;margin-bottom:6px}
.protect-sub{color:var(--mint);font-weight:600;margin-bottom:20px}
.protect-list{list-style:none;display:flex;flex-direction:column;gap:14px;margin-bottom:20px}
.protect-list li{display:flex;align-items:center;gap:12px;font-weight:500}
.protect-list svg{width:22px;height:22px;fill:var(--mint-2);flex:none}
.protect-note{color:#a9c9bd;font-size:.95rem;border-top:1px dashed rgba(94,234,212,.3);padding-top:18px}
.trust-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.trust-card{background:#fff;color:var(--ink);border-radius:var(--radius);padding:30px;box-shadow:0 20px 45px rgba(0,0,0,.25);transition:transform .25s ease}
.trust-card:hover{transform:translateY(-5px)}
.trust-icon{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:16px;background:rgba(13,148,136,.12);margin-bottom:16px}
.trust-icon svg{width:26px;height:26px;fill:var(--teal)}
.trust-card h3{font-size:1.15rem;font-weight:800;color:var(--green);margin-bottom:8px}
.trust-card p{color:var(--muted);font-size:.98rem}

/* ---------- transparency ---------- */
.transparency{background:var(--gray-bg);padding:64px 0}
.trans-card{background:linear-gradient(135deg,var(--green),var(--green-deep));color:#fff;border-radius:28px;padding:52px 48px;text-align:center;box-shadow:0 24px 60px rgba(11,59,44,.28);position:relative;overflow:hidden}
.trans-card::before{content:"";position:absolute;top:-60px;left:-60px;width:220px;height:220px;border-radius:50%;background:rgba(94,234,212,.12)}
.trans-card h2{color:#fff;margin-bottom:14px}
.trans-card p{color:#d9efe8;max-width:44rem;margin:0 auto;font-size:1.05rem}

/* ---------- FAQ ---------- */
.faq-list{display:flex;flex-direction:column;gap:14px;margin-top:36px}
.faq-item{background:#fff;border:1px solid rgba(11,59,44,.08);border-radius:18px;overflow:hidden;transition:box-shadow .25s ease}
.faq-item.open{box-shadow:var(--shadow)}
.faq-q{
  width:100%;background:none;border:0;cursor:pointer;text-align:right;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:20px 24px;font-size:1.08rem;font-weight:700;color:var(--green);
}
.faq-x{position:relative;width:18px;height:18px;flex:none}
.faq-x::before,.faq-x::after{content:"";position:absolute;background:var(--teal);border-radius:2px;transition:transform .3s ease}
.faq-x::before{top:8px;right:0;width:18px;height:2.5px}
.faq-x::after{top:0;right:7.75px;width:2.5px;height:18px}
.faq-item.open .faq-x::after{transform:rotate(90deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq-a p{padding:0 24px 22px;color:var(--muted)}

/* ---------- download CTA ---------- */
.download{text-align:center}
.big-t{
  display:inline-grid;place-items:center;width:84px;height:84px;border-radius:28px;
  background:var(--yellow);color:#3a2c00;font-size:2.6rem;font-weight:800;margin-bottom:26px;
  box-shadow:0 18px 40px rgba(255,197,49,.35);
}
.download h2{margin-bottom:28px}
.launch-note{color:#a9c9bd;margin-top:26px;font-size:.98rem}

/* ---------- footer ---------- */
.site-footer{background:var(--footer-bg);padding:64px 0 0;color:var(--ink)}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px;padding-bottom:44px}
.footer-brand p{color:var(--muted);margin-top:12px}
.footer-col h4{font-size:1rem;font-weight:800;color:var(--green);margin-bottom:14px}
.footer-col a{display:block;color:var(--muted);margin-bottom:10px;font-size:.96rem}
.footer-col a:hover{color:var(--teal)}
.footer-bottom{border-top:1px solid rgba(11,59,44,.1);padding:20px 0;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:.88rem}

/* ---------- anchor offset under sticky header ---------- */
section[id]{scroll-margin-top:76px}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .cat-row{grid-template-columns:repeat(4,1fr)}
  .hero-grid{grid-template-columns:1fr;gap:56px;padding:64px 0 80px}
  .hero-phones{order:2}
}
@media (max-width:860px){
  .main-nav{
    position:fixed;top:0;right:0;height:100dvh;width:min(320px,80vw);
    background:#fff;flex-direction:column;padding:90px 32px;gap:22px;
    transform:translateX(100%);transition:transform .3s ease;
    box-shadow:-10px 0 40px rgba(11,59,44,.15);z-index:60;font-size:1.15rem;
  }
  .main-nav.open{transform:none}
  .nav-toggle{display:flex}
  .header-inner .btn-small{margin-inline-start:auto}
  .steps{grid-template-columns:1fr}
  .trust-grid{grid-template-columns:1fr}
  .section{padding:72px 0}
  .dark-section{padding:72px 0}
}
@media (max-width:640px){
  .cat-row{grid-template-columns:repeat(2,1fr);gap:22px}
  .hero-phones{flex-direction:column;align-items:center;gap:8px}
  .phone.tilt-left{transform:rotateZ(-2deg);margin-top:0}
  .phone.tilt-right{transform:rotateZ(2deg);margin-right:0;margin-top:-70px}
  .trans-card{padding:40px 28px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js-on .reveal{transition:none;opacity:1;transform:none}
  *{transition:none!important}
}
