:root {
  --bg: #08090b;
  --surface: #15181d;
  --surface-2: #1d2127;
  --text: #f4f6f8;
  --muted: #9ba1aa;
  --hairline: rgba(255, 255, 255, 0.08);
  --grad: linear-gradient(90deg, #4fa3ff 0%, #c77dff 100%);
  --radius: 18px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

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

.wordmark {
  font-family: "Dancing Script", cursive;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 8px; }
.brand .wordmark { font-size: 28px; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #0a0b0d; }
.btn-ghost { border: 1px solid var(--hairline); color: var(--text); }
.nav-links .btn-ghost { padding: 9px 18px; }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px 24px 40px;
  text-align: center;
}
.hero-word {
  font-family: "Dancing Script", cursive;
  font-weight: 600;
  font-size: clamp(72px, 14vw, 168px);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 40px rgba(120, 110, 255, 0.25));
}
.tagline {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
}
.sub {
  margin: 14px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}
.cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.dl-note { margin-top: 14px; color: var(--muted); font-size: 13.5px; }

.hero-shot {
  margin: 56px auto 0;
  max-width: 900px;
  border-radius: 22px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(79,163,255,0.18), rgba(199,125,255,0.06));
  border: 1px solid var(--hairline);
}
.hero-shot img { border-radius: 16px; width: 100%; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 80px 24px; }
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 14px auto 0;
  max-width: 600px;
  font-size: 17px;
}

/* Feature grid */
.grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 {
  font-size: 19px;
  margin-bottom: 8px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.card p { color: var(--muted); font-size: 15.5px; }

/* Screenshots */
.shots {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.shots figure {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.shots img { width: 100%; }
.shots figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

/* Contact */
.contact { text-align: center; }
.contact .btn { margin-top: 26px; font-size: 17px; }

/* Footer */
.footer {
  border-top: 1px solid var(--hairline);
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
}
.footer .wordmark { font-size: 30px; }
.footer p { margin-top: 10px; font-size: 14px; max-width: 560px; margin-left: auto; margin-right: auto; }
.footer .muted { color: #6b7280; margin-top: 16px; }
.footer a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer a:hover { color: #7fb6ff; }

/* Legal pages */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 40px;
}
.legal h1 {
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.legal .updated { color: var(--muted); margin-top: 8px; font-size: 14px; }
.legal h2 {
  margin-top: 38px;
  font-size: 20px;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.legal p, .legal li { color: #c3c8d0; font-size: 16px; margin-top: 12px; }
.legal ul { margin-top: 8px; padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal a { color: #7fb6ff; text-decoration: underline; }
.legal .lead { color: var(--text); font-size: 17px; }
.legal-back { display: inline-block; margin-top: 40px; color: var(--muted); }
.legal-back:hover { color: var(--text); }

/* Responsive */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .nav-links a:not(.btn) { display: none; }
  .grid, .shots { grid-template-columns: 1fr; }
  .section { padding: 60px 20px; }
  .hero { padding-top: 64px; }
}
