/* Bumeran — shared styles for the marketing site */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f0f14;
  --surface: #1a1a24;
  --border: #2a2a3a;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

/* ── Nav ──────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(15,15,20,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-size: 20px; font-weight: 700; color: var(--white);
  display: flex; align-items: center; gap: 10px;
}
.nav-brand svg { flex-shrink: 0; }
.nav-brand img.nav-logo { width: 32px; height: 32px; border-radius: 8px; display: block; flex-shrink: 0; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--white); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 14px;
  cursor: pointer; border: none; transition: opacity .15s, transform .1s;
}
.btn:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }

/* ── Hero (home) ──────────────────────────────── */
.hero {
  max-width: 880px; margin: 0 auto; padding: 100px 40px 80px;
  text-align: center;
}
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 20px;
  background: rgba(124,58,237,.15); border: 1px solid rgba(124,58,237,.3);
  color: var(--accent-light); font-size: 13px; font-weight: 600;
  margin-bottom: 28px; letter-spacing: .4px;
}
h1 {
  font-size: clamp(36px, 6vw, 60px); font-weight: 800; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
}
h1 span { color: var(--accent-light); }
.hero-sub {
  font-size: 18px; color: var(--muted); max-width: 560px;
  margin: 0 auto 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Page header (sub-pages) ──────────────────── */
.page-header {
  max-width: 820px; margin: 0 auto; padding: 80px 40px 40px;
  text-align: center;
}
.page-header h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 18px; }
.page-header p { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 auto; }

/* ── Platforms ────────────────────────────────── */
.platforms {
  border-top: 1px solid var(--border);
  padding: 48px 40px;
  text-align: center;
}
.platforms p {
  font-size: 13px; color: var(--muted); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 24px; font-weight: 600;
}
.platform-list {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center; align-items: center;
  max-width: 900px; margin: 0 auto;
}
.platform-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.platform-chip .dot { width: 8px; height: 8px; border-radius: 50%; }

/* ── Sections ─────────────────────────────────── */
.section {
  max-width: 1100px; margin: 0 auto;
  padding: 80px 40px;
}
.section.bordered { border-top: 1px solid var(--border); }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent-light);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  color: var(--white); margin-bottom: 16px; line-height: 1.2;
}
.section-sub {
  font-size: 17px; color: var(--muted); max-width: 560px;
  margin-bottom: 56px; line-height: 1.7;
}

/* ── Feature cards ────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
  transition: border-color .2s;
}
.feature-card:hover { border-color: var(--accent); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(124,58,237,.15); display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 20px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Detailed feature rows ────────────────────── */
.feature-rows { display: flex; flex-direction: column; gap: 56px; }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.feature-row:nth-child(even) .feature-row-visual { order: -1; }
.feature-row-text h3 { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.feature-row-text p { font-size: 16px; color: var(--muted); margin-bottom: 12px; }
.feature-row-text ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.feature-row-text li { font-size: 15px; color: var(--text); padding-left: 26px; position: relative; }
.feature-row-text li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent-light); font-weight: 700;
}
.feature-row-visual {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 48px; text-align: center;
  font-size: 64px; min-height: 220px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Steps (how it works) ─────────────────────── */
.steps { display: flex; flex-direction: column; gap: 32px; max-width: 680px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.step-body h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.step-body p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── Prose (about / legal-like) ───────────────── */
.prose { max-width: 760px; margin: 0 auto; padding: 40px 40px 80px; }
.prose h2 { font-size: 26px; font-weight: 800; color: var(--white); margin: 36px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; color: var(--muted); }
.prose li { font-size: 16px; line-height: 1.8; }

/* ── Contact ──────────────────────────────────── */
.contact-grid {
  max-width: 760px; margin: 0 auto; padding: 40px 40px 80px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
}
.contact-card .feature-icon { margin-bottom: 16px; }
.contact-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.contact-card a { font-size: 15px; font-weight: 600; }

/* ── CTA band ─────────────────────────────────── */
.cta {
  border-top: 1px solid var(--border);
  text-align: center; padding: 80px 40px;
}
.cta h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.cta p { font-size: 17px; color: var(--muted); max-width: 480px; margin: 0 auto 32px; }

/* ── Footer ───────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: space-between; align-items: center;
}
.footer-brand { font-weight: 700; color: var(--white); font-size: 15px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-copy { color: var(--muted); font-size: 13px; width: 100%; }

@media (max-width: 720px) {
  nav { padding: 14px 20px; }
  .nav-links { gap: 14px; flex-wrap: wrap; }
  .nav-links .btn { display: none; }
  .hero { padding: 70px 20px 60px; }
  .section, .page-header, .prose, .contact-grid, .platforms, .cta { padding-left: 20px; padding-right: 20px; }
  .feature-row { grid-template-columns: 1fr; gap: 24px; }
  .feature-row:nth-child(even) .feature-row-visual { order: 0; }
  footer { padding: 30px 20px; }
}
