/* Smooth gradient flow background across hero, features, and why sections */
.gradient-flow-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 320vh;
  /* cover hero -> features -> why with buffer */
  pointer-events: none;
  z-index: 0;
  background:
    /* primary glow flowing from hero into features */
    radial-gradient(900px 600px at 78% 18%, rgba(0, 240, 193, 0.35) 0%, rgba(0, 240, 193, 0.15) 40%, rgba(255, 255, 255, 0) 70%),
    /* subtle cool tint near the left/top */
    radial-gradient(700px 460px at 15% 8%, rgba(10, 134, 200, 0.12) 0%, rgba(10, 134, 200, 0.06) 45%, rgba(255, 255, 255, 0) 75%),
    /* low accent towards why */
    radial-gradient(1000px 620px at 40% 85%, rgba(0, 184, 148, 0.10) 0%, rgba(0, 184, 148, 0.0) 70%);
  filter: saturate(110%);
}

/* When applied directly to page content containers, do NOT fix it.
   This prevents layout/scroll issues on case pages. */
.main.gradient-flow-bg,
.site-main.gradient-flow-bg {
  position: static;
  width: 100%;
  height: auto;
  pointer-events: auto;
  z-index: auto;
}

/* Softer variant for features.html (reduced opacity/intensity) */
.gradient-flow-bg--features {
  /* dial down each stop slightly vs index */
  background:
    /* primary glow */
    radial-gradient(900px 600px at 78% 18%, rgba(0, 240, 193, 0.26) 0%, rgba(0, 240, 193, 0.10) 40%, rgba(255, 255, 255, 0) 70%),
    /* cool tint */
    radial-gradient(700px 460px at 15% 8%, rgba(10, 134, 200, 0.09) 0%, rgba(10, 134, 200, 0.04) 45%, rgba(255, 255, 255, 0) 75%),
    /* low accent */
    radial-gradient(1000px 620px at 40% 85%, rgba(0, 184, 148, 0.07) 0%, rgba(0, 184, 148, 0.0) 70%);
  filter: saturate(105%);
}

/* Variant for case study pages: similar flow, distinct positions/intensity */
.case-gradient-bg {
  position: relative;
  z-index: 1;
}

.case-gradient-bg::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 260vh;
  z-index: 0;
  pointer-events: none;
  background:
    /* primary glow */
    radial-gradient(920px 620px at 76% 16%, rgba(0, 240, 193, 0.24) 0%, rgba(0, 240, 193, 0.10) 42%, rgba(255, 255, 255, 0) 70%),
    /* cool tint */
    radial-gradient(740px 480px at 18% 10%, rgba(10, 134, 200, 0.08) 0%, rgba(10, 134, 200, 0.03) 46%, rgba(255, 255, 255, 0) 75%),
    /* low accent */
    radial-gradient(1040px 640px at 45% 88%, rgba(0, 184, 148, 0.08) 0%, rgba(0, 184, 148, 0.0) 70%);
  filter: saturate(106%);
}

/* Softer variant for about.php (reuse the toned-down intensities) */
.gradient-flow-bg--about {
  /* dial down each stop slightly vs index */
  background:
    /* primary glow */
    radial-gradient(900px 600px at 78% 18%, rgba(0, 240, 193, 0.26) 0%, rgba(0, 240, 193, 0.10) 40%, rgba(255, 255, 255, 0) 70%),
    /* cool tint */
    radial-gradient(700px 460px at 15% 8%, rgba(10, 134, 200, 0.09) 0%, rgba(10, 134, 200, 0.04) 45%, rgba(255, 255, 255, 0) 75%),
    /* low accent */
    radial-gradient(1000px 620px at 40% 85%, rgba(0, 184, 148, 0.07) 0%, rgba(0, 184, 148, 0.0) 70%);
  filter: saturate(105%);
}

/* Variant for blog listing page (blog.php) */
.gradient-flow-bg--blog {
  /* tuned similar to features, subtle intensity */
  background:
    /* primary glow */
    radial-gradient(900px 600px at 78% 18%, rgba(0, 240, 193, 0.26) 0%, rgba(0, 240, 193, 0.10) 40%, rgba(255, 255, 255, 0) 70%),
    /* cool tint */
    radial-gradient(700px 460px at 15% 8%, rgba(10, 134, 200, 0.09) 0%, rgba(10, 134, 200, 0.04) 45%, rgba(255, 255, 255, 0) 75%),
    /* low accent */
    radial-gradient(1000px 620px at 40% 85%, rgba(0, 184, 148, 0.07) 0%, rgba(0, 184, 148, 0.0) 70%);
  filter: saturate(105%);
}

/* Variant for blog read page (blog-read.php) */
.gradient-flow-bg--blog-read {
  /* tuned similar to features, subtle intensity */
  background:
    /* primary glow */
    radial-gradient(900px 600px at 78% 18%, rgba(0, 240, 193, 0.26) 0%, rgba(0, 240, 193, 0.10) 40%, rgba(255, 255, 255, 0) 70%),
    /* cool tint */
    radial-gradient(700px 460px at 15% 8%, rgba(10, 134, 200, 0.09) 0%, rgba(10, 134, 200, 0.04) 45%, rgba(255, 255, 255, 0) 75%),
    /* low accent */
    radial-gradient(1000px 620px at 40% 85%, rgba(0, 184, 148, 0.07) 0%, rgba(0, 184, 148, 0.0) 70%);
  filter: saturate(105%);
}

/* Ensure these sections sit above the gradient and remain transparent to show it */
.hero,
.features.features--core,
.features.features--patient,
.why,
.about-hero,
.about-values,
.about-care-change,
.about-vision-impact,
.about-facilities,
.about-team,
.about-cta {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* Normalize section backgrounds to reveal the shared gradient overlay */
.hero,
.features.features--core,
.features.features--patient,
.why,
.about-hero,
.about-values,
.about-care-change,
.about-vision-impact,
.about-facilities,
.about-team,
.about-cta {
  background: transparent !important;
}

.hero::before,
.hero::after,
.features--core .features__bg-blur {
  display: none !important;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #020817;
  background: #ffffff;
  overflow-x: hidden;
}

/* CSS Custom Properties */
:root {
  --primary-color: #00b894;
  --primary-dark: #00614e;
  --primary-light: #0fd1ab;
  --secondary-color: #0081b8;
  --text-primary: #020817;
  --text-secondary: #64748b;
  --text-light: rgba(0, 0, 0, 0.7);
  --border-color: #e2e8f0;
  --bg-light: #f8fafc;
  --bg-section: rgba(241, 245, 249, 0.3);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  --gradient-text: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --container-max-width: 1280px;
  --container-padding: 2rem;
  /* Section rhythm */
  --section-padding: 96px;
  --section-gap: 48px;

  /* Alias tokens for sections using --color-* naming */
  --color-primary: var(--primary-color);
  --color-success: var(--primary-light);
  --color-text: var(--text-primary);
  --color-text-secondary: var(--text-secondary);
  --color-border: var(--border-color);
  --color-accent: var(--secondary-color);
}

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

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: white;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.btn--outline:hover {
  background: var(--secondary-color);
  color: white;
}

.btn--secondary {
  background: white;
  color: var(--secondary-color);
  border: 1px solid var(--border-color);
}

.btn--secondary:hover {
  border-color: var(--secondary-color);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn__icon {
  width: 16px;
  height: 16px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Figma 11213:783 — translucent glass with subtle blur */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border-color);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  /* 81px bar height as per Figma */
  min-height: 81px;
  padding: 0 2rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nav__brand {
  font-size: 1.5rem;
  font-weight: 700;
  /* Vertical teal gradient like the design */
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.nav__tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  align-items: center;
}

.nav__link {
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav__link:link,
.nav__link:visited {
  color: var(--text-primary);
}

.nav__link:hover,
.nav__link:focus,
.nav__link:active,
.nav__link--active {
  color: #00b894;
}

/* Ensure active state wins over any visited/default color, and support WP menu classes */
.nav .nav__menu .nav__link.nav__link--active,
.nav .nav__menu .nav__item.current-menu-item>.nav__link,
.nav .nav__menu .nav__item.current_page_item>.nav__link,
.nav .nav__menu .nav__item.current-menu-ancestor>.nav__link {
  color: #00b894;
}

/* Active state is color-only in the header per Figma; remove underline */
.nav__link--active::after {
  display: none;
}

.nav__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Desktop inline layout for panel (holds menu + actions) */
.nav__panel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: 2rem;
  /* leave breathing space after logo */
  flex: 1 1 auto;
  /* allow menu to occupy middle area */
  min-width: 0;
  /* prevent overflow issues in tight widths */
}

/* Keep close button hidden on desktop */
.nav__close {
  display: none;
}

/* Push actions to the far right on desktop */
.nav__actions {
  margin-left: auto;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Mobile slide-in panel for navigation */
@media (max-width: 1024px) {
  .nav__panel {
    display: block;
  }

  /* Hide the inline nav row (desktop) — the menu lives in the panel now */
  .nav__menu {
    display: block;
  }

  /* Show the panel and toggle when needed (kept rendered but off-canvas via transform) */
  .nav__panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80vw;
    max-width: 420px;
    background: #ffffff;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.12);
    transform: translateX(-100%);
    transition: transform 280ms ease;
    z-index: 1400;
    padding: 2.5rem 1.25rem;
    overflow-y: auto;
    margin-left: 0;
    /* remove desktop margin for mobile */
  }

  .nav--open .nav__panel {
    transform: translateX(0);
  }

  .nav__panel .nav__menu {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    padding-top: 0.5rem;
    list-style: none;
    margin: 0;
    align-items: flex-start;
    /* left-align items on mobile */
    text-align: left;
  }

  .nav__panel .nav__menu .nav__item {
    margin: 0;
  }

  .nav__panel .nav__menu .nav__link {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.125rem;
    text-align: left;
    width: 100%;
  }

  .nav__panel .nav__actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-primary);
    padding: 6px;
    display: block;
    /* visible only on mobile/tablet */
  }

  /* Show hamburger toggle on mobile */
  .nav__toggle {
    display: flex;
  }

  /* Hide the desktop menu row while panel is used */
  .nav>.nav__menu {
    display: none;
  }

  .nav>.nav__actions {
    display: none;
  }
}

/* Support JS-driven menu open state alignment (fallback when not using panel) */
@media (max-width: 1024px) {
  .nav__menu.nav__menu--open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .nav__menu.nav__menu--open .nav__link {
    display: block;
    width: 100%;
    text-align: left;
  }
}

/* Desktop: center the main menu between logo and actions using parent grid */
@media (min-width: 1025px) {
  .nav {
    display: grid;
    /* override flex on desktop */
    grid-template-columns: auto 1fr auto;
    /* logo | centered area | actions */
    align-items: center;
    column-gap: 1.5rem;
  }

  /* Let children of panel participate in the parent grid */
  .nav__panel {
    display: contents;
    /* flatten: exposes .nav__menu and .nav__actions to parent grid */
    margin-left: 0;
    /* remove desktop offset so centering is true */
  }

  .nav__menu {
    grid-column: 2;
    /* center column */
    justify-self: center;
    /* horizontally center the list */
  }

  .nav__actions {
    grid-column: 3;
    /* right column */
    justify-self: end;
    /* align to far right */
    margin-left: 0;
    /* override flex-based push */
  }
}

/* When nav is open, prevent body scroll (applied by JS) */
.nav--open body,
.nav--open .site {
  overflow: hidden;
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  /* background:
    radial-gradient(600px 400px at 78% 58%, rgba(0, 240, 193, 0.35) 0%, rgba(0, 240, 193, 0.15) 40%, rgba(255,255,255,0) 70%),
    linear-gradient(135deg, #ffffff 0%, rgba(0, 173, 139, 0.08) 100%); */
  position: relative;
  overflow: visible;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 420px;
  height: 720px;
  background: #00f0c1;
  opacity: 0.22;
  border-radius: 50%;
  transform: rotate(-30deg);
  filter: blur(100px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 200px;
  height: 400px;
  background: var(--primary-light);
  opacity: 0.1;
  border-radius: 50%;
  transform: rotate(45deg);
  filter: blur(80px);
}

.hero__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
  position: relative;
  padding-top: 50px;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin-bottom: -25px;
  background: rgba(0, 184, 148, 0.1);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-color);
  width: fit-content;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
}

.hero__title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.hero__title--gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Inline highlight container to place decorative image under 'Healthcare' */
.hero__title-highlight {
  position: relative;
  display: inline-block;
}

.hero__title-decor {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 100%;
  height: 20px;
  pointer-events: none;
}

.hero__description {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Normalize hero buttons to equal height and typography */
.hero__actions .btn {
  height: 44px;
  padding: 12px 24px;
  font-size: 16px;
  line-height: 20px;
}


.hero__stats {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__stat-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2f4f3;
  border: 0.3px solid var(--primary-color);
  border-radius: 8px;
}

.hero__stat-icon img {
  width: 52px;
  height: 52px;
}

.hero__stat-content {
  display: flex;
  flex-direction: column;
}

/* Layout each stat: icon on the left, content on the right */
.hero__stat {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

.hero__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px rgba(0, 173, 139, 0.25);
  transform: scale(1.1);
}

/* Desktop-only: slightly increase hero image size and lift it a bit */
@media (min-width: 1025px) {
  .hero__img {
    max-width: 660px;
    margin-top: -30px;
    transform: scale(1.12);
  }
}

.hero__image-status {
  position: absolute;
  top: -4.5rem;
  left: -4rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.hero__status-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
}

.hero__image-support {
  position: absolute;
  top: 90%;
  right: -3rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.hero__support-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.hero__support-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero__image-satisfaction {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-width: 200px;
}

.hero__satisfaction-number {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero__satisfaction-text {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.hero__satisfaction-avatars {
  display: flex;
  gap: -0.5rem;
}

.hero__avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -0.5rem;
}

.hero__avatar:first-child {
  margin-left: 0;
}

.hero__decor-squiggle {
  position: absolute;
  left: -120px;
  top: 63%;
  width: 120px;
  height: 90px;
  opacity: 1;
  transform-origin: center;
  /* Flip horizontally and allow custom rotation via CSS var */
  transform: scaleX(-1) rotate(var(--hero-squiggle-rotate, 80deg));
  will-change: transform;
}

/* Scroll indicator at bottom of hero */
.hero__scroll-indicator {
  position: absolute;
  transform: rotate(90deg);
  right: 2%;
  bottom: -60px;
  width: 58px;
  height: 35px;
  pointer-events: none;
}

/* Hero image entrance animation */
@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(1.02);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav__menu {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__image-support,
  .hero__image-satisfaction {
    position: static;
    margin: 1rem auto;
    display: inline-block;
  }

  .hero__title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }

  .hero__decor-squiggle {
    display: none;
  }

  .hero__title-decor {
    width: 72%;
    bottom: -8px;
  }
}

@media (max-width: 768px) {
  .pricing {
    overflow: visible;
  }

  :root {
    --container-padding: 1rem;
  }

  .hero {
    padding: 4rem 0 2rem;
  }

  /* Center the hero badge on mobile */
  .hero__badge {
    align-self: center;
  }

  /* Hide floating hero badges on mobile */
  .hero__image-status,
  .hero__image-support {
    display: none !important;
  }

  /* Center and animate hero image */
  .hero__image {
    justify-content: center;
  }

  .hero__img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    transform: none;
    /* override desktop scaling */
    animation: heroImageIn 520ms ease-out 120ms both;
    will-change: transform, opacity;
  }

  /* On mobile, align stat tiles to the top and keep them centered horizontally */
  .hero__stats {
    align-items: flex-start;
    /* top alignment within the row */
  }

  /* Move scroll indicator to bottom center on mobile */
  .hero__scroll-indicator {
    left: 50%;
    right: auto;
    bottom: -68px;
    /* a little lower towards the bottom */
    transform: translateX(-50%) rotate(90deg);
  }

  .hero__stat {
    flex: 0 0 100px;
    /* fixed tile width for consistent centering */
    width: 100px;
    flex-direction: column;
    /* icon on top, content below */
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .hero__stat-content {
    align-items: center;
  }

  .hero__stat-icon {
    width: 56px;
    height: 56px;
  }

  .hero__stat-icon img {
    width: 40px;
    height: 40px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__title-decor {
    display: none;
  }

  .features__header.features__header--core {
    margin-bottom: 30px;
  }
}

/* Why Choose Sanjeevani (Figma 11246:813) */
.why {
  position: relative;
  padding: 20px 0;
  overflow: hidden;
  background:
    radial-gradient(480px 320px at 16% 8%, rgba(0, 240, 193, 0.30) 0%, rgba(0, 240, 193, 0.14) 38%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(420px 280px at 88% 24%, rgba(53, 116, 207, 0.25) 0%, rgba(53, 116, 207, 0.12) 45%, rgba(255, 255, 255, 0) 75%);
}

.why__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  /* Give more width to the visual to enlarge the image */
  grid-template-columns: 0.4fr 0.6fr;
  gap: 0px;
  align-items: center;
}

.why__pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 184, 148, 0.10);
  color: var(--primary-color);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 16px;
}

.why__title {
  font-size: clamp(2.25rem, 3.6vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 16px 0;
  color: #020817;
  font-weight: 700;
}

.why__title-highlight {
  display: inline-block;
  text-align: left;
  background: linear-gradient(to bottom, rgba(210, 228, 255, 0) 40%, rgba(210, 228, 255, 0.62) 60%);
  padding: 0px 5px 10px 0px;
  color: var(--primary-color);
}

.why__description {
  font-size: 18px;
  color: rgba(0, 0, 0, 0.7);
  max-width: 520px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.why__bullets {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.why__bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #020817;
  font-size: 16px;
}

.why__bullet img {
  width: 20px;
  height: 20px;
}

.why__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  align-items: center;
}

.why__actions-arrow {
  width: 70px;
  height: 20px;
  transform: scaleX(-1);
  margin-left: 4px;
}

.why__visual {
  position: relative;
}

.why__frame {
  position: relative;
  border-radius: 16px;
  border: 20px solid transparent;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)) padding-box,
    linear-gradient(145deg, #0DCEA8 0%, rgba(255, 255, 255, 0) 60%) border-box;
  /* box-shadow: 0 10px 40px -12px rgba(0,173,139,0.25); */
  /* Allow badges to overlap outside the frame */
  overflow: visible;
}

.why__img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 12px;
}

/* Decorative bubble at bottom-right of the frame */
.why__decor-bubble {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 120px;
  height: auto;
  opacity: 0.95;
  pointer-events: none;
}

.why__badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  box-shadow: 0 4px 13px 5px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: #020817;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.why__badge--updates {
  left: 40px;
  bottom: -15px;
  /* Place half outside, half inside at bottom-left corner */
  transform: translate(-50%, 50%);
  transform-origin: bottom left;
}

.why__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--primary-color);
}

.why__dot--blue {
  background: #3b82f6;
}

.why__badge--gain {
  right: 10px;
  top: -10px;
  height: 76px;
  width: 112px;
  text-align: center;
  flex-direction: column;
  padding: 8px 10px;
  /* Place half outside, half inside at top-right corner */
  transform: translate(50%, -50%);
  transform-origin: top right;
}

.why__gain-number {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 26px;
  line-height: 28px;
}

.why__gain-text {
  font-size: 14px;
  color: #000;
}

@media (min-width: 1024px) {

  .why {
    padding-bottom: 100px;
  }

}

@media (max-width: 1024px) {
  .why__container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: left;
  }

  .why__description {
    max-width: 100%;
  }

  .why__frame {
    margin: 0 auto;
  }

  .why {
    padding: 72px 0;
  }

  .why__actions {
    flex-direction: column;
  }

  /* Remove top padding for Why section on mobile */
  .why {
    padding-top: 0 !important;
  }

  /* Center key texts for Why section on mobile */
  .why__content {
    text-align: center;
  }

  .why__pill {
    margin-left: auto;
    margin-right: auto;
  }

  .why__title {
    text-align: center;
  }

  .why__description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .why__frame {
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .features.features--core {
    padding-bottom: 40px !important;
  }
}

/* Hide decorative features squiggle on small screens */
@media (max-width: 768px) {
  .features__squiggle {
    display: none !important;
  }
}

/* Hide Why section decorative elements on small screens */
@media (max-width: 768px) {

  /* Ensure the Why frame aligns with other content padding on mobile */
  .why__frame {
    /* Use margins instead of padding to align with container spacing */
    width: auto;
    /* avoid overflow when margins are applied */
    margin-left: 5px;
    margin-right: 5px;
    box-sizing: border-box;
    /* Cancel the tablet scale so spacing works as intended on phones */
    transform: none;
  }

  .why__decor-bubble,
  .why__badge--updates,
  .why__badge--gain {
    display: none !important;
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg,
      rgba(0, 123, 255, 0.02) 0%,
      rgba(76, 175, 80, 0.02) 100%);
}

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

.testimonials__header {
  text-align: center;
  margin-bottom: var(--section-gap);
}

.testimonials__badge {
  /* Convert pill badge into big bold heading style per Figma */
  display: block;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 16px;
  box-shadow: none;
  font-size: clamp(2.25rem, 3.6vw, 3.5rem);
  line-height: 1.1;
  font-weight: 700;
  color: #020817;
  letter-spacing: -0.02em;
  position: relative;
}

.testimonials__badge-highlight {
  color: #020817;
  font-weight: 700;
  font-size: inherit;
}

.testimonials__badge-accent {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-success) 100%);
  background-clip: text;
  padding-top: 10px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: inherit;
  position: relative;
  display: inline-block;
  padding: 10 6px 2px;
}

.testimonials__badge-accent::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.15em;
  transform: translateX(-50%);
  width: 115%;
  height: 1.3em;
  background: url('../images/features-patient-ellipse.svg') no-repeat center / contain;
  pointer-events: none;
  z-index: -1;
}

.testimonials__subtitle {
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-bottom: var(--section-gap);
}

/* Individual Testimonial Card */
.testimonial {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: testimonialFadeIn 0.6s ease forwards;
}

.testimonial:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonial:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial:nth-child(3) {
  animation-delay: 0.3s;
}

.testimonial:nth-child(4) {
  animation-delay: 0.4s;
}

.testimonial:nth-child(5) {
  animation-delay: 0.5s;
}

.testimonial:nth-child(6) {
  animation-delay: 0.6s;
}

.testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-success) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.testimonial:hover::before {
  transform: scaleX(1);
}

.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.testimonial__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial__avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-success) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial__initials {
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.testimonial__author {
  flex: 1;
  min-width: 0;
}

.testimonial__name {
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.testimonial__title {
  color: #64748B;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 2px 0;
  line-height: 1.4;
}

.testimonial__company {
  color: var(--color-primary);
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
}

/* Meta row holding company and rating side by side */
.testimonial__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.testimonial__rating {
  display: flex;
  gap: 4px;
  margin-bottom: 0;
}

.testimonial__star {
  width: 18px;
  height: 18px;
  color: #FFD700;
  flex-shrink: 0;
}

.testimonial__quote {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  position: relative;
  padding-left: 24px;
}

.testimonial__quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 2rem;
  color: var(--color-primary);
  font-family: Georgia, serif;
  line-height: 1;
}

/* Testimonials Footer */
.testimonials__footer {
  text-align: center;
}

.testimonials__rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 16px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.testimonials__rating-summary::before {
  content: "";
  position: absolute;
  left: -108px;
  top: 70%;
  transform: translateY(-50%);
  transform: rotate(50deg);
  width: 126px;
  height: 126px;
  background: url('../images/opd-decorative-2.svg') no-repeat center / contain;
  pointer-events: none;
}

.testimonials__rating-icon {
  width: 24px;
  height: 24px;
  color: #FFD700;
  flex-shrink: 0;
}

.testimonials__rating-score {
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: 700;
}

.testimonials__rating-text {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

/* Animation for testimonials appearing */
@keyframes testimonialFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive for Testimonials */
@media (max-width: 768px) {
  .testimonials {
    padding: 60px 0;
  }

  .testimonials__grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 8px 0;
  }

  .testimonials__grid::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
  }

  .testimonial {
    flex: 0 0 85%;
    scroll-snap-align: start;
    min-width: 0;
  }

  .testimonial {
    padding: 24px;
  }

  .testimonials__badge {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    margin-bottom: 16px;
  }

  .testimonials__subtitle {
    font-size: 1rem;
  }

  .testimonial__name {
    font-size: 1rem;
  }

  .testimonial__quote {
    font-size: 0.9375rem;
    padding-left: 20px;
  }

  .testimonials__rating-summary {
    padding: 12px 24px;
    gap: 8px;
  }

  .testimonials__rating-summary::before,
  .testimonials__rating-summary:before {
    content: none !important;
    left: -18px;
    width: 28px;
    height: 28px;
  }

  .testimonials__rating-icon {
    width: 20px;
    height: 20px;
  }

  .testimonials__rating-score {
    font-size: 1rem;
  }

  .testimonials__rating-text {
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .testimonial {
    flex-basis: 90%;
  }

  .testimonial {
    padding: 20px;
  }

  .testimonial__header {
    gap: 12px;
  }

  .testimonial__avatar {
    width: 48px;
    height: 48px;
  }

  .testimonial__initials {
    font-size: 1rem;
  }

  .testimonials__rating-summary {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================
   JAVASCRIPT INTERACTIONS & ANIMATIONS
   ============================================ */

/* Header scroll effects */
.header--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
}

.header--hidden {
  transform: translateY(-100%);
}

/* Mobile menu animations */
.nav__menu--open {
  opacity: 1;
  visibility: visible;
}

.nav__toggle--open .nav__toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav__toggle--open .nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open .nav__toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Button ripple effect */
.btn {
  position: relative;
  overflow: hidden;
}

.btn__ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* Focus styles for accessibility */
.using-keyboard *:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Animation classes for intersection observer */
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Loading states */
.loaded {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Notification styles */
.notification {
  font-family: var(--font-primary);
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

/* Smooth scrolling for browsers that don't support it natively */
html {
  scroll-behavior: smooth;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: var(--section-padding) 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.features__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  max-width: 1280px;
}

.features__header {
  text-align: center;
  margin-bottom: var(--section-gap);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Core variant header tweaks */
.features__header--core {
  position: relative;
}

.features--core .features__bg-blur {
  position: absolute;
  left: 50%;
  top: 34px;
  width: 720px;
  height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 240, 193, 0.35), rgba(0, 240, 193, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Match Core Features background flow to Hero */
.features.features--core {
  background:
    radial-gradient(600px 400px at 78% -10%, rgba(0, 240, 193, 0.35) 0%, rgba(0, 240, 193, 0.15) 40%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(135deg, #ffffff 0%, rgba(0, 173, 139, 0.08) 100%);
}

/* Desktop: reduce bottom padding for Core Features section */
@media (min-width: 1025px) {
  .features.features--core {
    padding-bottom: 40px !important;
  }
}

/* Avoid double blur with the new background above */
.features--core .features__bg-blur {
  display: none;
}

.features__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 24px;
  border-radius: 9999px;
  background: rgba(0, 173, 139, 0.1);
  color: #00b894;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

.features__badge-highlight {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.features__badge-accent {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-success) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 0.875rem;
}

.features__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 24px;
}

.features__title--core {
  position: relative;
  z-index: 1;
}

.features__title-highlight {
  color: #00b894;
  display: inline-block;
  position: relative;
}

.features__ellipse {
  position: absolute;
  left: 16%;
  transform: translateX(18px) translateY(5px);
  width: 500px;
  max-width: 70vw;
  height: 60px;
  pointer-events: none;
}

.features__subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.features__subtitle--core {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: var(--section-gap);
}

.features__grid--core {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  /* anchor floating satisfaction card to the grid area */
}

/* Core feature cards */
.feature-card {
  background: #ffffff;
  border: 1px solid rgba(2, 8, 23, 0.08);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.feature-card__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.feature-card__title {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  margin: 0 0 8px;
  color: #020817;
}

.feature-card__desc {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 23px;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* Floating satisfaction card */
.features__satisfaction {
  position: absolute;
  right: -100px;
  /* align to grid's right edge */
  top: -180px;
  /* sit close to the first row of cards */
  width: 326px;
  height: 70px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 13px 14px 40px rgba(39, 98, 131, 0.15);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  padding: 5px 20px;
  z-index: 2;
}

.features__satisfaction-value {
  grid-column: 1;
  grid-row: 1;
  font-weight: 700;
  font-size: 19.4px;
  color: #020817;
  letter-spacing: .6px;
}

.features__satisfaction-label {
  grid-column: 1;
  grid-row: 2;
  font-size: 14.8px;
  color: #4a4d4c;
  letter-spacing: .6px;
  margin-top: -10px;
}

.features__avatars {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-self: end;
}

.features__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: -22px;
  border: 2px solid #fff;
}

.features__avatar:first-child {
  margin-left: 0;
}

/* Squiggle decoration */
.features__squiggle {
  position: absolute;
  right: -9%;
  top: -18%;
  width: 120px;
  height: 100px;
  transform: rotate(-30deg) scaleY(-1);
  opacity: .9;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .features__grid--core {
    grid-template-columns: repeat(2, 1fr);
  }

  .features__satisfaction {
    right: 12px;
    top: 12px;
    transform: scale(.9);
    transform-origin: top right;
  }

  .features__ellipse {
    transform: translateX(0) translateY(0);
    width: 460px;
  }
}

@media (max-width: 768px) {
  .features__grid--core {
    grid-template-columns: 1fr;
  }

  .features__satisfaction {
    position: static;
    width: 100%;
    margin-bottom: 16px;
    transform: none;
  }
}

@media (max-width: 480px) {
  .features__ellipse {
    display: none;
  }
}

/* Individual Feature */
.feature {
  display: flex;
  gap: 24px;
  padding: 40px;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  position: relative;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
}

.feature__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.feature__icon svg {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

.feature__content {
  flex: 1;
}

.feature__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.feature__description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.feature__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.feature__points li {
  font-size: 0.875rem;
  color: var(--color-text);
  position: relative;
  padding-left: 20px;
}

.feature__points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 600;
}

/* Features CTA */
.features__cta {
  text-align: center;
  background: linear-gradient(135deg,
      rgba(0, 123, 255, 0.05) 0%,
      rgba(76, 175, 80, 0.05) 100%);
  border-radius: 24px;
  padding: 60px 40px;
  border: 1px solid var(--color-border);
}

.features__cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.features__cta-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin: 0 0 32px 0;
  line-height: 1.6;
}

.features__cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg,
      rgba(0, 123, 255, 0.02) 0%,
      rgba(76, 175, 80, 0.02) 100%);
}

.pricing__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
}

.pricing__header {
  text-align: center;
  margin-bottom: var(--section-gap);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 8px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing__badge-highlight {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.pricing__badge-accent {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-success) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 0.875rem;
}

.pricing__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 24px;
}

/* Figma-style title chip for the word "Plan" */
.pricing__title-chip {
  display: inline-block;
  position: relative;
  z-index: 0;
  padding: 6px 14px;
  border-radius: 9999px;
  color: var(--primary-color);
  line-height: 1;
}

.pricing__title-chip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
  width: 115%;
  aspect-ratio: 166 / 69;
  background: url('../images/pricing-plan-ellipse.svg') center / contain no-repeat;
  z-index: -1;
  pointer-events: none;
}

/* Hide the pricing title ellipse on mobile */
@media (max-width: 768px) {

  .pricing__title-chip::before,
  .pricing__title-chip:before {
    content: none !important;
  }
}

.pricing__subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Pricing Toggle */
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 0;
}

.pricing__toggle-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.pricing__toggle-switch {
  position: relative;
  width: 56px;
  height: 28px;
  background: var(--color-border);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pricing__toggle-switch[aria-checked="true"] {
  background: var(--color-primary);
}

.pricing__toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing__toggle-switch[aria-checked="true"] .pricing__toggle-slider {
  transform: translateX(28px);
}

.pricing__discount {
  background: var(--color-success);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

/* Pricing Cards */
.pricing__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

/* Ensure uniform card heights on desktop */
@media (min-width: 1025px) {
  .pricing__cards {
    grid-template-columns: repeat(3, 1fr);
    /* keep all three cards on one row */
    align-items: stretch;
    /* stretch items to the tallest in the row */
  }

  .pricing-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
}

.pricing-card {
  background: white;
  border-radius: 20px;
  border: 2px solid var(--color-border);
  padding: 40px;
  position: relative;
  z-index: 1;
  /* ensure card sits above its decor */
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.1);
}

.pricing-card--featured {
  border-color: var(--color-primary);
  transform: scale(1.05);
  box-shadow: 0 16px 64px rgba(0, 123, 255, 0.15);
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
}

.pricing-card__header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-card__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px 0;
}

.pricing-card__description {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-card__currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.pricing-card__amount {
  font-size: 3rem;
  font-weight: 700;
  color: #00b894;
  line-height: 1;
}

.pricing-card__period {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.pricing-card__billing {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin: 0;
}

.pricing-card__features {
  margin-bottom: 32px;
}

.pricing-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-card__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  color: var(--color-text);
}

.pricing-card__item:last-child {
  border-bottom: none;
}

.pricing-card__check {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* Pricing Card Footer */
.pricing-card__footer {
  margin-top: 24px;
}

.pricing-card__footer .btn {
  width: 100%;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pricing-card-wrap {
  position: relative;
}

.pricing-card__decor {
  position: absolute;
  top: -68px;
  left: -68px;
  width: 180px;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.8;
}

.pricing-card__decor--green-circle {
  top: auto;
  left: auto;
  right: -65px;
  bottom: -65px;
  width: 160px;
}

@media (max-width: 768px) {

  .pricing-card__decor,
  .pricing-card__decor--green-circle {
    display: none !important;
  }
}

/* Ensure card content stacks above the decorative ellipse */
.pricing-card__header,
.pricing-card__features,
.pricing-card__footer,
.pricing-card__badge {
  position: relative;
  z-index: 1;
}

.pricing__footer {
  text-align: center;
}

.pricing__guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin: 0;
}

.pricing__guarantee-icon {
  width: 16px;
  height: 16px;
  color: var(--color-success);
}

/* New note/guarantee pill per Figma */
.pricing__note {
  display: inline-block;
  position: absolute;
  left: 50%;
  bottom: -100px;
  transform: translateX(-50%);
  margin: 0 auto;
  padding: 10px 16px;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background: #E9F2FF;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Keep pricing note on one line for mobile */
@media (max-width: 768px) {

  .pricing {
    padding-bottom: 40px !important;
  }

  .pricing__title {
    font-size: 32px !important;
  }

  .pricing__note {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.775rem;
    bottom: -60px;
    /* bring note closer to the card on mobile */
  }
}

/* Decorative ellipses */
.pricing__decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.9;
  background: radial-gradient(closest-side, rgba(0, 240, 193, 0.28), rgba(0, 240, 193, 0) 70%);
  filter: blur(40px);
  border-radius: 50%;
}

.pricing__decor--left {
  left: -80px;
  bottom: -40px;
  width: 220px;
}

.pricing__decor--top {
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  width: 320px;
}

.pricing__decor--right {
  right: -80px;
  top: 20px;
  width: 220px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-success) 100%);
  color: white;
}

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

.cta__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta__title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 24px 0;
}

.cta__description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0 0 40px 0;
  opacity: 0.9;
}

.cta__stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cta__stat {
  text-align: center;
}

.cta__stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.cta__stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
  font-weight: 500;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cta__note {
  font-size: 0.875rem;
  opacity: 0.8;
  margin: 0;
}

/* ============================================
   FOOTER SECTION - FIGMA DESIGN
   ============================================ */
.footer-figma {
  background: linear-gradient(131.46deg, rgba(0, 184, 148, 1) 2.07%, rgba(15, 210, 171, 1) 96.29%);
  color: white;
  padding: 48px 0;
  min-height: 341px;
  display: flex;
  align-items: center;
}

.footer-figma__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 100px;
  width: 100%;
}

.footer-figma__main {
  display: grid;
  grid-template-columns: 0.65fr auto auto auto;
  gap: 120px;
  margin-bottom: 48px;
  align-items: space-between;
}

/* Brand Section */
.footer-figma__brand {
  max-width: 353px;
}

.footer-figma__brand-name {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin: 0 0 4px 0;
  color: white;
}

.footer-figma__brand-tagline {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  margin: 0 0 24px 0;
  color: rgba(255, 255, 255, 0.9);
}

.footer-figma__brand-description {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.75px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Column Layout */
.footer-figma__column {
  min-width: max-content;
}

.footer-figma__column-title {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  margin: 0 0 28px 0;
  color: white;
}

.footer-figma__column-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-figma__column-list li {
  margin-bottom: 17px;
}

.footer-figma__column-list li:last-child {
  margin-bottom: 0;
}

.footer-figma__link {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-figma__link:hover {
  color: #e2e8f0 !important;
}

/* Bottom Section */
.footer-figma__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-figma__bottom-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-figma__made-with {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-figma__heart-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-figma__bottom-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer-figma__legal-link {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-figma__legal-link:hover {
  color: white;
}

.footer-figma__copyright {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Responsive Design for Figma Footer */
@media (max-width: 1200px) {
  .footer-figma__container {
    padding: 0 60px;
  }

  .footer-figma__main {
    gap: 80px;
  }
}

@media (max-width: 1024px) {
  .footer-figma__container {
    padding: 0 40px;
  }

  .footer-figma__main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .footer-figma__brand {
    max-width: none;
    margin-bottom: 20px;
  }

  .footer-figma__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-figma__bottom-right {
    flex-direction: column;
    gap: 16px;
  }

  .footer-figma__column-list li {
    margin-bottom: 5px;
  }
}

@media (max-width: 768px) {
  .footer-figma {
    padding: 40px 0;
  }

  .footer-figma__container {
    padding: 0 24px;
  }

  .footer-figma__main {
    gap: 32px;
    grid-template-columns: 1fr 1fr;
    /* show two columns on mobile */
  }

  /* Brand spans full width on mobile */
  .footer-figma__brand {
    grid-column: 1 / -1;
  }

  /* Product (first column after brand) on the left */
  .footer-figma__main>.footer-figma__column:nth-of-type(2) {
    grid-column: 1;
  }

  /* Company on the right of Product */
  .footer-figma__main>.footer-figma__column:nth-of-type(3) {
    grid-column: 2;
  }

  /* Support flows to next row; keep left by default */
  .footer-figma__main>.footer-figma__column:nth-of-type(4) {
    grid-column: 1;
  }

  .footer-figma__brand-name {
    font-size: 18px;
  }

  .footer-figma__column-title {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .footer-figma__link,
  .footer-figma__made-with,
  .footer-figma__legal-link,
  .footer-figma__copyright {
    font-size: 14px;
  }

  .footer-figma__bottom-right {
    gap: 12px;
  }

  /* Place Privacy Policy and Terms of Service side by side on mobile */
  .footer-figma__bottom-right {
    display: grid;
    grid-template-columns: auto auto;
    grid-auto-rows: auto;
    column-gap: 16px;
    row-gap: 8px;
    align-items: center;
    justify-content: center;
  }

  .footer-figma__bottom-right .footer-figma__legal-link:nth-of-type(1) {
    grid-column: 1;
  }

  .footer-figma__bottom-right .footer-figma__legal-link:nth-of-type(2) {
    grid-column: 2;
  }

  .footer-figma__bottom-right .footer-figma__copyright {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 480px) {
  .footer-figma__container {
    padding: 0 16px;
  }

  .footer-figma__main {
    gap: 32px;
  }

  .footer-figma__bottom-left {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================
   GET STARTED CONTACT SECTION
   ============================================ */
.get-started {
  background: rgba(241, 245, 249, 0.3);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Background decorative elements */
.get-started::before {
  content: '';
  position: absolute;
  top: 576px;
  left: -127px;
  width: 103px;
  height: 196px;
  background: #3574cf;
  border-radius: 144px;
  filter: blur(200px);
  transform: rotate(270deg);
}

.get-started::after {
  content: '';
  position: absolute;
  top: 356px;
  right: -300px;
  width: 150px;
  height: 286px;
  background: #00f0c1;
  border-radius: 144px;
  filter: blur(250px);
  transform: rotate(327deg);
}

.get-started__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 100px;
}

/* Header Section */
.get-started__header {
  text-align: center;
  margin-bottom: 60px;
}

.get-started__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 173, 139, 0.1);
  color: #00b894;
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 8px 24px;
  border-radius: 9999px;
  margin-bottom: 32px;
}

.get-started__title {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 70px;
  color: #020817;
  margin: 0 0 24px 0;
  text-align: center;
}

.get-started__title-highlight {
  color: #00b894;
  background: linear-gradient(to bottom, rgba(210, 228, 255, 0) 40%, rgba(210, 228, 255, 0.62) 60%);
  padding: 0 8px 2px;
}

.get-started__description {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: rgba(0, 0, 0, 0.7);
  max-width: 590px;
  margin: 0 auto;
  text-align: center;
}

/* Main Content Layout */
.get-started__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* Form Container */
.get-started__form-container {
  background: white;
  border: 0.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px;
  min-width: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.get-started__form-title {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #00b894;
  margin: 0 0 32px 0;
}

.get-started__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.get-started__form-group {
  margin-bottom: 0px;
}

.get-started__label {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #020817;
  display: block;
  margin-bottom: -15px;
}

.get-started__input,
.get-started__textarea {
  width: 100%;
  background: #eef8f8;
  border: 0.3px solid #8dd2d2;
  border-radius: 6px;
  padding: 12px;
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.get-started__input {
  height: 40px;
  padding-left: 10px !important;
}

.get-started__textarea {
  height: 120px;
  resize: vertical;
}

.get-started__input:focus,
.get-started__textarea:focus {
  outline: none;
  border-color: #00b894;
  box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

.get-started__input::placeholder,
.get-started__textarea::placeholder {
  color: #64748b;
}

.get-started__submit-btn {
  background: #00b894;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.get-started__submit-btn:hover {
  background: #00a085;
  transform: translateY(-2px);
}

/* Submit row with illustration */
.get-started__submit-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-start;
}

.get-started__submit-wrap .get-started__submit-btn {
  /* button takes remaining width, arrow stays fixed */
  width: auto;
  min-width: 0;
  flex: 1 1 0%;
}

.get-started__submit-illustration {
  width: 80px;
  height: 15px;
  flex: 0 0 auto;
}

/* CF7 mapping to keep Get Started form design without changing CF7 form content */
.get-started__form .wpcf7 {
  width: 100%;
}

.get-started__form .wpcf7-form {
  margin: 0;
}

.get-started__form .wpcf7-form p {
  margin: 0 0 24px 0;
}

.get-started__form .wpcf7 input[type="text"],
.get-started__form .wpcf7 input[type="email"],
.get-started__form .wpcf7 input[type="tel"],
.get-started__form .wpcf7 input[type="url"] {
  width: 100%;
  background: #eef8f8;
  border: 0.3px solid #8dd2d2;
  border-radius: 6px;
  padding: 12px;
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  height: 40px;
  padding-left: 10px !important;
}

.get-started__form .wpcf7 textarea {
  width: 100%;
  background: #eef8f8;
  border: 0.3px solid #8dd2d2;
  border-radius: 6px;
  padding: 12px;
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  height: 120px;
  resize: vertical;
}

.get-started__form .wpcf7 input[type="text"]:focus,
.get-started__form .wpcf7 input[type="email"]:focus,
.get-started__form .wpcf7 input[type="tel"]:focus,
.get-started__form .wpcf7 input[type="url"]:focus,
.get-started__form .wpcf7 textarea:focus {
  outline: none;
  border-color: #00b894;
  box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

.get-started__form .wpcf7 input::placeholder,
.get-started__form .wpcf7 textarea::placeholder {
  color: #64748b;
}

/* Button */
.get-started__form .wpcf7 .wpcf7-submit {
  background: #00b894;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
  /* use separate illustration image; pseudo-element not used on input */
  position: static;
  background-image: none;
  padding-right: 24px;
}

.get-started__form .wpcf7 .wpcf7-submit:hover {
  background: #00a085;
  transform: translateY(-2px);
}

/* In the submit row, remove paragraph margins and constrain submit width */
.get-started__form .wpcf7 .get-started__submit-wrap p {
  margin: 0;
  display: contents;
}

.get-started__form .wpcf7 .get-started__submit-wrap .wpcf7-submit {
  width: auto;
  min-width: 0;
  flex: 1 1 0%;
}

/* Override CF7 base width when inside the submit wrap to keep button inline with arrow */
.get-started__form .get-started__submit-wrap .wpcf7 .wpcf7-submit {
  width: auto;
  min-width: 0;
  flex: 1 1 0%;
}

.get-started__submit-wrap .wpcf7 .wpcf7-submit {
  width: auto;
  min-width: 0;
  flex: 1 1 0;
  flex-basis: 450px;
}

/* Show separate illustration; arrow sits outside the button */
.get-started__form .get-started__submit-illustration {
  display: inline-block;
}

.get-started__form .wpcf7 .wpcf7-submit::after {
  content: none;
  display: none;
}

/* Contact Information */

.get-started__contact-title {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #00b894;
  margin: 0 0 16px 0;
}

.get-started__contact-description {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.7);
  margin: 0 0 40px 0;
}

.get-started__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.get-started__contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 173, 139, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.get-started__contact-icon svg {
  width: 24px;
  height: 24px;
  color: #00b894;
}

.get-started__contact-details {
  flex: 1;
}

.get-started__contact-label {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: #020817;
  margin: 0 0 4px 0;
}

.get-started__contact-value {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #64748b;
  margin: 0 0 4px 0;
}

.get-started__contact-note {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #64748b;
  margin: 0;
}

/* Enterprise Card */
.get-started__enterprise-card {
  background: rgba(0, 173, 139, 0.05);
  border: 1px solid rgba(0, 173, 139, 0.1);
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
}

.get-started__enterprise-title {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #020817;
  margin: 0 0 12px 0;
}

.get-started__enterprise-description {
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #64748b;
  margin: 0 0 20px 0;
}

.get-started__enterprise-btn {
  background: white;
  color: #0081b8;
  border: 1px solid #0081b8;
  border-radius: 6px;
  padding: 10px 20px;
  font-family: 'SF Pro Display', 'SF UI Display', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.get-started__enterprise-btn:hover {
  background: #0081b8;
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.get-started__enterprise-btn:focus,
.get-started__enterprise-btn:active,
.get-started__enterprise-btn:visited {
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .get-started__container {
    padding: 0 60px;
  }

  .get-started__content {
    gap: 40px;
  }

  .get-started__title {
    font-size: 48px;
    line-height: 56px;
  }
}

@media (max-width: 1024px) {

  .get-started {
    padding: 60px 0;
    padding-top: 0;
    /* remove top padding on mobile */
  }

  .get-started__container {
    padding: 0 40px;
  }

  .get-started__content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .get-started__title {
    font-size: 40px;
    line-height: 48px;
  }

  .get-started__submit-illustration {
    width: 96px;
    margin-bottom: 8px;
  }

  .get-started__submit-wrap {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .get-started__submit-wrap .get-started__submit-btn {
    width: auto;
    min-width: 0;
    flex: 1 1 0%;
  }

  .get-started__form-container {
    padding: 20px;
    margin-left: auto;
    /* center the form card horizontally */
    margin-right: auto;
    /* ensure equal left/right spacing */
    box-sizing: border-box;
  }

  /* Ensure grid item stretches fully and aligns with container padding */
  .get-started__content {
    justify-items: stretch;
  }
}

@media (max-width: 768px) {

  .get-started__container {
    padding: 0 24px;
  }

  .get-started__title {
    font-size: 32px;
    line-height: 40px;
  }

  .get-started__description {
    font-size: 16px;
    line-height: 24px;
  }

  .get-started__form-row {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  /* .get-started__form-container {
        padding: 20px;
    } */

  /* Hide submit illustration on mobile */
  .get-started__submit-illustration {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .get-started__container {
    padding: 0 16px;
  }

  .get-started__title {
    font-size: 28px;
    line-height: 36px;
  }

  /* .get-started__form-container {
        padding: 20px;
    } */

  .get-started__contact-item {
    margin-bottom: 24px;
  }
}

/* ============================================
   RESPONSIVE DESIGN FOR SECOND HALF
   ============================================ */
@media (max-width: 1024px) {

  .features__title,
  .pricing__title,
  .cta__title {
    font-size: 2.5rem;
  }

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

  .feature {
    padding: 32px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 60px;
  }

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

@media (max-width: 768px) {

  .features,
  .pricing,
  .cta {
    padding: 80px 0;
  }

  .features__title,
  .pricing__title,
  .cta__title {
    font-size: 2rem;
  }

  .features__subtitle,
  .pricing__subtitle,
  .cta__description {
    font-size: 1.125rem;
  }

  .feature {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .feature__points {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .features__cta {
    padding: 40px 24px;
  }

  .features__cta-title {
    font-size: 1.5rem;
  }

  .pricing__cards {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    padding: 8px 0;
    margin-bottom: 12px;
    align-items: stretch;
    /* horizontal slider on mobile */
  }

  .pricing__cards>.pricing-card-wrap,
  .pricing__cards>.pricing-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    min-width: 0;
    display: flex;
  }

  /* Make the pricing card fill the slide height */
  .pricing__cards>.pricing-card-wrap>.pricing-card,
  .pricing__cards>.pricing-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }

  .pricing__cards::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
  }

  /* Hide large glowing decorations on mobile to avoid cropping/scroll */
  .pricing__decor {
    display: none !important;
  }

  /* Prevent hover-induced shifts on touch devices */
  .pricing-card:hover {
    transform: none;
  }

  /* Keep card heights tight; first matches third without extra outer space */
  .pricing-card {
    margin: 0;
  }

  .pricing-card--featured {
    margin: 16px 0;
  }

  .pricing-card {
    padding: 32px;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-8px);
  }

  .cta__stats {
    gap: 40px;
  }

  .cta__stat-number {
    font-size: 2rem;
  }

  .footer {
    padding: 60px 0 30px;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {

  .features__title,
  .pricing__title,
  .cta__title {
    font-size: 1.75rem;
  }

  .feature {
    padding: 20px;
  }

  .features__cta {
    padding: 32px 20px;
  }

  .features__cta-actions,
  .cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn--large {
    width: 100%;
    max-width: 280px;
  }

  .pricing-card {
    padding: 24px;
  }

  .cta__stats {
    flex-direction: column;
    gap: 24px;
  }

  .footer__badges {
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   UTILITY ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-slideInFromLeft {
  animation: slideInFromLeft 0.8s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-scaleIn {
  animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Final overrides to ensure Core Features grid matches Figma across breakpoints */
@media (max-width: 1024px) {
  .features--core .features__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .features--core .features__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================
   TRUST SECTION - BASED ON FIGMA DESIGN
   ======================================== */
.trust {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: linear-gradient(118.85deg, rgba(0, 184, 148, 1) 2.07%, rgba(15, 210, 171, 1) 96.29%);
  color: #ffffff;
}

.trust__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.trust__header {
  text-align: center;
  position: relative;
  margin-bottom: 40px;
}

.trust__title {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  margin: 0 0 12px 0;
}

.trust__title-dark {
  color: #010101;
}

.trust__title-highlight {
  color: #010101;
  position: relative;
}

/* Ellipse highlight positioned over the word "care" */
.trust__ellipse {
  position: absolute;
  width: 120px;
  height: 60px;
  left: 54.6%;
  top: 32%;
  transform: translateX(95px) translateY(-54px) rotate(-2deg);
  pointer-events: none;
}

.trust__subtitle {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto;
}

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

.trust__card {
  border: 0.3px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 20px 24px;
  text-align: left;
  backdrop-filter: blur(2px);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  /* Arrange icon and value on the first row side-by-side */
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-auto-rows: auto;
  column-gap: 12px;
  row-gap: 6px;
  align-items: center;
}

.trust__icon {
  width: 50px;
  height: 52px;
  margin-bottom: 0;
  grid-column: 1;
  grid-row: 1;
}

.trust__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trust__value {
  grid-column: 2;
  grid-row: 1;
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 60px;
}

.trust__label {
  grid-column: 1 / -1;
  grid-row: 2;
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
}

.trust__desc {
  grid-column: 1 / -1;
  grid-row: 3;
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1024px) {
  .trust__title {
    font-size: 40px;
  }

  .trust__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__ellipse {
    transform: translateX(60px) translateY(-50px) rotate(-2deg);
    width: 140px;
  }
}

@media (max-width: 640px) {
  .trust {
    padding: 40px 0;
    overflow: visible;
  }

  .trust__title {
    font-size: 36px;
  }

  .trust__container {
    overflow: visible;
  }

  .trust__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
  }

  /* Allow grid items to shrink within columns to avoid horizontal overflow */
  .trust__card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .trust__ellipse {
    display: none;
  }

  /* Mobile layout: stack icon above value and reduce font sizes for better fit */
  .trust__card {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 6px;
    justify-items: center;
    text-align: center;
  }

  .trust__icon {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 4px;
  }

  .trust__value {
    grid-column: 1;
    grid-row: 2;
    font-size: 36px;
    /* reduced by ~2px */
    line-height: 54px;
  }

  .trust__label {
    grid-column: 1 / -1;
    grid-row: 3;
    font-size: 14px;
    /* reduced by 2px */
    line-height: 26px;
  }

  .trust__desc {
    grid-column: 1 / -1;
    grid-row: 4;
    font-size: 12px;
    /* reduced by 2px */
    line-height: 18px;
  }
}


/* ========================================
   PATIENT PLATFORM SECTION - BASED ON FIGMA DESIGN
   ======================================== */
.patient-platform {
  padding: 120px 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.patient-platform__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  padding-left: 130px;
  padding-right: 120px;
  position: relative;
}

/* Background blur effects */
.patient-platform__bg-blur {
  position: absolute;
  border-radius: 144.029px;
  filter: blur(200px);
  opacity: 0.6;
  z-index: 1;
}

.patient-platform__bg-blur--left {
  top: 330px;
  left: -60px;
  width: 141px;
  height: 267px;
  background: #3574cf;
}

.patient-platform__bg-blur--right {
  top: 375px;
  right: 100px;
  width: 150.79px;
  height: 286.159px;
  background: var(--color-accent);
  transform: rotate(327.843deg);
}

/* Decorative elements */
.patient-platform__decorative {
  position: absolute;
  z-index: 2;
  opacity: 0.7;
}

.patient-platform__decorative--1 {
  top: -20px;
  left: 60px;
  width: 167px;
  height: 163.5px;
  transform: rotate(180deg);
}

.patient-platform__decorative--2 {
  bottom: -15px;
  right: 200px;
  width: 362px;
  height: 15px;
}

.patient-platform__decorative-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.patient-platform__content {
  display: grid;
  grid-template-columns: 0.6fr 0.4fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 3;
  max-width: 1270px;
  margin: 0 auto;
}

/* Left Content - Dashboard */
.patient-platform__visual-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.patient-platform__dashboard-container {
  position: relative;
  /* padding-top: 40px; */
  width: 100%;
  max-width: none;
}

/* Gradient Background */
.patient-platform__gradient-bg {
  position: absolute;
  top: 27px;
  left: 27px;
  right: 27px;
  bottom: 27px;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
}

.patient-platform__gradient-img {
  width: 100%;
  height: 119.08%;
  object-fit: cover;
  object-position: center top;
}

/* Main Dashboard Frame */
.patient-platform__dashboard-frame {
  position: relative;
  z-index: 2;
  /* Crop a bit from the bottom like features-patient__panel */
  overflow: hidden;
  /* box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15); */
  border-radius: 16px;
  border: 20px solid transparent;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)) padding-box,
    linear-gradient(145deg, #0DCEA8 0%, rgba(255, 255, 255, 0) 60%) border-box;
  /* Reduce visible height while keeping width responsive */
  aspect-ratio: 16 / 10;
  transform: scale(1.11);
  /* transform: perspective(1200px) rotateY(5deg) rotateX(-2deg); */
  transition: transform 0.4s ease;
}

/* Removed empty hover ruleset for lint cleanliness */

.patient-platform__dashboard-img {
  width: 100%;
  height: 100%;
  display: block;
  /* Fill the frame and crop from the bottom */
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
}

/* Floating Status Card */
.patient-platform__status-card {
  position: absolute;
  bottom: -40px;
  left: -95px;
  width: 214px;
  height: 52px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  box-shadow: 0px 4px 13px 5px rgba(0, 0, 0, 0.1);
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.patient-platform__status-indicator {
  width: 12px;
  height: 12px;
  background: #3b82f6;
  border-radius: 50%;
  flex-shrink: 0;
}

.patient-platform__status-text {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--color-text);
  white-space: nowrap;
}

/* Right Content */
.patient-platform__text-content {
  max-width: 550px;
  padding-left: 20px;
}

.patient-platform__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(0, 173, 139, 0.1);
  border-radius: 9999px;
  margin-bottom: 10px;
}

.patient-platform__badge-text {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #00b894;
}

.patient-platform__title {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: clamp(2.25rem, 3.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.patient-platform__title-highlight {
  color: #00b894;
  background: linear-gradient(to bottom, rgba(210, 228, 255, 0) 40%, rgba(210, 228, 255, 0.62) 60%);
  padding: 0 10px 0px;
}

.patient-platform__description {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  color: rgba(0, 0, 0, 0.7);
  margin: 0 0 16px 0;
}

/* Feature List */
.patient-platform__features {
  margin-bottom: 24px;
}

.patient-platform__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0px;
  padding: 8px 0;
}

.patient-platform__feature:last-child {
  margin-bottom: 0;
}

.patient-platform__feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.patient-platform__feature-text {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-text);
}

/* Action Buttons */
.patient-platform__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.patient-platform__demo-btn {
  /* Match primary gradient like why__actions .btn--primary */
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 195px;
  justify-content: center;
  height: 44px;
}

.patient-platform__demo-btn:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.patient-platform__btn-icon {
  width: 16px;
  height: 16px;
}

.btn--outline-blue {
  background: white;
  color: #0081b8;
  border: 1px solid #0081b8;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 137px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn--outline-blue:hover {
  background: #0081b8;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 129, 184, 0.2);
}

/* Force side-by-side actions on desktop */
@media (min-width: 1025px) {
  .patient-platform__actions {
    flex-direction: row;
    flex-wrap: nowrap;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {

  .patient-platform {
    padding-bottom: 0px !important;
  }

  .patient-platform__content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .patient-platform__text-content {
    max-width: 100%;
    order: -1;
  }

  .patient-platform__title {
    font-size: 48px;
    line-height: 58px;
  }

  .patient-platform__dashboard-frame {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  }

  .patient-platform__status-card {
    left: 50%;
    transform: translateX(-50%);
  }

  .patient-platform__text-content {
    padding-left: 0;
  }

  /* Reduce visual container height on mobile to follow content */
  .patient-platform__visual-content {
    min-height: 0;
    height: auto;

  }

  .patient-platform__dashboard-container {
    padding-top: 0px !important;
  }

  .patient-platform__feature-icon {
    margin-top: 5px;
    /* align icon with first line of text */
  }
}

@media (max-width: 768px) {
  .patient-platform {
    padding: 80px 0;
  }

  .patient-platform__container {
    padding: 0 16px;
  }

  .patient-platform__content {
    gap: 40px;
  }


  .patient-platform__title {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 24px;
  }

  .patient-platform__description {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 32px;
  }

  .patient-platform__features {
    margin-bottom: 32px;
    align-items: flex-start !important;
    /* ensure items align to the left/top */
  }

  .patient-platform__feature-text {
    font-size: 14px;
    text-align: left;
    /* left-align text on mobile */
  }

  .patient-platform__feature {
    justify-content: flex-start;
    /* ensure row anchors left */
    align-items: flex-start;
    /* top-align icon with multi-line text */
  }

  .patient-platform__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .patient-platform__demo-btn,
  .btn--outline-blue {
    width: 100%;
    min-width: auto;
  }

  .patient-platform__status-card {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 44px;
    font-size: 12px;
  }

  .patient-platform__status-indicator {
    width: 8px;
    height: 8px;
  }

  /* Hide decorative elements on mobile */
  .patient-platform__bg-blur,
  .patient-platform__decorative {
    display: none;
  }
}

@media (max-width: 480px) {
  .patient-platform__title {
    font-size: 28px;
    line-height: 36px;
  }

  .patient-platform__actions {
    gap: 12px;
  }

  .patient-platform__status-card {
    display: none;
  }
}

/* ============================================
   FEATURES: PATIENT MANAGEMENT (FIGMA 11276:2881)
   ============================================ */
/* Desktop: reduce bottom padding for patient features section */
@media (min-width: 1025px) {
  .features.features--patient {
    padding-bottom: 20px !important;
  }
}

.features--patient .features__container {
  position: relative;
  padding-top: 60px;
}

.features--patient .features__content {
  display: grid;
  grid-template-columns: 0.47fr 0.53fr;
  align-items: space-between;
  gap: 4px;
}

.features--patient .features__text {
  max-width: 620px;
  position: relative;
}

.features--patient .features__title {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 56px;
  line-height: 78px;
  letter-spacing: 0.66px;
  color: var(--color-text);
  margin: 0 0 20px 0;
}

.features--patient .features__title-accent {
  color: #00b894;
}

.features--patient .features__title {
  position: relative;
}

.features--patient .features__title-accent {
  position: relative;
  display: inline-block;
  z-index: 0;
  /* create stacking context so ::before can sit behind text */
}

/* Move ellipse behind the word "Care" using the same asset */
.features--patient .features__title-accent::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%) rotate(-2deg);
  width: 160px;
  height: 70px;
  background: url('../images/features-patient-ellipse.svg') no-repeat center / contain;
  z-index: -1;
  /* behind the text */
  pointer-events: none;
}

@media (max-width: 1024px) {
  .features--patient .features__title-accent::before {
    width: 160px;
    height: 72px;
    top: 68%;
  }
}

@media (max-width: 768px) {
  .features--patient .features__title-accent::before {
    width: 140px;
    height: 62px;
    top: 70%;
  }
}

@media (max-width: 480px) {
  .features--patient .features__title-accent::before {
    width: 120px;
    height: 52px;
    top: 72%;
  }
}

.features--patient .features__description {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: rgba(0, 0, 0, 0.7);
  margin: 0 0 32px 0;
  max-width: 585px;
}

.features--patient .features__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* When the decorative group is used next to the CTA button, make it inline-sized */
.features--patient .features__actions .features-patient__group {
  position: static;
  width: 56px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-block;
}

.features-patient__visual {
  position: relative;
  min-height: 520px;
  border-radius: 24px;
}

/* Panel that contains the gradient background and overlays */
.features-patient__panel {
  position: relative;
  width: 100%;
  border-radius: 24px;
  border: 20px solid transparent;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)) padding-box, linear-gradient(145deg, #0DCEA8 0%, rgba(255, 255, 255, 0) 60%) border-box;
  overflow: visible;
  /* crop children like the profiles main frame */
  aspect-ratio: 16 / 10;
  /* reduce visible height by cropping */
}

.features-patient__card {
  position: absolute;
  bottom: 30px;
  left: 30px;
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 13px 14px 40px rgba(39, 98, 131, 0.15);
  padding: 40px 12px 12px;
  text-align: center;
}

/* When the card is moved into the text column, pin it to bottom-right of the text block */
.features--patient .features__text .features-patient__card {
  left: auto;
  bottom: 90px;
  right: 200px;
  width: 70px;
  height: 70px;
}

.features-patient__gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* (ellipse is now rendered under the title via ::before) */

.features-patient__badge {
  position: absolute;
  bottom: -30px;
  left: -50px;
  height: 52px;
  padding: 0 16px 0 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
  box-shadow: 0 4px 13px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.features-patient__badge-dot {
  position: absolute;
  left: 16px;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: #3B82F6;
  /* blue-500 */
}

.features-patient__badge-text {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  color: var(--color-text);
}

.features-patient__stat {
  position: absolute;
  top: -56px;
  right: -66px;
  width: 168px;
  background: white;
  border-radius: 10px;
  box-shadow: 13px 14px 40px rgba(39, 98, 131, 0.15);
  padding: 25px 12px 12px;
  text-align: center;
  z-index: 2;
}

.features-patient__stat-icon {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
}

.features-patient__stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.features-patient__stat-number {
  display: block;
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.features-patient__stat-label {
  display: block;
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 22.4px;
  color: #4b4d4c;
}

/* Bubble decorative group */
.features-patient__bubble {
  position: absolute;
  bottom: 110px;
  right: -10px;
  width: 167px;
  height: 164px;
}

/* Small floating card with frame */
.features-patient__card {
  position: absolute;
  bottom: 30px;
  left: 30px;
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 13px 14px 40px rgba(39, 98, 131, 0.15);
}

.features-patient__card-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.features-patient__card-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Left decorative group */
.features-patient__group {
  position: absolute;
  left: -40px;
  top: 220px;
  width: 180px;
  height: auto;
}

.features-patient__decor--blur {
  position: absolute;
  right: -80px;
  top: 240px;
  width: 150px;
  height: 284px;
  border-radius: 144px;
  background: var(--color-accent);
  filter: blur(200px);
  opacity: 0.4;
}

.features-patient__decor--ellipse {
  position: absolute;
  left: 580px;
  top: 260px;
  width: 180px;
  height: 80px;
  background: radial-gradient(closest-side, rgba(0, 240, 193, 0.22), rgba(0, 240, 193, 0) 70%);
  filter: blur(10px);
  border-radius: 50%;
}

@media (max-width: 1024px) {
  .features--patient .features__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-patient__panel {
    aspect-ratio: 16 / 10;
  }

  .features-patient__stat {
    right: 16px;
    top: 16px;
  }

  /* Hide title ellipse decoration and small card on mobile */
  .features--patient .features__title-accent::before {
    content: none !important;
  }

  .features-patient__card {
    display: none !important;
  }

  /* Hide overlay badge and stat on phones */
  .features-patient__badge,
  .features-patient__stat {
    display: none !important;
  }

  /* Reduce top padding for Patient Features section on mobile */
  .features.features--patient {
    padding-top: 40px !important;
  }

  .features--patient .features__container {
    padding-top: 70px !important;
  }
}

@media (max-width: 768px) {
  .features--patient .features__title {
    font-size: 48px;
    line-height: 58px;
  }

  .features-patient__panel {
    aspect-ratio: 16 / 11;
  }

  /* Make the visual container height follow the panel height on mobile */
  .features-patient__visual {
    min-height: 0;
    height: auto;
  }

}

/* Mobile-first refinements for Features: Patient Management */
@media (max-width: 768px) {

  /* Center text column and pill; keep desktop unaffected */
  .features--patient .features__text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .features--patient .features__pill {
    margin-left: auto;
    margin-right: auto;
  }

  .features--patient .features__actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Keep overlay elements inside panel and readable */
  .features-patient__badge {
    left: 12px;
    bottom: 12px;
  }

  .features-patient__stat {
    right: 12px;
    top: 12px;
  }

  /* Hide title ellipse decoration and small card on mobile */
  .features--patient .features__title-accent::before {
    content: none !important;
  }

  .features-patient__card {
    display: none !important;
  }


  /* Hide large decorative elements to prevent overflow on phones */
  .features-patient__bubble,
  .features-patient__decor--blur,
  .features-patient__decor--ellipse {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .features--patient .features__title {
    font-size: 36px;
    line-height: 44px;
  }

  .features--patient .features__description {
    font-size: 16px;
    line-height: 24px;
  }

  /* Slightly taller crop for small phones */
  .features-patient__panel {
    aspect-ratio: 16 / 12;
  }

  /* Reduce visual noise in CTA row */
  .features--patient .features__actions .features-patient__group {
    display: none;
  }

  /* Optional: tuck the mini card or hide if space constrained */
  .features-patient__card {
    bottom: 12px;
    left: 12px;
    width: 78px;
    height: 78px;
  }
}

/* ========================================
   OPD MANAGEMENT SECTION - BASED ON FIGMA DESIGN
   ======================================== */
.opd-management {
  padding: 80px 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.opd-management__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Background blur effects */
.opd-management__bg-blur {
  position: absolute;
  background: var(--color-accent);
  border-radius: 144.029px;
  filter: blur(250px);
  opacity: 0.4;
  z-index: 1;
}

.opd-management__bg-blur--left {
  top: 200px;
  left: 200px;
  width: 150.79px;
  height: 286.159px;
  transform: rotate(327.843deg);
}

.opd-management__bg-blur--right {
  top: 400px;
  right: 100px;
  width: 124px;
  height: 234px;
  transform: rotate(90deg);
}

/* Decorative elements */
.opd-management__decorative {
  position: absolute;
  z-index: 2;
  opacity: 0.6;
}

.opd-management__decorative--1 {
  position: absolute;
  bottom: -100px;
  left: 290px;
  width: 65px;
  height: 35px;
  transform: rotate(90deg);
}

.opd-management__decorative--2 {
  top: 300px;
  right: 200px;
  width: 97px;
  height: 118px;
  transform: rotate(49.811deg);
}

.opd-management__decorative--3 {
  bottom: 35px;
  right: 60px;
  width: 167px;
  height: 164px;
}

.opd-management__decorative-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.opd-management__content {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left Content */
.opd-management__text-content {
  max-width: 520px;
}

.opd-management__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(0, 184, 148, 0.1);
  border-radius: 99px;
  margin-bottom: 10px;
}

.opd-management__badge-text {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #00b894;
}

.opd-management__title {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 75px;
  color: var(--color-text);
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.opd-management__title-highlight {
  color: #00b894;
  background: linear-gradient(to bottom, rgba(210, 228, 255, 0) 40%, rgba(210, 228, 255, 0.62) 60%);

  padding: 0 5px 2px 2px;
}

.opd-management__description {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 29.25px;
  color: rgba(0, 0, 0, 0.7);
  margin: 0 0 16px 0;
}

/* Feature List */
.opd-management__features {
  margin-bottom: 24px;
}

.opd-management__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  /* margin-bottom: 16px; */
  padding: 8px 0;
}

.opd-management__feature:last-child {
  margin-bottom: 0;
}

.opd-management__feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.opd-management__feature-text {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-text);
}

/* Action Buttons */
.opd-management__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.opd-management__demo-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 195px;
  justify-content: center;
  height: 44px;
}

.opd-management__demo-btn:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.opd-management__btn-icon {
  width: 16px;
  height: 16px;
}

.btn--outline-green {
  background: white;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 12px 24px;
  border-radius: 6px;
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 137px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn--outline-green:hover {
  background: var(--color-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 184, 148, 0.2);
}

/* Right Content - Dashboard */
.opd-management__visual-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

.opd-management__dashboard-container {
  position: relative;
  width: 100%;
  max-width: 844px;
  height: 511px;
  padding-top: 50px;
}

/* Main Dashboard Frame - Adjusted for proper display */
.opd-management__dashboard-frame {
  position: relative;
  z-index: 3;
  border-radius: 24px;
  overflow: hidden;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); */
  border-radius: 16px;
  border: 20px solid transparent;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)) padding-box,
    linear-gradient(145deg, #0DCEA8 0%, rgba(255, 255, 255, 0) 60%) border-box;
  transform: scale(1.15);
  /* transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease; */
  /* Reduce visible height to crop a bit from the bottom (similar to patient-platform) */
  height: 93%;
}


.opd-management__dashboard-img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
}

/* Gradient Overlay - Background decoration */
.opd-management__gradient-overlay {
  position: absolute;
  top: 0;
  right: -100px;
  width: 60%;
  height: 80%;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  opacity: 0.8;
}

.opd-management__gradient-img {
  width: 100%;
  height: 143.21%;
  object-fit: cover;
  object-position: center top;
}

/* Quick Access Floating Card */
.opd-management__quick-access {
  position: absolute;
  bottom: -20px;
  right: 590px;
  width: 146px;
  height: 64px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  box-shadow: 0px 4px 13px 5px rgba(0, 0, 0, 0.08);
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8px;
  animation: float 3s ease-in-out infinite;
}

.opd-management__quick-access-title {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #00b894;
  margin-bottom: 2px;
}

.opd-management__quick-access-subtitle {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  color: black;
}

/* Responsive Design */
@media (max-width: 1024px) {

  .opd-management {
    padding-top: 0;
    padding-bottom: 30px;
  }

  .opd-management__content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .opd-management__text-content {
    max-width: 100%;
  }

  .opd-management__title {
    font-size: 48px;
    line-height: 58px;
  }

  .opd-management__bg-blur--left {
    left: 50px;
  }

  .opd-management__bg-blur--right {
    right: 50px;
  }

  /* Make OPD dashboard size match Patient Platform on tablet/mobile */
  .opd-management__dashboard-container {
    max-width: 100%;
    height: auto;
    padding-top: 0;
    /* align with patient-platform mobile */
  }

  .opd-management__dashboard-frame {
    height: auto;
    /* let aspect-ratio control height */
    aspect-ratio: 16 / 10;
    /* same ratio as patient-platform */
    margin-left: 5px;
    margin-right: 5px;
  }
}

@media (max-width: 768px) {

  .opd-management__container {
    padding: 0 16px;
  }

  .opd-management__content {
    gap: 40px;
  }

  /* Let visual container shrink to fit on mobile */
  .opd-management__visual-content {
    min-height: 0;
    height: auto;
  }

  .opd-management__title {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 24px;
  }

  .opd-management__description {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 32px;
  }

  .opd-management__features {
    margin-bottom: 32px;
    text-align: left;
    /* ensure feature list text is left-aligned on mobile */
  }

  .opd-management__feature-text {
    font-size: 14px;
    text-align: left;
    /* override parent center alignment */
  }

  /* Reinforce OPD dashboard sizing parity on smaller phones */
  .opd-management__dashboard-container {
    max-width: 100%;
    height: auto;
    padding-top: 0;
  }

  .opd-management__dashboard-frame {
    height: auto;
    aspect-ratio: 16 / 10;
    /* Add small horizontal margins on mobile */
    margin-left: 20px;
    margin-right: 20px;
    /* Let width size naturally within margins */
    width: auto;
  }

  /* Keep feature row content anchored to the left even if parent centers text */
  .opd-management__feature {
    justify-content: flex-start;
    align-items: flex-start;
    /* top-align icon with multi-line text on mobile */
    gap: 8px;
    /* reduce space between icon and text */
    margin-bottom: 10px;
    /* tighten vertical spacing between items */
    padding: 4px 0;
    /* reduce internal vertical padding */
  }

  /* Nudge icon slightly down for better visual alignment with first text line */
  .opd-management__feature-icon {
    margin-top: 6px;
  }

  .opd-management__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .opd-management__demo-btn,
  .btn--outline-green {
    width: 100%;
    min-width: auto;
  }

  .opd-management__quick-access {
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 56px;
  }

  .opd-management__quick-access-title {
    font-size: 16px;
    line-height: 22px;
  }

  .opd-management__quick-access-subtitle {
    font-size: 12px;
    line-height: 14px;
  }

  /* Hide decorative elements on mobile */
  .opd-management__bg-blur,
  .opd-management__decorative {
    display: none;
  }
}

@media (max-width: 480px) {
  .opd-management__title {
    font-size: 28px;
    line-height: 36px;
  }

  .opd-management__actions {
    gap: 12px;
  }

  .opd-management__quick-access {
    display: none;
  }
}

/* ========================================
   FAQ SECTION - BASED ON FIGMA DESIGN
   ======================================== */
.faq {
  padding: 60px 0;
  background: var(--color-bg);
  position: relative;
  overflow: visible;
}

.faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq__header {
  text-align: center;
  margin-bottom: 40px;
}

.faq__title {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.faq__title-highlight {
  color: #00b894;
  padding-bottom: 20px;
  position: relative;
  display: inline-block;
}

.faq__subtitle {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.faq__content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

/* Background blur effect */
.faq__bg-blur {
  position: absolute;
  top: 85px;
  left: 50%;
  transform: translateX(-50%) rotate(327.843deg);
  width: 150.79px;
  height: 286.159px;
  background: var(--color-accent);
  border-radius: 144.029px;
  filter: blur(250px);
  opacity: 0.3;
  z-index: 1;
}

.faq__list {
  position: relative;
  z-index: 2;
}

.faq__item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq__item--expanded {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 25px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
}

.faq__question:hover {
  background: rgba(0, 0, 0, 0.02);
}

.faq__question:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.faq__question-text {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--color-text);
  flex: 1;
  margin-right: 20px;
}

.faq__icon {
  width: 20px;
  height: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq__icon--plus {
  display: block;
}

.faq__icon--minus {
  display: none;
}

.faq__item--expanded .faq__icon--plus {
  display: none;
}

.faq__item--expanded .faq__icon--minus {
  display: block;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.faq__item--expanded .faq__answer {
  max-height: 200px;
  opacity: 1;
}

.faq__answer-text {
  font-family: 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
  padding: 0 25px 25px 25px;
}

/* Decorative element */
.faq__decorative {
  display: none;
}

.faq__decorative-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Decorative arrow centered below the FAQ section */
.faq__decorative-bottom {
  position: absolute;
  left: 18%;
  transform: translateX(-50%);
  bottom: -134px;
  /* render just below the section */
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: -1;
}

/* Hide bottom decorative arrow on mobile */
@media (max-width: 768px) {
  .faq__decorative-bottom {
    display: none !important;
  }

  .faq__title {
    font-size: 32px !important;
  }
}


/* Place decorative underline directly beneath the highlighted word */
.faq__title-highlight::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 292px;
  height: 15px;
  background: url('../images/faq-decorative.svg') no-repeat center / contain;
  opacity: 0.8;
  pointer-events: none;
}

@media (max-width: 768px) {
  .faq__title-highlight::after {
    width: 220px;
    height: 12px;
    bottom: -6px;
  }
}

@media (max-width: 480px) {
  .faq__title-highlight::after {
    width: 180px;
    height: 10px;
    bottom: -4px;
  }
}

/* Hide FAQ underline ellipse on Features page only (mobile) */
@media (max-width: 768px) {
  .gradient-flow-bg--features~.faq .faq__title-highlight::after {
    content: none !important;
    display: none !important;
  }
}

/* Hide FAQ underline ellipse globally on mobile */
@media (max-width: 768px) {

  .faq__title-highlight::after,
  .faq__title-highlight:after {
    content: none !important;
    display: none !important;
  }
}

/* Hide the Why section actions arrow on mobile */
@media (max-width: 768px) {
  .why__actions-arrow {
    display: none !important;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq {
    padding-top: 40px !important;
    /* reduce top padding on mobile */
  }

  .faq__header {
    margin-bottom: 20px !important;
  }

  .faq__title {
    margin-bottom: 0 !important;
  }

  .faq__container {
    padding: 0 16px;
  }

  .faq__header {
    margin-bottom: 48px;
  }

  .faq__title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .faq__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .faq__question {
    padding: 20px 16px;
  }

  .faq__question-text {
    font-size: 16px;
    line-height: 24px;
    margin-right: 16px;
  }

  .faq__answer-text {
    font-size: 14px;
    line-height: 24px;
    padding: 0 16px 20px 16px;
  }

  .faq__bg-blur {
    display: none;
  }

  .faq__decorative {
    display: none;
  }
}

@media (max-width: 480px) {
  .faq__title {
    font-size: 28px;
  }

  .faq__question {
    padding: 16px 12px;
  }

  .faq__question-text {
    font-size: 15px;
    margin-right: 12px;
  }

  .faq__answer-text {
    padding: 0 12px 16px 12px;
  }
}

.nav__logo img {
    width: 170px;
}
a.nav__brand {
    display: flex;
}