/* ============================================================================
   ZEUS — Shared Stylesheet v1.0
   Used across all pages. Single source of truth for design system.
   ============================================================================ */

:root {
  --bg: #f7f5f1;
  --bg-elevated: #ffffff;
  --surface: #f0ede6;
  --border: rgba(10, 10, 10, 0.08);
  --border-strong: rgba(10, 10, 10, 0.14);
  --text: #0a0a0a;
  --text-muted: rgba(10, 10, 10, 0.62);
  --text-faint: rgba(10, 10, 10, 0.42);
  --magenta: #ff2e7e;
  --magenta-deep: #d91464;
  --magenta-dim: rgba(255, 46, 126, 0.08);
  --magenta-soft: rgba(255, 46, 126, 0.16);
  --red: #ff2d2d;
  --red-glow: rgba(255, 45, 45, 0.35);
  --green: #00a854;
  --display: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --accent: 'Instrument Serif', Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--body); font-weight: 400; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--magenta); color: #fff; }

body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 90% -10%, rgba(255, 46, 126, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at -10% 60%, rgba(255, 168, 110, 0.08), transparent 60%);
}
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

main, nav, footer { position: relative; z-index: 2; }

/* Typography */
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
.display em { font-family: var(--accent); font-weight: 400; font-style: italic; color: var(--magenta); letter-spacing: -0.02em; }
.eyebrow { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 700px) { .wrap { padding: 0 24px; } }

/* Nav */
nav.nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 18px 40px;
  display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(247, 245, 241, 0.78);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
@media (max-width: 700px) { nav.nav { padding: 14px 20px; } }

.logo {
  font-family: var(--display);
  font-size: 28px; font-weight: 600; letter-spacing: -0.04em;
  text-decoration: none; color: var(--text);
  display: inline-flex; align-items: baseline; line-height: 1;
}
.logo .z { font-family: var(--accent); font-style: italic; font-weight: 400; color: var(--magenta); margin-right: 1px; font-size: 32px; }
.logo-suffix {
  color: var(--text-muted); font-weight: 500; font-size: 14px;
  margin-left: 12px; padding-left: 12px;
  border-left: 1px solid var(--border);
}
@media (max-width: 700px) { .logo-suffix { display: none; } }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  padding: 10px 20px; background: var(--magenta); color: #fff !important;
  border-radius: 100px; font-size: 13px; font-weight: 600;
  text-decoration: none !important; transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(255, 46, 126, 0.25);
}
.nav-cta:hover { background: var(--magenta-deep); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 46, 126, 0.35); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin: -8px;
  flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.2s;
}
@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .menu-toggle { display: flex; }
  .nav-links { gap: 12px; }
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed; top: 0; right: 0;
  width: 80%; max-width: 320px; height: 100vh;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  padding: 80px 32px 32px;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block; padding: 14px 0;
  color: var(--text); text-decoration: none;
  font-size: 17px; font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .menu-section {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-faint);
  padding: 24px 0 8px;
  border-bottom: none;
}

/* Buttons */
.btn-primary {
  background: var(--magenta); color: #fff; border: none;
  padding: 16px 28px; border-radius: 100px;
  font-family: var(--body); font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all 0.2s; box-shadow: 0 8px 20px rgba(255, 46, 126, 0.25);
  display: inline-block;
}
.btn-primary:hover { background: var(--magenta-deep); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 46, 126, 0.35); color: #fff; }

.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 16px 28px; border-radius: 100px;
  font-family: var(--body); font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
  display: inline-block;
}
.btn-secondary:hover { background: var(--surface); border-color: var(--text); color: var(--text); }

/* Sections */
section { padding: 120px 0; position: relative; }
@media (max-width: 700px) { section { padding: 80px 0; } }

section h2 { font-size: clamp(36px, 5.5vw, 64px); margin-bottom: 24px; max-width: 18ch; line-height: 1.05; letter-spacing: -0.04em; }
section .sub { font-size: 18px; color: var(--text-muted); max-width: 60ch; margin-bottom: 50px; line-height: 1.6; }

/* Footer */
footer.footer { border-top: 1px solid var(--border); padding: 60px 0 40px; margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.6; max-width: 28ch; }
.footer-col h4 {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--text); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--magenta); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  color: var(--text-faint); font-size: 13px;
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.7s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Forms */
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; font-family: var(--body); font-size: 15px;
  color: var(--text); outline: none;
  transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--magenta); }

/* Compare table common */
.compare-table {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.check { color: var(--green); font-weight: 700; }
.x { color: var(--text-faint); }
.partial { color: #d97706; }
