/* ============================================================
   myRevenuePath — Static rebuild
   Brand: dark mode, Figtree, purple→pink gradient accents
   ============================================================ */

:root {
  --bg: #000000;
  --bg-elev: rgba(255, 255, 255, 0.03);
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: #222222;
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.75);
  --text-dim: rgba(255, 255, 255, 0.55);
  --label: #cccccc;
  --brand-purple: #814ac8;
  --brand-pink: #df7afe;
  --gradient: linear-gradient(141deg, #814ac8 0%, #df7afe 100%);
  --gradient-soft: linear-gradient(149deg, rgba(129, 74, 200, 0.4) 0%, rgba(223, 122, 254, 0.4) 100%);
  --shadow-card:
    0 0.7px 0.7px rgba(0, 0, 0, 0.05),
    0 1.7px 1.6px rgba(0, 0, 0, 0.06),
    0 3.5px 3.4px rgba(0, 0, 0, 0.07),
    0 7.3px 7px rgba(0, 0, 0, 0.09),
    0 15px 14.5px rgba(0, 0, 0, 0.11),
    0 30px 30px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container: 1200px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ============================================================
   Typography helpers
   ============================================================ */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

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

.section__h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  max-width: 900px;
}

.section__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 0 48px;
  line-height: 1.6;
}

/* ============================================================
   Buttons & pills
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn--primary {
  background: var(--gradient);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(129, 74, 200, 0.35);
}
.btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 12px 32px rgba(129, 74, 200, 0.5);
}
.btn--lg {
  font-size: 16px;
  padding: 16px 30px;
}

.pill {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.pill--gradient {
  background: var(--gradient);
  color: #ffffff;
}
.pill--sm { font-size: 12px; padding: 4px 10px; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 32px;
}
.nav__logo {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.06em;
  color: #ffffff;
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.18s;
}
.nav__links a:hover { color: var(--text); }
.nav__cta { flex-shrink: 0; }

.nav__hamburger {
  display: none;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.95);
}
.nav__mobile a {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  padding: 10px 0;
}
.nav__mobile .btn { margin-top: 8px; align-self: flex-start; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile[data-open="true"] { display: flex; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  text-align: center;
}
.hero__glow {
  position: absolute;
  inset: -10% 0 auto 0;
  height: 720px;
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(129, 74, 200, 0.45) 0%, rgba(0, 0, 0, 0) 70%),
    radial-gradient(35% 35% at 70% 30%, rgba(223, 122, 254, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.hero__h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 auto 24px;
  max-width: 950px;
}
.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero__logos {
  margin-top: 80px;
  opacity: 0.85;
}
.hero__logos img {
  margin: 0 auto;
  max-height: 60px;
  width: auto;
  filter: grayscale(0.2) brightness(1.1);
}

/* ============================================================
   Stats
   ============================================================ */
.stats {
  padding: 60px 0 100px;
  text-align: center;
}
.stats__overline {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
  margin: 0 0 32px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.stat {
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
}
.stat__num {
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 14px;
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .stats__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Section base
   ============================================================ */
section {
  padding: 100px 0;
}

/* ============================================================
   Services / Compare
   ============================================================ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.compare__card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}
.compare__card--good {
  border: 1px solid rgba(223, 122, 254, 0.35);
  background:
    linear-gradient(160deg, rgba(129, 74, 200, 0.1) 0%, rgba(0, 0, 0, 0) 60%),
    var(--bg-card);
}
.compare__h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.compare__quote {
  font-size: 16px;
  font-style: italic;
  color: var(--text-muted);
  padding: 16px 18px;
  border-left: 3px solid var(--brand-purple);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  margin-bottom: 20px;
}
.compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.compare__list li {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.compare__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-pink);
}
.compare__card--bad .compare__list li::before {
  background: rgba(255, 255, 255, 0.3);
}
@media (max-width: 800px) {
  .compare { grid-template-columns: 1fr; }
}

/* ============================================================
   Case studies
   ============================================================ */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.case-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.case-card__num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.05;
}
.case-card__h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--text);
}
.case-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 24px;
  flex: 1;
}
.case-card__stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}
.badge__num {
  font-weight: 700;
  font-size: 15px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.badge__label {
  font-size: 12px;
  color: var(--text-dim);
}
@media (max-width: 980px) {
  .cases__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Benefits
   ============================================================ */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.benefit {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.benefit__media {
  margin: -32px -32px 20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, rgba(129, 74, 200, 0.15), rgba(0, 0, 0, 0));
}
.benefit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.benefit__h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.benefit p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 980px) {
  .benefits__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   How it works
   ============================================================ */
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.how-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  position: relative;
}
.how-card__media {
  margin: -32px -32px 20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, rgba(223, 122, 254, 0.12), rgba(0, 0, 0, 0));
}
.how-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.how-card__num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 8px;
}
.how-card__h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.how-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 980px) {
  .how__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   New way to scale
   ============================================================ */
.newway {
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(129, 74, 200, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
}
.newway__inner {
  max-width: 820px;
  text-align: left;
}
.newway p {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 22px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  max-width: 900px;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item[open] {
  border-color: rgba(223, 122, 254, 0.3);
  background:
    linear-gradient(180deg, rgba(129, 74, 200, 0.08) 0%, rgba(0, 0, 0, 0) 100%),
    var(--bg-card);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.25s;
}
.faq__chev::before, .faq__chev::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  border-radius: 1px;
}
.faq__chev::before {
  top: 6px; left: 0;
  width: 14px; height: 2px;
}
.faq__chev::after {
  left: 6px; top: 0;
  width: 2px; height: 14px;
  transition: transform 0.25s;
}
.faq__item[open] .faq__chev::after {
  transform: scaleY(0);
}
.faq__body {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq__body p { margin: 0; }

/* ============================================================
   Final CTA
   ============================================================ */
.finalcta {
  position: relative;
  text-align: center;
  padding: 120px 0;
  overflow: hidden;
}
.finalcta__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 50% 50%, rgba(129, 74, 200, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.finalcta__inner { position: relative; z-index: 1; }
.finalcta__h3 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.finalcta__sub {
  color: var(--text-muted);
  margin: 0 0 28px;
  font-size: 16px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  background: #050505;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.06em;
  margin-bottom: 12px;
}
.footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.6;
  margin: 0;
}
.footer__h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--label);
  margin: 0 0 14px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 14px;
  color: var(--text-muted);
}
.footer__link--placeholder {
  color: var(--text-dim);
  cursor: default;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}
@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   Reveal-on-scroll (subtle)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}
