/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F7F5F0;
  --bg-alt: #EFECE5;
  --fg: #141413;
  --fg-muted: #6B6860;
  --accent: #D97706;
  --accent-dark: #B45309;
  --accent-bg: #FEF3C7;
  --border: #D9D6CE;
  --card: #FFFFFF;
  --card-border: #E5E1DA;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-family: 'DM Sans', sans-serif;
}

.section-headline {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 3rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 4rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  background: var(--accent-bg);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  width: fit-content;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.headline-em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: #3D3B38;
  margin-bottom: 1rem;
  max-width: 520px;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--fg-muted);
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  max-width: 480px;
  margin-top: 0.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3);
  width: fit-content;
}

.hero-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.hero-cta:active {
  transform: translateY(0);
}

/* Hero right side */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.channel-icons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.channel-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(20,20,19,0.06);
  width: 100%;
}

.channel-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.slack-icon { background: #4A154B; color: #fff; }
.imessage-icon { background: #000; color: #fff; }
.sms-icon { background: var(--accent); color: #fff; }

.channel-check {
  margin-left: auto;
  color: #22C55E;
  display: flex;
  align-items: center;
}

.cost-badge {
  background: var(--fg);
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  width: 100%;
}

.cost-badge-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
}

.cost-badge-amount {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
}

/* === COSTBAR === */
.costbar {
  background: var(--fg);
  color: #fff;
  padding: 2.5rem 4rem;
}

.costbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.costbar-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.costbar-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

.costbar-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.costbar-period {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.7;
}

.costbar-old { text-decoration: line-through; color: rgba(255,255,255,0.4); }
.costbar-new { color: #FCD34D; }

.costbar-divider {
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
}

.costbar-savings .costbar-value { color: #22C55E; }

/* === PROCESS === */
.process {
  padding: 7rem 0;
  background: var(--bg);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
  position: relative;
}

.step {
  position: relative;
  padding-left: 0;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Syne', sans-serif;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === PRICING === */
.pricing {
  padding: 7rem 0;
  background: var(--bg-alt);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(20,20,19,0.05);
}

.pricing-managed {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 4px 24px rgba(217,119,6,0.12);
  position: relative;
}

.pricing-tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.pricing-price {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.pricing-per {
  font-size: 1.2rem;
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;
}

.pricing-onetime {
  font-size: 1rem;
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;
  color: var(--fg-muted);
}

.pricing-desc {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  font-size: 0.95rem;
  color: #3D3B38;
  padding-left: 1.25rem;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.pricing-tag {
  font-size: 0.75rem;
  color: var(--fg-muted);
  border-top: 1px solid var(--card-border);
  padding-top: 1rem;
  font-style: italic;
}

.tag-featured {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

.pricing-cta {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.15s;
}

.pricing-cta:hover {
  background: var(--accent-dark);
}

/* === OUTCOMES === */
.outcomes {
  padding: 7rem 0;
  background: var(--bg);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
}

.outcome {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.outcome-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.outcome h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-family: 'Syne', sans-serif;
}

.outcome p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === CLOSING === */
.closing {
  padding: 8rem 0;
  background: var(--fg);
  color: #fff;
  text-align: center;
}

.closing-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.closing-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.closing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.closing-cta .cta-text {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

/* === FOOTER === */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-sep {
  color: var(--fg-muted);
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--fg-muted);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero-visual {
    width: 100%;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

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

  .costbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .costbar-divider {
    display: none;
  }

  .costbar {
    padding: 2rem 1.5rem;
  }

  .closing {
    padding: 5rem 1.5rem;
  }

  .footer {
    padding: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-headline {
    margin-bottom: 2rem;
  }
}

/* === BOOKING MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 19, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(20, 20, 19, 0.2);
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-headline {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--fg);
}

.modal-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
}

/* Form elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6860' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.form-hint {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-top: 0.4rem;
}

/* Radio cards */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 0.95rem;
  color: var(--fg);
}

.radio-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.radio-card:hover {
  border-color: var(--accent);
}

.radio-card input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.radio-label {
  font-weight: 500;
}

/* Submit button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3);
  margin-top: 0.5rem;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Calendly section */
#modal-step-calendly {
  /* step 2 container */
}

#calendly-embed-container {
  position: relative;
}

/* Placeholder shown until real Calendly URL is set */
.calendly-placeholder {
  background: var(--bg-alt);
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.calendly-placeholder code {
  background: var(--bg);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85em;
}

/* Modal close button */
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--fg-muted);
  transition: background 0.15s, color 0.15s;
}

.modal-close:hover {
  background: var(--border);
  color: var(--fg);
}

/* Responsive */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.4rem;
  }

  .pricing-price {
    font-size: 2.5rem;
  }

  .modal-panel {
    padding: 1.75rem;
  }

  .modal-headline {
    font-size: 1.4rem;
  }
}