/* ═══════════════════════════════════════════════════════════
   PROPPERSAL — Synapse Design System
   Base: Vantablack #030303, Violet #8B5CF6, Cyan #06B6D4
═══════════════════════════════════════════════════════════ */

/* ── Reset & tokens ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #030303;
  --surface:    #0a0a0a;
  --surface-2:  #111111;
  --border:     rgba(255,255,255,0.07);
  --border-h:   rgba(139,92,246,0.4);
  --violet:     #8B5CF6;
  --violet-dim: rgba(139,92,246,0.15);
  --cyan:       #06B6D4;
  --cyan-dim:   rgba(6,182,212,0.12);
  --emerald:    #10B981;
  --white:      #ffffff;
  --neutral-400:#a3a3a3;
  --neutral-500:#737373;
  --ease-snap:  cubic-bezier(0.23,1,0.32,1);

  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Ambient orbs ───────────────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: float 12s ease-in-out infinite;
}
.orb-violet {
  width: 600px; height: 600px;
  background: rgba(139,92,246,0.18);
  top: -200px; left: -200px;
  animation-duration: 14s;
}
.orb-cyan {
  width: 500px; height: 500px;
  background: rgba(6,182,212,0.12);
  bottom: 10%; right: -150px;
  animation-duration: 10s;
  animation-delay: -5s;
}
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-24px) scale(1.04); }
}

/* ── Layout helpers ─────────────────────────────────────── */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.container-narrow { max-width: 800px;  margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.section     { padding: 100px 0; position: relative; z-index: 1; }
.section-alt { background: rgba(255,255,255,0.015); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-snap), transform 0.6s var(--ease-snap);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navigation ─────────────────────────────────────────── */
.nav-wrap {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 720px;
  z-index: 1000;
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9999px;
  padding: 12px 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--violet), var(--cyan), var(--violet));
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--neutral-400);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
  background: var(--white);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 9999px;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.btn-primary:hover { opacity: 0.88; }
.btn-sm { padding: 8px 18px; font-size: 0.75rem; }

/* Shiny border button */
.btn-shiny {
  display: inline-block;
  padding: 1px;
  border-radius: 9999px;
  background: conic-gradient(from 0deg, transparent 0%, var(--violet) 40%, var(--cyan) 50%, transparent 60%);
  background-size: 200% 200%;
  animation: spin-border 4s linear infinite;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn-shiny span {
  display: block;
  background: var(--surface);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 9999px;
}
.btn-shiny:hover span { background: rgba(15,15,15,1); }
@keyframes spin-border {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.btn-ghost {
  color: var(--neutral-400);
  font-size: 0.95rem;
  transition: color 0.2s;
  text-decoration: none;
}
.btn-ghost:hover { color: var(--white); }

/* ── Typography helpers ─────────────────────────────────── */
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-sub {
  color: var(--neutral-400);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* ── Shimmer text ───────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.shimmer {
  background: linear-gradient(90deg, #a78bfa 0%, #ffffff 40%, #ffffff 60%, #22d3ee 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
  font-style: italic;
}

/* Accent colours */
.accent-violet { color: var(--violet); }
.accent-cyan   { color: var(--cyan); }
.accent-emerald{ color: var(--emerald); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,92,246,0.25) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 10% 60%, rgba(6,182,212,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { max-width: 800px; }
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}
.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.hero-sub {
  color: var(--neutral-400);
  font-size: 1.15rem;
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Ticker ─────────────────────────────────────────────── */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  height: 58px;
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
}
.ticker-label {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neutral-500);
}
.ticker-value {
  font-size: 0.9rem;
  font-family: var(--font-mono);
  font-weight: 600;
}
.ticker-sep {
  color: rgba(255,255,255,0.1);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ── Problem cards ──────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.problem-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s var(--ease-snap), transform 0.3s var(--ease-snap), box-shadow 0.3s var(--ease-snap);
}
.problem-card:hover {
  border-color: var(--border-h);
  transform: translateY(-8px);
  box-shadow: 0 0 30px -10px rgba(139,92,246,0.35);
}
.problem-icon { font-size: 2rem; margin-bottom: 20px; }
.problem-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.problem-card p { color: var(--neutral-400); font-size: 0.95rem; line-height: 1.7; }

/* ── Feature cards ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s var(--ease-snap), transform 0.3s var(--ease-snap), box-shadow 0.3s var(--ease-snap);
}
.feature-card:hover {
  border-color: var(--border-h);
  transform: translateY(-12px);
  box-shadow: 0 0 30px -10px rgba(139,92,246,0.3);
}
.feature-icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--violet-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet);
  margin-bottom: 24px;
  transition: transform 0.3s var(--ease-snap);
}
.feature-card:hover .feature-icon-box { transform: scale(1.1) rotate(3deg); }
.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.feature-card p { color: var(--neutral-400); font-size: 0.95rem; line-height: 1.7; }

/* ── Steps ──────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--violet);
  background: var(--violet-dim);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 8px;
  padding: 6px 14px;
  flex-shrink: 0;
  margin-top: 4px;
}
.step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step-content p { color: var(--neutral-400); font-size: 1rem; line-height: 1.7; }

/* ── Savings table ──────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.savings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.savings-table thead tr {
  border-bottom: 1px solid var(--border-h);
}
.savings-table th {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neutral-500);
  padding: 16px 20px;
  text-align: left;
}
.savings-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--neutral-400);
}
.savings-table tr:last-child td { border-bottom: none; }
.savings-table .traditional { color: var(--neutral-500); }
.savings-table .improved { color: var(--emerald); font-weight: 600; }
.savings-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Flexibility grid ───────────────────────────────────── */
.flex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.flex-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s var(--ease-snap), transform 0.3s var(--ease-snap);
}
.flex-card:hover {
  border-color: rgba(6,182,212,0.35);
  transform: translateY(-8px);
}
.flex-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--cyan-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  margin-bottom: 20px;
  transition: transform 0.3s var(--ease-snap);
}
.flex-card:hover .flex-icon { transform: scale(1.1); }
.flex-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.flex-card p { color: var(--neutral-400); font-size: 0.93rem; line-height: 1.7; }
.flex-card strong { color: var(--white); }

/* ── Privacy section ────────────────────────────────────── */
.privacy-card {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding: 56px;
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 28px;
  background: rgba(139,92,246,0.04);
  box-shadow: 0 0 60px -20px rgba(139,92,246,0.2);
}
.privacy-shield {
  flex-shrink: 0;
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  background: var(--violet-dim);
  border-radius: 20px;
  color: var(--violet);
  margin-top: 4px;
}
.privacy-content p {
  color: var(--neutral-400);
  line-height: 1.75;
  margin-bottom: 16px;
}
.privacy-content p:last-of-type { margin-bottom: 24px; }
.privacy-note {
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--neutral-400);
  line-height: 1.65;
}
.privacy-note strong { color: var(--violet); }

/* ── Getting started steps ──────────────────────────────── */
.start-steps { display: flex; flex-direction: column; gap: 0; }
.start-steps li {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.start-steps li:last-child { border-bottom: none; }
.start-num {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--violet-dim);
  border: 1px solid rgba(139,92,246,0.4);
  color: var(--violet);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-top: 2px;
}
.start-steps strong { display: block; color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.start-steps p { color: var(--neutral-400); font-size: 0.93rem; }

/* ── Support packages ───────────────────────────────────── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.package-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s var(--ease-snap), transform 0.3s var(--ease-snap), box-shadow 0.3s var(--ease-snap);
}
.package-card:hover {
  border-color: var(--border-h);
  transform: translateY(-10px);
  box-shadow: 0 0 30px -10px rgba(139,92,246,0.3);
}
.package-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-dim);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 9999px;
  padding: 4px 14px;
  margin-bottom: 20px;
}
.package-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.package-card > p { color: var(--neutral-400); font-size: 0.93rem; line-height: 1.7; margin-bottom: 24px; }
.package-card ul { display: flex; flex-direction: column; gap: 10px; }
.package-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--neutral-400);
  font-size: 0.88rem;
  line-height: 1.5;
}
.package-card ul li::before {
  content: '✦';
  color: var(--violet);
  font-size: 0.6rem;
  flex-shrink: 0;
  margin-top: 4px;
}

/* ── CTA section ────────────────────────────────────────── */
.cta-section {
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(139,92,246,0.12) 0%, transparent 70%);
}
.cta-card {
  text-align: center;
  padding: 80px 40px;
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 32px;
  background: rgba(139,92,246,0.04);
}
.cta-card p {
  color: var(--neutral-400);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--neutral-500); font-size: 0.88rem; line-height: 1.65; max-width: 260px; }
.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--neutral-500); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.footer-bar p { font-size: 0.82rem; color: var(--neutral-500); }
.footer-status { display: flex; align-items: center; gap: 8px; }
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-pill  { justify-content: space-between; }

  .hero { padding: 120px 24px 80px; }
  .hero-cta { flex-direction: column; gap: 16px; }

  .section { padding: 72px 0; }

  .privacy-card { flex-direction: column; gap: 28px; padding: 36px 28px; }

  .features-grid,
  .flex-grid,
  .packages-grid,
  .problem-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bar  { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 2.6rem; }
  .section-heading { font-size: 1.8rem; }
  .btn-shiny span { padding: 12px 28px; font-size: 0.88rem; }
}
