/* KnowMediQ Marketing — Clinical Luxury */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Sora:wght@400;600;700;800&display=swap');

:root {
  --navy: #1a2f6e;
  --blue: #2952cc;
  --violet: #6b3cf6;
  --teal: #00b4d8;
  --white: #ffffff;
  --off-white: #f8faff;
  --gray-50: #f1f4fb;
  --gray-100: #e8ecf8;
  --gray-200: #d0d8ef;
  --gray-400: #8898c8;
  --gray-600: #4a5680;
  --gray-800: #1e2640;
  --success: #10b981;
  --gradient: linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
  --gradient-soft: linear-gradient(135deg, #eff0ff 0%, #e8f4fd 100%);
  --shadow-sm: 0 2px 8px rgba(26,47,110,0.06);
  --shadow-md: 0 8px 32px rgba(26,47,110,0.10);
  --shadow-lg: 0 20px 60px rgba(26,47,110,0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ═══ TOP BAR ═══ */
.top-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
  padding: 8px 0;
  font-size: 13px;
  color: var(--gray-600);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-bar-left svg { flex-shrink: 0; }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-right a {
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.2s;
}
.top-bar-right a:hover { color: var(--navy); }

/* ═══ NAV ═══ */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
}
.logo .dot { color: var(--violet); font-size: 28px; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,60,246,0.3);
}
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 12px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--gray-200);
  color: var(--gray-800);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover {
  border-color: var(--violet);
  color: var(--violet);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--violet);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: gap 0.2s;
}
.btn-ghost:hover { gap: 10px; }

/* ═══ EYEBROW ═══ */
.eyebrow {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--violet);
  margin-bottom: 16px;
}

/* ═══ HERO ═══ */
.hero {
  padding: 80px 0 64px;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(107,60,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: 60px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta { margin-bottom: 28px; }
.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ═══ PILLS ═══ */
.quick-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.pill {
  padding: 8px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  transition: all 0.2s;
}
.pill:hover {
  border-color: var(--violet);
  color: var(--violet);
  background: rgba(107,60,246,0.04);
}

/* ═══ SECTION ═══ */
.section {
  padding: 80px 0;
}
.section--alt {
  background: var(--off-white);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.section-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ═══ FEATURE CARDS ═══ */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--gray-100);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  border-color: rgba(107,60,246,0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon--violet { background: rgba(107,60,246,0.1); color: var(--violet); }
.card-icon--blue { background: rgba(41,82,204,0.1); color: var(--blue); }
.card-icon--teal { background: rgba(0,180,216,0.1); color: var(--teal); }
.card-icon--success { background: rgba(16,185,129,0.1); color: var(--success); }

.card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ═══ SERVICE HERO ═══ */
.service-hero {
  padding: 64px 0 48px;
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.service-hero .eyebrow { color: rgba(255,255,255,0.7); }
.service-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.service-hero p {
  font-size: 17px;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.service-hero .btn-primary {
  background: var(--white);
  color: var(--violet);
}
.service-hero .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ═══ PRICING ═══ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: all 0.25s;
}
.price-card:hover {
  border-color: rgba(107,60,246,0.2);
  box-shadow: var(--shadow-md);
}
.price-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.price-amount {
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}
.price-card p {
  font-size: 13px;
  color: var(--gray-600);
}

/* ═══ TRUST BAR ═══ */
.trust-bar {
  padding: 48px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  color: var(--blue);
}
.trust-item strong {
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
}
.trust-item span {
  font-size: 12px;
  color: var(--gray-400);
}

/* ═══ FOOTER ═══ */
footer {
  padding: 60px 0 32px;
  background: var(--off-white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--violet); }
.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.footer-disclaimer {
  font-size: 11px;
  max-width: 700px;
  margin: 0 auto;
}

/* ═══ LOGO ═══ */
.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-img { height: 72px; width: auto; }
.footer-logo-img { height: 40px; width: auto; }

/* ═══ HERO CENTER ═══ */
.hero-center {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-center h1 { margin-bottom: 12px; }
.hero-sub {
  font-size: 20px;
  color: var(--gray-600);
  margin-bottom: 40px;
  text-align: center;
}
.hero-note {
  font-size: 14px;
  color: var(--gray-400);
  max-width: 600px;
  margin: 32px auto 0;
  line-height: 1.6;
}

/* ═══ SEARCH BOX ═══ */
.search-box {
  max-width: 768px;
  margin: 0 auto 32px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 24px 28px;
  text-align: left;
  transition: box-shadow 0.3s;
}
.search-box:hover { box-shadow: 0 24px 72px rgba(26,47,110,0.18); }
.search-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.search-icon { flex-shrink: 0; }
.search-placeholder {
  font-size: 18px;
  color: var(--gray-400);
}
.search-hint {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.search-cta {
  display: inline-flex;
  margin-top: 4px;
}

/* ═══ SPLIT GRID ═══ */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-image {
  position: relative;
}
.split-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.play-overlay:hover { background: rgba(0,0,0,0.6); }
.play-overlay svg { margin-left: 3px; }

.image-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-badge strong {
  display: block;
  font-size: 14px;
  color: var(--gray-800);
}
.image-badge span {
  font-size: 12px;
  color: var(--gray-400);
}
.split-content h2 {
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}
.split-content > p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-item {
  display: flex;
  gap: 12px;
}
.feature-item h3 {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2px;
}
.feature-item p {
  font-size: 13px;
  color: var(--gray-600);
}

/* ═══ STATS ═══ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  margin-bottom: 48px;
}
.stat-num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
}
.stat-label {
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 4px;
}

/* ═══ TESTIMONIAL ═══ */
.testimonial {
  max-width: 720px;
  margin: 0 auto;
  background: var(--gray-50);
  border-radius: 20px;
  padding: 40px 48px;
  position: relative;
}
.quote-icon {
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 18px;
  color: var(--gray-800);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author {
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}
.testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--gray-800);
}
.testimonial-author span {
  font-size: 13px;
  color: var(--gray-400);
}
.testimonial-service {
  display: block;
  font-size: 13px;
  color: var(--blue);
  margin-top: 2px;
}

/* ═══ FOOTER LOGO ═══ */
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

/* ═══ MOBILE ═══ */
@media (max-width: 900px) {
  .hero-grid, .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; letter-spacing: -0.5px; }
  .card-grid--4, .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .top-bar-right { display: none; }
  .service-hero h1 { font-size: 28px; }
  .feature-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-num { font-size: 32px; }
  .testimonial { padding: 28px 24px; }
  .image-badge { position: static; margin-top: 16px; display: inline-flex; }
}
/* ═══ CAROUSEL ═══ */
.carousel { position: relative; }
.carousel-track { position: relative; min-height: 240px; }
.carousel-slide {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: var(--violet);
  border-color: var(--violet);
  transform: scale(1.2);
}

@media (max-width: 600px) {
  .card-grid--4, .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  .section { padding: 48px 0; }
  .search-box { padding: 16px 20px; }
}
