:root {
  --bg: #0b0e1a;
  --bg2: #11152a;
  --card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.10);
  --text: #eef1ff;
  --muted: #9aa3c7;
  --grad1: #6d50ff;
  --grad2: #1298ff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(11, 14, 26, 0.7);
  border-bottom: 1px solid var(--border);
}
nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* Hero */
.hero {
  position: relative; text-align: center;
  padding: 90px 24px 80px;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(109,80,255,0.35), transparent 60%),
    radial-gradient(700px 400px at 80% 10%, rgba(18,152,255,0.25), transparent 60%);
}
.hero img.app-icon {
  width: 132px; height: 132px; border-radius: 30px;
  box-shadow: 0 20px 60px rgba(60,80,255,0.45);
  margin-bottom: 28px;
}
.hero h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 800; letter-spacing: -1px; }
.hero p.tag {
  font-size: clamp(17px, 2.4vw, 21px); color: var(--muted);
  max-width: 620px; margin: 18px auto 36px;
}

/* Buttons */
.btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px; font-weight: 600; font-size: 16px;
  transition: transform .15s, box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--grad1), var(--grad2));
  color: #fff; box-shadow: 0 10px 30px rgba(80,90,255,0.4);
}
.btn-ghost { background: var(--card); border: 1px solid var(--border); color: var(--text); }

/* Sections */
section { padding: 70px 0; }
.section-title { text-align: center; font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 48px; }

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px;
}
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, rgba(109,80,255,0.25), rgba(18,152,255,0.25));
}
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.step .num {
  width: 38px; height: 38px; border-radius: 50%; font-weight: 700;
  display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--grad1), var(--grad2));
}

/* Download */
.download { text-align: center; }
.download .note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); }
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* Legal page */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px; }
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { color: #cdd3ee; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal a { color: #7fa8ff; }
