/* ═══════════════════════════════════════════
   RON COSTA — DARK EMERALD MODERN BRAND v2
   ═══════════════════════════════════════════ */

:root {
  --bg: #0a0c0b;
  --bg-raised: #0f1210;
  --bg-card: #141917;
  --gold: #34d399;
  --gold-hover: #5eead4;
  --gold-dim: rgba(52, 211, 153, 0.5);
  --gold-faint: rgba(52, 211, 153, 0.12);
  --gold-glow: rgba(52, 211, 153, 0.06);
  --white: #edf0ee;
  --white-dim: rgba(237, 240, 238, 0.55);
  --white-muted: rgba(237, 240, 238, 0.35);
  --border: rgba(237, 240, 238, 0.08);
  --border-gold: rgba(52, 211, 153, 0.18);
  --accent: #10b981;
  --display: 'Outfit', -apple-system, sans-serif;
  --sans: 'Manrope', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--bg); }

/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 500;
  opacity: 0.35;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ═══ REUSABLE ATOMS ═══ */
.dot {
  width: 3px; height: 3px;
  background: var(--gold-dim);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.slabel {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slabel--bar::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.sheading {
  font-family: var(--display);
  font-weight: 700;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
}

.goldbar {
  width: 2.5rem;
  height: 2px;
  background: var(--gold);
}

.tagrow {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--white-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  align-items: center;
}

.sect {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.body-text {
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.body-text strong {
  color: var(--white);
  font-weight: 500;
}

/* ═══ SHARED NAV ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(12, 11, 9, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.35s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.5rem, 4vw, 3rem);
  max-width: 1180px;
  margin: 0 auto;
}

.nav__name {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav__name:hover { opacity: 1; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav__link {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav__link:hover { color: var(--gold); }
.nav__link--active { color: var(--gold); }

.nav__cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.55rem 1.4rem;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}

.nav__cta:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  margin: 4px 0;
  transition: all 0.3s;
}

/* ═══ HERO SYSTEM (3D-ready) ═══ */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

/* 3D canvas / video background layer */
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Fallback ambient glow until 3D is added */
.hero__ambient {
  position: absolute;
  top: -20vh; right: -15vw;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__tags {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__tags .sep { opacity: 0.35; }

.hero__headline {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  font-style: normal;
  line-height: 1.02;
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 2rem;
  letter-spacing: -0.035em;
}

.hero__headline em {
  color: var(--gold);
}

.hero__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 300;
  color: var(--white-dim);
  max-width: 52ch;
  margin-bottom: 3rem;
  line-height: 1.75;
}

.hero__divider {
  width: 3rem;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2rem;
}

.hero__meta {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--white-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  align-items: center;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ═══ BUTTONS ═══ */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--gold);
  padding: 1rem 2.2rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(52, 211, 153, 0.2);
}

.btn-gold svg {
  width: 18px; height: 18px;
  transition: transform 0.25s;
}

.btn-gold:hover svg { transform: translateX(3px); }

.btn-gold:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(52, 211, 153, 0.15);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white-dim);
  padding: 1rem 1.2rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}

.btn-outline:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 1rem 2.4rem;
  text-decoration: none;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(52, 211, 153, 0.15);
}

.btn-outline-gold svg {
  width: 16px; height: 16px;
  transition: transform 0.25s;
}

.btn-outline-gold:hover svg { transform: translateX(3px); }

.btn-outline-gold:active {
  transform: translateY(0) scale(0.98);
}

/* ═══ PROOF BAR ═══ */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}

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

.proof__item { text-align: center; }

.proof__number {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  font-style: normal;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.proof__desc {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--white-dim);
  letter-spacing: 0.03em;
}

/* ═══ TIMELINE ═══ */
.tl__item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.tl__item:first-child { border-top: 1px solid var(--border); }

.tl__year {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gold);
  padding-top: 0.1rem;
}

.tl__role {
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.tl__company {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--white-dim);
}

/* ═══ CARD SYSTEM ═══ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  transition: transform 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-faint);
}

.card--featured {
  border-color: var(--gold-dim);
}

.card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -0.65rem; left: 2rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg);
  padding: 0.25rem 0.7rem;
}

.card__icon {
  width: 2.2rem; height: 2.2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  stroke-width: 1.2;
}

.card__title {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}

.card__desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.card__features li {
  font-size: 0.82rem;
  font-weight: 400;
  padding-left: 1.3rem;
  position: relative;
}

.card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
}

.card__cta {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.85rem 1.2rem;
  transition: all 0.25s ease;
}

.card__cta--gold {
  background: var(--gold);
  color: var(--bg);
}

.card__cta--gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.card__cta--outline {
  border: 1px solid var(--border);
  color: var(--white);
}

.card__cta--outline:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
}

/* ═══ 3-COL FEATURES ═══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.feature {
  position: relative;
  padding-top: 1.6rem;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2rem; height: 2px;
  background: var(--gold);
}

.feature__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.feature__desc {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--white-dim);
}

/* ═══ PROBLEM / AGITATION ═══ */
.problem-section {
  position: relative;
  overflow: hidden;
}

.problem-section__quote {
  position: absolute;
  top: -1rem; right: 5%;
  font-family: var(--display);
  font-size: 28vw;
  color: rgba(255,255,255, 0.015);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.problem__list {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.problem__list li {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--white-dim);
  padding-left: 1.5rem;
  position: relative;
}

.problem__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

/* ═══ TESTIMONIALS ═══ */
.testimonials {
  background: var(--bg-raised);
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-faint), transparent);
}

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

.testimonial { padding: 2rem; }

.testimonial__text {
  font-family: var(--display);
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.testimonial__author {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
}

.testimonial__role {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--white-dim);
}

/* ═══ CROSS-SELL BANNER ═══ */
.crossbanner {
  background: var(--bg-raised);
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}

.crossbanner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.crossbanner__text { max-width: 500px; }

.crossbanner__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.crossbanner__heading {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-style: normal;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.crossbanner__cta {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.8rem 2rem;
  text-decoration: none;
  transition: all 0.25s;
}

.crossbanner__cta:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ═══ CTA SECTION ═══ */
.cta-section {
  padding: 8rem 0;
  text-align: left;
  border-top: 1px solid var(--border);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section__heading {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.cta-section__heading em {
  color: var(--gold);
}

.cta-section__sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 48ch;
  margin: 0 0 3rem;
  line-height: 1.7;
}

/* ═══ FOOTER ═══ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--white-dim);
}

.footer__links { display: flex; gap: 2rem; }

.footer__links a {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--gold); }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .anim {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero .anim:nth-child(1) { animation-delay: 0.1s; }
.hero .anim:nth-child(2) { animation-delay: 0.25s; }
.hero .anim:nth-child(3) { animation-delay: 0.4s; }
.hero .anim:nth-child(4) { animation-delay: 0.55s; }
.hero .anim:nth-child(5) { animation-delay: 0.7s; }
.hero .anim:nth-child(6) { animation-delay: 0.85s; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .cards-grid,
  .features-grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .proof__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .tl__item {
    grid-template-columns: 5.5rem 1fr;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .hero__headline { font-size: 2.5rem; }
  .hero__sub { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__meta, .tagrow { flex-direction: column; gap: 0.3rem; }
  .hero__meta .dot, .tagrow .dot { display: none; }
  .footer__inner, .crossbanner__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}

/* ═══ COOKIE CONSENT BANNER ═══ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1.2rem clamp(1.5rem, 4vw, 3rem);
}

.cookie__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie__text {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--white-dim);
  flex: 1;
  min-width: 200px;
}

.cookie__actions { display: flex; gap: 0.8rem; }

.cookie__btn {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.cookie__btn--accept {
  background: var(--gold);
  color: var(--bg);
}

.cookie__btn--accept:hover {
  background: var(--gold-hover);
}

.cookie__btn--decline {
  background: transparent;
  color: var(--white-dim);
  border: 1px solid var(--border);
}

.cookie__btn--decline:hover {
  border-color: var(--white-dim);
  color: var(--white);
}

/* ═══ LEAD CAPTURE MODAL ═══ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 440px;
  width: calc(100% - 2rem);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  background: none;
  border: none;
  color: var(--white-dim);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal__close:hover { color: var(--white); }

.modal__heading {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 0.5rem;
}

.modal__sub {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--white-dim);
  text-align: center;
  margin-bottom: 2rem;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.modal__input {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--white);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s;
}

.modal__input::placeholder {
  color: var(--white-muted);
}

.modal__input:focus {
  border-color: var(--gold-dim);
  outline: 2px solid rgba(52, 211, 153, 0.2);
  outline-offset: 1px;
}

/* ═══ NEWSLETTER INLINE FORM ═══ */
.newsletter-form {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form .modal__input {
    min-width: 100% !important;
  }
}

/* ═══ NEWSLETTER SECTION ═══ */
.newsletter-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.newsletter-section__heading {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.newsletter-section__sub {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 48ch;
  margin: 0 auto 2rem;
}

.newsletter-section .newsletter-form {
  max-width: 480px;
  margin: 0 auto;
  justify-content: center;
}

/* ═══ BLOG — MINIMAL LUXURY ═══ */

/* Category filter pills */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
}

.blog-filter {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: all 0.25s;
}

.blog-filter:hover,
.blog-filter.active {
  color: var(--gold);
  border-color: var(--gold);
}

/* Featured article (first/hero) */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3.5rem;
  text-decoration: none;
}

.blog-featured:hover .blog-featured__title {
  color: var(--gold);
}

.blog-featured__visual {
  aspect-ratio: 16/10;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.blog-featured__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-glow) 0%, transparent 60%);
  pointer-events: none;
}

.blog-featured__number {
  font-family: var(--display);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 800;
  color: rgba(52, 211, 153, 0.06);
  line-height: 1;
  user-select: none;
}

.blog-featured__tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.blog-featured__tag::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--gold);
}

.blog-featured__title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.blog-featured__excerpt {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 42ch;
}

.blog-featured__read {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Article list (below featured) */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.blog-card {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  align-items: start;
  transition: background 0.3s;
}

.blog-card:first-child {
  border-top: 1px solid var(--border);
}

.blog-card:hover {
  background: var(--bg-raised);
}

.blog-card:hover .blog-card__title {
  color: var(--gold);
}

.blog-card__num {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: normal;
  color: rgba(52, 211, 153, 0.15);
  line-height: 1;
  padding-top: 0.2rem;
  text-align: center;
}

.blog-card__tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.3;
  transition: color 0.25s;
}

.blog-card__excerpt {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured__visual {
    max-height: 200px;
  }
  .blog-card {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
  }
  .blog-card__num {
    font-size: 1.6rem;
  }
}

/* ═══ FLOATING WHATSAPP BUTTON ═══ */
.fab-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 150;
  width: 56px;
  height: 56px;
  background: #25d366;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}

.fab-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.fab-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@media (max-width: 600px) {
  .fab-whatsapp {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 50px;
    height: 50px;
  }
  .fab-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}

/* ═══ 3D CANVAS INTEGRATION ═══ */
.hero__canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__canvas--active ~ .hero__ambient {
  display: none;
}

/* ═══ BLOG AMBIENT AURORA (CSS-only) ═══ */
.blog-ambient {
  position: fixed;
  top: -30vh;
  right: -20vw;
  width: 80vw;
  height: 80vh;
  background: radial-gradient(
    ellipse at center,
    rgba(52, 211, 153, 0.04) 0%,
    rgba(52, 211, 153, 0.015) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  animation: blog-aurora 25s ease-in-out infinite alternate;
}

@keyframes blog-aurora {
  0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(-5vw, 3vh) scale(1.1); opacity: 0.9; }
  100% { transform: translate(3vw, -2vh) scale(0.95); opacity: 0.7; }
}

/* ═══════════════════════════════════════════════════════════
   SAASTEPS Landing Page — Scoped under .ss-page
   ═══════════════════════════════════════════════════════════ */

.ss-page {
  --ss-bg: #0d2b36;
  --ss-bg-raised: #112f3b;
  --ss-bg-dark: #091e27;
  --ss-accent: #b5e050;
  --ss-accent-hover: #c8ee6b;
  --ss-accent-dim: rgba(200, 238, 107, 0.5);
  --ss-accent-faint: rgba(200, 238, 107, 0.10);
  --ss-accent-glow: rgba(200, 238, 107, 0.06);
  --ss-teal: #2a7a8c;
  --ss-teal-light: #3a9aad;
  --ss-white: #f0f2f1;
  --ss-white-dim: rgba(240, 242, 241, 0.7);
  --ss-white-muted: rgba(240, 242, 241, 0.45);
  --ss-red: #e74c3c;
  --ss-red-faint: rgba(231, 76, 60, 0.12);
  --ss-border: rgba(200, 238, 107, 0.12);
  --ss-border-teal: rgba(42, 122, 140, 0.2);
  background: var(--ss-bg);
  color: var(--ss-white);
  font-family: 'Manrope', sans-serif;
  margin: 0;
}

/* --- Nav --- */
.ss-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 2rem;
  background: rgba(13, 43, 54, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--ss-border-teal);
  transition: transform 0.35s ease;
}
.ss-nav.hidden { transform: translateY(-100%); }
.ss-nav__logo a { text-decoration: none; }
.ss-nav__logo img { height: 28px; display: block; }
.ss-nav__links { display: flex; gap: 1.5rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.ss-nav__links a { color: var(--ss-white-dim); font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.ss-nav__links a:hover { color: var(--ss-accent); }

/* --- Buttons --- */
.ss-btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--ss-accent); color: #041019;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem;
  border: none; border-radius: 6px; cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(200, 238, 107, 0.2);
  line-height: 1.2;
}
.ss-btn-primary:hover {
  background: var(--ss-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 238, 107, 0.3);
}
.ss-btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent; color: var(--ss-white);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem;
  border: 1.5px solid var(--ss-teal); border-radius: 6px; cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}
.ss-btn-secondary:hover {
  border-color: var(--ss-accent); color: var(--ss-accent);
}

/* --- Labels --- */
.ss-slabel {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ss-accent);
}

/* --- Headings --- */
.ss-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: var(--ss-white);
}

/* --- Hero --- */
.ss-hero {
  position: relative;
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 6rem 2rem 3rem;
}
.ss-hero__video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.ss-hero__overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(13,43,54,0.5) 0%, rgba(13,43,54,0.85) 60%, rgba(9,30,39,0.95) 100%);
  z-index: 1;
}
.ss-hero__content {
  position: relative; z-index: 2;
  max-width: 720px; text-align: center;
}
.ss-hero__content h1 {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1;
  margin: 0.75rem 0; color: var(--ss-white);
}
.ss-hero__content p {
  font-size: 1.05rem; line-height: 1.6;
  color: var(--ss-white-dim);
  margin: 1rem 0 1.5rem;
}

/* Hero fadeUp animation */
.ss-page .anim {
  opacity: 0; transform: translateY(20px);
  animation: ss-fadeUp 0.7s ease forwards;
}
@keyframes ss-fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Stats bar --- */
.ss-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding: 2rem 0; border-top: 1px solid var(--ss-border);
  margin-top: 2rem; text-align: center;
}
.ss-stat__number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.6rem; font-weight: 700;
  color: var(--ss-accent);
}
.ss-stat__label {
  font-size: 0.75rem; color: var(--ss-white-muted);
  margin-top: 0.25rem;
}

/* --- Cards --- */
.ss-card {
  background: var(--ss-bg-raised);
  border: 1px solid var(--ss-border-teal);
  border-radius: 8px; padding: 1.5rem;
  transition: all 0.25s ease;
}
.ss-card:hover {
  transform: translateY(-4px);
  border-color: var(--ss-accent);
  box-shadow: 0 8px 24px var(--ss-accent-glow);
}
.ss-card--pain {
  background: var(--ss-red-faint);
  border-color: rgba(231, 76, 60, 0.2);
}
.ss-card--pain:hover { border-color: var(--ss-red); }
.ss-card--solution {
  background: var(--ss-accent-faint);
  border-color: var(--ss-border);
}

/* --- Scroll animation --- */
.ss-scroll-anim {
  position: relative; height: 400vh;
}
.ss-scroll-anim__sticky {
  position: sticky; top: 0;
  height: 100vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--ss-bg-dark);
}
.ss-scroll-anim__frame {
  width: 100%; max-width: 1000px;
  border-radius: 12px;
}
.ss-scroll-anim__text {
  position: absolute; z-index: 2;
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--ss-white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none;
}
.ss-scroll-anim__text.visible { opacity: 1; }

/* --- Testimonials --- */
.ss-testimonial {
  background: var(--ss-bg-raised);
  border: 1px solid var(--ss-border-teal);
  border-radius: 8px; padding: 1.75rem 1.5rem;
  position: relative;
}
.ss-testimonial::before {
  content: '\201C'; position: absolute; top: 0.25rem; left: 1rem;
  font-size: 3rem; color: var(--ss-accent-dim);
  font-family: Georgia, serif; line-height: 1;
}
.ss-testimonial__text {
  font-style: italic; line-height: 1.6; margin-bottom: 1rem;
  padding-top: 1rem;
}
.ss-testimonial__author {
  font-size: 0.85rem; color: var(--ss-accent); font-weight: 600;
}

/* --- Sticky bottom bar --- */
.ss-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(9, 30, 39, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--ss-border);
  transform: translateY(100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.ss-sticky-bar.visible { transform: translateY(0); opacity: 1; }
.ss-sticky-bar__text {
  font-size: 0.85rem; font-weight: 600; color: var(--ss-accent);
  white-space: nowrap;
}
.ss-sticky-bar input {
  padding: 0.5rem 0.75rem; border-radius: 4px;
  border: 1px solid var(--ss-border-teal);
  background: var(--ss-bg-raised); color: var(--ss-white);
  font-size: 0.85rem; width: 220px;
  font-family: 'Manrope', sans-serif;
}
.ss-sticky-bar input::placeholder { color: var(--ss-white-muted); }
.ss-sticky-bar button {
  padding: 0.5rem 1.25rem;
  background: var(--ss-accent); color: #041019;
  font-weight: 700; font-size: 0.85rem;
  border: none; border-radius: 4px; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background 0.2s;
}
.ss-sticky-bar button:hover { background: var(--ss-accent-hover); }

/* --- Exit-intent popup --- */
.ss-popup-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200; display: none;
  align-items: center; justify-content: center;
}
.ss-popup-overlay.active { display: flex; }
.ss-popup {
  background: var(--ss-bg-raised);
  border: 2px solid var(--ss-accent);
  border-radius: 12px; padding: 2.5rem;
  max-width: 420px; width: 90%;
  text-align: center; position: relative;
}
.ss-popup__close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: none; border: none; color: var(--ss-white-muted);
  font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.ss-popup__close:hover { color: var(--ss-white); }
.ss-popup h3 {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--ss-white);
}
.ss-popup input {
  width: 100%; padding: 0.75rem; margin: 0.75rem 0 0;
  border: 1px solid var(--ss-border-teal);
  border-radius: 6px; background: var(--ss-bg);
  color: var(--ss-white); font-size: 0.95rem;
  font-family: 'Manrope', sans-serif;
  box-sizing: border-box;
}
.ss-popup input::placeholder { color: var(--ss-white-muted); }

/* --- Floating CTA --- */
.ss-float-cta {
  position: fixed; bottom: 5rem; right: 1.5rem; z-index: 98;
  background: var(--ss-accent); color: #041019;
  padding: 0.75rem 1.25rem; border-radius: 50px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 4px 20px rgba(163, 217, 64, 0.3);
  cursor: pointer; text-decoration: none;
  animation: ss-pulse 2s infinite;
  transform: translateY(100px); opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.ss-float-cta.visible { transform: translateY(0); opacity: 1; }
.ss-float-cta:hover {
  background: var(--ss-accent-hover);
  box-shadow: 0 6px 28px rgba(163, 217, 64, 0.5);
}

@keyframes ss-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(200, 238, 107, 0.25); }
  50% { box-shadow: 0 4px 30px rgba(200, 238, 107, 0.5); }
}

/* --- FAQ --- */
.ss-faq__item { border-bottom: 1px solid var(--ss-border-teal); }
.ss-faq__question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem;
  color: var(--ss-white);
  background: none; border: none; width: 100%; text-align: left;
}
.ss-faq__question::after {
  content: '+'; font-size: 1.4rem; color: var(--ss-accent);
  transition: transform 0.2s; flex-shrink: 0; margin-left: 1rem;
}
.ss-faq__item.open .ss-faq__question::after { content: '\2212'; }
.ss-faq__answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--ss-white-dim); line-height: 1.6; font-size: 0.9rem;
}
.ss-faq__item.open .ss-faq__answer { max-height: 300px; padding-bottom: 1.25rem; }

/* --- Audience tabs --- */
.ss-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--ss-border-teal);
}
.ss-tab {
  padding: 0.75rem 1.5rem; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem;
  color: var(--ss-white-dim);
  background: none; border: none; border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.ss-tab:hover { color: var(--ss-white); }
.ss-tab.active { color: var(--ss-accent); border-bottom-color: var(--ss-accent); }
.ss-tab-panel { display: none; padding: 2rem 0; }
.ss-tab-panel.active { display: block; }

/* --- Section spacing --- */
.ss-section {
  padding: 5rem 2rem;
  max-width: 1100px; margin: 0 auto;
}
.ss-section--full { max-width: none; }
.ss-section--dark {
  background: var(--ss-bg-dark);
  max-width: none;
  padding-left: 2rem; padding-right: 2rem;
}
.ss-section--dark > * {
  max-width: 1100px; margin-left: auto; margin-right: auto;
}

/* --- Counter --- */
.ss-counter {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2.2rem; font-weight: 700;
  color: var(--ss-accent);
}

/* --- Reveal animation --- */
.ss-reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.ss-reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .ss-stats { grid-template-columns: repeat(2, 1fr); }
  .ss-nav__links { display: none; }
  .ss-hero__content h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .ss-sticky-bar__text { display: none; }
  .ss-float-cta { bottom: 4.5rem; right: 1rem; font-size: 0.8rem; padding: 0.65rem 1rem; }
  .ss-section { padding: 3.5rem 1.5rem; }
  .ss-section--dark { padding-left: 1.5rem; padding-right: 1.5rem; }
  .ss-page .ss-section--dark > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .ss-section { padding: 3rem 1.25rem; }
  .ss-hero { padding: 5rem 1.25rem 2rem; }
  .ss-popup { padding: 1.75rem; }
  .ss-tabs { flex-wrap: wrap; }
  .ss-tab { flex: 1; min-width: 100px; text-align: center; font-size: 0.8rem; padding: 0.6rem 0.75rem; }
  .ss-counter { font-size: 1.6rem; }
}

