:root {
  --ff-primary: #0066ff;
  --ff-primary-dark: #0052cc;
  --ff-accent: #4ade80;
  --ff-secondary: #ff6b6b;
  --ff-ink: #0a0a0a;
  --ff-muted: #525252;
  --ff-background: #fafafa;
  --ff-card: rgba(255, 255, 255, 0.78);
  --ff-border: rgba(0, 0, 0, 0.08);
  --ff-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  --ff-glow: 0 18px 40px rgba(0, 102, 255, 0.18);
  --ff-radius: 24px;
  --ff-grid: rgba(0, 0, 0, 0.04);
  --ff-gradient: linear-gradient(135deg, #4ade80 0%, #0066ff 55%, #ff6b6b 100%);
  --ff-gradient-soft: radial-gradient(circle at 20% 20%, rgba(0, 102, 255, 0.18), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(74, 222, 128, 0.2), transparent 55%),
    radial-gradient(circle at 50% 80%, rgba(255, 107, 107, 0.18), transparent 50%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  color: var(--ff-ink);
  background: var(--ff-background);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ff-gradient-soft);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--ff-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ff-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.ambient-grid {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 70vh;
  background: radial-gradient(circle at top, rgba(0, 102, 255, 0.25), transparent 70%);
  filter: blur(40px);
  opacity: 0.8;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 8vw 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--ff-gradient);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.logo-text {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--ff-muted);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--ff-gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding: 48px 8vw 80px;
  align-items: center;
}

.hero-text h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.05;
  margin: 16px 0 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ff-muted);
}

.lead {
  font-size: 1.05rem;
  max-width: 520px;
  color: var(--ff-muted);
}

.hero-actions {
  margin: 24px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cta.primary {
  background: var(--ff-gradient);
  color: white;
  box-shadow: var(--ff-glow);
}

.cta.secondary {
  background: white;
  border-color: var(--ff-border);
}

.cta.ghost {
  background: transparent;
  border-color: var(--ff-border);
}

.cta.outline {
  background: transparent;
  border-color: var(--ff-primary);
  color: var(--ff-primary);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--ff-shadow);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.proof-chip {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--ff-border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.glass-card {
  background: var(--ff-card);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  padding: 20px 24px;
  backdrop-filter: blur(20px);
  box-shadow: var(--ff-shadow);
}

.primary-card {
  position: absolute;
  top: 0;
  right: 30px;
  width: 70%;
  animation: float 6s ease-in-out infinite;
}

.secondary-card {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 60%;
  animation: float 7s ease-in-out infinite;
}

.tertiary-card {
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 50%;
  background: rgba(0, 102, 255, 0.08);
}

.progress-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 8px solid rgba(0, 102, 255, 0.2);
  border-top-color: var(--ff-primary);
  display: grid;
  place-items: center;
  margin-top: 16px;
  font-weight: 600;
}

.progress-ring span {
  font-size: 1.3rem;
}

.progress-ring small {
  font-size: 0.75rem;
  color: var(--ff-muted);
}

.macro-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ff-muted);
  margin-top: 12px;
}

.features {
  padding: 60px 8vw 40px;
}

.section-title {
  max-width: 620px;
  margin-bottom: 36px;
}

.section-title h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 14px 0 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 24px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--ff-border);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
  margin-top: 0;
}

.invite {
  padding: 40px 8vw 60px;
}

.invite-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  background: var(--ff-card);
  border: 1px solid var(--ff-border);
  border-radius: 32px;
  padding: 40px;
  backdrop-filter: blur(18px);
}

.code-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: white;
  border: 1px dashed rgba(0, 102, 255, 0.3);
  margin: 22px 0;
}

.code {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ff-muted);
}

.invite-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.invite-visual {
  display: grid;
  gap: 18px;
}

.metric {
  display: grid;
  gap: 6px;
}

.metric.alt {
  background: rgba(74, 222, 128, 0.12);
}

.amount {
  font-size: 2rem;
  margin: 0;
}

.meta {
  font-size: 0.85rem;
  color: var(--ff-muted);
}

.launch {
  padding: 40px 8vw 80px;
}

.store-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.store-card {
  padding: 22px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--ff-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 6px;
  transition: transform 0.25s ease;
}

.store-card:hover {
  transform: translateY(-4px);
}

.site-footer {
  padding: 30px 8vw 50px;
  color: var(--ff-muted);
}

.site-footer a {
  color: var(--ff-primary);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .invite-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
  }

  .hero {
    padding-top: 20px;
  }

  .primary-card,
  .secondary-card,
  .tertiary-card {
    position: static;
    width: 100%;
    margin-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-card,
  .secondary-card {
    animation: none;
  }

  .cta,
  .store-card {
    transition: none;
  }
}
