@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  --bg: #131015;
  --bg-elevated: #1c1720;
  --bg-elevated-2: #241d29;
  --pink: #f7388a;
  --pink-deep: #d32c74;
  --white: #fafafa;
  --muted: #9a939f;
  --muted-2: #6b6570;
  --border: rgba(250, 250, 250, 0.09);
  --border-strong: rgba(250, 250, 250, 0.16);
  --radius: 18px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(247, 56, 138, 0.14), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 0%, rgba(211, 44, 116, 0.10), transparent 55%);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;   /* body is always at least the full viewport height */
}

h1, h2, h3, .display {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.2px;
}

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

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 16, 21, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-brand span {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
  color: var(--white);
  background: var(--bg-elevated);
}

.nav-links a.active {
  color: var(--white);
  background: var(--bg-elevated-2);
}

.nav-cta {
  border: 1px solid var(--border-strong) !important;
  background: transparent;
}

.nav-toggle {
  display: none;
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 20px;
    gap: 2px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a { padding: 13px 14px; border-radius: 10px; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
  }
  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Space Grotesk', sans-serif;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #1a0b13;
  box-shadow: 0 8px 24px -8px rgba(247, 56, 138, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(247, 56, 138, 0.7);
}

.btn-ghost {
  background: var(--bg-elevated);
  color: var(--white);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-elevated-2);
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding: 48px 0 40px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand img { height: 32px; }

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.social-row a:hover {
  color: var(--pink);
  border-color: var(--pink);
  transform: translateY(-2px);
}

.social-row svg { width: 17px; height: 17px; }

/* ---------- Section helpers ---------- */

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 14px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

/* ---------- Page header (non-home) ---------- */

.page-header {
  padding: 72px 0 20px;
}

.page-header h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.page-header p {
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
  margin-top: 16px;
}
