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

:root {
  --bg:      #0e1faa;
  --bg-deep: #091688;
  --surface: rgba(255,255,255,0.08);
  --surface2: rgba(255,255,255,0.13);
  --border:  rgba(255,255,255,0.14);
  --text:    #ffffff;
  --muted:   rgba(255,255,255,0.58);
  --accent:  #f5c842;
  --accent2: #ff8c42;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--bg) 60%, #1533c8 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 62px;
  background: rgba(9,22,136,0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo-img {
  height: 52px;
  width: auto;
  mix-blend-mode: screen;
  display: block;
}
nav ul { list-style: none; display: flex; gap: 1.75rem; }
nav ul a { color: rgba(255,255,255,0.65); font-size: 0.88rem; font-weight: 500; transition: color .15s; }
nav ul a:hover { color: var(--text); text-decoration: none; }

/* ── APP GRID / FEATURES ── */
.section { padding: 3rem 2rem; max-width: 900px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: background .2s, transform .15s;
  text-decoration: none;
  color: inherit;
}
.app-card:hover {
  background: var(--surface2);
  transform: translateY(-2px);
  text-decoration: none;
}
.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex-shrink: 0;
  object-fit: cover;
}
.app-icon-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.app-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.app-info p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.app-badge {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  background: rgba(245,200,66,0.15);
  color: var(--accent);
  border: 1px solid rgba(245,200,66,0.28);
}

/* ── PRODUCT PAGE HERO ── */
.product-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem 3rem;
  max-width: 640px;
  margin: 0 auto;
}
.product-hero img {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.product-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.product-hero .subtitle {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.product-hero .desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
}
.store-btn {
  display: inline-block;
  margin-top: 2rem;
  background: var(--accent);
  color: #1a1000;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.78rem 1.9rem;
  border-radius: 50px;
  transition: opacity .15s, transform .15s;
}
.store-btn:hover { opacity: 0.9; transform: translateY(-1px); text-decoration: none; }

/* ── FEATURES ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}
.feature .icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
.feature h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.3rem; }
.feature p { font-size: 0.82rem; color: var(--muted); }

/* ── PROSE (privacy / support) ── */
.prose {
  max-width: 680px;
  margin: 3rem auto 5rem;
  padding: 0 2rem;
}
.prose h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.4rem; }
.prose .meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 2.5rem; }
.prose h2 { font-size: 1.1rem; font-weight: 700; margin: 2rem 0 0.6rem; color: var(--accent); }
.prose p, .prose li { font-size: 0.95rem; color: rgba(255,255,255,0.78); line-height: 1.75; }
.prose ul { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.3rem; }
.prose a { color: var(--accent); }
.prose .contact-box {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}
.prose .contact-box p { margin: 0; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: rgba(9,22,136,0.5);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.5rem; }

@media (max-width: 600px) {
  nav ul { gap: 1rem; }
  .section { padding: 2rem 1.25rem; }
  .features { padding: 0 1.25rem 3rem; }
  .prose { margin: 2rem auto 3rem; padding: 0 1.25rem; }
}
