/* ============================================================
   VidaFuel — Landing page styles
   Palette:
     --lime     : electric lime (primary)
     --orange   : molten orange (accent)
     --ink      : near-black background
     --paper    : warm off-white
   Typography:
     Anton       — oversized display headlines
     Space Grotesk — body + UI
   ============================================================ */

/* --------- Design tokens --------- */
:root {
  --lime: #c6f432;
  --lime-deep: #a8d626;
  --orange: #ff4e00;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --paper: #fffef7;
  --paper-dim: #f3f1e8;
  --gray: #6b6b66;

  --radius: 20px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1200px;
  --pad: clamp(20px, 4vw, 48px);
}

/* --------- Reset / base --------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Layout container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Shared utility classes */
.text-accent {
  color: var(--orange);
}

.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 18px;
}

.eyebrow--on-dark {
  color: var(--lime);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 8px 0 var(--ink);
}

.btn--primary:hover {
  background: var(--lime-deep);
  box-shadow: 0 10px 0 var(--ink);
}

.btn--dark {
  background: var(--ink);
  color: var(--lime);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.35);
}

.btn--dark:hover {
  background: var(--ink-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--lime);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn--lg {
  padding: 18px 32px;
  font-size: 17px;
}

.btn--xl {
  padding: 24px 44px;
  font-size: 20px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 254, 247, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

/* After user scrolls, add a visible underline via JS toggle */
.nav.is-scrolled {
  border-bottom-color: rgba(10, 10, 10, 0.08);
  background: rgba(255, 254, 247, 0.95);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.nav__logo {
  font-family: "Anton", sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.nav__logo-accent {
  color: var(--orange);
}

.nav__links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 15px;
}

.nav__links a {
  position: relative;
  padding: 6px 2px;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--orange);
  transition: width 0.25s var(--ease);
}

.nav__links a:hover::after {
  width: 100%;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 10vh, 120px) 0 clamp(80px, 12vh, 140px);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-dim) 100%);
}

/* Floating color blobs for depth */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.hero__blob--1 {
  width: 480px;
  height: 480px;
  background: var(--lime);
  top: -120px;
  left: -120px;
}

.hero__blob--2 {
  width: 380px;
  height: 380px;
  background: var(--orange);
  bottom: -80px;
  right: -80px;
  opacity: 0.35;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.hero__title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(56px, 11vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.hero__sub {
  font-size: clamp(17px, 1.3vw, 20px);
  max-width: 520px;
  margin: 0 0 36px;
  color: var(--ink);
  opacity: 0.82;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  border-top: 2px solid var(--ink);
  padding-top: 24px;
  max-width: 560px;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
}

.hero__stats span {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

/* Product image placeholder — swap with real asset later */
.hero__visual {
  display: flex;
  justify-content: center;
}

.product-placeholder {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--ink) 0%, #2b2b2b 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Anton", sans-serif;
  font-size: 28px;
  letter-spacing: 0.2em;
  color: var(--lime);
  box-shadow: 18px 18px 0 var(--orange);
  position: relative;
  transform: rotate(-2deg);
}

.product-placeholder::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px dashed rgba(198, 244, 50, 0.4);
  border-radius: calc(var(--radius) - 6px);
}

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section {
  padding: clamp(80px, 12vh, 140px) 0;
}

.section--light {
  background: var(--paper);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section__head {
  max-width: 760px;
  margin: 0 auto clamp(50px, 7vw, 80px);
  text-align: center;
}

.section__title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
  color: var(--ink);
}

.section__title--on-dark {
  color: var(--paper);
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--paper-dim);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  background: var(--lime);
  box-shadow: 10px 10px 0 var(--ink);
}

.card__icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 20px;
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border-radius: 50%;
  border: 2px solid var(--ink);
}

.card h3 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.card p {
  margin: 0;
  color: var(--ink);
  opacity: 0.82;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--ink-soft);
  border: 2px solid rgba(198, 244, 50, 0.2);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  border-color: var(--lime);
}

.step__num {
  display: inline-block;
  font-family: "Anton", sans-serif;
  font-size: 56px;
  line-height: 1;
  color: var(--lime);
  margin-bottom: 12px;
}

.step h3 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--paper);
}

.step p {
  margin: 0;
  color: rgba(255, 254, 247, 0.75);
}

/* ============================================================
   BIG CTA BAND
   ============================================================ */
.cta-band {
  background: var(--orange);
  color: var(--ink);
  padding: clamp(80px, 12vh, 140px) 0;
  position: relative;
  overflow: hidden;
}

/* Decorative stripes */
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 22px;
  background: var(--lime);
  transform: rotate(-3deg);
  left: -20%;
}

.cta-band::before {
  top: -11px;
}

.cta-band::after {
  bottom: -11px;
}

.cta-band__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-band__title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(44px, 8vw, 120px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--ink);
}

.cta-band__sub {
  font-size: clamp(17px, 1.4vw, 22px);
  margin: 0 0 40px;
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 0 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__logo {
  font-family: "Anton", sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  margin: 0;
}

.footer__tag {
  font-size: 14px;
  color: rgba(255, 254, 247, 0.6);
  margin: 0;
}

.footer__social {
  display: flex;
  gap: 22px;
  font-weight: 600;
  font-size: 14px;
  justify-content: center;
}

.footer__social a {
  color: var(--paper);
  transition: color 0.2s var(--ease);
}

.footer__social a:hover {
  color: var(--lime);
}

.footer__copy {
  text-align: right;
  font-size: 13px;
  color: rgba(255, 254, 247, 0.5);
  margin: 0;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   Elements with .reveal start hidden; JS adds .is-visible.
   Respects prefers-reduced-motion.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .product-placeholder {
    max-width: 360px;
    transform: rotate(-1deg);
  }

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

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

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__copy {
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .nav__links {
    display: none; /* keep nav clean on small screens */
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero__stats strong {
    font-size: 36px;
  }

  .product-placeholder {
    box-shadow: 10px 10px 0 var(--orange);
  }

  .btn--xl {
    padding: 18px 32px;
    font-size: 17px;
  }
}
