/* ==========================================================================
   Cenematic home-c — design tokens, base styles, background blobs, navbar,
   and shared keyframes. The hero itself lives in hero-bold.css.
   ========================================================================== */

/* Design tokens ----------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --ink: #0d0f1c;
  --muted: #4f5466;

  /* FastSpring checkout modal tokens (verbatim from main/styles/base.css —
     home-c doesn't load main's :root and the modal sits outside .pricing) */
  --font: "Helvetica Neue", Inter, Helvetica, Arial, sans-serif;
  --color-primary: #0863f1;
  --color-text: #1a1a1a;
  --color-white: #fff;

  /* Header */
  --header-bg: #0a0a12;
  --header-link: #cfd3e6;
  --cta-bg: #ffc107;
  --cta-bg-hover: #f0b400;
}

/* Base -------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* Decorative background blobs --------------------------------------------- */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-blobs__item {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.04;
}

.bg-blobs__item--1 {
  width: 480px;
  height: 480px;
  top: -140px;
  left: -40px;
  background: #ffc107;
  animation: blob-drift 16s ease-in-out infinite;
}

.bg-blobs__item--2 {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -60px;
  background: #ff8a00;
  animation: blob-drift 18s ease-in-out infinite reverse;
}

.bg-blobs__item--3 {
  width: 500px;
  height: 500px;
  bottom: -260px;
  left: 38%;
  background: #ff3d00;
  opacity: 0.025;
  animation: blob-drift 20s ease-in-out infinite;
}

@keyframes blob-drift {
  50% { transform: translate(40px, 30px) scale(1.08); }
}

/* Header ------------------------------------------------------------------ */
.navbar {
  position: relative;
  z-index: 2;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 40px;
}

.navbar__logo {
  width: 40px;
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 10px;
}

.navbar__links {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  align-self: stretch;
  gap: 8px 28px;
  margin-inline: auto;
  font-size: 15px;
  color: var(--header-link);
  list-style: none;
}

.navbar__links li {
  display: flex;
}

.navbar__link {
  position: relative;
  display: flex;
  align-items: center;
  color: inherit;
  font-weight: 500;
  text-decoration: none;
}

/* Underline sweeps in left-to-right, flush with the header's bottom edge */
.navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -17px;
  height: 4px;
  background: var(--cta-bg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.navbar__link:hover::after {
  transform: scaleX(1);
}

/* Scaled-down version of the gold .cta-button so both CTAs read as one action */
.navbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ffd54d, #f5b820);
  font-size: 15px;
  font-weight: 700;
  color: #141414;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 0 #d99a16;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.navbar__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #d99a16;
}

.navbar__cta:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #d99a16;
}

.navbar__cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 7px;
  background: #141414;
  color: #fff;
}

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__cta { flex: 1; text-align: center; }
}

/* Shared animated-gradient keyframes (used across all sections) ------------ */
@keyframes gradient-shift {
  to { background-position: 300% 0; }
}

/* Motion preferences ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}
