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

:root {
  --teal: #0b6e6e;
  --teal-dark: #074a4a;
  --teal-light: #d4f1f4;
  --teal-soft: #f0fbfb;
  --brand: #034285;
  --brand-soft: #dbeafe;
  --gold: #c9963a;
  --red: #dc3545;
  --orange: #f97316;
  --violet: #5b21b6;
  --green: #059669;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --white: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.10);
  --shadow-md: 0 16px 34px rgba(15, 23, 42, 0.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; }

.landing-page {
  position: relative;
  overflow: hidden;
  background: #fbfbfb;
}

.landing-page::before,
.landing-page::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.landing-page::before { display: none; }
.landing-page::after  { display: none; }

.landing-shell {
  position: relative;
  z-index: 1;
  max-width: 1520px;
  margin: 0 auto;
  padding: 28px 5% 48px;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.landing-copy {
  max-width: 700px;
  padding: 12px 0 8px;
}

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 13px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 110, 110, 0.16);
  background: rgba(255, 255, 255, 0.98);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.landing-eyebrow svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.landing-copy h1 {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(2.8rem, 3.35vw, 3.75rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  max-width: none;
}

.landing-copy h1 .line {
  display: block;
  white-space: nowrap;
}

.landing-copy h1 .accent { color: #0b8484; }

.landing-copy p {
  margin-top: 15px;
  max-width: 660px;
  font-size: clamp(0.96rem, 1.1vw, 1.06rem);
  line-height: 1.58;
  color: #667085;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.landing-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.landing-btn-primary {
  background: #0b8484;
  color: white;
  border: 1px solid rgba(11, 132, 132, 0.16);
  box-shadow: 0 10px 20px rgba(11, 132, 132, 0.14);
}

.landing-btn-secondary {
  background: rgba(255, 255, 255, 0.98);
  color: var(--brand);
  border: 1px solid rgba(3, 66, 133, 0.18);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.landing-btn:hover { transform: translateY(-1px); }

.landing-btn-primary:hover {
  background: #0a7676;
  box-shadow: 0 14px 26px rgba(11, 132, 132, 0.2);
}

.landing-btn-secondary:hover {
  border-color: rgba(11, 132, 132, 0.28);
  color: #0b8484;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.landing-visual {
  position: relative;
  min-height: 560px;
  padding-left: 6px;
}

.landing-visual::before {
  content: '';
  position: absolute;
  inset: 0 0 0 -8px;
  background: radial-gradient(circle at 58% 38%, rgba(219, 234, 254, 0.32), rgba(255, 255, 255, 0) 58%);
  pointer-events: none;
}

.landing-visual > * { position: absolute; }

.landing-visual .phone-mock,
.landing-visual .family-card,
.landing-visual .landing-visual-orb { position: absolute; }

.landing-visual-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.landing-visual-orb.orb-a {
  width: 170px; height: 170px;
  top: -6px; left: 16%;
  background: rgba(237, 233, 254, 0.46);
}

.landing-visual-orb.orb-b {
  width: 232px; height: 232px;
  top: -8px; right: 0;
  background: rgba(219, 234, 254, 0.5);
}

.landing-visual-orb.orb-c {
  width: 122px; height: 122px;
  bottom: 18px; left: 4%;
  background: rgba(254, 243, 199, 0.36);
}

.phone-mock {
  position: absolute;
  left: 0; top: 0;
  width: min(275px, 31vw);
  padding: 9px;
  border-radius: 38px;
  background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.26),
    0 2px 0 rgba(255, 255, 255, 0.06) inset;
  z-index: 3;
}

.phone-inner {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  min-height: 532px;
  border: 1px solid #e5e7eb;
}

.phone-notch {
  width: 34%; height: 11px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.92);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  color: #111827;
  font-size: 0.62rem;
  font-weight: 700;
}

.phone-top span:last-child {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.phone-top svg { width: 15px; height: 15px; color: #111827; }

.phone-content { padding: 2px 14px 12px; }

.phone-greeting { margin-bottom: 12px; }

.phone-greeting strong {
  display: block;
  font-size: 1rem;
  line-height: 1.12;
  color: #1f2937;
}

.phone-greeting span {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 0.72rem;
}

.phone-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  border-radius: 14px;
  background: white;
  border: 1px solid #e5e7eb;
  color: #98a2b3;
  font-size: 0.72rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.phone-search svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  stroke: #98a2b3;
}

.phone-feature {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(212, 241, 244, 0.96), rgba(255, 255, 255, 1));
  border: 1px solid rgba(11, 110, 110, 0.08);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.phone-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 6px 2px 4px 4px;
}

.phone-feature-copy strong {
  font-size: 0.9rem;
  line-height: 1.2;
  color: var(--teal);
}

.phone-feature-copy span {
  font-size: 0.68rem;
  line-height: 1.45;
  color: #5b6474;
}

.phone-feature-copy a {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  font-size: 0.66rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(11, 110, 110, 0.18);
}

.phone-feature-portrait {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 116px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.98));
}

.phone-feature-portrait img {
  width: 86px; height: 86px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid rgba(255,255,255,0.96);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.phone-summary {
  margin-top: 10px;
  padding: 11px 11px 9px;
  border-radius: 16px;
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.phone-summary h4 {
  margin: 0 0 8px;
  color: #1f2937;
  font-size: 0.86rem;
  font-weight: 800;
}

.summary-row { display: flex; flex-direction: column; gap: 5px; }

.summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid #eef2f7;
}

.summary-item:first-child { border-top: 0; padding-top: 0; }

.summary-icon {
  width: 24px; height: 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--brand-soft);
  color: var(--brand);
}

.summary-icon svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.summary-copy strong,
.summary-copy span { display: block; }

.summary-copy strong { font-size: 0.72rem; color: #344054; }
.summary-copy span   { margin-top: 2px; font-size: 0.66rem; color: #667085; }

.family-card {
  position: absolute;
  right: -14px; top: 8px;
  width: calc(100% + 38px);
  min-height: 424px;
  border-radius: 0;
  overflow: visible;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.56) 32%, rgba(219, 234, 254, 0.36) 70%, rgba(255, 255, 255, 0) 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  z-index: 2;
  pointer-events: none;
}

.family-card::before,
.family-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.family-card::before {
  width: 170px; height: 170px;
  top: 16px; left: 34px;
  background: rgba(219, 234, 254, 0.3);
}

.family-card::after {
  width: 126px; height: 126px;
  right: 10px; bottom: 16px;
  background: rgba(254, 243, 199, 0.32);
}

.family-card img {
  position: relative;
  z-index: 1;
  width: 59%;
  max-width: 92%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 22px 18px rgba(15, 23, 42, 0.10));
  transform: translate(10px, 6px);
}

.landing-services {
  position: relative;
  z-index: 4;
  margin-top: -52px;
  padding: 0;
  border-radius: 28px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(226,232,240,0.88);
  box-shadow: 0 18px 42px rgba(15,23,42,0.06);
  overflow: hidden;
}

.landing-services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.landing-service {
  min-height: 208px;
  padding: 24px 16px 20px;
  text-align: center;
  border-right: 1px solid rgba(226, 232, 240, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
  overflow: hidden;
}

.landing-service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(11,132,132,0.03));
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
}

.landing-service > * { position: relative; z-index: 1; }

.landing-service:last-child { border-right: 0; }

.service-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}

.service-icon svg {
  width: 28px; height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .28s ease;
}

.service-icon.doctor   { background: rgba(212, 241, 244, 0.92); color: var(--teal); }
.service-icon.lab      { background: rgba(237, 233, 254, 0.9);  color: var(--violet); }
.service-icon.medicine { background: rgba(254, 243, 199, 0.88); color: var(--orange); }
.service-icon.hospital { background: rgba(219, 234, 254, 0.9);  color: var(--brand); }
.service-icon.records  { background: rgba(220, 252, 231, 0.88); color: var(--green); }
.service-icon.eclinic  { background: rgba(254, 226, 226, 0.86); color: var(--red); }

.landing-service h3 {
  margin: 0 0 10px;
  font-size: 0.96rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.landing-service p {
  margin: 0 0 16px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #667085;
  min-height: 54px;
}

.landing-service a {
  margin-top: auto;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  transition: color .22s ease, transform .22s ease;
}

.landing-service:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  border-color: rgba(11, 132, 132, 0.14);
}

.landing-service:hover::before { opacity: 1; }
.landing-service:hover .service-icon svg { transform: scale(1.08); }

.landing-service:hover a {
  color: #0b8484;
  transform: translateX(2px);
}

.landing-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.landing-metric {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border-right: 1px solid rgba(226, 232, 240, 0.92);
}

.landing-metric:last-child { border-right: 0; }

.landing-metric-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.landing-metric-icon svg {
  width: 28px; height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-metric-copy strong,
.landing-metric-copy span { display: block; }

.landing-metric-copy strong {
  font-size: 1.04rem;
  line-height: 1.1;
  font-weight: 800;
  color: #111827;
}

.landing-metric-copy span {
  margin-top: 3px;
  font-size: 0.82rem;
  color: #475569;
}

.metric-green  { background: rgba(212, 241, 244, 0.92); color: var(--green); }
.metric-blue   { background: rgba(219, 234, 254, 0.92); color: var(--brand); }
.metric-orange { background: rgba(254, 243, 199, 0.86); color: var(--orange); }
.metric-teal   { background: rgba(220, 252, 231, 0.9);  color: var(--teal); }

.landing-promos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.landing-promo {
  position: relative;
  min-height: 168px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.45);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: stretch;
}

.promo-copy {
  position: relative;
  z-index: 1;
  width: 58%;
  display: flex;
  flex-direction: column;
}

.promo-copy h3 {
  font-size: 0.92rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.promo-copy p {
  font-size: 0.76rem;
  line-height: 1.45;
  color: #475569;
  margin-bottom: 14px;
  max-width: 170px;
}

.promo-copy a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.promo-visual {
  position: absolute;
  right: 0; bottom: 0;
  width: 52%; height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.promo-visual img {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 14px 16px rgba(15, 23, 42, 0.07));
}

.promo-green  { background: linear-gradient(135deg, rgba(240, 251, 251, 1), rgba(255, 255, 255, 0.96)); }
.promo-green h3 { color: #0f766e; }
.promo-green a  { background: var(--green); }

.promo-purple  { background: linear-gradient(135deg, rgba(245, 243, 255, 1), rgba(255, 255, 255, 0.96)); }
.promo-purple h3 { color: #4338ca; }
.promo-purple a  { background: #5b21b6; }

.promo-orange  { background: linear-gradient(135deg, rgba(255, 247, 237, 1), rgba(255, 255, 255, 0.96)); }
.promo-orange h3 { color: #ea580c; }
.promo-orange a  { background: var(--orange); }

.promo-blue  { background: linear-gradient(135deg, rgba(239, 246, 255, 1), rgba(255, 255, 255, 0.96)); }
.promo-blue h3 { color: var(--brand); }
.promo-blue a  { background: var(--brand); }

/* Responsive */
@media (max-width: 1240px) {
  .landing-copy { max-width: 620px; }
  .landing-copy h1 { font-size: clamp(2.55rem, 3.25vw, 3.35rem); }
  .landing-visual { min-height: 520px; }
  .family-card { width: calc(100% + 28px); }
  .family-card img { transform: translate(10px, 4px); }
  .landing-services { margin-top: -42px; }
}

@media (max-width: 992px) {
  .landing-shell { padding-left: 4%; padding-right: 4%; }
  .landing-copy { max-width: 560px; }
  .landing-copy h1 { font-size: clamp(2.35rem, 4vw, 3.15rem); }
  .landing-visual { min-height: 520px; max-width: 860px; margin: 0 auto; padding-left: 0; }
  .phone-mock { left: 0; width: min(255px, 30vw); }
  .family-card { right: -8px; width: calc(100% + 18px); }
  .family-card img { width: 64%; transform: translate(6px, 4px); }
  .landing-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-metric:nth-child(2n) { border-right: 0; }
  .landing-metric:nth-child(n + 3) { border-top: 1px solid rgba(226, 232, 240, 0.92); }
  .landing-promos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-services { margin-top: -34px; }
}

@media (max-width: 760px) {
  .landing-shell { padding-top: 24px; padding-bottom: 36px; }
  .landing-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .landing-copy { max-width: none; }
  .landing-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 10.2vw, 2.8rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
  }
  .landing-copy h1 .line { white-space: normal; }
  .landing-visual { min-height: auto; margin-top: 6px; }
  .phone-mock { display: none; }
  .family-card {
    position: relative;
    right: auto; top: auto;
    width: 100%; max-width: 560px;
    min-height: 300px;
    margin: 18px auto 0;
    justify-content: center;
  }
  .family-card img { width: 94%; max-width: 94%; transform: none; }
  .landing-visual-orb.orb-a,
  .landing-visual-orb.orb-b,
  .landing-visual-orb.orb-c { display: none; }
  .landing-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .landing-btn { width: 100%; justify-content: center; }
  .landing-services { overflow-x: auto; margin-top: 18px; }
  .landing-services-grid { min-width: 1180px; }
  .landing-metrics { grid-template-columns: 1fr; }
  .landing-metric { border-right: 0; border-top: 1px solid rgba(226, 232, 240, 0.92); }
  .landing-metric:first-child { border-top: 0; }
  .landing-promos { grid-template-columns: 1fr; }
  .promo-copy { width: 60%; }
}

@media (max-width: 560px) {
  .landing-copy h1 { font-size: clamp(1.85rem, 11vw, 2.35rem); }
  .landing-copy p  { font-size: 0.95rem; }
  .phone-inner { min-height: 500px; }
  .family-card { min-height: 250px; }
  .landing-services-grid { min-width: 1060px; }
}
