:root{
  --primary:#5170ff;
  --accent:#38b6ff;
  --ink:#0b1020;
  --text:#0f172a;
  --muted:rgba(15,23,42,.75);
  --card:rgba(255,255,255,.90);
  --glass:rgba(255,255,255,.12);
  --stroke:rgba(255,255,255,.18);
  --shadow: 0 20px 70px rgba(11,16,32,.20);
  --radius: 20px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"League Spartan", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 35%, #f5fbff 100%);
}

a{color:inherit}
.container{max-width:1120px;margin:0 auto;padding:0 18px}

/* Background glow */
.bg-glow{
  position:fixed; inset:-30%;
  background:
    radial-gradient(circle at 30% 20%, rgba(56,182,255,.25), transparent 55%),
    radial-gradient(circle at 70% 10%, rgba(81,112,255,.20), transparent 55%),
    radial-gradient(circle at 60% 70%, rgba(56,182,255,.10), transparent 60%);
  pointer-events:none;
  z-index:-1;
}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:72px; gap:14px;
}
.brand{display:flex;align-items:center;text-decoration:none}
.brand-logo{height:66px;width:auto}

.nav{display:flex;align-items:center;gap:16px}
.nav a{
  text-decoration:none;
  font-weight:600;
  color:rgba(15,23,42,.85);
  padding:10px 8px;
  border-radius:12px;
}
.nav a:hover{background:rgba(81,112,255,.08)}

/* Burger */
.burger{
  display:none;
  width:44px;height:44px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  border-radius:14px;
  cursor:pointer;
  padding:10px;
}
.burger span{
  display:block;
  height:2px;
  background:rgba(15,23,42,.85);
  margin:6px 0;
  border-radius:2px;
}

/* Mobile menu */
.mobile{
  border-top:1px solid rgba(15,23,42,.06);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
}
.mobile-inner{padding:16px 18px 22px}
.mobile-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.mobile-logo{height:50px}
.mobile-close{
  border:none;background:transparent;font-size:18px;cursor:pointer;
  width:44px;height:44px;border-radius:14px;
}
.mobile-close:hover{background:rgba(81,112,255,.08)}
.mobile-links{display:flex;flex-direction:column;gap:6px;margin:10px 0 14px}
.m-link{
  text-decoration:none;
  padding:12px 12px;
  border-radius:14px;
  font-weight:700;
  background:rgba(81,112,255,.06);
}
.m-link:hover{background:rgba(56,182,255,.10)}
.mobile-cta{display:grid;grid-template-columns:1fr 1fr;gap:10px}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid transparent;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  transition:transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active{transform:translateY(1px)}
.btn-sm{padding:10px 12px;border-radius:14px;font-weight:800}
.btn-primary{
  color:#fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 30px rgba(81,112,255,.25);
}
.btn-primary:hover{box-shadow: 0 16px 44px rgba(81,112,255,.28)}
.btn-ghost{
  background: rgba(255,255,255,.70);
  border-color: rgba(15,23,42,.10);
}
.btn-ghost:hover{background: rgba(81,112,255,.08)}
.pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(56,182,255,.12);
  border: 1px solid rgba(56,182,255,.20);
  font-weight:800;
  color: rgba(15,23,42,.85);
  margin-bottom:14px;
}

/* Layout */
.section{padding:72px 0}
.section.alt{background:rgba(81,112,255,.035)}
.section-head{max-width:820px;margin:0 0 22px}
.section-head h2{margin:0 0 8px;font-size:38px;letter-spacing:-.02em}
.section-head p{margin:0;color:var(--muted);font-size:18px;line-height:1.4}
h1{
  margin:0 0 12px;
  font-size:54px;
  letter-spacing:-.03em;
  line-height:1.02;
}
.lead{font-size:20px;line-height:1.5;color:var(--muted);margin:0 0 18px}
.lead.small{font-size:18px}
.small{font-size:16px;line-height:1.5}
.tiny{font-size:14px;line-height:1.4}
.muted{color:rgba(15,23,42,.65)}

.hero{padding:72px 0 52px}
.hero-grid{display:grid;grid-template-columns: 1.2fr .8fr;gap:24px;align-items:start}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0 18px}
.hero-metrics{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-top:12px}

/* Hero phone mockup */
.hero-visual{display:flex;justify-content:flex-end;align-items:flex-start}
.hero-visual-inner{display:flex;flex-direction:column;align-items:flex-end;gap:14px}
.phone-link{display:inline-block;text-decoration:none;outline:none}
.phone{
  position:relative;
  width:285px;
  height:520px;
  max-width:100%;
  border-radius:42px;
  background:linear-gradient(180deg, rgba(13,20,48,.96), rgba(13,20,48,.84));
  border:1px solid rgba(255,255,255,.20);
  box-shadow:
    0 40px 120px rgba(0,0,0,.26),
    0 10px 30px rgba(11,16,32,.18);
  padding:12px;
  transform: perspective(1100px) rotateY(-18deg) rotateX(6deg) rotateZ(6deg);
  transform-origin: 60% 40%;
  transition: transform .25s ease, filter .25s ease;
  will-change: transform;
}
.phone::before{
  content:"";
  position:absolute;
  inset:-26px;
  border-radius:64px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(56,182,255,.30), rgba(81,112,255,.18) 45%, rgba(0,0,0,0) 70%);
  filter: blur(14px);
  opacity:.9;
  z-index:-1;
}
.phone::after{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:34px;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,0) 40%, rgba(255,255,255,.08));
  pointer-events:none;
  mix-blend-mode: screen;
  opacity:.75;
}
.phone-link:hover .phone,
.phone-link:focus-visible .phone{
  transform: perspective(1100px) rotateY(-12deg) rotateX(4deg) rotateZ(4deg) translateY(-2px);
  filter: saturate(1.04);
}
.phone-link:focus-visible{outline:3px solid rgba(56,182,255,.35);outline-offset:10px;border-radius:20px}
.phone-bezel{position:absolute;left:50%;top:10px;transform:translateX(-50%);width:44%;height:18px;border-radius:0 0 14px 14px;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.08)}
.phone-screen{position:absolute;inset:12px;border-radius:32px;background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.80));
  border:1px solid rgba(15,23,42,.08);overflow:hidden;display:flex;flex-direction:column}

.phone-btn{min-width:220px}

.app-top{display:flex;gap:10px;align-items:center;padding:18px 16px 12px;border-bottom:1px solid rgba(15,23,42,.06);background:linear-gradient(180deg, rgba(81,112,255,.10), rgba(255,255,255,0))}
.app-avatar{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:900;
  background: rgba(81,112,255,.16);border:1px solid rgba(81,112,255,.20);color: rgba(13,20,48,.90)}
.app-name{font-weight:900;line-height:1}
.app-sub{font-size:12px;color:rgba(15,23,42,.62);margin-top:2px;font-weight:700}

.chat{padding:12px 14px 0;display:flex;flex-direction:column;gap:10px;flex:1}
.bubble{max-width:92%;padding:10px 12px;border-radius:16px;border:1px solid rgba(15,23,42,.08);box-shadow:0 10px 24px rgba(11,16,32,.08);
  font-size:14px;line-height:1.35;font-weight:700;color: rgba(13,20,48,.92)}
.bubble-user{align-self:flex-end;background:rgba(81,112,255,.12);border-color:rgba(81,112,255,.18)}
.bubble-bot{align-self:flex-start;background:rgba(255,255,255,.86)}

.app-cta{padding:12px 14px 14px;display:flex;justify-content:center}
.cta-chip{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;
  background:linear-gradient(180deg, rgba(56,182,255,.20), rgba(81,112,255,.18));
  border:1px solid rgba(81,112,255,.22);font-weight:900;color: rgba(13,20,48,.92)}
.metric{
  padding:14px 14px;
  border-radius:18px;
  background: rgba(255,255,255,.75);
  border:1px solid rgba(15,23,42,.08);
}
.metric-title{font-weight:800;color:rgba(15,23,42,.70);font-size:14px}
.metric-value{font-weight:900;margin-top:4px}

.card{
  background: var(--card);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: var(--radius);
  padding:20px;
  box-shadow: 0 10px 40px rgba(11,16,32,.08);
}
.card.glass{
  background: linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.10));
  border-color: rgba(255,255,255,.22);
  box-shadow: var(--shadow);
  color: #0d1430;
}
.card.subtle{
  background: rgba(255,255,255,.70);
  border-color: rgba(15,23,42,.06);
}
.card h3{margin:0 0 10px;font-size:22px}
.card p{margin:0;color:rgba(15,23,42,.75);line-height:1.5}

.quote{
  margin:10px 0 0;
  font-weight:600;
  line-height:1.55;
  color: rgba(13,20,48,.90);
}
.card-top{display:flex;align-items:center;gap:8px}
.dot{width:10px;height:10px;border-radius:50%;background:rgba(81,112,255,.35)}
.card-label{margin-left:6px;font-weight:900;color:rgba(13,20,48,.65)}
.card-footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.tag{
  display:inline-flex;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(81,112,255,.10);
  border:1px solid rgba(81,112,255,.16);
  font-weight:900;
  font-size:14px;
}

.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}

.list{margin:0;padding-left:18px;color:rgba(15,23,42,.78);line-height:1.55}
.list li{margin:8px 0}

.split{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.chip{
  padding:8px 10px;
  border-radius:999px;
  background: rgba(56,182,255,.10);
  border:1px solid rgba(56,182,255,.18);
  font-weight:900;
  font-size:14px;
}

.compare{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.compare-title{font-weight:950;margin-bottom:8px}
.compare-col{padding:14px;border-radius:16px;background:rgba(3,185,222,.65);border:1px solid rgba(15,23,42,.06)}

.table-wrap{overflow:auto;border-radius:18px;border:1px solid rgba(15,23,42,.08)}
.table{width:100%;border-collapse:collapse;background:rgba(255,255,255,.85)}
.table th,.table td{padding:14px;border-bottom:1px solid rgba(15,23,42,.08);vertical-align:top}
.table th{background:rgba(81,112,255,.06);text-align:left;font-weight:950}
.table tr:last-child td{border-bottom:none}

.banner{
  margin-top:16px;
  padding:16px 18px;
  border-radius:18px;
  background: linear-gradient(135deg, rgba(81,112,255,.12), rgba(56,182,255,.12));
  border:1px solid rgba(81,112,255,.16);
}
.banner-title{font-weight:950;margin-bottom:6px}
.banner-text{font-weight:800;color:rgba(15,23,42,.75)}

.note{
  margin-top:12px;
  padding:12px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.7);
  border:1px dashed rgba(15,23,42,.18);
  color: rgba(15,23,42,.75);
}

.timeline{display:grid;gap:12px}
.t-item{display:grid;grid-template-columns:18px 1fr;gap:10px;align-items:start}
.t-dot{
  width:12px;height:12px;border-radius:50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin-top:6px;
}
.t-title{font-weight:950}
.t-text{color:rgba(15,23,42,.74);margin-top:4px}

.download{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:22px;
  border-radius:24px;
  background: linear-gradient(135deg, rgba(81,112,255,.12), rgba(56,182,255,.12));
  border:1px solid rgba(81,112,255,.16);
}
.store-buttons{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.store{
  text-decoration:none;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.75);
  min-width:170px;
}
.store-top{display:block;font-size:13px;font-weight:900;color:rgba(15,23,42,.62)}
.store-main{display:block;font-size:18px;font-weight:950}
.store.disabled{opacity:.70;cursor:not-allowed}

.form label{display:block;margin-bottom:12px}
.form span{display:block;font-weight:900;margin-bottom:6px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.88);
  font-family:inherit;
  font-weight:600;
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(81,112,255,.45); box-shadow: 0 0 0 4px rgba(56,182,255,.16)}
.form-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}

.legal-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.link{padding:10px 12px;border-radius:14px;background:rgba(81,112,255,.06);text-decoration:none;font-weight:900}
.link:hover{background:rgba(56,182,255,.10)}
.link-btn{
  border:none;background:rgba(81,112,255,.06);
  padding:10px 12px;border-radius:14px;
  font-weight:950;cursor:pointer
}
.link-btn:hover{background:rgba(56,182,255,.10)}

/* Footer */
.footer{padding:26px 0;border-top:1px solid rgba(15,23,42,.08)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.footer-left{display:flex;align-items:center;gap:12px}
.footer-logo{height:36px}
.footer-text{font-weight:800;color:rgba(15,23,42,.70)}
.footer-right{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.footer-right a{font-weight:900;text-decoration:none;color:rgba(15,23,42,.75)}
.footer-right a:hover{color:rgba(81,112,255,.95)}

/* Modal */
.modal{position:fixed;inset:0;display:grid;place-items:center;z-index:80}
.modal[hidden]{display:none}
.modal-backdrop{position:absolute;inset:0;background:rgba(11,16,32,.55);backdrop-filter: blur(6px)}
.modal-card{
  position:relative;
  width:min(720px, 92vw);
  border-radius:24px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(15,23,42,.10);
  box-shadow: var(--shadow);
  padding:18px 18px 16px;
}
.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.modal-head h3{margin:0;font-size:24px}
.modal-x{
  width:44px;height:44px;border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;cursor:pointer;font-size:18px;
}
.modal-x:hover{background:rgba(81,112,255,.08)}

.modal-box{
  margin:12px 0;
  padding:12px 12px;
  border-radius:18px;
  background: rgba(81,112,255,.05);
  border:1px solid rgba(81,112,255,.10);
}
.check{display:flex;gap:10px;align-items:flex-start;margin:10px 0}
.check input{width:18px;height:18px;margin-top:2px}
.modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}

/* Responsive */
@media (max-width: 980px){
  .nav{display:none}
  .burger{display:inline-block}
  .hero-grid{grid-template-columns:1fr}
  .hero-visual{justify-content:center;margin-top:18px}
  .hero-visual-inner{align-items:center}
  .phone{width:265px;height:480px;transform: perspective(1100px) rotateY(-12deg) rotateX(5deg) rotateZ(4deg)}
  .phone-btn{width:100%;max-width:320px}
  .hero-metrics{grid-template-columns:1fr}
  h1{font-size:44px}
  .section-head h2{font-size:34px}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .download{flex-direction:column;align-items:flex-start}
  .store-buttons{justify-content:flex-start}
}


/* Logo responsive */
@media (max-width: 420px){
  .brand-logo{height:46px}
}

/* Language switcher */
.lang-switch{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px;
  border-radius:999px;
  background: rgba(81,112,255,.06);
  border:1px solid rgba(15,23,42,.08);
  margin-left:10px;
}
.lang-item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:34px;
  padding:0 10px;
  border-radius:999px;
  text-decoration:none;
  font-weight:950;
  color:rgba(15,23,42,.72);
}
.lang-item:hover{background:rgba(56,182,255,.10)}
.lang-item.active{
  background: linear-gradient(135deg, rgba(81,112,255,.16), rgba(56,182,255,.16));
  color:rgba(15,23,42,.92);
}
.mobile-lang{
  grid-column: 1 / -1;
  justify-content:center;
  margin-left:0;
  background: rgba(255,255,255,.70);
}


/* ===== Theme v3: richer blue, white text ===== */
:root{
  --text:#ffffff;
  --muted:rgba(255,255,255,.82);
  --card:rgba(255,255,255,.10);
  --glass:rgba(255,255,255,.10);
  --stroke:rgba(255,255,255,.18);
}

/* Darker, richer background */
body{
  background: linear-gradient(180deg, #061541 0%, #0b2d86 38%, #061541 100%);
  color: var(--text);
}

/* Softer glow */
.bg-glow{
  background:
    radial-gradient(circle at 25% 15%, rgba(56,182,255,.30), transparent 55%),
    radial-gradient(circle at 75% 10%, rgba(81,112,255,.28), transparent 55%),
    radial-gradient(circle at 55% 75%, rgba(56,182,255,.18), transparent 60%);
}

/* Header on dark */
.header{
  background: rgba(6, 21, 65, .55);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav a{
  color: rgba(255,255,255,.92);
}
.nav a:hover{background: rgba(255,255,255,.10)}
.burger{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}
.burger span{background: rgba(255,255,255,.92)}

/* Mobile menu on dark */
.mobile{
  background: rgba(6, 21, 65, .85);
  border-top: 1px solid rgba(255,255,255,.10);
}
.m-link{background: rgba(255,255,255,.10)}
.m-link:hover{background: rgba(56,182,255,.18)}
.mobile-close{color:#fff}
.mobile-close:hover{background: rgba(255,255,255,.10)}

/* Buttons */
.btn-ghost{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  color:#fff;
}
.btn-ghost:hover{background: rgba(255,255,255,.16)}

/* Pill */
.pill{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
}

/* Cards: more color */
.card{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 14px 60px rgba(0,0,0,.22);
}
.card p, .list, .t-text, .banner-text, .footer-text{color: rgba(255,255,255,.85)}
.card h3, .metric-value, .section-head h2, h1, .compare-title, .banner-title, .t-title{color:#fff}

/* Accent cards (glass) */
.card.glass{
  background: linear-gradient(135deg, rgba(81,112,255,.22), rgba(56,182,255,.18));
  border-color: rgba(255,255,255,.22);
  color:#fff;
}

/* Subtle card slightly brighter */
.card.subtle{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
}

/* Metrics */
.metric{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
}
.metric-title{color: rgba(255,255,255,.78)}

/* Sections */
.section.alt{background: rgba(255,255,255,.04)}

/* Table */
.table-wrap{border:1px solid rgba(255,255,255,.16)}
.table{background: rgba(255,255,255,.08)}
.table th,.table td{border-bottom:1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.88)}
.table th{background: rgba(255,255,255,.10)}

/* Links blocks */
.link, .link-btn{
  background: rgba(255,255,255,.10);
  color:#fff;
}
.link:hover, .link-btn:hover{background: rgba(56,182,255,.18)}

/* Download band */
.download{
  background: linear-gradient(135deg, rgba(81,112,255,.22), rgba(56,182,255,.18));
  border-color: rgba(255,255,255,.18);
}
.store{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  color:#fff;
}
.store-top{color: rgba(255,255,255,.75)}
.store.disabled{opacity:.78}

/* Inputs */
input, textarea{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color:#fff;
}
input::placeholder, textarea::placeholder{color: rgba(255,255,255,.72)}
input:focus, textarea:focus{
  border-color: rgba(56,182,255,.55);
  box-shadow: 0 0 0 4px rgba(56,182,255,.22)
}

/* Footer */
.footer{
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-right a{color: rgba(255,255,255,.82)}
.footer-right a:hover{color:#fff}

/* Modal */
.modal-card{
  background: rgba(6, 21, 65, .92);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
}
.modal-backdrop{background: rgba(0,0,0,.60)}
.modal-x{
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
}
.modal-x:hover{background: rgba(255,255,255,.16)}
.modal-box{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
}

/* Language switcher on dark */
.lang-switch{
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
}
.lang-item{color: rgba(255,255,255,.80)}
.lang-item:hover{background: rgba(56,182,255,.18)}
.lang-item.active{
  background: linear-gradient(135deg, rgba(81,112,255,.32), rgba(56,182,255,.26));
  color:#fff;
}

/* Logo responsive */
@media (max-width: 980px){
  .brand-logo{height:58px}
}
@media (max-width: 420px){
  .brand-logo{height:54px}
}
