:root{
  --accent: #ff0059;
  --accent-dim: #c60045;
  --success: #34c759;
  --bg: #0b0b0d;
  --card: rgba(255,255,255,.05);
  --card-strong: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.10);
  --border-strong: rgba(255,255,255,.16);
  --text: #f5f5f7;
  --text-muted: #a6a6ad;
  --text-faint: #6f6f76;
  --r-card: 18px;
  --r-thumb: 14px;
  --r-viewfinder: 28px;
  --r-small: 8px;
  --r-pill: 999px;
  --maxw: 1120px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; background:var(--bg);}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{display:block; max-width:100%;}
a{color:inherit; text-decoration:none;}
h1,h2,h3,p{margin:0;}
ul,ol{margin:0; padding:0; list-style:none;}
.container{max-width:var(--maxw); margin:0 auto; padding:0 24px;}
section{position:relative;}

/* background texture: soft brand glows + grain */
.bg-fx{position:fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none;}
.bg-fx::before, .bg-fx::after, .bg-fx .glow-blue{
  content:""; position:absolute; border-radius:50%; filter:blur(110px); opacity:.28;
}
.bg-fx::before{
  width:640px; height:640px; top:-220px; right:-160px;
  background:radial-gradient(circle at 30% 30%, var(--accent), transparent 70%);
}
.bg-fx::after{
  width:520px; height:520px; bottom:-200px; left:-160px; opacity:.16;
  background:radial-gradient(circle at 60% 40%, #ffe000, transparent 70%);
}
.bg-fx .glow-blue{
  width:480px; height:480px; top:38%; left:50%; opacity:.12;
  background:radial-gradient(circle at 50% 50%, #00aeef, transparent 70%);
}
.bg-fx .grain{
  position:absolute; inset:-200px; opacity:.05; mix-blend-mode:overlay;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */
header.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(11,11,13,.72);
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  max-width:var(--maxw); margin:0 auto; padding:14px 24px;
  display:flex; align-items:center; gap:20px;
}
.brand{display:flex; align-items:center; gap:10px; font-weight:700; font-size:17px; letter-spacing:-.01em; color:var(--text); margin-right:auto;}
.brand svg{width:26px; height:26px;}
.nav-links{display:flex; align-items:center; gap:28px; font-size:14.5px; color:var(--text-muted);}
.nav-links a{transition:color .15s ease;}
.nav-links a:hover{color:var(--text);}
.nav-toggle{display:none; background:none; border:0; color:var(--text); padding:8px; cursor:pointer;}
.nav-toggle svg{width:22px; height:22px;}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 22px; border-radius:var(--r-pill);
  font-size:15px; font-weight:600; white-space:nowrap;
  border:1px solid transparent; cursor:pointer;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active{transform:scale(.97);}
.btn-primary{
  background:linear-gradient(180deg, #ff2e73, var(--accent));
  color:#fff;
  box-shadow:0 8px 24px -8px rgba(255,0,89,.65), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover{background:linear-gradient(180deg, #ff4a86, #ff1265);}
.btn-ghost{
  background:var(--card);
  border-color:var(--border);
  color:var(--text);
  backdrop-filter:blur(10px);
}
.btn-ghost:hover{background:var(--card-strong); border-color:var(--border-strong);}
.btn-small{padding:9px 16px; font-size:13.5px;}

/* ---------- hero ---------- */
.hero{
  max-width:var(--maxw); margin:0 auto; padding:76px 24px 40px;
  display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--accent); background:rgba(255,0,89,.12); border:1px solid rgba(255,0,89,.28);
  padding:6px 12px; border-radius:var(--r-pill); margin-bottom:20px;
}
.hero h1{
  font-size:clamp(34px, 4.6vw, 54px); line-height:1.06; letter-spacing:-.02em; font-weight:800;
}
.hero h1 .accent{color:var(--accent);}
.hero .lede{
  margin-top:20px; font-size:18px; line-height:1.55; color:var(--text-muted); max-width:46ch;
}
.hero-actions{display:flex; align-items:center; gap:14px; margin-top:32px; flex-wrap:wrap;}
.hero-note{margin-top:18px; font-size:13.5px; color:var(--text-faint);}

/* ---------- phone mockup ---------- */
.hero-visual{display:flex; justify-content:center;}
.phone-wrap{position:relative; width:270px;}
.phone{
  position:relative; width:270px; aspect-ratio:9/19; border-radius:52px;
  background:linear-gradient(160deg,#1c1c1f,#0a0a0b);
  border:1px solid rgba(255,255,255,.14);
  padding:12px;
  box-shadow:0 40px 90px -28px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.08);
}
.phone-screen{
  position:relative; height:100%; border-radius:40px; overflow:hidden;
  background:#050506;
  display:flex; flex-direction:column;
}
.vf-topbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 14px 0;
}
.vf-pill{
  width:30px; height:30px; border-radius:50%;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
}
.vf-pill svg{width:15px; height:15px; stroke:var(--text-muted);}
.vf-counter{
  font-size:12px; font-weight:700; letter-spacing:.02em; color:var(--text);
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12);
  padding:5px 11px; border-radius:var(--r-pill);
}
.viewfinder{
  margin:12px; flex:1; border-radius:var(--r-viewfinder); position:relative; overflow:hidden;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255,0,89,.22), transparent 55%),
    radial-gradient(100% 80% at 80% 90%, rgba(0,174,239,.18), transparent 55%),
    linear-gradient(160deg,#232327,#0c0c0e);
  border:1px solid rgba(255,255,255,.08);
}
.viewfinder::after{
  content:""; position:absolute; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity:.06; mix-blend-mode:overlay;
}
.vf-blur-badge{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  text-align:center; color:rgba(255,255,255,.55); font-size:11.5px; font-weight:600;
  letter-spacing:.02em;
}
.vf-blur-badge svg{width:26px; height:26px; margin:0 auto 8px; opacity:.7;}
.vf-bottombar{
  padding:14px 18px 20px; display:flex; align-items:center; justify-content:space-between;
}
.film-strip{
  display:flex; align-items:center; gap:5px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  border-radius:var(--r-pill); padding:6px 10px;
}
.film-strip .n{font-size:11px; color:var(--text-faint); font-weight:600;}
.film-strip .n.mid{font-size:15px; color:#fff; font-weight:800;}
.shutter{
  width:52px; height:52px; border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #ff4d86, var(--accent));
  border:3px solid rgba(255,255,255,.5);
  box-shadow:0 6px 18px -4px rgba(255,0,89,.6);
}
.dot{
  width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}
.notch{
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:90px; height:24px; background:#000; border-radius:0 0 16px 16px; z-index:2;
}
.float-chip{
  position:absolute; display:flex; align-items:center; gap:8px;
  background:rgba(20,20,23,.85); border:1px solid var(--border-strong);
  backdrop-filter:blur(14px); border-radius:var(--r-card);
  padding:10px 14px; font-size:12.5px; font-weight:600;
  box-shadow:0 16px 40px -16px rgba(0,0,0,.6);
}
.float-chip svg{width:16px; height:16px;}
.chip-blocked{top:14%; left:-58px;}
.chip-blocked svg{stroke:var(--accent);}
.chip-ready{bottom:10%; right:-46px;}
.chip-ready svg{stroke:var(--success);}
.chip-ready .sub{color:var(--text-faint); font-weight:500;}

/* ---------- section heads ---------- */
.section-head{max-width:640px; margin:0 auto 52px; text-align:center;}
.kicker{
  display:block; font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--accent); margin-bottom:12px;
}
.section-head h2{font-size:clamp(26px,3.4vw,38px); letter-spacing:-.015em; font-weight:800; line-height:1.15;}
.section-head p{margin-top:14px; color:var(--text-muted); font-size:16.5px; line-height:1.6;}

section.pad{padding:100px 0;}
section.pad.tight{padding:80px 0;}

/* ---------- how it works ---------- */
.steps{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
  counter-reset:step;
}
.step{
  background:var(--card); border:1px solid var(--border); border-radius:var(--r-card);
  padding:26px 22px; position:relative;
}
.step .num{
  font-size:13px; font-weight:800; color:var(--accent);
  background:rgba(255,0,89,.12); border:1px solid rgba(255,0,89,.28);
  width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.step h3{font-size:16.5px; font-weight:700; letter-spacing:-.01em;}
.step p{margin-top:8px; font-size:14.5px; line-height:1.55; color:var(--text-muted);}

/* ---------- features ---------- */
.feature-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:20px;}
.feature{
  background:var(--card); border:1px solid var(--border); border-radius:var(--r-card);
  padding:28px; display:flex; flex-direction:column; gap:14px;
}
.feature-head{display:flex; align-items:center; gap:18px;}
.feature .icon{
  flex:none; width:46px; height:46px; border-radius:var(--r-thumb);
  background:rgba(255,0,89,.12); border:1px solid rgba(255,0,89,.25);
  display:flex; align-items:center; justify-content:center;
}
.feature .icon svg{width:22px; height:22px; stroke:var(--accent);}
.feature h3{font-size:17px; font-weight:700; letter-spacing:-.01em;}
.feature p{font-size:14.5px; line-height:1.6; color:var(--text-muted);}

/* ---------- filters ---------- */
.filters-panel{
  background:linear-gradient(160deg, rgba(255,0,89,.08), rgba(0,174,239,.05));
  border:1px solid var(--border); border-radius:24px; padding:48px 0 48px;
}
.filters-panel .section-head{padding:0 40px;}
.filmstrip-viewport{
  margin-top:32px; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.filmstrip-track{
  display:flex; width:max-content; gap:18px; padding:0 18px;
  animation:filmstrip-scroll 90s linear infinite;
}
.filmstrip-viewport:hover .filmstrip-track{animation-play-state:paused;}
.filmstrip-cell{flex:0 0 auto; width:130px;}
.filmstrip-thumb{
  width:130px; height:130px; border-radius:16px; overflow:hidden;
  border:1px solid var(--border-strong); background:#000;
  box-shadow:0 14px 30px -18px rgba(0,0,0,.6);
}
.filmstrip-thumb img{width:100%; height:100%; object-fit:cover; display:block;}
.filmstrip-name{
  margin-top:10px; font-size:13px; font-weight:600; color:var(--text-muted);
  display:flex; align-items:center; justify-content:center; gap:4px; text-align:center;
}
.filmstrip-name .lock{font-size:11px; opacity:.75;}
@keyframes filmstrip-scroll{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}
@media (prefers-reduced-motion:reduce){
  .filmstrip-track{animation:none;}
}

/* ---------- pricing ---------- */
.plan-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; align-items:stretch;}
.plan{
  background:var(--card); border:1px solid var(--border); border-radius:22px;
  padding:30px 26px; display:flex; flex-direction:column;
}
.plan.featured{
  border-color:rgba(255,0,89,.5);
  background:linear-gradient(180deg, rgba(255,0,89,.1), rgba(255,255,255,.03));
  box-shadow:0 24px 60px -30px rgba(255,0,89,.5);
  transform:translateY(-6px);
}
.plan-name{font-size:14px; font-weight:700; color:var(--text-muted); letter-spacing:.02em;}
.plan.featured .plan-name{color:var(--accent);}
.plan-price{font-size:30px; font-weight:800; letter-spacing:-.02em; margin-top:10px;}
.plan-price span{font-size:14px; font-weight:600; color:var(--text-faint);}
.plan-sub{margin-top:4px; font-size:13px; color:var(--text-faint);}
.plan ul{margin-top:22px; display:flex; flex-direction:column; gap:12px; flex:1;}
.plan li{display:flex; gap:10px; font-size:14.5px; color:var(--text-muted); line-height:1.4;}
.plan li svg{flex:none; width:17px; height:17px; margin-top:1px; stroke:var(--success);}
.badge-pro{
  align-self:flex-start; font-size:11px; font-weight:800; letter-spacing:.04em;
  color:#fff; background:var(--accent); padding:4px 10px; border-radius:var(--r-pill);
  margin-bottom:14px;
}
.pricing-note{
  text-align:center; margin-top:36px; font-size:13.5px; color:var(--text-faint); max-width:560px;
  margin-left:auto; margin-right:auto; line-height:1.6;
}

/* ---------- privacy cta (homepage teaser) ---------- */
.privacy-panel{
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:28px;
  background:var(--card); border:1px solid var(--border); border-radius:24px; padding:40px;
}
.privacy-panel .icon{
  width:56px; height:56px; border-radius:16px; background:rgba(52,199,89,.12);
  border:1px solid rgba(52,199,89,.3); display:flex; align-items:center; justify-content:center;
}
.privacy-panel .icon svg{width:26px; height:26px; stroke:var(--success);}
.privacy-panel h3{font-size:19px; font-weight:700; letter-spacing:-.01em;}
.privacy-panel p{margin-top:6px; font-size:14.5px; color:var(--text-muted); line-height:1.6;}

/* ---------- final cta ---------- */
.final-cta{text-align:center; padding:100px 24px;}
.final-cta h2{font-size:clamp(28px,4vw,44px); font-weight:800; letter-spacing:-.02em;}
.final-cta p{margin-top:16px; color:var(--text-muted); font-size:17px;}
.final-cta .btn{margin-top:32px;}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--border); padding:44px 0 34px;}
.footer-inner{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px;
}
.footer-brand{display:flex; align-items:center; gap:10px; font-weight:700;}
.footer-brand svg{width:22px; height:22px;}
.footer-links{display:flex; gap:24px; font-size:13.5px; color:var(--text-muted);}
.footer-links a:hover{color:var(--text);}
.footer-fine{margin-top:22px; font-size:12.5px; color:var(--text-faint);}

/* reveal on scroll */
.reveal{opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1; transform:none;}

/* ==================================================
   Legal pages (privacy.html / it/privacy.html)
   Scoped under body.page-privacy so they never leak
   into the homepage's use of the same class names.
   ================================================== */
body.page-privacy .container{max-width:760px;}
body.page-privacy main{padding:64px 0 100px;}
body.page-privacy h1{font-size:clamp(28px,4vw,38px); font-weight:800; letter-spacing:-.02em; line-height:1.15;}
body.page-privacy .updated{margin-top:12px; font-size:13.5px; color:var(--text-faint);}
body.page-privacy .lede{margin-top:22px; font-size:16.5px; line-height:1.6; color:var(--text-muted);}

body.page-privacy .card{
  margin-top:36px; background:var(--card); border:1px solid var(--border);
  border-radius:var(--r-card); padding:28px 30px;
}
body.page-privacy .card h2{font-size:19px; font-weight:700; letter-spacing:-.01em; margin:0 0 12px;}
body.page-privacy .card section + section{margin-top:28px;}
body.page-privacy .card p{font-size:15px; line-height:1.7; color:var(--text-muted);}
body.page-privacy .card ul{margin:14px 0 0; padding-left:20px;}
body.page-privacy .card li{font-size:15px; line-height:1.7; color:var(--text-muted); margin-bottom:6px;}
body.page-privacy .card li b, body.page-privacy .card p b{color:var(--text); font-weight:600;}
body.page-privacy .card a{color:var(--accent); text-decoration:none;}
body.page-privacy .card a:hover{text-decoration:underline;}

body.page-privacy .toc{display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:28px;}
body.page-privacy .toc a{font-size:13.5px; color:var(--text-muted); border-bottom:1px dotted var(--border-strong);}
body.page-privacy .toc a:hover{color:var(--accent); text-decoration:none;}

footer.footer-legal{padding:36px 0; text-align:center;}
footer.footer-legal p{font-size:12.5px; color:var(--text-faint);}
footer.footer-legal a{color:var(--text-muted);}

@media (max-width:900px){
  .hero{grid-template-columns:1fr; text-align:center; padding-top:52px;}
  .hero .lede{margin-left:auto; margin-right:auto;}
  .hero-actions{justify-content:center;}
  .hero-visual{margin-top:20px;}
  .float-chip{display:none;}
  .steps{grid-template-columns:repeat(2,1fr);}
  .feature-grid{grid-template-columns:1fr;}
  .plan-grid{grid-template-columns:1fr;}
  .plan.featured{transform:none;}
  .privacy-panel{grid-template-columns:1fr; text-align:center;}
  .privacy-panel .icon{margin:0 auto;}
  .filters-panel .section-head{padding:0 24px;}
  .filmstrip-cell, .filmstrip-thumb{width:104px;}
  .filmstrip-thumb{height:104px;}
  .nav-links{
    position:fixed; inset:60px 16px auto 16px; flex-direction:column; align-items:stretch;
    background:rgba(18,18,21,.96); border:1px solid var(--border-strong); border-radius:18px;
    padding:10px; gap:2px; backdrop-filter:blur(20px);
    transform:translateY(-12px); opacity:0; pointer-events:none; transition:all .2s ease;
  }
  .nav-links.open{transform:none; opacity:1; pointer-events:auto;}
  .nav-links a{padding:12px 14px; border-radius:10px;}
  .nav-links a:hover{background:rgba(255,255,255,.06);}
  .nav-toggle{display:block;}
  .btn-small.hide-mobile{display:none;}
}
@media (max-width:560px){
  .steps{grid-template-columns:1fr;}
}
