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

:root {
  --purple: #7B5EA7;
  --purple-dark: #5f4780;
  --purple-light: #f0ebf8;
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--purple); }

nav { display: flex; align-items: center; gap: 1.5rem; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--text); }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--purple);
  color: var(--purple);
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--purple); color: #fff; }

/* ── Hero ── */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--purple-light) 0%, #fff 60%);
}

.hero-inner { max-width: 680px; margin: 0 auto; text-align: center; }

.hero-label {
  display: inline-block;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* ── Apps ── */
.apps {
  padding: 5rem 2rem;
  background: var(--bg-alt);
}

.container { max-width: 900px; margin: 0 auto; }

.apps h2, .contact h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.app-grid { display: grid; gap: 1.5rem; }

.app-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.app-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex-shrink: 0;
  overflow: hidden;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-info { flex: 1; }

.app-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.app-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.badge {
  background: var(--purple-light);
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}

.app-info p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.4rem 1rem;
  margin-bottom: 1.5rem;
}

.feature-list li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 1.1rem;
  position: relative;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

.app-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s;
}
.store-btn:hover { background: #2d2d2d; }

/* ── Contact ── */
.contact {
  padding: 5rem 2rem;
  background: var(--bg);
}

.contact-inner {
  text-align: center;
  max-width: 560px;
}

.contact p {
  color: var(--muted);
  margin: 1rem 0 2rem;
  font-size: 1.05rem;
}

/* ── Policy page ── */
.policy {
  padding: 5rem 2rem;
  background: var(--bg);
}

.policy h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.policy .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.policy h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.policy p {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.policy a { color: var(--purple); }

/* ── Footer ── */
.footer {
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--border);
}

.footer a { color: var(--muted); text-decoration: underline; }
.footer a:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav { padding: 1rem; }
  .app-card { flex-direction: column; }
  .app-icon { width: 56px; height: 56px; }
  .feature-list { grid-template-columns: 1fr; }
}
