/* ZPLora landing page — tokens match ZPLoraTheme.swift (dark) */
:root {
  --bg: #04080f;
  --surface: #0a1526;
  --accent: #0a84ff;
  --accent-light: #64d2ff;
  --text: #f2f5f9;
  --text-secondary: #b8c2d0;
  --border: rgba(255, 255, 255, 0.1);
  --radius-card: 22px;
  --radius-control: 16px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(4, 8, 15, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: var(--text);
}
.brand-icon { border-radius: 7px; }
.primary-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 15px;
}
.primary-nav a { text-decoration: none; color: var(--text-secondary); }
.primary-nav a:hover { color: var(--text); }

/* Buttons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
}
.cta-small {
  background: var(--accent);
  color: #fff;
  padding: 9px 18px;
  font-size: 14px;
}
.cta-small:hover { background: var(--accent-light); color: #04080f; }
.cta-large {
  background: var(--accent);
  color: #fff;
  padding: 16px 30px;
  font-size: 17px;
  box-shadow: 0 8px 30px rgba(10, 132, 255, 0.35);
}
.cta-large:hover { background: var(--accent-light); color: #04080f; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: var(--accent-light);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.08;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.subheadline {
  font-size: 19px;
  color: var(--text);
  font-weight: 600;
  margin: 0 0 12px;
}
.intro {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 46ch;
}
.hero-media { display: flex; justify-content: center; }
.hero-media img {
  width: 100%;
  max-width: 340px;
  height: auto;
}

/* Sections */
section { padding: 56px 0; }
h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.features { border-top: 1px solid var(--border); }
.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feature-card-media {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 320px;
  padding-top: 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.feature-card-media img {
  width: auto;
  height: 100%;
  max-width: 78%;
  object-fit: contain;
}
.feature-card-body { padding: 20px; }
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}
.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.accuracy { border-top: 1px solid var(--border); }
.accuracy-row p {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 70ch;
}

.privacy { border-top: 1px solid var(--border); }
.privacy p { color: var(--text-secondary); font-size: 16px; max-width: 70ch; }
.disclaimer { font-size: 13px; opacity: 0.75; margin-top: 20px; }

.faq { border-top: 1px solid var(--border); }
.faq-list { display: grid; gap: 18px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
}
.faq-item h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.faq-item p { margin: 0; color: var(--text-secondary); font-size: 15px; }

.final-cta {
  text-align: center;
  border-top: 1px solid var(--border);
  padding: 72px 0;
}
.final-cta h2 { margin-bottom: 24px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.footer-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 24px;
  align-items: start;
}
.footer-brand { color: var(--text); font-weight: 700; margin: 0 0 6px; }
.footer-row p { margin: 4px 0; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.lang-switcher { flex-direction: row; flex-wrap: wrap; gap: 6px 14px; }
.lang-current { color: var(--accent-light); font-weight: 700; }

@media (max-width: 860px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { max-width: 260px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .primary-nav { display: none; }
  .footer-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
}
