/* ============================================
   ClinicEvolve — Design System & Styles
   Brand Guidelines v1.0 · May 2026
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@400;500;600&family=Poppins:wght@700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Primary Palette */
  --brand-black: #0F0F0F;
  --surface-dark: #1A1A1A;
  --brand-gold: #C9A84C;
  --pure-white: #FFFFFF;

  /* Secondary Palette */
  --gold-light: #E2C47A;
  --grey-mid: #8A8A8A;
  --grey-light: #D4D4D4;
  --alert-red: #C0392B;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-logo: 'Poppins', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-max: 1140px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--brand-black);
  color: var(--grey-light);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Typography --- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 20px;
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--pure-white);
  line-height: 1.2;
}

h1 {
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 700;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 24px);
}

.gold-text {
  color: var(--brand-gold);
}

.subheadline {
  font-size: 18px;
  color: var(--grey-mid);
  max-width: 640px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--brand-gold);
  color: var(--brand-black);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-primary .arrow {
  transition: transform var(--transition-fast);
  font-size: 18px;
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--brand-gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 6px;
  border: 1.5px solid var(--brand-gold);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background-color: var(--brand-gold);
  color: var(--brand-black);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0;
  color: var(--pure-white);
}

.logo span {
  color: var(--brand-gold);
  letter-spacing: -1px;
}

.nav-cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 22px;
  border: 1.5px solid rgba(201, 168, 76, 0.5);
  border-radius: 5px;
  color: var(--brand-gold);
  transition: all var(--transition-fast);
  letter-spacing: 0.3px;
}

.nav-cta:hover {
  background-color: var(--brand-gold);
  color: var(--brand-black);
  border-color: var(--brand-gold);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 30%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero h1 {
  margin-bottom: 28px;
}

.hero .body-text {
  font-size: 17px;
  color: var(--grey-light);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-bullets {
  text-align: left;
  display: inline-block;
  margin-bottom: 44px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 16px;
  color: var(--grey-light);
}

.hero-bullets li::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background-color: var(--brand-gold);
  border-radius: 50%;
  margin-top: 8px;
}

.cta-subtext {
  font-size: 13px;
  color: var(--grey-mid);
  margin-top: 16px;
}

/* --- Section Base --- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section--alt {
  background-color: var(--surface-dark);
}

.section-header {
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header .subheadline {
  margin-top: 12px;
}

.section-header.center .subheadline {
  margin-left: auto;
  margin-right: auto;
}

/* --- Divider --- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

/* --- Problem Section --- */
.problem-body {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--grey-light);
}

.problem-body p {
  margin-bottom: 20px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 20px;
}

.problem-insight-card {
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 10px;
  padding: 32px;
}

.problem-insight-card p {
  font-size: 16px;
  color: var(--grey-mid);
  line-height: 1.7;
}

.problem-insight-card .highlight {
  color: var(--pure-white);
  font-weight: 500;
}

/* --- Leak Points / Cards --- */
.leak-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.leak-card {
  background: var(--surface-dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 36px 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.section--alt .leak-card {
  background: var(--brand-black);
}

.leak-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.leak-card:hover::before {
  transform: scaleX(1);
}

.leak-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-3px);
}

.leak-card .card-number {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--brand-gold);
  margin-bottom: 16px;
  font-weight: 600;
}

.leak-card h3 {
  font-size: 19px;
  margin-bottom: 14px;
  color: var(--pure-white);
}

.leak-card p {
  font-size: 15px;
  color: var(--grey-mid);
  line-height: 1.7;
}

/* --- Framework Section --- */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.framework-card {
  background: rgba(201, 168, 76, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  padding: 40px 30px;
  transition: all var(--transition-base);
  position: relative;
}

.framework-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.06);
}

.framework-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--brand-gold);
  font-size: 22px;
}

.framework-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.framework-card p {
  font-size: 15px;
  color: var(--grey-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.framework-card .note {
  font-size: 13px;
  color: var(--brand-gold);
  font-style: italic;
  opacity: 0.8;
}

.framework-closing {
  text-align: center;
  font-size: 20px;
  color: var(--pure-white);
  font-family: var(--font-display);
  font-weight: 600;
}

/* --- Who It's For Section --- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

.audience-card {
  background: var(--surface-dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px 32px;
  transition: all var(--transition-base);
}

.audience-card:hover {
  border-color: rgba(201, 168, 76, 0.15);
}

.audience-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--pure-white);
}

.audience-card p {
  font-size: 15px;
  color: var(--grey-mid);
  line-height: 1.75;
}

.criteria-list {
  margin-top: 32px;
}

.criteria-list h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.criteria-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--grey-light);
}

.criteria-list li .check {
  color: var(--brand-gold);
  font-size: 16px;
  margin-top: 2px;
  min-width: 18px;
}

.audience-closing {
  font-size: 16px;
  color: var(--grey-mid);
  text-align: center;
  margin-top: 36px;
  font-style: italic;
}

/* --- What We Are Not --- */
.not-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
  max-width: 800px;
}

.not-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--surface-dark);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.not-item .x-mark {
  color: var(--alert-red);
  font-weight: 700;
  font-size: 18px;
  min-width: 24px;
  text-align: center;
}

.not-item p {
  font-size: 15px;
  color: var(--grey-light);
}

.not-closing {
  font-size: 17px;
  color: var(--pure-white);
  margin-top: 16px;
  font-weight: 500;
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), rgba(201, 168, 76, 0.3), transparent);
}

.step-card {
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--brand-gold);
  background: var(--brand-black);
  position: relative;
  z-index: 2;
}

.section--alt .step-number {
  background: var(--surface-dark);
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--grey-mid);
  line-height: 1.7;
}

/* --- Who We Are --- */
.belief-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.belief-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  color: var(--brand-gold);
  margin-bottom: 32px;
  line-height: 1.4;
  position: relative;
  padding: 0 20px;
}

.belief-body p {
  font-size: 17px;
  color: var(--grey-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* --- Founder Section --- */
.founder-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
}

.founder-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface-dark), rgba(201, 168, 76, 0.15));
  border: 2px solid rgba(201, 168, 76, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--brand-gold);
}

.founder-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 4px;
}

.founder-title {
  font-size: 14px;
  color: var(--brand-gold);
  margin-bottom: 20px;
}

.founder-bio p {
  font-size: 16px;
  color: var(--grey-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-gold);
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px;
  transition: color var(--transition-fast);
}

.founder-linkedin:hover {
  color: var(--gold-light);
}

/* --- Review / CTA Section --- */
.review-section {
  padding: 100px 0;
  background: var(--surface-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.review-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.review-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.review-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.review-step {
  text-align: center;
  padding: 24px 16px;
}

.review-step .step-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-step p {
  font-size: 14px;
  color: var(--grey-mid);
  line-height: 1.6;
}

.review-badge {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 100px;
  font-size: 13px;
  color: var(--brand-gold);
  margin-bottom: 32px;
  font-weight: 500;
}

.review-guarantee {
  font-size: 15px;
  color: var(--grey-mid);
  line-height: 1.7;
  margin-bottom: 36px;
}

.review-guarantee strong {
  color: var(--pure-white);
  font-weight: 500;
}

/* --- Footer --- */
.footer {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left .logo {
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--grey-mid);
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  font-size: 13px;
  color: var(--grey-mid);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-gold);
}

.footer-links .dot {
  color: rgba(255, 255, 255, 0.15);
  font-size: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--grey-mid);
  opacity: 0.6;
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }
.fade-up-delay-6 { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .leak-grid,
  .framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-grid::before {
    display: none;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .leak-grid,
  .framework-grid,
  .audience-grid,
  .not-list,
  .review-steps {
    grid-template-columns: 1fr;
  }

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

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

  .founder-avatar {
    margin: 0 auto;
  }

  .hero {
    min-height: auto;
    padding: 140px 20px 80px;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .navbar .container {
    padding: 0 20px;
  }

  .nav-cta {
    display: none;
  }

  .logo {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 64px 0;
  }

  .hero {
    padding: 120px 16px 64px;
  }

  .btn-primary {
    padding: 14px 28px;
    font-size: 14px;
  }
}
