:root{
  --bg:#0f172a; /* slate-900 */
  --panel:#0b1220; /* darker */
  --muted:#94a3b8; /* slate-400 */
  --text:#e2e8f0;  /* slate-200 */
  --brand:#3F51B5; /* indigo-500 to match app */
  --brand-700:#303F9F; /* indigo-700 */
  --brand-rgb:63,81,181; /* rgb for alpha usage */
  --ring:rgba(63,81,181,0.35);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,system-ui,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#0a0f1d 0%, var(--bg) 100%);
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
.container{max-width:1120px;margin:0 auto;padding:0 20px}

/* Layout */
main{flex:1}

/* Header */
.site-header{position:sticky;top:0;background:rgba(10,15,29,0.6);backdrop-filter:saturate(180%) blur(10px);z-index:20;border-bottom:1px solid rgba(148,163,184,0.1)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{font-weight:700;color:#fff;text-decoration:none;letter-spacing:.3px}
.brand-icon{height:28px;width:28px;border-radius:6px;margin-right:8px;vertical-align:middle}
.nav a{color:var(--muted);text-decoration:none;margin-left:20px;font-weight:500}
.nav a:hover{color:#fff}
.lang-switch{display:flex;align-items:center;gap:8px}
.lang-switch .sep{opacity:.4}
.lang-switch button{background:transparent;border:1px solid rgba(148,163,184,0.25);color:var(--muted);padding:6px 8px;border-radius:8px;cursor:pointer}
.lang-switch button.active{border-color:var(--brand);color:#fff;box-shadow:0 0 0 3px var(--ring)}

/* Hero */
.hero{position:relative;padding:96px 0;border-bottom:1px solid rgba(148,163,184,0.08)}
.hero-inner{display:grid;grid-template-columns:1.1fr;gap:24px;align-items:center;text-align:center}
.hero h1{font-size:clamp(32px,5vw,56px);line-height:1.05;margin:0;background:linear-gradient(180deg,#fff 0%, #c7d2fe 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.hero .subtitle{color:var(--muted);font-size:18px;margin:6px 0 20px}
.store-buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;align-items:center}
.store-buttons a{ text-decoration:none }
.store-buttons a:hover{ text-decoration:none }
.badge-link{display:inline-flex;align-items:center;height:56px}
.badge-img{display:block;height:100%;width:auto}
.badge-link.disabled{pointer-events:none;opacity:.65;filter:grayscale(1)}
.badge-fallback{display:none;color:var(--muted);border:1px dashed rgba(148,163,184,0.35);padding:0 16px;border-radius:10px;font-weight:600;height:100%;line-height:56px;white-space:nowrap}
.btn{border:none;border-radius:12px;padding:12px 16px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:10px;text-decoration:none;line-height:1;min-height:44px}
.btn span{display:inline-block}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-700);color:#ecfdf5}
.btn .icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex:0 0 auto;transform:translateY(0.5px)}
.btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring)}
.btn-ghost{background:transparent;color:var(--muted);border:1px dashed rgba(148,163,184,0.35)}
.btn-ghost[disabled]{opacity:.7;cursor:not-allowed}
.bg-blob{position:absolute;inset:auto -20% -35% -20%;height:40vh;filter:blur(70px);background:radial-gradient(40% 50% at 50% 50%,rgba(var(--brand-rgb),0.25),transparent 60%)}

/* Sections */
.section{padding:72px 0}
.section.alt{background:rgba(11,18,32,0.5);border-top:1px solid rgba(148,163,184,0.08);border-bottom:1px solid rgba(148,163,184,0.08)}
.section h2{font-size:28px;margin:0 0 24px}
.section .section-desc{color:var(--muted)}

/* Features */
.features-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.feature{background:rgba(12,20,36,0.6);backdrop-filter:blur(6px);border:1px solid rgba(148,163,184,0.12);border-radius:16px;padding:18px;transition:transform .2s ease, box-shadow .2s ease}
.feature:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,0.25)}
.feature .icon{font-size:22px;margin-bottom:8px}
.feature h3{margin:0 0 6px;font-size:18px}
.feature p{margin:0;color:var(--muted)}

/* FAQ */
.faq-list details{background:rgba(12,20,36,0.55);backdrop-filter:blur(6px);border:1px solid rgba(148,163,184,0.12);border-radius:12px;margin-bottom:10px}
.faq-list summary{cursor:pointer;padding:14px 16px;list-style:none}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list p{margin:0;color:var(--muted);padding:0 16px 14px}

/* Footer */
.site-footer{border-top:1px solid rgba(148,163,184,0.1);padding:24px 0}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.footer-inner a{color:var(--muted);text-decoration:none;margin-left:12px}
.footer-inner a:hover{color:#fff}

/* Screenshots Gallery */
.screens-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.screen{border-radius:18px;overflow:hidden;border:1px solid rgba(148,163,184,0.12);background:rgba(12,20,36,0.5)}
.screen img{width:100%;height:auto;display:block;transition:transform .25s ease;aspect-ratio:3/2}
.screen:hover img{transform:scale(1.03)}

/* Legal */
.legal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.legal-card{background:rgba(12,20,36,0.6);backdrop-filter:blur(6px);border:1px solid rgba(148,163,184,0.12);border-radius:16px;padding:20px}
.legal-list{margin:8px 0 0 0;padding-left:18px;color:var(--muted)}
.legal-list li{margin:6px 0}

/* Responsive */
@media (max-width:900px){
  .features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .screens-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .header-inner{height:56px}
  .nav{display:none}
  .btn{padding:12px 14px}
  .store-buttons{flex-direction:column;align-items:stretch}
  .store-buttons .btn{width:100%;justify-content:center}
  .badge-link{height:48px}
  .badge-fallback{line-height:48px}
  .features-grid{grid-template-columns:1fr}
  .screens-grid{grid-template-columns:1fr}
  .legal{grid-template-columns:1fr}
}

@media (max-width:360px){
  .hero h1{font-size:24px}
}
