/* @import Inter 400,500,600,700 from Google Fonts at very top */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bm-primary:     #0B6E4F;
  --bm-primary-lt:  #0e8a63;
  --bm-accent:      #F4A830;
  --bm-accent-dk:   #d4891a;
  --bm-dark:        #0F1923;
  --bm-dark-2:      #1a2738;
  --bm-light:       #F7F9FC;
  --bm-white:       #ffffff;
  --bm-text:        #1A2332;
  --bm-muted:       #6B7A8D;
  --bm-border:      #e2e8f0;
  --bm-radius:      12px;
  --bm-radius-lg:   20px;
  --bm-radius-pill: 100px;
  --bm-shadow:      0 4px 24px rgba(0,0,0,0.08);
  --bm-shadow-lg:   0 12px 48px rgba(0,0,0,0.15);
  --bm-font:        'Inter', system-ui, sans-serif;
  --bm-transition:  all 0.25s ease;
}

/* Full CSS reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--bm-font); color: var(--bm-text); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Utility classes */
.bm-container { max-width: 1200px; padding: 0 24px; margin: auto; }
.bm-section { padding: 100px 0; }
.bm-section-title { 
    font-size: clamp(28px,4vw,42px); 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: 16px; 
}
.bm-section-sub { 
    font-size: 18px; 
    color: var(--bm-muted); 
    max-width: 560px; 
    line-height: 1.6; 
}
.bm-animate { 
    opacity: 0; 
    transform: translateY(24px); 
    transition: opacity 0.6s ease, transform 0.6s ease; 
}
.bm-animate.visible { 
    opacity: 1; 
    transform: none; 
}

/* Button classes */
.bm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--bm-radius-pill);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--bm-transition);
    border: none;
    text-align: center;
}
.bm-btn-primary {
    background: var(--bm-accent);
    color: var(--bm-dark);
}
.bm-btn-primary:hover, .bm-btn-primary:focus {
    background: var(--bm-accent-dk);
    transform: translateY(-2px);
    box-shadow: var(--bm-shadow);
}
.bm-btn-primary-green {
    background: var(--bm-primary);
    color: white;
}
.bm-btn-primary-green:hover, .bm-btn-primary-green:focus {
    background: var(--bm-primary-lt);
    transform: translateY(-2px);
}
.bm-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}
.bm-btn-secondary:hover, .bm-btn-secondary:focus {
    border-color: white;
    background: rgba(255,255,255,0.08);
}
.bm-btn-outline {
    background: transparent;
    color: var(--bm-primary);
    border: 2px solid var(--bm-primary);
}
.bm-btn-outline:hover, .bm-btn-outline:focus {
    background: var(--bm-primary);
    color: white;
}

/* Card class */
.bm-card {
    background: white;
    border-radius: var(--bm-radius-lg);
    padding: 32px;
    box-shadow: var(--bm-shadow);
    transition: var(--bm-transition);
}
.bm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bm-shadow-lg);
}

/* === NAVIGATION === */
.bm-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    z-index: 1000;
    transition: var(--bm-transition);
}
.bm-nav--scrolled {
    background: rgba(15, 25, 35, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 48px;
    box-shadow: var(--bm-shadow);
}
.bm-nav__logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
}
.bm-nav__logo span { color: var(--bm-accent); }
.bm-nav__menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}
.bm-nav__menu a {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    transition: var(--bm-transition);
}
.bm-nav__menu a:hover, .bm-nav__menu a.active { color: white; }
.bm-nav__hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}
.bm-nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--bm-transition);
}

/* === HERO === */
.bm-hero {
    min-height: 100vh;
    background: var(--bm-dark);
    background-image: radial-gradient(ellipse at 20% 50%, rgba(11,110,79,0.3) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    position: relative;
}
.bm-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.bm-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--bm-radius-pill);
    border: 1px solid var(--bm-primary);
    color: var(--bm-primary);
    background: rgba(11,110,79,0.1);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    opacity: 0;
    animation: bmFadeIn 0.6s ease 0.2s forwards;
}
.bm-hero h1 {
    color: white;
    font-size: clamp(36px,6vw,72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    opacity: 0;
    animation: bmFadeIn 0.6s ease 0.4s forwards;
}
.bm-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 20px;
    max-width: 540px;
    margin: 0 auto 32px;
    line-height: 1.6;
    opacity: 0;
    animation: bmFadeIn 0.6s ease 0.6s forwards;
}
.bm-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    opacity: 0;
    animation: bmFadeIn 0.6s ease 0.8s forwards;
}
.bm-trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    opacity: 0;
    animation: bmFadeIn 0.6s ease 0.8s forwards;
}
.bm-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}
.bm-stats-row {
    margin-top: 64px;
    display: flex;
    justify-content: center;
    gap: 48px;
    opacity: 0;
    animation: bmFadeIn 0.6s ease 1s forwards;
}
.bm-stat { text-align: center; }
.bm-stat-number {
    display: block;
    color: white;
    font-weight: 700;
    font-size: clamp(32px,4vw,48px);
    margin-bottom: 4px;
}
.bm-stat-label {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
@keyframes bmFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

/* === HOW IT WORKS === */
.bm-how { background: var(--bm-light); text-align: center; }
.bm-how-header { margin-bottom: 64px; display:flex; flex-direction: column; align-items: center; }
.bm-how-grid {
    display: flex;
    gap: 32px;
    position: relative;
}
.bm-how-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--bm-border);
    z-index: 0;
}
.bm-step-card {
    flex: 1;
    position: relative;
    z-index: 1;
    text-align: center;
}
.bm-step-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--bm-primary);
    opacity: 0.15;
    position: absolute;
    top: -20px;
    right: 20px;
}
.bm-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(11,110,79,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--bm-primary);
}
.bm-step-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.bm-step-card p { color: var(--bm-muted); line-height: 1.6; }

/* === FEATURES === */
.bm-features { background: var(--bm-dark); color: white; }
.bm-features-header { text-align: center; margin-bottom: 64px; display:flex; align-items:center; flex-direction:column; }
.bm-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.bm-feature-card {
    background: var(--bm-dark-2);
    border: 1px solid transparent;
}
.bm-feature-card:hover { border-color: var(--bm-primary); box-shadow: 0 0 20px rgba(11,110,79,0.2); }
.bm-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11,110,79,0.2);
    color: var(--bm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.bm-feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px;}
.bm-feature-card p { color: rgba(255,255,255,0.7); line-height: 1.6; }
.bm-phase-badge {
    font-size: 11px;
    background: var(--bm-accent);
    color: var(--bm-dark);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* === PRICING === */
.bm-pricing { background: var(--bm-light); text-align: center; }
.bm-pricing-header { margin-bottom: 48px; display:flex; flex-direction:column; align-items:center; }
.bm-toggle-wrap { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 48px; font-weight: 600; }
.bm-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: center; margin-bottom: 64px; }
.bm-pricing-card { text-align: left; }
.bm-pricing-card h3 { font-size: 20px; margin-bottom: 8px; }
.bm-price { font-size: 40px; font-weight: 700; margin-bottom: 24px; color: var(--bm-text); }
.bm-price span { font-size: 16px; font-weight: 400; color: var(--bm-muted); }
.bm-pricing-features { list-style: none; margin-bottom: 32px; }
.bm-pricing-features li { margin-bottom: 16px; display: flex; align-items: flex-start; gap: 12px; color: var(--bm-muted); }
.bm-pricing-card.popular { background: var(--bm-primary); color: white; transform: scale(1.05); box-shadow: var(--bm-shadow-lg); position: relative; }
.bm-pricing-card.popular .bm-price, .bm-pricing-card.popular .bm-price span, .bm-pricing-card.popular .bm-pricing-features li { color: white; }
.bm-popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--bm-accent); color: var(--bm-dark); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--bm-radius-pill); }
.bm-engineer-callout { max-width: 600px; margin: 0 auto; border: 1px solid var(--bm-border); padding: 32px; border-radius: var(--bm-radius-lg); background: white; }
.bm-engineer-callout h4 { font-size: 18px; margin-bottom: 8px; }
.bm-engineer-callout p { color: var(--bm-muted); margin-bottom: 16px; }

/* === FOR CLINICS === */
.bm-clinics { background: white; }
.bm-clinics .bm-container { display: flex; align-items: center; gap: 64px; }
.bm-clinics-text { flex: 0 0 60%; }
.bm-clinics-visual { flex: 0 0 40%;}
.bm-clinics-text h2 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; margin: 16px 0 24px; }
.bm-clinics-text > p { font-size: 18px; color: var(--bm-muted); line-height: 1.6; margin-bottom: 32px; }
.bm-clinics-list { list-style: none; margin-bottom: 40px; }
.bm-clinics-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 500; font-size: 16px; }
.bm-mockup-card { background: white; border-radius: var(--bm-radius-lg); padding: 32px; box-shadow: var(--bm-shadow-lg); border: 1px solid var(--bm-border); position:relative; }
.bm-mockup-status { display: inline-flex; align-items: center; gap: 6px; background: rgba(11,110,79,0.1); color: var(--bm-primary); padding: 6px 12px; border-radius: var(--bm-radius-pill); font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.bm-mockup-item { margin-bottom: 16px; }
.bm-mockup-label { font-size: 12px; color: var(--bm-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.bm-mockup-value { font-weight: 600; font-size: 16px; }

/* === CONTACT === */
.bm-contact { background: var(--bm-light); }
.bm-contact .bm-container { display: flex; gap: 64px; }
.bm-contact-info { flex: 1; }
.bm-contact-form { flex: 1; background: white; padding: 40px; border-radius: var(--bm-radius-lg); box-shadow: var(--bm-shadow); }
.bm-contact-info h2 { font-size: 36px; margin-bottom: 16px; }
.bm-contact-info > p { color: var(--bm-muted); font-size: 18px; margin-bottom: 40px; }
.bm-contact-details { margin-bottom: 40px; }
.bm-contact-details p { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 16px; font-weight: 500; }

/* === WAITLIST === */
.bm-waitlist { background: var(--bm-primary); color: white; padding: 120px 0; text-align: center; }
.bm-waitlist-content { max-width: 640px; margin: 0 auto; }
.bm-waitlist-eyebrow { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; display: block; opacity: 0.8; }
.bm-waitlist h2 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 24px; }
.bm-waitlist-sub { font-size: 18px; opacity: 0.9; margin-bottom: 40px; }
.bm-waitlist-form-wrap { background: white; padding: 8px; border-radius: 100px; display: flex; gap: 8px; margin-bottom: 16px; }
.bm-waitlist-input, .bm-waitlist-select { border: none; padding: 16px 24px; font-size: 16px; outline: none; background: transparent; font-family: inherit; }
.bm-waitlist-input { flex: 1; }
.bm-waitlist-select { color: var(--bm-text); border-left: 1px solid var(--bm-border); }
.bm-waitlist .bm-btn { margin: 0; white-space: nowrap; }
.bm-waitlist-note { font-size: 13px; opacity: 0.7; }
.bm-waitlist-success { font-size: 20px; font-weight: 600; display: none; padding: 32px; border: 2px dashed rgba(255,255,255,0.4); border-radius: var(--bm-radius-lg); }

/* === FOOTER === */
.bm-footer { background: var(--bm-dark); color: white; padding: 80px 0 32px; }
.bm-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.bm-footer-brand p { color: rgba(255,255,255,0.7); margin-top: 16px; line-height: 1.6; }
.bm-footer-builtby { font-size: 13px; opacity: 0.6; margin-top: 8px !important; }
.bm-footer-links, .bm-footer-contact { display: flex; flex-direction: column; gap: 12px; }
.bm-footer-links a, .bm-footer-contact a { color: rgba(255,255,255,0.7); transition: var(--bm-transition); }
.bm-footer-links a:hover, .bm-footer-contact a:hover { color: var(--bm-primary); }
.bm-footer-contact p { color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.bm-footer-social { display: flex; gap: 16px; }
.bm-footer-social a { color: white; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.bm-footer-social a:hover { background: var(--bm-primary); }
.bm-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; text-align: center; color: rgba(255,255,255,0.5); font-size: 14px; }

/* === RESPONSIVE === */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .bm-how__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bm-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bm-pricing__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .bm-pricing__card--popular {
    transform: scale(1.02);
  }
  .bm-clinics__inner {
    gap: 40px;
  }
}

/* Mobile — 768px */
@media (max-width: 768px) {

  /* === GLOBAL === */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .bm-container {
    padding: 0 20px;
    width: 100%;
  }
  .bm-section {
    padding: 60px 0;
  }
  .bm-section-title {
    font-size: 28px;
  }
  .bm-section-sub {
    font-size: 16px;
  }

  /* === HERO === */
  .bm-hero {
    min-height: 100svh;
    padding: 80px 0 40px;
  }
  .bm-hero .bm-container {
    padding: 0 20px;
  }
  .bm-hero__content {
    text-align: center;
    align-items: center;
    padding: 0;
  }
  .bm-hero__eyebrow {
    margin: 0 auto 20px;
  }
  .bm-hero h1 {
    font-size: clamp(32px, 8vw, 52px);
    text-align: center;
  }
  .bm-hero__sub {
    font-size: 16px;
    text-align: center;
    max-width: 100%;
  }
  .bm-hero__buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    align-items: center;
  }
  .bm-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .bm-hero__trust {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
  }
  .bm-hero__stats {
    flex-direction: row;
    justify-content: space-around;
    padding: 24px 16px;
    gap: 0;
    flex-wrap: nowrap;
  }
  .bm-stat {
    flex: 1;
    text-align: center;
    padding: 0 4px;
  }
  .bm-stat-divider {
    display: block;
    width: 1px;
    background: rgba(255,255,255,0.15);
    align-self: stretch;
  }
  .bm-stat-number {
    font-size: clamp(18px, 5vw, 28px);
  }
  .bm-stat-label {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  /* === HOW IT WORKS === */
  .bm-how__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bm-how__card {
    width: 100%;
  }
  .bm-how__connector {
    display: none;
  }

  /* === FEATURES === */
  .bm-features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* === PRICING === */
  .bm-pricing__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 380px;
    margin: 0 auto;
  }
  .bm-pricing__card--popular {
    transform: none;
    order: -1;
  }
  .bm-pricing__toggle {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* === FOR CLINICS === */
  .bm-clinics__inner {
    flex-direction: column;
    gap: 40px;
  }
  .bm-clinics__text {
    width: 100%;
    text-align: center;
  }
  .bm-clinics__benefits {
    align-items: center;
  }
  .bm-clinics__visual {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
  .bm-clinics__buttons {
    justify-content: center;
  }

  /* === WAITLIST === */
  .bm-waitlist__form {
    flex-direction: column;
    gap: 12px;
  }
  .bm-waitlist__form input,
  .bm-waitlist__form select {
    width: 100%;
  }
  .bm-waitlist__form .bm-btn {
    width: 100%;
    max-width: 100%;
  }
  .bm-waitlist__avatars {
    justify-content: center;
  }
}

/* Small phones — 480px */
@media (max-width: 480px) {
  .bm-hero h1 {
    font-size: 28px;
  }
  .bm-stat-number {
    font-size: 18px;
  }
  .bm-stat-label {
    font-size: 8px;
  }
  .bm-pricing__grid {
    max-width: 100%;
  }
  .bm-section-title {
    font-size: 24px;
  }
}
