/* ============================================================
   SYNLO — design tokens
   ============================================================ */
:root{
  --ink:#0A0A0F;
  --surface:#131320;
  --surface-2:#191928;
  --line: rgba(255,255,255,0.09);
  --line-soft: rgba(255,255,255,0.06);
  --blue:#3D5CFF;
  --blue-soft:#8FA0FF;
  --magenta:#C026E8;
  --magenta-soft:#E58CF4;
  --grad: linear-gradient(135deg, var(--blue) 0%, #8A3FE0 52%, var(--magenta) 100%);
  --paper:#F6F5FA;
  --paper-2:#EDEBF5;
  --text-ink:#14141C;
  --text-muted:#6C6C7C;
  --text-on-dark:#F3F2FA;
  --text-on-dark-muted:#9A9AAE;
  --green:#2FD180;
  --red:#FF5B6E;
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:26px;
  --shadow-lift: 0 20px 60px -20px rgba(20,10,50,0.5);
  --maxw:1200px;
  --font-display:'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body:'Inter', 'Segoe UI', sans-serif;
  --font-mono:'IBM Plex Mono', ui-monospace, monospace;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

body{
  margin:0;
  background:var(--ink);
  color:var(--text-on-dark);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{margin:0; padding:0; list-style:none;}
button{font-family:inherit; cursor:pointer;}
h1,h2,h3,h4{font-family:var(--font-display); margin:0; letter-spacing:-0.02em; font-weight:600;}
p{margin:0;}

:focus-visible{
  outline:2px solid var(--blue-soft);
  outline-offset:3px;
  border-radius:4px;
}

.wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px;}
.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--blue-soft);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.eyebrow::before{
  content:'';
  width:6px; height:6px; border-radius:50%;
  background:var(--grad);
}

.section{padding:96px 0;}
.section--tight{padding:64px 0;}
@media (max-width:720px){
  .section{padding:64px 0;}
  .section--tight{padding:44px 0;}
}

.section-head{max-width:640px; margin-bottom:52px;}
.section-head h2{font-size:clamp(28px,4vw,42px); margin-top:14px; color:var(--text-on-dark);}
.section-head p{margin-top:14px; color:var(--text-on-dark-muted); font-size:16.5px;}
.on-paper .section-head h2{color:var(--text-ink);}
.on-paper .section-head p{color:var(--text-muted);}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 24px;
  border-radius:999px;
  font-weight:600;
  font-size:15px;
  border:1px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px);}
.btn-primary{
  background:var(--grad);
  color:#fff;
  box-shadow:0 10px 30px -8px rgba(160,40,220,0.55);
}
.btn-primary:hover{box-shadow:0 14px 36px -6px rgba(160,40,220,0.7); transform:translateY(-1px);}
.btn-ghost{
  background:transparent;
  border-color:var(--line);
  color:var(--text-on-dark);
}
.btn-ghost:hover{border-color:rgba(255,255,255,0.3); background:rgba(255,255,255,0.04);}
.btn-dark{
  background:var(--ink);
  color:#fff;
}
.btn-dark:hover{background:#000;}
.btn-block{width:100%;}
.btn-sm{padding:10px 18px; font-size:13.5px;}

/* ---------------- NAV ---------------- */
.nav{
  position:sticky; top:0; z-index:60;
  background:rgba(10,10,15,0.78);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-soft);
}
.nav .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:72px; gap:24px;
}
.nav-brand{display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:19px;}
.nav-brand img{width:32px; height:32px; border-radius:8px;}
.nav-links{display:flex; align-items:center; gap:30px;}
.nav-links a{
  font-size:14.5px; color:var(--text-on-dark-muted); font-weight:500;
  transition:color .15s ease;
}
.nav-links a:hover{color:var(--text-on-dark);}
.nav-actions{display:flex; align-items:center; gap:12px;}
.nav-toggle{display:none; background:none; border:none; padding:6px;}
.nav-toggle span{display:block; width:22px; height:2px; background:#fff; margin:5px 0; border-radius:2px;}

@media (max-width:900px){
  .nav-links{
    position:fixed; inset:72px 0 0 0; height:calc(100vh - 72px);
    flex-direction:column; align-items:flex-start; gap:2px;
    background:var(--ink); padding:20px 28px;
    transform:translateX(100%); transition:transform .25s ease;
    overflow-y:auto;
  }
  .nav-links.is-open{transform:translateX(0);}
  .nav-links a{width:100%; padding:14px 0; border-bottom:1px solid var(--line-soft); font-size:16px;}
  .nav-toggle{display:block;}
  .nav-actions .btn-ghost{display:none;}
}

/* ---------------- HERO ---------------- */
.hero{
  position:relative;
  overflow:hidden;
  padding:88px 0 60px;
  border-bottom:1px solid var(--line-soft);
}
.hero-glow{
  position:absolute; inset:-20% -10% auto -10%; height:640px;
  background:
    radial-gradient(480px 320px at 15% 20%, rgba(61,92,255,0.35), transparent 65%),
    radial-gradient(520px 360px at 85% 10%, rgba(192,38,232,0.30), transparent 65%);
  filter:blur(10px);
  pointer-events:none;
  z-index:0;
}
.hero .wrap{position:relative; z-index:1;}
.hero-grid{
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center;
}
.hero-copy h1{
  font-size:clamp(36px,5.4vw,60px);
  line-height:1.04;
  margin-top:18px;
  color:#fff;
}
.hero-copy h1 .grad-text{
  background:var(--grad);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-copy p{
  margin-top:22px; font-size:18px; color:var(--text-on-dark-muted); max-width:520px;
}
.hero-actions{display:flex; align-items:center; gap:14px; margin-top:32px; flex-wrap:wrap;}
.hero-note{font-family:var(--font-mono); font-size:12.5px; color:var(--text-on-dark-muted); margin-top:16px;}

.hero-search{
  margin-top:28px; display:flex; gap:0; max-width:480px;
  background:var(--surface); border:1px solid var(--line); border-radius:14px;
  padding:5px;
}
.hero-search input{
  flex:1; border:none; background:transparent; padding:12px 14px;
  color:#fff; font-size:14.5px; font-family:var(--font-mono);
}
.hero-search input::placeholder{color:var(--text-on-dark-muted);}
.hero-search input:focus{outline:none;}
.hero-search button{border:none; border-radius:10px;}

.hero-trust{
  display:flex; flex-wrap:wrap; gap:26px; margin-top:44px;
  padding-top:28px; border-top:1px solid var(--line-soft);
}
.hero-trust-item{display:flex; flex-direction:column; gap:2px;}
.hero-trust-item strong{font-family:var(--font-display); font-size:22px; color:#fff;}
.hero-trust-item span{font-size:12.5px; color:var(--text-on-dark-muted);}

/* server card visual */
.hero-visual{position:relative;}
.server-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:26px;
  box-shadow:var(--shadow-lift);
  position:relative;
  overflow:hidden;
}
.server-card::before{
  content:''; position:absolute; top:-40%; right:-30%; width:70%; height:140%;
  background:var(--grad); opacity:0.18; filter:blur(50px); border-radius:50%;
}
.server-card-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:20px;}
.server-card-head span{font-family:var(--font-mono); font-size:12px; color:var(--text-on-dark-muted);}
.dot-row{display:flex; gap:6px;}
.dot-row i{width:9px; height:9px; border-radius:50%; background:var(--line);}
.dot-row i:nth-child(1){background:var(--red);}
.dot-row i:nth-child(2){background:#F5C451;}
.dot-row i:nth-child(3){background:var(--green);}
.metric-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0; border-bottom:1px solid var(--line-soft);
  font-family:var(--font-mono); font-size:13.5px;
}
.metric-row:last-of-type{border-bottom:none;}
.metric-row .val{color:var(--green); font-weight:600;}
.metric-row .val.blue{color:var(--blue-soft);}
.metric-bar{height:6px; border-radius:4px; background:var(--surface-2); margin-top:8px; overflow:hidden;}
.metric-bar i{display:block; height:100%; background:var(--grad); border-radius:4px;}
.server-card-foot{
  margin-top:18px; display:flex; align-items:center; gap:10px;
  font-size:13px; color:var(--text-on-dark-muted);
}
.pulse{width:8px; height:8px; border-radius:50%; background:var(--green); position:relative;}
.pulse::after{
  content:''; position:absolute; inset:-4px; border-radius:50%; border:1px solid var(--green);
  animation:pulse 1.8s ease-out infinite;
}
@keyframes pulse{
  0%{transform:scale(0.6); opacity:0.9;}
  100%{transform:scale(1.9); opacity:0;}
}

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

/* ---------------- LOGO / STRIP ---------------- */
.strip{
  padding:36px 0; border-bottom:1px solid var(--line-soft);
}
.strip-row{
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.strip-label{font-family:var(--font-mono); font-size:12px; color:var(--text-on-dark-muted); letter-spacing:.08em; text-transform:uppercase; white-space:nowrap;}
.strip-items{display:flex; gap:34px; flex-wrap:wrap; opacity:0.7;}
.strip-items span{font-family:var(--font-display); font-weight:600; font-size:15px; color:var(--text-on-dark-muted);}

/* ---------------- FEATURE GRID ---------------- */
.feat-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.feat-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:26px;
  transition:border-color .2s ease, transform .2s ease;
}
.feat-card:hover{border-color:rgba(255,255,255,0.22); transform:translateY(-3px);}
.feat-icon{
  width:42px; height:42px; border-radius:11px; background:var(--grad);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.feat-icon svg{width:20px; height:20px; stroke:#fff;}
.feat-card h3{font-size:17px; color:#fff; margin-bottom:8px;}
.feat-card p{font-size:14.5px; color:var(--text-on-dark-muted);}

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

/* ---------------- PROMISE / SIGNATURE ---------------- */
.promise{
  background:var(--paper);
  color:var(--text-ink);
  border-radius:var(--radius-lg);
  padding:44px;
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:40px;
  align-items:center;
}
.promise-copy .eyebrow{color:var(--magenta);}
.promise-copy .eyebrow::before{background:var(--grad);}
.promise-copy h2{font-size:clamp(24px,3.4vw,34px); margin-top:14px; color:var(--text-ink);}
.promise-copy p{margin-top:14px; color:var(--text-muted); font-size:15.5px;}
.promise-copy ul{margin-top:20px; display:flex; flex-direction:column; gap:10px;}
.promise-copy li{display:flex; gap:10px; font-size:14.5px; color:var(--text-ink);}
.promise-copy li svg{flex-shrink:0; width:18px; height:18px; stroke:var(--green); margin-top:2px;}

.promise-panel{
  background:#fff; border-radius:18px; padding:26px;
  box-shadow:0 24px 50px -24px rgba(20,10,60,0.25);
}
.promise-tabs{display:flex; gap:8px; margin-bottom:20px;}
.promise-tab{
  flex:1; padding:9px 12px; border-radius:999px; border:1px solid var(--paper-2);
  background:var(--paper); font-family:var(--font-mono); font-size:12.5px; font-weight:600;
  color:var(--text-muted); text-align:center;
}
.promise-tab.is-active{background:var(--ink); color:#fff; border-color:var(--ink);}
.promise-compare{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.promise-cell{border:1px solid var(--paper-2); border-radius:14px; padding:18px; text-align:center;}
.promise-cell .who{font-size:12px; color:var(--text-muted); font-family:var(--font-mono); text-transform:uppercase; letter-spacing:.06em;}
.promise-cell .price{font-family:var(--font-mono); font-size:30px; font-weight:700; margin-top:10px;}
.promise-cell.us .price{color:var(--blue);}
.promise-cell.them .price{color:var(--red);}
.promise-cell .price small{font-size:13px; font-weight:500; color:var(--text-muted);}
.promise-cell .tag{
  display:inline-block; margin-top:10px; font-size:11px; font-family:var(--font-mono);
  padding:3px 9px; border-radius:999px;
}
.promise-cell.us .tag{background:rgba(61,92,255,0.12); color:var(--blue);}
.promise-cell.them .tag{background:rgba(255,91,110,0.12); color:var(--red);}
.promise-foot{margin-top:16px; font-size:12.5px; color:var(--text-muted); text-align:center;}

@media (max-width:860px){
  .promise{grid-template-columns:1fr; padding:28px;}
}

/* ---------------- PLANS / PRICING ---------------- */
.plan-tabs{
  display:flex; gap:6px; background:var(--surface); border:1px solid var(--line);
  padding:5px; border-radius:999px; width:fit-content; margin:0 auto 12px;
}
.plan-tab{
  padding:9px 20px; border-radius:999px; border:none; background:transparent;
  color:var(--text-on-dark-muted); font-size:13.5px; font-weight:600; font-family:var(--font-body);
}
.plan-tab.is-active{background:var(--grad); color:#fff;}

.term-toggle{
  display:flex; align-items:center; justify-content:center; gap:12px; margin:20px 0 46px;
  font-size:14px; color:var(--text-on-dark-muted);
}
.switch{
  width:46px; height:26px; border-radius:999px; background:var(--surface-2);
  border:1px solid var(--line); position:relative; padding:0;
}
.switch i{
  position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:50%;
  background:var(--grad); transition:transform .2s ease;
}
.switch.is-on i{transform:translateX(20px);}
.term-save{
  font-family:var(--font-mono); font-size:11.5px; color:var(--green);
  background:rgba(47,209,128,0.12); padding:3px 9px; border-radius:999px;
}

.plan-panels{position:relative;}
.plan-panel{display:none;}
.plan-panel.is-active{display:block;}

.plan-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.plan-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:26px 22px; display:flex; flex-direction:column;
}
.plan-card.is-popular{
  border-color:transparent;
  background:linear-gradient(var(--surface),var(--surface)) padding-box, var(--grad) border-box;
  border:1px solid transparent;
  position:relative;
  transform:translateY(-10px);
}
.plan-badge{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--grad); color:#fff; font-size:11px; font-family:var(--font-mono);
  padding:4px 12px; border-radius:999px; white-space:nowrap;
}
.plan-name{font-family:var(--font-display); font-size:17px; color:#fff;}
.plan-desc{font-size:13px; color:var(--text-on-dark-muted); margin-top:6px; min-height:36px;}
.plan-price{margin-top:18px; display:flex; align-items:baseline; gap:6px; font-family:var(--font-mono);}
.plan-price .amt{font-size:34px; font-weight:700; color:#fff;}
.plan-price .per{font-size:13px; color:var(--text-on-dark-muted);}
.plan-was{font-size:12.5px; color:var(--text-on-dark-muted); text-decoration:line-through; margin-top:2px; font-family:var(--font-mono);}
.plan-renew{font-size:11.5px; color:var(--text-on-dark-muted); margin-top:4px; font-family:var(--font-mono);}
.plan-cta{margin-top:20px;}
.plan-features{margin-top:22px; display:flex; flex-direction:column; gap:11px; flex:1;}
.plan-features li{display:flex; gap:9px; font-size:13.5px; color:var(--text-on-dark-muted);}
.plan-features li svg{width:16px; height:16px; stroke:var(--green); flex-shrink:0; margin-top:2px;}

@media (max-width:980px){ .plan-grid{grid-template-columns:1fr 1fr;} .plan-card.is-popular{transform:none;} }
@media (max-width:600px){ .plan-grid{grid-template-columns:1fr;} }

/* ---------------- MIGRATION / STEPS ---------------- */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
.step{position:relative; padding-top:6px;}
.step-index{
  font-family:var(--font-mono); font-size:13px; color:var(--blue-soft);
  border:1px solid var(--line); width:34px; height:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.step h3{font-size:16px; color:#fff; margin-bottom:8px;}
.step p{font-size:14px; color:var(--text-on-dark-muted);}
.step-line{
  position:absolute; top:17px; left:56px; right:-24px; height:1px; background:var(--line);
}
.step:last-child .step-line{display:none;}
@media (max-width:900px){ .steps{grid-template-columns:1fr 1fr; row-gap:36px;} .step-line{display:none;} }
@media (max-width:560px){ .steps{grid-template-columns:1fr;} }

/* ---------------- TESTIMONIALS ---------------- */
.on-paper{background:var(--paper); color:var(--text-ink);}
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.testi-card{
  background:#fff; border:1px solid var(--paper-2); border-radius:var(--radius-md);
  padding:26px; display:flex; flex-direction:column; gap:16px;
}
.stars{display:flex; gap:3px;}
.stars svg{width:15px; height:15px; fill:#F5B93F; stroke:none;}
.testi-card p{font-size:15px; color:var(--text-ink); line-height:1.6;}
.testi-who{display:flex; align-items:center; gap:10px; margin-top:auto;}
.testi-avatar{
  width:36px; height:36px; border-radius:50%; background:var(--grad);
  display:flex; align-items:center; justify-content:center; color:#fff; font-family:var(--font-display); font-size:14px; font-weight:700;
}
.testi-who strong{display:block; font-size:13.5px;}
.testi-who span{display:block; font-size:12px; color:var(--text-muted);}
@media (max-width:900px){ .testi-grid{grid-template-columns:1fr;} }

/* ---------------- FAQ ---------------- */
.faq-list{max-width:760px; border-top:1px solid var(--line-soft);}
.faq-item{border-bottom:1px solid var(--line-soft);}
.faq-q{
  width:100%; text-align:left; background:none; border:none; color:#fff;
  padding:22px 4px; display:flex; align-items:center; justify-content:space-between;
  font-family:var(--font-display); font-size:16px; gap:20px;
}
.faq-q svg{width:18px; height:18px; stroke:var(--text-on-dark-muted); flex-shrink:0; transition:transform .2s ease;}
.faq-item.is-open .faq-q svg{transform:rotate(45deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .25s ease;}
.faq-a p{padding:0 4px 22px; color:var(--text-on-dark-muted); font-size:14.5px; max-width:640px;}

/* ---------------- CTA BAND ---------------- */
.cta-band{
  border-radius:var(--radius-lg);
  padding:56px 44px;
  background:var(--surface);
  border:1px solid var(--line);
  position:relative; overflow:hidden;
  text-align:center;
}
.cta-band::before{
  content:''; position:absolute; inset:-30% -10% auto -10%; height:200%;
  background:var(--grad); opacity:0.16; filter:blur(60px);
}
.cta-band > *{position:relative; z-index:1;}
.cta-band h2{font-size:clamp(26px,4vw,38px); color:#fff;}
.cta-band p{margin-top:12px; color:var(--text-on-dark-muted); font-size:16px;}
.cta-actions{display:flex; align-items:center; justify-content:center; gap:14px; margin-top:28px; flex-wrap:wrap;}

/* ---------------- FOOTER ---------------- */
.footer{border-top:1px solid var(--line-soft); padding:64px 0 32px;}
.footer-grid{
  display:grid; grid-template-columns:1.4fr repeat(4,1fr); gap:32px;
}
.footer-brand{display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:18px; margin-bottom:14px;}
.footer-brand img{width:28px; height:28px; border-radius:7px;}
.footer-col p.foot-desc{font-size:13.5px; color:var(--text-on-dark-muted); max-width:240px;}
.footer-col h4{font-size:12.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--text-on-dark-muted); margin-bottom:16px; font-family:var(--font-mono); font-weight:500;}
.footer-col ul{display:flex; flex-direction:column; gap:11px;}
.footer-col a{font-size:14px; color:var(--text-on-dark); opacity:0.85;}
.footer-col a:hover{opacity:1; text-decoration:underline;}
.footer-bottom{
  margin-top:52px; padding-top:24px; border-top:1px solid var(--line-soft);
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;
}
.footer-bottom span{font-size:13px; color:var(--text-on-dark-muted);}
.footer-social{display:flex; gap:14px;}
.footer-social a{
  width:34px; height:34px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
}
.footer-social svg{width:15px; height:15px; stroke:var(--text-on-dark-muted);}

@media (max-width:900px){
  .footer-grid{grid-template-columns:1fr 1fr; row-gap:36px;}
}
@media (max-width:560px){
  .footer-grid{grid-template-columns:1fr;}
}

/* ---------------- reveal-on-scroll ---------------- */
.reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
.reveal.is-visible{opacity:1; transform:translateY(0);}
