/* Medura Theme D — Bold Edge
   Persona: Decision-maker at a clinic who's seen a hundred SaaS sites.
   High contrast, no noise. White + near-black sections, one strong violet accent.
   BG: #f8f8f8 | Dark: #0a0a0a | Accent: #6d28d9 | Text: #111111 */

/* ===== GLOBAL ===== */
html,
body,
.uni-body {
  background-color: #f8f8f8 !important;
  color: #111111 !important;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6,
.title, .tg-element-title,
.elementor-heading-title {
  color: #0a0a0a !important;
  letter-spacing: -0.025em !important;
  font-weight: 800 !important;
}

h1,
.elementor-heading-title.elementor-size-xxl,
.hero__title {
  font-size: clamp(2.5rem, 9vw, 5.5rem) !important;
  letter-spacing: -0.03em !important;
  line-height: 1.05 !important;
}

h2,
.section-headline,
.block-title,
.fe-sec__h {
  font-size: clamp(1.75rem, 4vw, 3rem) !important;
  letter-spacing: -0.025em !important;
  line-height: 1.1 !important;
}

/* Section eyebrows */
.section-eyebrow,
.section-label,
.fe-eyebrow {
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  color: #6d28d9 !important;
}

/* Body text */
p,
.text-muted,
.elementor-widget-text-editor p {
  color: #444444 !important;
  line-height: 1.65 !important;
}

/* ===== HEADER ===== */
.uc-header .uc-navbar-container,
.uc-navbar-container.uc-navbar-transparent {
  background: rgba(248, 248, 248, 0) !important;
  transition: all 0.2s ease !important;
}

.uc-navbar-container.uc-navbar-sticky {
  background: rgba(248, 248, 248, 0.96) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: none !important;
}

/* Nav links */
.uc-navbar-nav > li > a.nav-links {
  color: #111111 !important;
  font-weight: 600 !important;
}

.uc-navbar-nav > li > a.nav-links:hover {
  color: #6d28d9 !important;
  background: rgba(109, 40, 217, 0.06) !important;
  border-radius: 0.5rem !important;
}

/* CTA buttons */
.btn.btn-primary,
.tg-btn.btn-primary,
a.btn-primary {
  background: #0a0a0a !important;
  border-color: #0a0a0a !important;
  color: #fff !important;
  border-radius: 0.375rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  transition: all 0.15s !important;
}

.btn.btn-primary:hover,
.tg-btn.btn-primary:hover {
  background: #6d28d9 !important;
  border-color: #6d28d9 !important;
  transform: translateY(-1px) !important;
}

/* Outline buttons */
.btn.btn-outline-primary,
.btn-outline-dark,
a[class*="btn-outline"] {
  border-color: #0a0a0a !important;
  border-width: 2px !important;
  color: #0a0a0a !important;
  border-radius: 0.375rem !important;
}

.btn.btn-outline-primary:hover,
.btn-outline-dark:hover {
  background: #0a0a0a !important;
  color: #fff !important;
}

/* ===== HERO ===== */
.hero,
.fe-hero,
.pr-hero {
  background: #f8f8f8 !important;
}

/* Blobs: more subtle on this theme */
.blob-lime {
  background: radial-gradient(
    circle at 40% 40%,
    rgba(109, 40, 217, 0.25) 0%,
    rgba(109, 40, 217, 0.1) 35%,
    transparent 65%
  ) !important;
  filter: blur(80px) !important;
}

.blob-blue {
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.04) 0%,
    transparent 65%
  ) !important;
  filter: blur(60px) !important;
}

/* Hero title */
.hero__title,
.hero__title-em {
  color: #0a0a0a !important;
}

.hero__title-swoosh svg path,
.hero__title-swoosh__line {
  stroke: #6d28d9 !important;
}

/* Email bar */
.email-bar {
  background: #fff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

.email-bar button {
  background: #0a0a0a !important;
  border-radius: 0.375rem !important;
}

.email-bar button:hover {
  background: #6d28d9 !important;
}

/* ===== AUDIENCE CARDS ===== */
.audience {
  background: #0a0a0a !important;
}

.audience-card {
  border-radius: 0.75rem !important;
}

.audience-card--d {
  background: #111827 !important;
}

.audience-card--d h2,
.audience-card--d p,
.audience-card--d li {
  color: #e5e7eb !important;
}

.audience-card--d li::before {
  color: #a78bfa !important;
}

.audience-card--p {
  background: #1a0e30 !important;
}

.audience-card--p h2,
.audience-card--p p,
.audience-card--p li {
  color: #e5e7eb !important;
}

.audience-card--p li::before {
  color: #a78bfa !important;
}

.audience-card--d a.cta,
.audience-card--p a.cta {
  color: #a78bfa !important;
}

/* ===== FEATURE CARDS ===== */
.feat-card {
  border-radius: 0.75rem !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
}

.feat-card:hover {
  border-color: rgba(109, 40, 217, 0.25) !important;
  box-shadow: 0 16px 48px rgba(109, 40, 217, 0.1) !important;
}

.feat-card__ic-wrap {
  background: linear-gradient(135deg, #f3f0ff, #ede9fe) !important;
}

/* ===== SHOWCASE ===== */
.showcase {
  background: #0a0a0a !important;
}

.showcase__container {
  background: #0a0a0a !important;
}

.showcase__in,
.showcase__panel {
  background: #141414 !important;
}

.showcase__tabs button {
  color: #888888 !important;
}

.showcase__tabs button[aria-selected="true"] {
  background: #1f1f1f !important;
  color: #fff !important;
  border-left-color: #6d28d9 !important;
}

.faux-title,
.faux-desc,
.faux-ui {
  background: #1f1f1f !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: #e5e7eb !important;
}

/* ===== HOW IT WORKS ===== */
.how {
  background: #0a0a0a !important;
  color: #e5e7eb !important;
}

.how h2,
.how3__it h3,
.how3__it p {
  color: #e5e7eb !important;
}

.how3__it p {
  color: #9ca3af !important;
}

.how__bubble {
  background: #6d28d9 !important;
  color: #fff !important;
}

.how3::before {
  border-top-color: rgba(109, 40, 217, 0.3) !important;
}

/* ===== STATS BAR ===== */
.ms-stats {
  background: #0a0a0a !important;
}

.ms-stats__n {
  color: #a78bfa !important;
}

/* ===== TESTIMONIALS ===== */
.testimonials,
.testimonials-section {
  background: #0a0a0a !important;
}

.t-card,
.testi-card {
  background: #141414 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.t-card p.quote,
.testi-card p {
  color: #d1d5db !important;
}

.t-name,
.testi-author strong {
  color: #f9fafb !important;
}

.t-clin,
.testi-author span {
  color: #6b7280 !important;
}

.t-stars,
.testi-card .stars {
  color: #a78bfa !important;
}

/* ===== PRICING ===== */
.pr-page-top {
  background: #f8f8f8 !important;
}

.pricing-section {
  background: #0a0a0a !important;
  color: #e5e7eb !important;
}

.pricing-section h2,
.pricing-section .section-headline {
  color: #f9fafb !important;
}

.pr-card,
.price-card {
  background: #141414 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  border-radius: 0.75rem !important;
}

.pr-card h2,
.pr-amount,
.price-info h3,
.price-amount {
  color: #f9fafb !important;
}

.pr-card .per,
.price-amount span {
  color: #9ca3af !important;
}

.pr-list li,
.price-features li {
  color: #d1d5db !important;
}

.pr-list li::before,
.price-features li::before {
  color: #a78bfa !important;
}

.pr-card--pop,
.price-card.featured {
  border-color: #6d28d9 !important;
  box-shadow: 0 0 0 1px rgba(109, 40, 217, 0.3), 0 8px 40px rgba(109, 40, 217, 0.2) !important;
}

.pr-pop,
.best-badge {
  background: #6d28d9 !important;
}

.pr-addons {
  background: #0a0a0a !important;
}

.pr-addons h2,
.pr-addons p {
  color: #e5e7eb !important;
}

.pr-table {
  background: #141414 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.pr-table th,
.pr-table td {
  color: #d1d5db !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

.pr-toggle__btn[aria-pressed="true"] {
  background: #6d28d9 !important;
}

/* ===== FAQ ===== */
.faq__item,
.faq-item {
  background: #141414 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  border-radius: 0.5rem !important;
}

.faq__btn,
.faq-q {
  color: #f9fafb !important;
}

.faq__p,
.faq-a p {
  color: #9ca3af !important;
}

.faq-q[aria-expanded="true"] .faq-icon {
  color: #a78bfa !important;
}

.faq-section.landing-faq {
  background: #0a0a0a !important;
}

/* ===== FINAL CTA ===== */
.ms-final-cta {
  background: linear-gradient(120deg, #1a0e30 0%, #2d1856 100%) !important;
}

.ms-final-cta h2,
.ms-final-cta p {
  color: #f9fafb !important;
}

.final-cta {
  background: #0a0a0a !important;
}

.cta-text h2 {
  color: #f9fafb !important;
}

.cta-text p {
  color: #9ca3af !important;
}

.cta-inner {
  border: 1px solid rgba(109, 40, 217, 0.2) !important;
  border-radius: 1rem !important;
  padding: 2.5rem !important;
}

/* ===== INTEGRATIONS ===== */
.integrations-section {
  background: #050505 !important;
}

.int-card {
  background: #111111 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.int-card:hover {
  border-color: rgba(109, 40, 217, 0.3) !important;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #050505 !important;
}

.site-footer .footer-topbar {
  border: none !important;
  background-image: none !important;
}

/* ===== STICKY CTA — violet ===== */
.medura-sticky-cta {
  background: #f8f8f8 !important;
  border-top-color: rgba(0, 0, 0, 0.1) !important;
}

.medura-sticky-cta__link {
  background: #0a0a0a !important;
  color: #fff !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
  font-size: 0.95rem !important;
  letter-spacing: -0.01em !important;
}

.medura-sticky-cta__link:hover {
  background: #6d28d9 !important;
  color: #fff !important;
}

/* ===== MOBILE SPECIFICS ===== */
@media (max-width: 767px) {
  h1, .hero__title,
  .elementor-heading-title.elementor-size-xxl {
    font-size: clamp(2.25rem, 10vw, 4rem) !important;
    letter-spacing: -0.025em !important;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .feature-card-mock {
    background: #141414 !important;
    border-radius: 0.75rem !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .feature-text h3 {
    font-size: 1.5rem !important;
    letter-spacing: -0.02em !important;
  }

  .pr-cards {
    grid-template-columns: 1fr !important;
  }

  .price-card-inner {
    grid-template-columns: 1fr !important;
  }

  .cta-inner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 1.75rem !important;
  }
}

body.medura-theme-d .medura-theme-trigger {
  background: #6d28d9 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
