/* ========================================
   Hebdio Landing Page — Style
   ======================================== */

:root {
  --peach: #D4845A;
  --peach-light: #FAEFE8;
  --peach-dark: #B86B3F;
  --sage: #7BA39E;
  --lavender: #8B7EC8;
  --terracotta: #C17C60;
  --green: #6BAF8A;

  --bg: #FAFAF8;
  --bg-dark: #0D0D0F;
  --surface: #FFFFFF;
  --surface-hover: #F5F5F3;
  --border: #E8E6E1;
  --border-light: #F0EDE8;

  --text: #1A1A1E;
  --text-secondary: #6B6B76;
  --text-muted: #9C9CA8;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-xl: 0 16px 64px rgba(0,0,0,0.1);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
}
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--text);
  color: white;
}
.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.nav-links .btn-nav {
  background: var(--peach);
  color: white;
  padding: 8px 18px;
  font-size: 0.85rem;
}
.nav-links .btn-nav:hover {
  background: var(--peach-dark);
  color: white;
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--text-muted);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}
.btn-glow {
  background: var(--peach);
  box-shadow: 0 0 0 0 rgba(212, 132, 90, 0.4);
  animation: glow 2s ease-in-out infinite;
}
.btn-glow:hover {
  background: var(--peach-dark);
  transform: translateY(-2px);
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 132, 90, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(212, 132, 90, 0); }
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.orb-1 {
  width: 600px; height: 600px;
  background: var(--peach-light);
  top: -200px; right: -100px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: #E8E0F5;
  bottom: -100px; left: -100px;
}
.orb-3 {
  width: 300px; height: 300px;
  background: #D8EDE8;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  align-self: center;
}
.rotating-text-wrapper {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
  height: 1.25em;
  line-height: 1;
  text-align: left;
  padding-bottom: 0.25em;
}
.rotating-text {
  display: inline-block;
  font-weight: 700;
  color: var(--peach-dark);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--peach), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.avatars {
  display: flex;
  margin-right: 4px;
}
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid var(--bg);
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }

/* Devices Showcase */
.hero-visual {
  max-width: 1100px;
  margin: 60px auto 0;
  position: relative;
}
.devices-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  position: relative;
  min-height: 520px;
  padding: 0 20px;
}
.device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.device-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.device-label-primary {
  color: var(--peach);
  font-size: 0.85rem;
}
.device-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.device-screen {
  background: var(--bg);
}

/* Desktop device */
.device-desktop {
  position: relative;
  z-index: 1;
  transform: translateX(60px);
  opacity: 0.85;
}
.device-desktop .device-frame {
  width: 380px;
  border-radius: var(--radius-lg);
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #F8F7F5;
  border-bottom: 1px solid var(--border-light);
}
.app-preview-dots {
  display: flex;
  gap: 5px;
}
.app-preview-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.app-preview-dots span:first-child { background: #FF6058; }
.app-preview-dots span:nth-child(2) { background: #FFBE2E; }
.app-preview-dots span:nth-child(3) { background: #27CA40; }
.app-preview-url {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
}
/* Real sidebar */
.mock-sidebar-real {
  width: 100px;
  padding: 8px 6px;
  border-right: 1px solid var(--border-light);
  float: left;
  min-height: 280px;
  background: var(--surface);
}
.mock-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px 10px;
  font-size: 0.6rem;
  font-weight: 700;
}
.mock-logo-img {
  width: 18px;
  height: 18px;
  border-radius: 3px;
}
.mock-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mock-sidebar-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 6px;
  border-radius: 4px;
  font-size: 0.5rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.mock-sidebar-item.active {
  background: var(--peach-light);
  color: var(--peach-dark);
  font-weight: 600;
}
.mock-sidebar-item svg { flex-shrink: 0; }
.mock-main-mini {
  padding: 10px;
  margin-left: 100px;
}
/* View toggle */
.mock-view-toggle {
  display: flex;
  gap: 0;
  font-size: 0.55rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.mock-view-toggle span {
  padding: 2px 6px;
  color: var(--text-secondary);
}
.mock-view-toggle span.active {
  background: var(--peach);
  color: white;
}
/* Time grid */
.mock-timegrid {
  display: flex;
  gap: 0;
  margin-top: 8px;
  height: 200px;
  position: relative;
}
.mock-tg-hours {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  font-size: 0.45rem;
  color: var(--text-muted);
  text-align: right;
  padding-right: 4px;
  border-right: 1px solid var(--border-light);
}
.mock-tg-cols {
  flex: 1;
  display: flex;
  gap: 2px;
  padding-left: 2px;
}
.mock-tg-col {
  flex: 1;
  position: relative;
  border-right: 1px solid var(--border-light);
}
.mock-tg-col:last-child { border-right: none; }
.mock-tg-event {
  position: absolute;
  left: 1px;
  right: 1px;
  border-radius: 3px;
  font-size: 0.45rem;
  font-weight: 600;
  padding: 2px 3px;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.2;
}
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mock-title {
  font-weight: 700;
  font-size: 0.85rem;
}
.mock-badge-green {
  background: #E8F9EC;
  color: #1B8B36;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
}
.mock-calendar {
  display: flex;
  gap: 6px;
}
.mock-day {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 6px;
  border-right: 1px solid var(--border-light);
}
.mock-day.last { border-right: none; padding-right: 0; }
.mock-day-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-event {
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 0.55rem;
  font-weight: 500;
  white-space: nowrap;
}
.mock-event.ev-1 { background: var(--peach-light); color: var(--peach-dark); }
.mock-event.ev-2 { background: #E0EDE8; color: #3D7A6B; }
.mock-event.ev-3 { background: #E8E0F5; color: #6B5BA8; }
.mock-event.ev-4 { background: #FCE8E0; color: #B85C3F; }

/* Phone device (center, hero) */
.device-phone {
  position: relative;
  z-index: 10;
}
.phone-frame {
  width: 280px;
  border-radius: 36px;
  border-width: 4px;
  padding: 8px;
  background: #1A1A1E;
  border-color: #2A2A2E;
}
.phone-notch {
  width: 100px;
  height: 24px;
  background: #1A1A1E;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 0;
  position: relative;
  z-index: 2;
  margin-top: -8px;
}
.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg);
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
}
.phone-status-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}
.phone-header {
  padding: 12px 20px 16px;
}
.phone-greeting {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.phone-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}
/* Stat cards */
.phone-stats-row {
  display: flex;
  gap: 8px;
  padding: 0 20px 14px;
}
.phone-stat-card {
  flex: 1;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.phone-stat-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.phone-stat-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.phone-section-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.phone-today {
  padding: 0 20px;
  flex: 1;
}
/* Planning list */
.phone-planning {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.phone-plan-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.phone-plan-item:last-child { border-bottom: none; }
.phone-plan-item.active {
  background: rgba(212,132,90,0.06);
  border: 1px solid rgba(212,132,90,0.2);
  border-radius: var(--radius-md);
  padding: 8px;
  margin: -1px 0;
  border-bottom: 1px solid rgba(212,132,90,0.2);
}
.phone-plan-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 32px;
  flex-shrink: 0;
}
.phone-plan-start {
  font-size: 0.7rem;
  font-weight: 700;
}
.phone-plan-end {
  font-size: 0.55rem;
  color: var(--text-muted);
}
.phone-plan-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  flex-shrink: 0;
}
.phone-plan-info {
  flex: 1;
  min-width: 0;
}
.phone-plan-info strong {
  display: block;
  font-size: 0.75rem;
}
.phone-plan-info span {
  font-size: 0.6rem;
  color: var(--text-muted);
}
.phone-plan-chevron {
  color: var(--text-muted);
  flex-shrink: 0;
}
.phone-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 6px 0 4px;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  background: var(--surface);
}
.phone-tab {
  color: var(--text-muted);
  padding: 2px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: 0.5rem;
  font-weight: 500;
}
.phone-tab.active { color: var(--peach); }
.phone-tab svg { width: 18px; height: 18px; }

/* Tablet device */
.device-tablet {
  position: relative;
  z-index: 1;
  transform: translateX(-60px);
  opacity: 0.85;
}
.tablet-frame {
  width: 300px;
  border-radius: 20px;
  border-width: 3px;
  padding: 6px;
  background: #2A2A2E;
  border-color: #3A3A3E;
}
.tablet-screen {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  min-height: 380px;
}
.tablet-header {
  padding: 14px 16px 8px;
}
.tablet-header .mock-title {
  font-size: 1rem;
  font-weight: 700;
}
.tablet-searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin: 0 12px 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.tablet-list {
  padding: 4px 8px;
}
.tablet-patient {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-md);
}
.tablet-patient-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.6rem;
  flex-shrink: 0;
}
.tablet-patient-info {
  flex: 1;
}
.tablet-patient-info strong {
  display: block;
  font-size: 0.8rem;
}
.tablet-patient-info span {
  font-size: 0.65rem;
  color: var(--text-muted);
}
.tablet-chevron {
  color: var(--text-muted);
  flex-shrink: 0;
}
.tablet-fab {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 36px; height: 36px;
  background: var(--peach);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  box-shadow: var(--shadow-md);
}
.tablet-screen {
  position: relative;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
}
/* Pricing block */
.pricing-block {
  max-width: 480px;
  margin: 0 auto 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

/* Toggle */
.pricing-toggle {
  display: flex;
  position: relative;
  background: var(--surface-hover);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 28px;
}
.pricing-toggle-btn {
  flex: 1;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.pricing-toggle-btn.active {
  color: var(--text);
}
.pricing-toggle-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--surface);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-toggle-indicator.right {
  transform: translateX(100%);
}

/* Plan panels */
.pricing-panel {
  display: none;
}
.pricing-panel.active {
  display: block;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.pricing-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.pricing-unit {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.pricing-billing {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}
.pricing-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.pricing-sub-right {
  text-align: right;
  display: block;
  width: 100%;
}
.pricing-sub strong {
  color: var(--text);
}
.pricing-divider {
  height: 1px;
  background: var(--border-light);
  margin-bottom: 18px;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pricing-feature .pricing-check {
  margin-top: 2px;
}
.pricing-feature-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  opacity: 0.8;
}
.pricing-check {
  color: var(--peach);
  font-size: 0.9rem;
  font-weight: 600;
}
.pricing-estimate {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
}
.pricing-estimate-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.pricing-estimate-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.pricing-estimate-period {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Slider */
.pricing-slider-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.pricing-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.pricing-slider-header span:first-child {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-slider-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--peach);
}
.pricing-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(90deg, var(--peach) var(--pct, 37.5%), var(--border) var(--pct, 37.5%));
}
.pricing-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--peach);
  box-shadow: 0 2px 8px rgba(212,132,90,0.2);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pricing-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 12px rgba(212,132,90,0.3);
}
.pricing-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--peach);
  box-shadow: 0 2px 8px rgba(212,132,90,0.2);
  cursor: pointer;
}
.pricing-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Insight */
.pricing-insight {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--peach-light);
  text-align: center;
  font-size: 0.85rem;
  color: var(--peach-dark);
  line-height: 1.5;
  transition: all 0.3s ease;
}
.pricing-insight-crossover {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-footer {
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ========================================
   Workflow
   ======================================== */
.workflow {
  padding: 100px 0;
  background: var(--peach-light);
}
.feature-columns {
  display: flex;
  justify-content: center;
  gap: 64px;
  max-width: 960px;
  margin: 0 auto;
}
.feature-col {
  flex: 1 1 0;
  min-width: 0;
}
.feature-col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--peach);
  margin-bottom: 16px;
}
.feature-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-col li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-col li svg {
  flex-shrink: 0;
  color: var(--peach);
  opacity: 0.7;
}
@media (max-width: 768px) {
  .feature-columns {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  .feature-col { text-align: center; }
  .feature-col li { justify-content: center; }
}
.workflow .section-header {
  margin-bottom: 40px;
}
.workflow .section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}
.workflow .section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}
/* ========================================
   Features
   ======================================== */
.features {
  padding: 120px 0;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  background: var(--peach-light);
  color: var(--peach-dark);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
/* Day timeline */
.day-timeline {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 960px;
  margin: 0 auto;
}
.day-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.day-step-reverse {
  direction: rtl;
}
.day-step-reverse > * {
  direction: ltr;
}
.day-step-final {
  display: flex;
  justify-content: center;
}
.day-step-text-centered {
  text-align: center;
  max-width: 480px;
}
.day-time {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--peach);
  background: var(--peach-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.day-step-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.day-step-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.day-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* Day mocks */
.day-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.day-mock-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
}
.day-mock-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.day-mock-content {
  padding: 16px;
}

/* Agenda mock */
.day-agenda-header {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.day-agenda-item {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-size: 0.85rem;
}
.day-agenda-item.pro {
  background: var(--peach-light);
  color: var(--peach-dark);
}
.day-agenda-item.perso {
  background: #E0EDE8;
  color: #3D7A6B;
}
.day-agenda-time {
  font-weight: 700;
  min-width: 40px;
}
.day-agenda-label {
  font-weight: 500;
}

/* Patient mock */
.day-patient-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.day-patient-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--peach-light);
  color: var(--peach-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.day-patient-header strong {
  display: block;
  font-size: 0.95rem;
}
.day-patient-header span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.day-patient-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.day-note {
  background: #F8F7F5;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.day-note-date {
  display: block;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}

/* Invoice mock */
.day-invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 600;
}
.day-invoice-badge {
  background: #E0EDE8;
  color: #3D7A6B;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.day-invoice-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
}
.day-invoice-row.sub {
  color: var(--text-secondary);
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.day-invoice-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 500;
}

/* Payment mock */
.day-mock-payment .day-mock-content {
  text-align: center;
  padding: 28px 16px;
}
.day-payment-icon {
  margin-bottom: 12px;
}
.day-payment-amount {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.day-payment-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 6px;
}
.day-payment-detail {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Tap to pay mock */
.day-mock-tappay .day-mock-content {
  padding: 20px 16px;
}
.day-tappay-top {
  text-align: center;
  padding-bottom: 16px;
}
.day-tappay-icon {
  margin-bottom: 8px;
}
.day-tappay-amount {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.day-tappay-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
}
.day-tappay-divider {
  border-top: 1px dashed var(--border-light);
  margin: 0 -16px;
}
.day-tappay-bottom {
  padding-top: 14px;
}
.day-tappay-invoice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.day-tappay-confirm {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--green);
}

/* ========================================
   How it Works
   ======================================== */
.how-it-works {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.step {
  text-align: center;
  max-width: 280px;
}
.step-number {
  width: 56px; height: 56px;
  background: var(--peach);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}
.step-arrow {
  margin-top: 16px;
  color: var(--border);
}

/* ========================================
   Stats
   ======================================== */
.stats-section {
  padding: 100px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  text-align: center;
}
.stat-value {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--peach);
}
.stat-unit {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
}
.stat-unit.special { color: var(--green); }
.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #F5A623;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb-cta-1 {
  width: 500px; height: 500px;
  background: var(--peach-light);
  top: -150px; right: -100px;
  opacity: 0.6;
}
.orb-cta-2 {
  width: 400px; height: 400px;
  background: #E8E0F5;
  bottom: -150px; left: -100px;
  opacity: 0.5;
}
.cta-content {
  position: relative;
  text-align: center;
  max-width: 600px;
}
.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-note {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================
   Animations
   ======================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .devices-showcase { gap: 0; min-height: 450px; }
  .device-desktop { transform: translateX(40px); }
  .device-desktop .device-frame { width: 300px; }
  .device-tablet { transform: translateX(-40px); }
  .tablet-frame { width: 240px; }
  .phone-frame { width: 240px; }
  .phone-screen { min-height: 400px; }

  .day-step {
    gap: 32px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }
  .nav-toggle { display: flex; }

  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }

  /* Devices: hide desktop & tablet on mobile, show phone only */
  .device-desktop, .device-tablet { display: none; }
  .device-phone { transform: none; }
  .devices-showcase { min-height: auto; }

  /* Pricing */
  .pricing-block {
    padding: 24px 20px;
  }

  .day-step,
  .day-step.day-step-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .day-step-text { order: 1; }
  .day-step-visual { order: 2; }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }
  .step-arrow {
    transform: rotate(90deg);
    margin: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .stat-value { font-size: 2.5rem; }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 2;
  }

}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { justify-content: center; }
  .hero-proof { flex-direction: column; gap: 8px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .phone-frame { width: 260px; }
}
