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

:root {
  --bg:        #0D1117;
  --surface:   #161B27;
  --surface2:  #1E2535;
  --border:    #2A3347;
  --text:      #E8EAF0;
  --muted:     #8A94AA;
  --accent:    #3B82F6;
  --accent-dk: #2563EB;
  --jm:        #F9A825;
  --fal:       #CC2200;
  --radius:    12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}
.nav-brand span { color: var(--accent); }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 80px 24px 64px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,0.12);
  color: var(--accent);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ── SECTIONS ── */
section {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 540px;
}

/* ── APP CARDS ── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.15s;
}

.app-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.app-icon.jm  { background: rgba(249,168,37,0.15); }
.app-icon.fal { background: rgba(204,34,0,0.15); }

.app-name {
  font-size: 1.05rem;
  font-weight: 700;
}

.app-platform {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.app-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.tag {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 0.75rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.15s;
  cursor: pointer;
  border: none;
}

.btn:hover { opacity: 0.85; text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

.btn-soon {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: default;
  opacity: 0.7;
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

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

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.feature-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.feature-desc {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

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

/* ── PROSE (privacy / support) ── */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.prose h1 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.prose .meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 40px;
}

.prose h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 36px 0 10px;
  color: var(--text);
}

.prose p {
  color: #BCC4D6;
  margin-bottom: 14px;
  line-height: 1.7;
}

.prose ul {
  color: #BCC4D6;
  margin: 0 0 14px 20px;
  line-height: 1.8;
}

.prose a { color: var(--accent); }

.prose .callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.faq-a {
  color: #BCC4D6;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── CONTACT CARD ── */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 32px;
  text-align: center;
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.contact-card a.email-link {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-card a.email-link:hover {
  text-decoration: none;
  opacity: 0.85;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .nav-links { gap: 16px; }
  .hero { padding: 56px 16px 48px; }
  section { padding: 36px 16px; }
  .prose { padding: 36px 16px 48px; }
}
