/* ============================================================
   Iron Max — Global Styles
   ============================================================ */

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

:root {
  --bg:        #0f1923;
  --surface:   #1a2638;
  --border:    #243044;
  --blue:      #2563eb;
  --blue-light:#3b82f6;
  --orange:    #f97316;
  --orange-dim:#c2580f;
  --text:      #e2e8f0;
  --muted:     #94a3b8;
  --radius:    12px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  text-decoration: underline;
}

/* ── Nav ─────────────────────────────────────────────────── */

nav {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

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

.nav-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s;
}

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

/* ── Main ────────────────────────────────────────────────── */

main {
  flex: 1;
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: 680px;
  margin: 0 auto;
}

.hero-icon {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  box-shadow: 0 8px 40px rgba(37, 99, 235, 0.35);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.hero h1 span {
  color: var(--orange);
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero .description {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

/* ── App Store Button ────────────────────────────────────── */

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: not-allowed;
  opacity: 0.65;
  pointer-events: none;
  user-select: none;
}

.btn-appstore .coming-soon {
  background-color: var(--orange-dim);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* ── Features ────────────────────────────────────────────── */

.features {
  padding: 3rem 1.5rem 5rem;
  max-width: 900px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--text);
}

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

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

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--orange);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Footer ──────────────────────────────────────────────── */

footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

footer a {
  color: var(--muted);
}

footer a:hover {
  color: var(--text);
}

footer .separator {
  margin: 0 0.5rem;
}

/* ── Privacy Policy Page ─────────────────────────────────── */

.policy-container {
  max-width: 720px;
  margin: 3rem auto;
  padding: 0 1.5rem 4rem;
}

.policy-container h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.policy-container .last-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.policy-container h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-container p,
.policy-container li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

.policy-container ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.policy-container li {
  margin-bottom: 0.4rem;
}

.policy-container strong {
  color: var(--text);
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  nav {
    padding: 0 1rem;
  }
}
