/* SpendMoth marketing landing — structure matches fix-ivo.com */
@import url("brand-tokens.css");

:root {
  --max-width: 1100px;
  --hero-overlay: linear-gradient(
    105deg,
    rgba(8, 12, 18, 0.88) 0%,
    rgba(8, 12, 18, 0.55) 42%,
    rgba(8, 12, 18, 0.35) 100%
  );
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- Hero (full viewport, Fixivo layout) --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 4rem;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-topnav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  max-width: 1200px;
  margin: 0 auto;
}

.hero-topnav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.hero-topnav__brand:hover {
  text-decoration: none;
}

.hero-topnav__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-accent);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-topnav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-topnav__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.hero-topnav__link:hover {
  color: #fff;
  text-decoration: none;
}

.hero-topnav__cta {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
}

.hero-topnav__cta:hover {
  background: var(--color-accent-dim);
  text-decoration: none;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-carousel__track {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
  transition: transform 1.4s cubic-bezier(0.45, 0.05, 0.2, 1);
}

.hero-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-overlay);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  padding: 0 0.5rem;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--color-text);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--color-text);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero__tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--color-muted);
  margin: 0 0 2rem;
  font-weight: 400;
  line-height: 1.55;
}

.hero__cta {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
  box-shadow: 0 8px 28px rgba(26, 155, 114, 0.35);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.hero__cta-secondary {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  color: var(--color-text);
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hero__cta-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  color: var(--color-text);
}

.hero__cta:hover {
  background: var(--color-accent-bright);
  color: #042f2e;
  text-decoration: none;
  transform: translateY(-1px);
}

.hero__note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  font-style: italic;
}

.hero-dots {
  position: absolute;
  bottom: 3.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}

.hero-dots__btn {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dots__btn:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-dots__btn.is-active {
  background: var(--color-accent);
  transform: scale(1.15);
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel__track {
    transition: none;
  }
}

/* --- Sections --- */
.section {
  padding: 4.5rem 1.5rem;
  background: var(--color-surface-alt);
  color: var(--color-ink);
}

.section--alt {
  background: #fff;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 400;
  text-align: center;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.section__lead {
  text-align: center;
  color: var(--color-ink-muted);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-proof {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: var(--color-bg);
}

.product-proof__figure {
  margin: 0;
  max-width: 920px;
  margin-inline: auto;
}

.product-proof__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.product-proof__caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.pain-block__inner {
  max-width: 40rem;
}

.trust-note {
  font-size: 0.9375rem;
  color: var(--color-ink-muted);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(26, 155, 114, 0.08);
  border: 1px solid rgba(26, 155, 114, 0.15);
}

.trust-note a {
  color: var(--color-accent);
  font-weight: 600;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  padding: 0.25rem 0;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: var(--color-ink);
}

.feature p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-ink-muted);
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--color-ink);
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-ink-muted);
  line-height: 1.55;
}

.download {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.download__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dim);
  background: rgba(26, 155, 114, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.download p {
  color: var(--color-ink-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.download a {
  color: var(--color-accent);
  font-weight: 600;
}

.cta-final {
  text-align: center;
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #04342c, var(--color-accent-dim));
  color: #fff;
}

.cta-final .hero__cta {
  margin-top: 0.5rem;
}

.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem;
  font-weight: 400;
}

.cta-final p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  opacity: 0.9;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-bg);
  color: var(--color-muted);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.875rem;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.site-footer nav a {
  color: var(--color-muted);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--color-accent-bright);
}

.site-footer p {
  margin: 0;
}
