/* Shared styles for Snap & Save site */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #05060f;
  --bg-2: #0a0c1f;
  --neon: #00ff9d;
  --neon-2: #00d4ff;
  --neon-3: #b347ff;
  --neon-pink: #ff2db5;
  --text: #f0f4ff;
  --muted: #8b94b8;
  --dim: #555a78;
  --line: rgba(255,255,255,0.08);
  --glass: rgba(255,255,255,0.03);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--bg); color: var(--text);
  overflow-x: hidden; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: 'JetBrains Mono', monospace; }
a { color: inherit; }

/* Background effects */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,255,157,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,157,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, black 30%, transparent 80%);
}
@keyframes gridShift {
  from { background-position: 0 0; }
  to { background-position: 60px 60px; }
}
.orb {
  position: fixed; border-radius: 50%; z-index: 0;
  filter: blur(80px); opacity: 0.35; pointer-events: none;
}
.orb-1 {
  width: 500px; height: 500px; background: var(--neon);
  top: -150px; left: -150px;
  animation: float1 18s ease-in-out infinite;
}
.orb-2 {
  width: 600px; height: 600px; background: var(--neon-3);
  top: 20%; right: -200px;
  animation: float2 22s ease-in-out infinite;
}
.orb-3 {
  width: 450px; height: 450px; background: var(--neon-2);
  bottom: -100px; left: 30%;
  animation: float3 25s ease-in-out infinite;
}
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(100px,80px) scale(1.2); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-120px,60px) scale(1.15); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(80px,-100px) scale(1.25); } }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,6,15,0.7);
  backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 18px; color: var(--text);
  text-decoration: none; letter-spacing: -.01em;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--neon), var(--neon-2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(0,255,157,0.4);
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 20px rgba(0,255,157,0.4); }
  50% { box-shadow: 0 0 30px rgba(0,212,255,0.6); }
}
.logo-mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--neon); }
.nav-cta {
  background: linear-gradient(135deg, var(--neon), var(--neon-2));
  color: var(--bg) !important;
  padding: 10px 20px; border-radius: 8px; font-weight: 600 !important;
  box-shadow: 0 0 25px rgba(0,255,157,0.3);
  transition: all .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 0 35px rgba(0,255,157,0.5); }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s; font-family: inherit; letter-spacing: .01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--neon), var(--neon-2));
  color: var(--bg); box-shadow: 0 0 30px rgba(0,255,157,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(0,212,255,0.6); }
.btn-ghost {
  background: var(--glass); color: var(--text);
  border-color: var(--line); backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); box-shadow: 0 0 25px rgba(0,255,157,0.2); }

/* Page header (sub-pages) */
.page-header {
  padding: 100px 0 60px;
  text-align: center; position: relative;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; letter-spacing: .15em;
  color: var(--neon); text-transform: uppercase;
  margin-bottom: 20px;
}
.page-header h1 {
  font-size: 72px; line-height: 1.05; font-weight: 700;
  letter-spacing: -.04em; margin-bottom: 24px;
}
.page-header h1 .grad {
  background: linear-gradient(135deg, var(--neon), var(--neon-2), var(--neon-3));
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradFlow 6s ease infinite;
}
@keyframes gradFlow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.page-header .lead {
  font-size: 20px; color: var(--muted);
  max-width: 600px; margin: 0 auto;
}
@media (max-width: 600px) { .page-header h1 { font-size: 44px; } }

/* Content sections */
section { padding: 80px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: 44px; font-weight: 700; letter-spacing: -.02em;
  margin-bottom: 16px; line-height: 1.1;
}
.section-head h2 .grad {
  background: linear-gradient(135deg, var(--neon), var(--neon-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head p { font-size: 17px; color: var(--muted); }
@media (max-width: 600px) { .section-head h2 { font-size: 32px; } }

/* Cards */
.card {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: 18px; padding: 32px;
  backdrop-filter: blur(10px);
  transition: all .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--neon); box-shadow: 0 0 30px rgba(0,255,157,0.1); }

/* Prose (for legal/about pages) */
.prose { color: var(--muted); font-size: 16px; line-height: 1.8; }
.prose h2 {
  color: var(--text); font-size: 28px; font-weight: 700;
  margin: 56px 0 16px; letter-spacing: -.01em;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 {
  color: var(--text); font-size: 20px; font-weight: 600;
  margin: 32px 0 12px;
}
.prose p { margin-bottom: 16px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--neon); text-decoration: none; border-bottom: 1px solid rgba(0,255,157,0.3); }
.prose a:hover { border-bottom-color: var(--neon); }
.prose ul, .prose ol { margin: 16px 0 16px 24px; }
.prose li { margin-bottom: 8px; }
.prose code {
  background: rgba(0,255,157,0.1); color: var(--neon);
  padding: 2px 8px; border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}
.prose blockquote {
  border-left: 3px solid var(--neon);
  padding: 8px 0 8px 20px;
  margin: 24px 0; font-style: italic;
  color: var(--text);
}
.prose hr {
  border: none; border-top: 1px solid var(--line);
  margin: 48px 0;
}

/* Footer */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 280px; }
.footer-col h5 {
  color: var(--text); font-size: 13px;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 16px; font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--muted); text-decoration: none;
  font-size: 14px; transition: color .2s;
}
.footer-col a:hover { color: var(--neon); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--line);
  text-align: center; color: var(--dim); font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
