:root {
  --bg:           #0c0c12;
  --surface:      #13131c;
  --accent:       #906dac;
  --accent-light: #a87dc4;
  --text:         #e6e4f0;
  --muted:        #8a88a8;
  --border:       #24233a;
  --max-w:        960px;
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(12, 12, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
}

.brand img { border-radius: 8px; width: 28px; height: 28px; }
.nav-link  { font-size: 0.9rem; color: var(--muted); }
.nav-link:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  margin-bottom: 2rem;
  box-shadow: 0 8px 40px rgba(144, 109, 172, 0.3);
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ── App Store button ── */
.app-store-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  transition: background 0.15s;
}

.app-store-btn:hover { background: var(--accent-light); color: #fff; }

.app-store-btn.small {
  font-size: 0.875rem;
  padding: 0.6rem 1.25rem;
  margin-top: 1.25rem;
}

.platform-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.875rem;
}

/* ── Features ── */
.features {
  padding: 4rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.features h2, .pricing h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* ── Pricing ── */
.pricing {
  padding: 4rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.pricing-sub { color: var(--muted); margin-bottom: 2.5rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  text-align: left;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: #1a1527;
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.pricing-card h3    { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
.price              { font-size: 2rem; font-weight: 700; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.price span         { font-size: 1rem; font-weight: 400; color: var(--muted); }

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.pricing-card li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
}

.pricing-card li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a  { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy     { color: var(--muted); font-size: 0.8rem; }

/* ── Inner pages ── */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.page-content .updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 3rem;
  display: block;
}

.page-content h2    { font-size: 1.05rem; font-weight: 600; margin: 2rem 0 0.6rem; }
.page-content p     { color: var(--muted); margin-bottom: 0.75rem; font-size: 0.95rem; }
.page-content ul    { color: var(--muted); padding-left: 1.5rem; margin-bottom: 0.75rem; font-size: 0.95rem; }
.page-content li    { margin-bottom: 0.25rem; }
.page-content a     { color: var(--accent); }
.page-content a:hover { color: var(--accent-light); }

/* ── Email obfuscation ──
   Address is assembled by CSS from data-user / data-domain attributes.
   The mailto: href uses HTML entity encoding so @ never appears in source.
   Both techniques together stop the vast majority of scrapers with no JS. */
a.email-link::before {
  content: attr(data-user) "@" attr(data-domain);
}

/* ── Support form area ── */
.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  margin-top: 2rem;
}

.contact-block h2 { margin-top: 0; margin-bottom: 0.5rem; }
