/* =====================================================
   YourGrowthCFO — PROFESSIONAL BUSINESS HEALTH DIAGNOSTIC
   Theme: Neutral, Clean, Premium
   ===================================================== */

:root {
  /* Neutral palette */
  --white: #FFFFFF;
  --gray-50: #F9F9F8;
  --gray-100: #F2F2F0;
  --gray-200: #E8E8E4;
  --gray-300: #D4D4CE;
  --gray-400: #A8A89E;
  --gray-500: #7A7A72;
  --gray-600: #5C5C54;
  --gray-700: #3D3D38;
  --gray-800: #242420;
  --gray-900: #141412;
  --black: #0A0A09;

  /* Subtle accents — muted, professional */
  --accent: #2D5BE3;
  --accent-muted: rgba(45, 91, 227, 0.08);
  --accent-border: rgba(45, 91, 227, 0.2);
  --positive: #1A7A4A;
  --positive-bg: rgba(26, 122, 74, 0.08);
  --negative: #B83232;
  --negative-bg: rgba(184, 50, 50, 0.08);
  --neutral: #5C5C54;

  /* Typography */
  --font-sans: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing & shape */
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-w: 1060px;
  --quiz-w: 720px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
}


body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 99px;
}

.hide {
  display: none !important;
}

p {
  margin: 0 0 1em;
}

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

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.3s var(--ease);
  transform: translateZ(0);
  will-change: transform;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gray-900);
  display: grid;
  place-items: center;
}

.logo-mark svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

.logo-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 400;
  display: block;
  margin-top: -1px;
}

.nav-tag {
  font-size: 12px;
  color: var(--gray-500);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 5px 12px;
  border-radius: 99px;
}

/* ===== HERO ===== */
.hero {
  padding: 140px 28px 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--positive);
  animation: pulse-live 2.5s infinite;
}

@keyframes pulse-live {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(26, 122, 74, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(26, 122, 74, 0);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  max-width: 16ch;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--gray-500);
}

.hero-body {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--gray-500);
  max-width: 54ch;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 64px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease);
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
}

.btn-arrow {
  transition: transform 0.2s var(--ease);
  font-size: 16px;
}

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

.btn-dark {
  background: var(--gray-900);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
  background: var(--gray-800);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(45, 91, 227, 0.25);
}

.btn-accent:hover {
  box-shadow: 0 4px 20px rgba(45, 91, 227, 0.35);
  transform: translateY(-1px);
}

.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 15px;
}

/* Hero stats */
.hero-divider {
  width: 100%;
  height: 1px;
  background: var(--gray-200);
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat b {
  display: block;
  font-family: var(--font-heading);
  font-size: 30px;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 13px;
  color: var(--gray-500);
}

/* ===== FEATURES ===== */
.features-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 100px 28px;
}

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--gray-900);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: 16px;
}

.section-body {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.feature-cell {
  background: var(--white);
  padding: 32px 28px;
}

.feature-cell:hover {
  background: var(--gray-50);
}

.feat-num {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--gray-200);
  font-style: italic;
  line-height: 1;
  margin-bottom: 16px;
}

.feature-cell h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-cell p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* How steps */
.how-section {
  padding: 100px 28px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

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

.step-card {
  padding: 28px 0;
  border-top: 2px solid var(--gray-200);
  transition: border-color 0.25s;
}

.step-card:hover {
  border-color: var(--gray-800);
}

.step-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* CTA Strip */
.cta-strip {
  background: var(--gray-900);
  padding: 80px 28px;
  text-align: center;
}

.cta-strip-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-strip h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.cta-strip p {
  font-size: 16px;
  color: var(--gray-400);
  margin-bottom: 32px;
  line-height: 1.65;
}

/* Segmented Pill Navigation */
.nav-pill-container {
  display: flex;
  align-items: center;
  background-color: #1c1c1c;
  border-radius: 99px;
  padding: 6px;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-pill-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 99px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-pill-item:not(.active) {
  padding: 8px 12px;
  color: #a1a1aa;
}

.nav-pill-item:not(.active):hover {
  color: #FFFFFF;
}

.nav-pill-item.active {
  background-color: #ffffff;
  color: #111111;
}

.nav-pill-item svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-pill-item span {
  display: inline-block;
  max-width: 100px;
  opacity: 1;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.3s ease, opacity 0.2s ease, margin 0.3s ease;
}

.nav-pill-item:not(.active) span {
  max-width: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .nav-pill-container {
    padding: 3px;
    gap: 2px;
  }
  .nav-pill-item {
    padding: 6px 10px;
    font-size: 12px;
    gap: 4px;
  }
  .nav-pill-item:not(.active) {
    padding: 6px 8px;
  }
  .nav-pill-item svg {
    width: 14px;
    height: 14px;
  }
  .nav-pill-item span {
    max-width: 70px;
    font-size: 11.5px;
  }
}

