﻿@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/cairo-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/cairo-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/cairo-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/cairo-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/cairo-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4fcfb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-soft: rgba(235, 251, 248, 0.78);
  --text: #0c2430;
  --muted: #58707b;
  --line: rgba(98, 177, 177, 0.22);
  --accent: #62ccc2;
  --accent-dark: #259b93;
  --accent-blue: #56afe8;
  --accent-blue-dark: #2d82c2;
  --accent-gold: #efd68c;
  --shadow-soft: 0 24px 60px rgba(73, 134, 153, 0.14);
  --shadow-card: 0 16px 40px rgba(80, 137, 153, 0.1);
  --radius-2xl: 34px;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(99, 208, 197, 0.18), transparent 22%),
    radial-gradient(circle at 85% 10%, rgba(87, 176, 232, 0.18), transparent 26%),
    linear-gradient(180deg, #f6fffe 0%, #eef8fb 48%, #f7fcfe 100%);
  font-family: "Cairo", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.02) 38%, rgba(255, 255, 255, 0.08) 100%),
    radial-gradient(circle at 84% 12%, rgba(86, 175, 232, 0.14), transparent 24%),
    radial-gradient(circle at 14% 24%, rgba(98, 204, 194, 0.12), transparent 22%),
    linear-gradient(rgba(94, 182, 214, 0.085) 1.2px, transparent 1.2px),
    linear-gradient(90deg, rgba(94, 182, 214, 0.085) 1.2px, transparent 1.2px),
    linear-gradient(45deg, rgba(98, 204, 194, 0.055) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(98, 204, 194, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 1.5px 1.5px, rgba(37, 155, 147, 0.13) 1.1px, transparent 0);
  background-size: auto, auto, auto, 64px 64px, 64px 64px, 128px 128px, 128px 128px, 22px 22px;
  background-position: center, center, center, center, center, center, center, -8px -8px;
}

[hidden] {
  display: none !important;
}

body[data-lang="en"] {
  font-family: "Manrope", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.page-shell {
  position: relative;
  z-index: 1;
  overflow: clip;
}

.background-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  pointer-events: none;
  opacity: 0.52;
}

.orb-one {
  top: 120px;
  inset-inline-start: -120px;
  width: 280px;
  height: 280px;
  background: rgba(98, 204, 194, 0.18);
}

.orb-two {
  top: 340px;
  inset-inline-end: -110px;
  width: 340px;
  height: 340px;
  background: rgba(86, 175, 232, 0.14);
}

.orb-three {
  bottom: 120px;
  inset-inline-start: 20%;
  width: 300px;
  height: 300px;
  background: rgba(111, 214, 199, 0.12);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 11px;
  color: #ffffff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  box-shadow: 0 12px 24px rgba(79, 175, 204, 0.3);
}

.brand-mark rect {
  fill: rgba(255, 255, 255, 0.18);
  stroke: rgba(255, 255, 255, 0.18);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.1;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  font-size: 0.96rem;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  transition:
    color 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 16px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent));
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.54);
}

.site-nav a:hover::after {
  opacity: 0.62;
  transform: scaleX(1);
}

.site-nav a.is-active-section {
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(226, 248, 244, 0.9));
  box-shadow: 0 12px 24px rgba(82, 150, 165, 0.14);
  transform: translateY(-1px);
}

.site-nav a.is-active-section::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.language-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(241, 251, 248, 0.92);
}

.lang-button {
  min-width: 50px;
  padding: 8px 12px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  box-shadow: 0 10px 18px rgba(73, 168, 196, 0.28);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  box-shadow: 0 16px 30px rgba(75, 170, 200, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
  padding: 62px 0 38px;
}

.hero-copy,
.hero-visual,
.section,
.site-footer {
  animation: rise-in 0.72s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.eyebrow-icon {
  width: 18px;
  height: 18px;
}

.hero h1 {
  margin: 18px 0 18px;
  max-width: 12ch;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-text,
.section-heading p,
.expert-card p,
.approach-card p,
.step-card p,
.platform-card p,
.security-card p,
.vision-card blockquote,
.cta-card p,
.footer-tagline,
.footer-copy {
  color: var(--muted);
  line-height: 1.85;
}

.hero-text {
  max-width: 58ch;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.domain-chip span {
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.domain-chip strong {
  font-size: 0.94rem;
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.visual-ring {
  position: absolute;
  left: 50%;
  top: 46px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0.5) 42%, rgba(98, 204, 194, 0.18) 72%, transparent 78%),
    radial-gradient(circle at center, rgba(86, 175, 232, 0.18), transparent 70%);
  transform: translateX(-50%);
  filter: blur(0.2px);
}

.doctor-badge,
.insight-card,
.service-card,
.expert-card,
.approach-card,
.vision-card,
.platform-card,
.step-card,
.process-preview,
.security-card,
.cta-card {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-2xl);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}

.doctor-orbit {
  position: relative;
  height: 100%;
  min-height: 560px;
}

.doctor-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
}

.doctor-badge-orbit {
  position: absolute;
  left: 50%;
  right: auto;
  top: 112px;
  width: min(420px, 84%);
  transition:
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.1s ease,
    box-shadow 1.1s ease,
    filter 1.1s ease;
  will-change: transform, opacity;
}

.doctor-badge-orbit.is-front {
  z-index: 2;
  opacity: 1;
  transform: translate3d(calc(-50% + 64px), 12px, 0) scale(1) rotate(-1.25deg);
  box-shadow: 0 24px 54px rgba(80, 137, 153, 0.16);
}

.doctor-badge-orbit.is-back {
  z-index: 1;
  opacity: 0.9;
  transform: translate3d(calc(-50% - 78px), 86px, 0) scale(0.92) rotate(2.5deg);
  filter: saturate(0.92);
}

.doctor-avatar {
  flex: 0 0 auto;
  width: 94px;
  height: 94px;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(224, 248, 245, 0.95));
  box-shadow: inset 0 0 0 1px rgba(90, 182, 173, 0.22);
}

.doctor-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.placeholder-circle {
  position: relative;
  overflow: hidden;
  border: 2px dashed rgba(86, 175, 232, 0.34);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.96), rgba(229, 248, 246, 0.92) 58%, rgba(193, 236, 244, 0.7) 100%);
}

.placeholder-circle::before,
.placeholder-circle::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
}

.placeholder-circle::before {
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.placeholder-circle::after {
  inset: 22%;
  border: 1px dashed rgba(98, 204, 194, 0.18);
}

.doctor-content {
  min-width: 0;
}

.doctor-label,
.expert-role,
.insight-label,
.preview-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.doctor-badge h2,
.expert-card h3,
.approach-card h3,
.service-card h3,
.platform-card h3,
.step-card h3,
.security-card h3,
.preview-journey h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.2;
}

.doctor-tags,
.approach-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.doctor-tags span,
.approach-points span {
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(235, 250, 247, 0.95);
}

.section {
  position: relative;
  isolation: isolate;
  padding: 38px 0;
}

.section-focus-target {
  transition: transform 0.42s ease, filter 0.42s ease;
}

.section-focus-target::after {
  content: "";
  position: absolute;
  inset: 8px -14px;
  z-index: -1;
  border-radius: 38px;
  opacity: 0;
  transform: scale(0.985);
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(230, 250, 247, 0.72)),
    radial-gradient(circle at top, rgba(86, 175, 232, 0.16), transparent 54%);
  box-shadow: 0 26px 46px rgba(90, 153, 168, 0.08);
  transition: opacity 0.42s ease, transform 0.42s ease, box-shadow 0.42s ease;
}

.section-focus-target.is-section-current {
  transform: translateY(-4px);
}

.section-focus-target.is-section-current::after {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 28px 52px rgba(86, 152, 173, 0.14);
}

.section-focus-target .section-heading,
.section-focus-target .doctor-banner,
.section-focus-target .doctor-showcase,
.section-focus-target .compact-payment-layout,
.section-focus-target .contact-grid {
  transition: transform 0.42s ease, filter 0.42s ease;
}

.section-focus-target.is-section-current .section-heading,
.section-focus-target.is-section-current .doctor-banner,
.section-focus-target.is-section-current .doctor-showcase,
.section-focus-target.is-section-current .compact-payment-layout,
.section-focus-target.is-section-current .contact-grid {
  transform: translateY(-2px);
}

.section-soft {
  position: relative;
}

.section-soft::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 22px;
  bottom: 22px;
  background: linear-gradient(180deg, rgba(236, 251, 248, 0.78), rgba(244, 250, 255, 0.72));
  z-index: -1;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.landing-compact {
  padding-top: 42px;
}

.landing-heading {
  text-align: center;
  margin-inline: auto;
}

.landing-heading h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.doctor-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.doctor-banner {
  position: relative;
  margin: 0 0 24px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 28px 54px rgba(74, 128, 146, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(241, 250, 248, 0.92));
}

.doctor-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 36, 48, 0.02), rgba(12, 36, 48, 0.08));
  pointer-events: none;
}

.doctor-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.doctor-card-large {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
}

.doctor-card-large h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.1;
}

.doctor-card-large p {
  margin: 16px 0 0;
}

.doctor-card-large .expert-photo {
  width: 144px;
  height: 144px;
  margin-bottom: 22px;
}

.doctor-card-large .expert-list {
  margin: 22px 0 0;
}

.doctor-card-cta {
  width: 100%;
  margin-top: auto;
}

.doctor-card-cta.is-active {
  box-shadow: 0 16px 30px rgba(73, 168, 196, 0.16);
}

.payment-gate {
  padding: 30px;
  text-align: center;
  border: 1px dashed rgba(82, 167, 173, 0.4);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 249, 246, 0.86)),
    var(--surface);
  box-shadow: 0 18px 34px rgba(84, 145, 156, 0.12);
}

.payment-gate h2 {
  margin: 10px 0 12px;
}

.payment-gate p {
  max-width: 720px;
  margin: 0 auto;
}

.payment-booking-shell[hidden] {
  display: none !important;
}

.section-soft.is-payment-locked {
  background:
    linear-gradient(180deg, rgba(242, 251, 250, 0.88), rgba(236, 247, 245, 0.96)),
    var(--surface);
}

.compact-payment-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.compact-payment-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.payment-card-main,
.compact-payment-note {
  min-height: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.section-heading h2,
.vision-card h2,
.cta-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.service-grid,
.platform-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.platform-grid,
.security-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.platform-card,
.security-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.contact-link {
  position: relative;
  z-index: 1;
  font-weight: 700;
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(82, 167, 173, 0.3);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--accent-blue);
  border-bottom-color: rgba(63, 130, 215, 0.5);
}

.hours-converter {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.hours-base-note,
.hours-result-label,
.hours-closed-note {
  margin: 0;
}

.hours-picker-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.timezone-picker {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(87, 161, 170, 0.22);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.timezone-picker:focus-visible {
  outline: 2px solid rgba(73, 168, 196, 0.34);
  outline-offset: 2px;
  border-color: rgba(73, 168, 196, 0.52);
}

.hours-result-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hours-result-list li {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(93, 162, 173, 0.12);
  font-weight: 600;
}

.service-card::after,
.platform-card::after,
.security-card::after,
.expert-card::after,
.approach-card::after,
.process-preview::after {
  content: "";
  position: absolute;
  inset-inline-end: -32px;
  top: -32px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.55), rgba(98, 204, 194, 0.1) 70%, transparent 72%);
  pointer-events: none;
}

.service-card-gold {
  background:
    linear-gradient(180deg, rgba(255, 250, 232, 0.92), rgba(255, 255, 255, 0.82)),
    var(--surface);
}

.service-card-mint {
  background:
    linear-gradient(180deg, rgba(235, 251, 248, 0.96), rgba(255, 255, 255, 0.8)),
    var(--surface);
}

.service-icon,
.platform-icon,
.approach-icon {
  width: 56px;
  height: 56px;
  padding: 14px;
  color: var(--accent-dark);
  border-radius: 18px;
  background: rgba(228, 249, 245, 0.92);
}

.service-price {
  display: inline-flex;
  margin-top: 20px;
  padding: 9px 14px;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.experts-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.expert-card,
.approach-card {
  position: relative;
  padding: 26px;
}

.expert-photo {
  width: 126px;
  height: 126px;
  margin-bottom: 18px;
  padding: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(229, 249, 246, 0.95));
}

.expert-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 26%;
  transform: scale(1.08);
  transform-origin: center top;
}

.expert-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.expert-list li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--muted);
}

.expert-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
}

.approach-card {
  display: grid;
  align-content: center;
  justify-items: start;
}

.approach-card p {
  margin: 18px 0 18px;
}

.vision-card {
  padding: 34px;
}

.vision-card blockquote {
  margin: 0;
  font-size: clamp(1.16rem, 2vw, 1.44rem);
}

.platform-card,
.security-card {
  min-height: 220px;
}

.process-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  position: relative;
  padding: 24px;
}

.step-number {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  color: var(--accent-blue-dark);
  font-size: 0.84rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(231, 244, 255, 0.96);
}

.process-preview {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
  min-height: 100%;
}

.preview-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.preview-payment {
  background:
    linear-gradient(135deg, rgba(86, 175, 232, 0.1), rgba(98, 204, 194, 0.16)),
    rgba(255, 255, 255, 0.76);
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.service-selector {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.service-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  text-align: start;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(73, 134, 153, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-option:hover {
  transform: translateY(-2px);
}

.service-option.is-active {
  border-color: rgba(59, 130, 246, 0.62);
  background:
    linear-gradient(135deg, rgba(224, 239, 255, 0.95), rgba(239, 247, 255, 0.92)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 34px rgba(59, 130, 246, 0.18);
}

.service-option-copy,
.service-option-aside {
  display: grid;
  gap: 5px;
}

.service-option-aside {
  justify-items: end;
}

.service-option-title {
  font-weight: 800;
}

.service-option-meta,
.service-option-duration {
  font-size: 0.82rem;
  color: var(--muted);
}

.service-option-price {
  color: var(--accent-blue-dark);
  font-weight: 800;
  white-space: nowrap;
}

.booking-selection-group {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(247, 251, 255, 0.94), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(86, 175, 232, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.selected-doctor-banner,
.selected-service-banner {
  display: grid;
  gap: 4px;
  margin-top: 0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(98, 177, 177, 0.16);
}

.payment-method-picker {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(228, 241, 255, 0.96), rgba(243, 249, 255, 0.92));
  border: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: 0 16px 30px rgba(59, 130, 246, 0.08);
}

.payment-method-picker-label {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-blue-dark);
}

.selected-doctor-banner strong,
.selected-service-banner strong {
  font-size: 1.04rem;
}

.selected-service-banner span:last-child {
  color: var(--accent-blue-dark);
  font-weight: 800;
}

.service-detail-card {
  display: grid;
  gap: 14px;
  margin-top: 0;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(98, 177, 177, 0.16);
}

.service-detail-head {
  display: grid;
  gap: 4px;
}

.service-detail-head strong {
  font-size: 1.12rem;
}

.service-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-detail-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(235, 246, 255, 0.92);
  color: var(--accent-blue-dark);
}

.service-detail-card p {
  margin: 0;
}

.service-detail-includes {
  display: grid;
  gap: 10px;
}

.service-detail-includes ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail-includes li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--muted);
}

.service-detail-includes li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
}

.payment-option {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 16px;
  text-align: start;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 24px rgba(73, 134, 153, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-option:hover {
  transform: translateY(-2px);
}

.payment-option.is-active {
  border-color: rgba(98, 204, 194, 0.56);
  box-shadow: 0 16px 30px rgba(73, 168, 196, 0.16);
}

.payment-option-title {
  font-size: 1rem;
  font-weight: 800;
}

.payment-option-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.payment-option-paypal .payment-option-title {
  color: #0070ba;
}

.payment-option-crypto .payment-option-title {
  color: #1d8f84;
}

.payment-main {
  padding: 56px 0 40px;
}

.payment-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h2,
h3 {
  text-wrap: balance;
}

.hero-text,
.section-heading p,
.payment-panel p,
.footer-tagline,
.room-message-card-body {
  text-wrap: pretty;
}

.section[id],
.payment-hero[id],
.room-demo-layout[id],
#payment,
#contact,
#doctors {
  scroll-margin-top: 112px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(86, 175, 232, 0.58);
  outline-offset: 3px;
}

.payment-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.05fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.payment-layout--two {
  grid-template-columns: 0.95fr 1.05fr;
}

.payment-layout.payment-layout--single,
.payment-layout-gateway.payment-layout--single,
.payment-layout-status.payment-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.payment-layout-gateway {
  grid-template-columns: 1.05fr 0.95fr;
}

.payment-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-2xl);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}

.payment-panel-strong {
  background:
    linear-gradient(135deg, rgba(86, 175, 232, 0.08), rgba(98, 204, 194, 0.14)),
    var(--surface);
}

.payment-panel h2 {
  margin: 4px 0 10px;
  font-size: 1.5rem;
  line-height: 1.15;
}

.payment-panel p {
  color: var(--muted);
}

.payment-page-options {
  margin-top: 18px;
}

.gateway-note {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(98, 177, 177, 0.16);
}

.gateway-note strong {
  font-size: 0.96rem;
}

.payment-footnote {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.decision-note {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(26, 60, 95, 0.1);
  background: rgba(245, 248, 252, 0.88);
}

.decision-note strong {
  font-size: 0.94rem;
  color: var(--text);
}

.decision-note span {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

.decision-note-warning {
  border-color: rgba(181, 119, 51, 0.18);
  background: linear-gradient(135deg, rgba(255, 247, 233, 0.95), rgba(255, 251, 244, 0.92));
}

.checkout-card h3 {
  margin: 4px 0 10px;
}

.checkout-card p {
  color: var(--muted);
}

.checkout-summary {
  display: grid;
  gap: 10px;
  margin: 18px 0 18px;
}

.checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(98, 177, 177, 0.16);
}

.checkout-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.checkout-row-detail {
  align-items: start;
}

.checkout-row-detail strong {
  max-width: 58%;
  text-align: end;
  line-height: 1.45;
}

.checkout-confirm {
  width: 100%;
}

.room-result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.room-result-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(241, 251, 248, 0.94);
  border: 1px solid rgba(98, 204, 194, 0.24);
}

.room-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-source-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0b5b52;
  background: rgba(221, 248, 242, 0.94);
  border: 1px solid rgba(98, 204, 194, 0.28);
}

.room-result-link {
  display: block;
  padding: 14px 16px;
  word-break: break-all;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(98, 177, 177, 0.18);
}

.room-result-copy {
  width: 100%;
}

.payment-notes {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.payment-note {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(98, 177, 177, 0.16);
}

.payment-note strong {
  font-size: 0.96rem;
}

.consultation-room-preview {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(98, 177, 177, 0.16);
}

.consultation-room-copy {
  margin: 0;
}

.room-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.room-chip,
.room-allow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(98, 177, 177, 0.16);
}

.room-chip-doctor {
  background: rgba(224, 246, 246, 0.95);
}

.room-chip-patient {
  background: rgba(255, 244, 230, 0.92);
}

.room-chip-platform {
  background: rgba(235, 240, 255, 0.92);
}

.room-allow-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intake-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.intake-heading {
  margin-bottom: 24px;
}

.intake-order-summary {
  margin-bottom: 22px;
}

.medical-intake-form {
  display: grid;
  gap: 22px;
}

.intake-section {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(98, 177, 177, 0.16);
}

.intake-section-head {
  display: grid;
  gap: 6px;
}

.intake-section-head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.intake-section-head p {
  margin: 0;
}

.intake-grid {
  display: grid;
  gap: 16px;
}

.intake-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intake-field {
  display: grid;
  gap: 8px;
}

.intake-field span {
  font-size: 0.92rem;
  font-weight: 700;
}

.intake-field-required > span::after,
.consent-box-required #intake-consent-text::after {
  content: " *";
  color: #c15555;
  font-weight: 800;
}

.intake-field input,
.intake-field select,
.intake-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(98, 177, 177, 0.18);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.intake-field textarea {
  min-height: 120px;
  resize: vertical;
}

.intake-file-list,
.intake-side-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intake-file-list li,
.intake-side-list li,
.slot-option {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(98, 177, 177, 0.16);
}

.intake-consent-section {
  gap: 14px;
}

.consent-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(248, 252, 251, 0.94);
  border: 1px solid rgba(98, 177, 177, 0.18);
}

.consent-box input {
  margin-top: 4px;
}

.intake-legal-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.intake-legal-note a {
  color: var(--accent-blue-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(63, 130, 215, 0.24);
}

.intake-error-summary,
.intake-success-summary,
.slot-gate,
.slot-window-card,
.slot-notification-note,
.slot-selected-summary {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(98, 177, 177, 0.16);
}

.intake-error-summary {
  background: rgba(255, 240, 240, 0.92);
  color: #8e1d1d;
}

.intake-error-summary ul {
  margin: 0;
  padding-inline-start: 18px;
}

.intake-success-summary,
.slot-notification-note {
  background: rgba(237, 251, 244, 0.94);
  color: #0b5b52;
}

.slot-gate,
.slot-window-card,
.slot-selected-summary {
  background: rgba(255, 255, 255, 0.82);
}

.slot-window-card {
  display: grid;
  gap: 6px;
}

.slot-panel {
  display: grid;
  gap: 16px;
}

.slot-panel-body {
  margin: 6px 0 0;
  color: var(--muted);
}

.slot-calendar-shell {
  display: grid;
  gap: 16px;
}

.slot-day-picker-group,
.slot-time-picker {
  display: grid;
  gap: 10px;
}

.slot-day-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.slot-day-option {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  text-align: start;
  border: 1px solid rgba(98, 177, 177, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.slot-day-option strong {
  font-size: 0.95rem;
}

.slot-day-option span,
.slot-day-option small {
  color: var(--muted);
}

.slot-day-option:hover:not(:disabled) {
  transform: translateY(-2px);
}

.slot-day-option.is-active {
  border-color: rgba(59, 130, 246, 0.62);
  box-shadow: 0 16px 30px rgba(59, 130, 246, 0.16);
  background: linear-gradient(135deg, rgba(224, 239, 255, 0.96), rgba(239, 247, 255, 0.94));
}

.slot-day-option.is-disabled,
.slot-day-option:disabled {
  color: rgba(12, 36, 48, 0.5);
  background: rgba(236, 240, 242, 0.88);
  border-color: rgba(143, 159, 167, 0.22);
  cursor: not-allowed;
  box-shadow: none;
}

.slot-feedback {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(186, 68, 68, 0.18);
  background: rgba(255, 244, 244, 0.94);
  color: #922b2b;
}

.slot-feedback[data-tone="success"] {
  border-color: rgba(52, 145, 106, 0.18);
  background: rgba(237, 251, 244, 0.94);
  color: #0b5b52;
}

.slot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.slot-list-title {
  margin: 2px 0 8px;
}

.slot-option {
  width: 100%;
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 78px;
  padding: 14px 16px;
  color: var(--text);
  text-align: start;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.slot-option-time {
  font-weight: 800;
}

.slot-option-state {
  color: var(--muted);
  font-size: 0.84rem;
}

.slot-option:hover {
  transform: translateY(-2px);
}

.slot-option.is-active {
  border-color: rgba(59, 130, 246, 0.62);
  box-shadow: 0 16px 30px rgba(59, 130, 246, 0.18);
  background: linear-gradient(135deg, rgba(224, 239, 255, 0.95), rgba(239, 247, 255, 0.92));
}

.slot-option.is-disabled,
.slot-option:disabled {
  color: rgba(12, 36, 48, 0.52);
  background: rgba(236, 240, 242, 0.88);
  border-color: rgba(143, 159, 167, 0.22);
  box-shadow: none;
  cursor: not-allowed;
}

.slot-empty-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  width: 100%;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(98, 177, 177, 0.16);
}

.slot-open-room-link,
.intake-submit-button {
  width: 100%;
}

.room-message-list {
  display: grid;
  gap: 10px;
}

.room-message {
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 0.94rem;
  line-height: 1.5;
}

.room-message-system {
  background: rgba(244, 248, 255, 0.94);
  border: 1px solid rgba(73, 134, 153, 0.14);
}

.room-message-doctor {
  background: rgba(237, 252, 247, 0.95);
  border: 1px solid rgba(98, 204, 194, 0.22);
}

.room-meta-summary {
  margin-top: 4px;
}

.room-result-summary {
  margin-top: 4px;
}

.room-preview-link {
  max-width: 220px;
  word-break: break-all;
  text-align: end;
}

.room-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.room-policy-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(98, 177, 177, 0.16);
}

.room-policy-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-inline-start: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.room-policy-list li::marker {
  color: rgba(73, 134, 153, 0.9);
}

.payment-layout-status {
  grid-template-columns: 1.15fr 0.85fr;
}

.status-summary {
  margin-bottom: 18px;
}

.gateway-panel {
  display: grid;
  gap: 18px;
}

.gateway-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.gateway-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 18px;
  background: linear-gradient(135deg, #0070ba, #1546a0);
  box-shadow: 0 16px 28px rgba(21, 70, 160, 0.18);
}

.gateway-brand.is-usdt {
  background: linear-gradient(135deg, #169b7b, #0f6f64);
  box-shadow: 0 16px 28px rgba(15, 111, 100, 0.18);
}

.gateway-pill {
  margin: 0;
}

.gateway-section {
  display: grid;
  gap: 14px;
}

.gateway-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gateway-field {
  display: grid;
  gap: 8px;
}

.gateway-field span {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.gateway-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--text);
  border: 1px solid rgba(98, 177, 177, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(241, 251, 248, 0.94);
  border: 1px solid rgba(98, 204, 194, 0.24);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  box-shadow: 0 0 0 6px rgba(98, 204, 194, 0.12);
}

.verification-timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(98, 177, 177, 0.14);
  opacity: 0.68;
}

.timeline-item.is-done,
.timeline-item.is-active {
  opacity: 1;
}

.timeline-item.is-done {
  border-color: rgba(98, 204, 194, 0.24);
  background: rgba(241, 251, 248, 0.92);
}

.timeline-item.is-active {
  border-color: rgba(98, 204, 194, 0.34);
  box-shadow: 0 12px 24px rgba(73, 168, 196, 0.08);
}

.timeline-item strong {
  font-size: 0.96rem;
}

.timeline-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.processing-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(98, 177, 177, 0.16);
}

.processing-box p {
  margin: 0;
}

.processing-spinner {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(98, 204, 194, 0.2);
  border-top-color: var(--accent-blue);
  animation: spin 0.8s linear infinite;
}

.preview-journey h3 {
  margin-top: 4px;
}

.preview-journey p {
  color: var(--muted);
}

.cta-card {
  display: grid;
  grid-template-columns: 1.15fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(86, 175, 232, 0.16), rgba(98, 204, 194, 0.18)),
    rgba(255, 255, 255, 0.82);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 40px;
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-copy {
  max-width: 260px;
  text-align: end;
}

.editor-panel {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  gap: 12px;
  width: min(320px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 54px rgba(73, 134, 153, 0.18);
}

body[data-editor="true"] .editor-panel {
  display: grid;
}

.editor-launcher {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 18px;
  z-index: 38;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  box-shadow: 0 18px 32px rgba(75, 170, 200, 0.24);
  font-weight: 800;
}

body[data-editor="true"] .editor-launcher {
  display: none;
}

.editor-panel strong {
  font-size: 0.98rem;
}

.editor-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.editor-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.editor-add-section {
  display: grid;
  gap: 10px;
}

.editor-add-list {
  display: grid;
  gap: 8px;
}

.editor-add-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.editor-button {
  min-height: 46px;
  padding: 0 14px;
  color: var(--text);
  font-weight: 700;
  border: 1px solid rgba(98, 177, 177, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.editor-button:hover {
  transform: translateY(-1px);
}

.editor-button-primary {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  box-shadow: 0 14px 24px rgba(75, 170, 200, 0.18);
}

.editor-button-danger {
  color: #8f2c34;
  background: rgba(255, 245, 246, 0.96);
  border-color: rgba(188, 83, 98, 0.18);
}

.editor-button-add {
  justify-content: flex-start;
  background: rgba(241, 250, 255, 0.96);
  border-style: dashed;
  border-color: rgba(86, 175, 232, 0.38);
}

.editor-status {
  min-height: 22px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.layout-editable {
  position: relative;
}

body.is-edit-mode .layout-editable {
  outline: 2px dashed transparent;
  outline-offset: 8px;
}

body.is-edit-mode .layout-editable:hover {
  outline-color: rgba(37, 155, 147, 0.26);
}

body.is-edit-mode .layout-editable.layout-dragging {
  opacity: 0.58;
  transform: scale(0.985);
  box-shadow: 0 20px 36px rgba(73, 134, 153, 0.16);
}

.layout-editor-controls {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 20;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(98, 177, 177, 0.18);
  box-shadow: 0 18px 28px rgba(73, 134, 153, 0.14);
}

body.is-edit-mode .layout-editor-controls {
  display: inline-flex;
}

.layout-group-actions {
  display: none;
  justify-content: center;
  margin-top: 14px;
}

body.is-edit-mode .layout-group-actions {
  display: flex;
}

.layout-group-add-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px dashed rgba(86, 175, 232, 0.44);
  border-radius: 999px;
  color: var(--accent-blue-dark);
  background: rgba(238, 248, 255, 0.94);
  font-weight: 800;
  cursor: pointer;
}

.layout-editor-label {
  padding-inline: 8px 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.layout-editor-button {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(98, 177, 177, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(245, 252, 251, 0.98);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.layout-editor-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(73, 134, 153, 0.12);
}

.layout-editor-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.layout-editor-button-danger {
  color: #8f2c34;
  background: rgba(255, 245, 246, 0.98);
}

.layout-editor-button-drag {
  min-width: auto;
  padding-inline: 12px;
  color: var(--accent-blue-dark);
  background: rgba(238, 248, 255, 0.98);
  cursor: grab;
  font-weight: 800;
}

.layout-editor-button-drag:active {
  cursor: grabbing;
}

body:not(.is-edit-mode) .layout-editable.layout-is-hidden {
  display: none !important;
}

body.is-edit-mode .layout-editable.layout-is-hidden {
  opacity: 0.34;
  filter: grayscale(0.5);
}

body.is-edit-mode .layout-editable.layout-is-hidden::after {
  content: "Hidden in preview";
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  background: rgba(12, 36, 48, 0.86);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

body.is-edit-mode [data-i18n],
body.is-edit-mode [data-edit-service-price],
body.is-edit-mode [data-editor-field="true"] {
  position: relative;
  outline: 2px dashed rgba(37, 155, 147, 0.4);
  outline-offset: 4px;
  cursor: text;
}

body.is-edit-mode [data-i18n]:focus,
body.is-edit-mode [data-edit-service-price]:focus,
body.is-edit-mode [data-editor-field="true"]:focus {
  outline-color: rgba(45, 130, 194, 0.72);
  background: rgba(232, 248, 255, 0.56);
}

body[data-lang="en"] h1,
body[data-lang="en"] .section-heading h2,
body[data-lang="en"] .vision-card h2,
body[data-lang="en"] .cta-card h2 {
  letter-spacing: -0.05em;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: 560px;
  }

  .experts-layout,
  .process-layout,
  .cta-card,
  .payment-layout,
  .intake-layout,
  .compact-payment-layout,
  .contact-grid,
  .room-policy-grid {
    grid-template-columns: 1fr;
  }

  .doctor-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-grid,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    border-radius: 28px;
    padding: 18px;
    flex-wrap: wrap;
  }

  .site-nav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .header-actions {
    margin-inline-start: auto;
  }

  .site-nav a {
    flex: 1 1 0;
    min-width: min(140px, calc(33.333% - 8px));
    padding-inline: 14px;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(98, 177, 177, 0.16);
  }

  .service-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 24px, 100%);
  }

  .site-header {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
  }

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

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

  .site-nav {
    gap: 8px;
  }

  .site-nav a {
    min-width: 0;
    min-height: 44px;
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .service-option {
    grid-template-columns: 1fr;
  }

  .service-option-aside,
  .service-detail-meta {
    justify-items: start;
  }

  .intake-grid-two {
    grid-template-columns: 1fr;
  }

  .slot-day-picker,
  .slot-list {
    grid-template-columns: 1fr;
  }

  .intake-legal-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 28px;
    gap: 26px;
  }

  .landing-heading h1 {
    font-size: clamp(2rem, 8.8vw, 2.9rem);
    line-height: 1.08;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.95rem, 8.8vw, 2.7rem);
    line-height: 1.08;
  }

  .hero-text {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .checkout-row-detail {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-row-detail strong {
    max-width: none;
    text-align: start;
  }

  .gateway-form {
    grid-template-columns: 1fr;
  }

  .room-result-actions {
    grid-template-columns: 1fr;
  }

  .room-result-header {
    align-items: start;
  }

  .room-result-actions .button {
    width: 100%;
  }

  .trust-pill,
  .service-card,
  .expert-card,
  .approach-card,
  .platform-card,
  .step-card,
  .security-card,
  .preview-card,
  .cta-card,
  .vision-card {
    border-radius: 24px;
  }

  .hero-visual {
    min-height: auto;
  }

  .visual-ring {
    left: 50%;
    top: 10px;
    width: 280px;
    height: 280px;
  }

  .doctor-orbit {
    min-height: 320px;
  }

  .doctor-badge-orbit {
    width: min(100%, 280px);
    padding: 16px;
  }

  .doctor-badge-orbit.is-front {
    transform: translate3d(calc(-50% + 18px), 6px, 0) scale(1) rotate(-1deg);
  }

  .doctor-badge-orbit.is-back {
    transform: translate3d(calc(-50% - 18px), 64px, 0) scale(0.93) rotate(2deg);
  }

  .doctor-badge {
    flex-direction: column;
    align-items: start;
  }

  .doctor-avatar {
    width: 84px;
    height: 84px;
  }

  .expert-photo {
    width: 108px;
    height: 108px;
  }

  .doctor-card-large {
    padding: 16px;
  }

  .doctor-card-large .expert-photo {
    width: 86px;
    height: 86px;
    margin-bottom: 14px;
  }

  .doctor-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .doctor-card-large h2 {
    font-size: clamp(1rem, 4.6vw, 1.28rem);
    line-height: 1.18;
  }

  .doctor-card-large p {
    margin-top: 10px;
    font-size: 0.82rem;
    line-height: 1.62;
  }

  .doctor-card-large .expert-list {
    margin-top: 14px;
    gap: 6px;
  }

  .doctor-card-large .expert-list li {
    font-size: 0.73rem;
    line-height: 1.45;
  }

  .doctor-card-large .expert-role {
    margin-bottom: 4px;
    font-size: 0.71rem;
    line-height: 1.5;
  }

  .doctor-card-cta {
    min-height: 46px;
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .payment-gate {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .service-grid,
  .platform-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .payment-main {
    padding-top: 28px;
  }

  .payment-hero h1 {
    font-size: clamp(1.95rem, 8.8vw, 2.8rem);
    line-height: 1.08;
  }

  .site-footer {
    flex-direction: column;
    align-items: start;
  }

  .editor-panel {
    inset-inline: 12px;
    width: auto;
  }

  .section-focus-target::after {
    inset: 6px -8px;
    border-radius: 28px;
  }

  .editor-actions {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    max-width: none;
    text-align: start;
  }
}

@media (max-width: 420px) {
  .site-nav a {
    font-size: 0.76rem;
    padding-inline: 8px;
  }

  .doctor-showcase {
    gap: 10px;
  }

  .doctor-card-large {
    padding: 14px;
  }

  .doctor-card-large .expert-photo {
    width: 76px;
    height: 76px;
  }

  .doctor-card-large p {
    font-size: 0.78rem;
  }

  .doctor-card-large .expert-list li {
    font-size: 0.69rem;
  }

  .doctor-card-cta {
    min-height: 42px;
    font-size: 0.73rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.room-page .payment-main {
  padding-top: 42px;
}

.room-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.room-demo-main {
  position: relative;
  overflow: hidden;
}

.room-demo-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 6%, rgba(98, 204, 194, 0.18), transparent 26%),
    radial-gradient(circle at 88% 4%, rgba(86, 175, 232, 0.16), transparent 28%);
  pointer-events: none;
}

.room-demo-main > * {
  position: relative;
  z-index: 1;
}

.room-demo-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.room-demo-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.room-demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(98, 177, 177, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(54, 119, 135, 0.08);
}

.room-demo-pill-provider {
  color: var(--accent-dark);
  background: rgba(240, 251, 249, 0.92);
}

.room-demo-pill-role[data-role="doctor"] {
  color: #0e5c86;
  background: rgba(232, 245, 255, 0.92);
}

.room-demo-pill-role[data-role="patient"] {
  color: #73591b;
  background: rgba(255, 249, 231, 0.96);
}

.room-demo-pill[data-state="before"] {
  color: #73591b;
  background: rgba(255, 248, 224, 0.96);
}

.room-demo-pill[data-state="active"] {
  color: #146759;
  background: rgba(230, 252, 246, 0.96);
}

.room-demo-pill[data-state="after"] {
  color: #7c4960;
  background: rgba(252, 240, 245, 0.96);
}

.room-demo-title {
  margin: 18px 0 10px;
  max-width: 15ch;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.room-demo-body {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.room-demo-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 22px;
}

.room-demo-summary-item {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(98, 177, 177, 0.18);
  box-shadow: 0 14px 34px rgba(73, 134, 153, 0.08);
}

.room-demo-summary-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.room-demo-summary-item strong {
  font-size: 0.98rem;
  line-height: 1.45;
}

.room-demo-toggle-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.room-toggle-card {
  padding: 16px;
  border-radius: 24px;
  background: rgba(243, 252, 250, 0.8);
  border: 1px solid rgba(98, 177, 177, 0.16);
}

.room-toggle-title {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.room-toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.room-toggle-button {
  flex: 1 1 140px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(98, 177, 177, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.room-toggle-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(74, 139, 157, 0.12);
}

.room-toggle-button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  box-shadow: 0 18px 28px rgba(74, 170, 194, 0.2);
}

.room-action-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.room-action-button {
  min-height: 58px;
}

.room-action-button:disabled,
.room-composer textarea:disabled,
.room-composer .button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  box-shadow: none;
  transform: none;
}

.room-chat-shell {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 252, 250, 0.94));
  border: 1px solid rgba(98, 177, 177, 0.18);
  box-shadow: 0 22px 46px rgba(71, 132, 148, 0.1);
}

.room-chat-shell-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.room-chat-shell-header strong {
  font-size: 1.08rem;
}

.room-chat-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
}

.room-chat-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(232, 245, 255, 0.92);
  color: #0e5c86;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

body[data-room-window="before"] .room-chat-indicator {
  background: rgba(255, 248, 224, 0.96);
  color: #73591b;
}

body[data-room-window="after"] .room-chat-indicator {
  background: rgba(252, 240, 245, 0.96);
  color: #7c4960;
}

.room-chat-log {
  display: grid;
  gap: 12px;
  max-height: 430px;
  overflow: auto;
  padding-inline-end: 4px;
}

.room-chat-log::-webkit-scrollbar {
  width: 10px;
}

.room-chat-log::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(98, 177, 177, 0.24);
}

.room-message-card {
  max-width: min(78%, 560px);
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(98, 177, 177, 0.16);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 24px rgba(67, 129, 145, 0.08);
}

.room-message-card-doctor {
  margin-left: auto;
  color: #093954;
  background: linear-gradient(135deg, rgba(231, 245, 255, 0.98), rgba(248, 252, 255, 0.96));
}

.room-message-card-patient {
  margin-right: auto;
  background: rgba(255, 251, 243, 0.98);
}

.room-message-card-system {
  max-width: 100%;
  background: rgba(238, 249, 247, 0.98);
  border-style: dashed;
}

.room-message-card-meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.room-message-card-body {
  line-height: 1.8;
}

.room-composer-note {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(241, 251, 248, 0.94);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.room-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.room-composer textarea {
  width: 100%;
  min-height: 98px;
  padding: 16px 18px;
  resize: vertical;
  border: 1px solid rgba(98, 177, 177, 0.2);
  border-radius: 22px;
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.room-composer textarea:focus {
  border-color: rgba(86, 175, 232, 0.5);
  box-shadow:
    0 0 0 4px rgba(86, 175, 232, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.room-composer .button {
  min-width: 164px;
}

.room-demo-sidebar {
  display: grid;
  gap: 16px;
}

.room-side-card {
  position: relative;
  overflow: hidden;
}

.room-side-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent));
  opacity: 0.65;
}

.room-side-card > * {
  position: relative;
}

.room-side-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.room-side-list li {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(248, 252, 255, 0.86);
  border: 1px solid rgba(98, 177, 177, 0.14);
  color: var(--text);
  line-height: 1.75;
}

.room-timeline {
  display: grid;
  gap: 12px;
}

.room-timeline-item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(248, 252, 255, 0.86);
  border: 1px solid rgba(98, 177, 177, 0.14);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.room-timeline-item strong {
  font-size: 0.96rem;
}

.room-timeline-item span {
  color: var(--muted);
  line-height: 1.75;
}

.room-timeline-item.is-active {
  transform: translateY(-1px);
  border-color: rgba(86, 175, 232, 0.28);
  background: linear-gradient(135deg, rgba(235, 247, 255, 0.98), rgba(238, 252, 248, 0.98));
  box-shadow: 0 18px 30px rgba(67, 132, 149, 0.12);
}

body[data-room-window="before"] .room-timeline-item.is-active {
  border-color: rgba(239, 214, 140, 0.42);
  background: linear-gradient(135deg, rgba(255, 251, 233, 0.98), rgba(255, 247, 220, 0.98));
}

body[data-room-window="after"] .room-timeline-item.is-active {
  border-color: rgba(201, 123, 157, 0.26);
  background: linear-gradient(135deg, rgba(253, 242, 247, 0.98), rgba(249, 239, 244, 0.98));
}

body[data-lang="en"] .room-demo-title {
  letter-spacing: -0.065em;
}

body[data-lang="en"] .room-message-card-meta {
  letter-spacing: 0.08em;
}

@media (max-width: 1080px) {
  .room-demo-layout {
    grid-template-columns: 1fr;
  }

  .room-demo-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .room-demo-summary,
  .room-demo-toggle-row,
  .room-action-strip,
  .room-demo-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .room-demo-topline,
  .room-chat-shell-header {
    flex-direction: column;
  }

  .room-demo-pills {
    justify-content: flex-start;
  }

  .room-demo-title {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .room-chat-log {
    max-height: none;
  }

  .room-message-card {
    max-width: 100%;
  }

  .room-composer {
    grid-template-columns: 1fr;
  }

  .room-composer .button {
    width: 100%;
  }
}

.admin-launcher {
  position: fixed;
  inset-inline-start: 1.4rem;
  inset-block-end: 1.4rem;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 94, 121, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(23, 79, 100, 0.18);
  backdrop-filter: blur(14px);
}

.admin-main {
  display: grid;
  gap: 2rem;
  padding-bottom: 4rem;
}

.admin-auth-shell,
.admin-dashboard {
  display: grid;
  gap: 1.6rem;
}

.admin-heading {
  max-width: 58rem;
}

.admin-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.admin-access-form {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}

.admin-access-field {
  display: grid;
  gap: 0.55rem;
}

.admin-access-field input {
  width: 100%;
  min-height: 3.3rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(28, 93, 121, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
}

.admin-access-field input:focus {
  outline: 2px solid rgba(68, 143, 173, 0.22);
  border-color: rgba(68, 143, 173, 0.35);
}

.admin-access-actions {
  display: flex;
  gap: 0.8rem;
}

.admin-access-message {
  margin: 0;
  font-weight: 700;
}

.admin-access-message[data-state="error"] {
  color: #9f3750;
}

.admin-access-message[data-state="info"] {
  color: #215c7d;
}

.admin-role-card,
.admin-stat-card,
.admin-records-panel,
.admin-side-card,
.admin-empty-state {
  border: 1px solid rgba(29, 92, 120, 0.14);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(30, 72, 90, 0.1);
  backdrop-filter: blur(14px);
}

.admin-role-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.25rem;
  border-radius: 28px;
  text-align: start;
  color: var(--ink);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.admin-role-card:hover,
.admin-role-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(63, 140, 173, 0.32);
  box-shadow: 0 26px 54px rgba(39, 97, 120, 0.14);
}

.admin-role-card strong {
  font-size: 1.15rem;
}

.admin-role-card p,
.admin-access-note,
.admin-source-strip p,
.admin-record-copy p,
.admin-record-cell p,
.admin-empty-state p {
  color: var(--muted);
  line-height: 1.8;
}

.admin-access-note {
  margin: 0;
  max-width: 56rem;
}

.admin-session-bar,
.admin-source-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-session-copy {
  display: grid;
  gap: 0.45rem;
}

.admin-session-copy h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.admin-session-copy p {
  margin: 0;
  color: var(--muted);
}

.admin-session-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-role-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.admin-role-chip {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(27, 91, 120, 0.15);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-weight: 700;
}

.admin-role-chip.is-active {
  background: rgba(30, 110, 142, 0.12);
  border-color: rgba(30, 110, 142, 0.28);
}

.admin-source-strip {
  padding: 1rem 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(28, 93, 122, 0.12);
  background: rgba(250, 252, 253, 0.82);
}

.admin-source-strip p {
  margin: 0;
  max-width: 50rem;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.admin-stat-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem 1.2rem;
  border-radius: 24px;
}

.admin-stat-card strong {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1;
}

.admin-stat-card p {
  margin: 0;
  color: var(--muted);
}

.admin-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.admin-records-panel {
  display: grid;
  gap: 1.2rem;
  padding: 1.35rem;
  border-radius: 30px;
}

.admin-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.admin-section-head h2,
.admin-record-copy h3 {
  margin: 0;
}

.admin-section-head p {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.8;
}

.admin-record-list,
.admin-side-panel {
  display: grid;
  gap: 1rem;
}

.admin-record-section {
  display: grid;
  gap: 0.9rem;
}

.admin-record-section + .admin-record-section {
  padding-top: 0.4rem;
  border-top: 1px solid rgba(28, 93, 121, 0.08);
}

.admin-record-section-head {
  display: grid;
  gap: 0.3rem;
}

.admin-record-section-head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.admin-record-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-record-section-list {
  display: grid;
  gap: 1rem;
}

.admin-record-card {
  display: grid;
  gap: 0.95rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(28, 92, 118, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.admin-record-card.is-open {
  border-color: rgba(51, 130, 186, 0.22);
  box-shadow: 0 16px 34px rgba(27, 76, 111, 0.1);
}

.admin-record-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: start;
  cursor: pointer;
}

.admin-record-summary-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.65rem;
}

.admin-record-summary-stat {
  display: grid;
  gap: 0.2rem;
  flex: 1 1 12rem;
  min-width: 12rem;
  padding: 0.7rem 0.8rem;
  border-radius: 16px;
  background: rgba(246, 250, 252, 0.92);
  border: 1px solid rgba(28, 93, 121, 0.08);
}

.admin-record-summary-stat span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.admin-record-summary-stat strong {
  font-size: 0.9rem;
  line-height: 1.45;
  word-break: break-word;
}

.admin-record-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 2.4rem;
  block-size: 2.4rem;
  margin-inline-start: auto;
  border-radius: 999px;
  background: rgba(35, 91, 124, 0.08);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
}

.admin-record-details {
  display: grid;
  gap: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(28, 93, 121, 0.08);
}

.admin-record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-record-copy {
  display: grid;
  gap: 0.55rem;
}

.admin-record-copy p {
  margin: 0;
}

.admin-record-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-pill {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.admin-pill-payment {
  background: rgba(199, 234, 216, 0.8);
  color: #1f6a49;
}

.admin-pill-intake {
  background: rgba(220, 236, 248, 0.86);
  color: #215c7d;
}

.admin-pill-slot {
  background: rgba(248, 233, 202, 0.9);
  color: #8a5a15;
}

.admin-record-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.admin-record-note {
  display: grid;
  gap: 0.65rem;
}

.admin-record-note label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.admin-note-input {
  width: 100%;
  min-height: 6rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(28, 93, 121, 0.12);
  background: rgba(248, 252, 255, 0.9);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.admin-note-input:focus {
  outline: 2px solid rgba(68, 143, 173, 0.22);
  border-color: rgba(68, 143, 173, 0.35);
}

.admin-followup-block,
.admin-followup-planner,
.admin-session-list-wrap {
  display: grid;
  gap: 0.85rem;
}

.admin-followup-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-followup-stat {
  display: grid;
  gap: 0.2rem;
  min-width: 7rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  background: rgba(244, 248, 250, 0.82);
  border: 1px solid rgba(28, 93, 121, 0.08);
}

.admin-followup-stat span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.admin-session-list {
  display: grid;
  gap: 0.65rem;
}

.admin-session-item {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(248, 252, 255, 0.9);
  border: 1px solid rgba(28, 93, 121, 0.08);
}

.admin-session-item span,
.admin-inline-note {
  color: var(--muted);
}

.admin-inline-note {
  margin: 0;
}

.admin-inline-note-error {
  color: #9f3750;
}

.admin-inline-note-success {
  color: #1f6a49;
}

.admin-followup-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-choice-chip {
  min-width: 8rem;
}

.admin-choice-chip.is-active {
  border-color: rgba(46, 130, 189, 0.38);
  background: linear-gradient(135deg, rgba(233, 245, 255, 0.98), rgba(238, 252, 248, 0.96));
  color: #1f5270;
}

.admin-side-card-title {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
  line-height: 1.6;
}

.admin-side-card-body {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.admin-calendar-manager,
.admin-calendar-shell,
.admin-calendar-days,
.admin-calendar-detail,
.admin-calendar-detail-copy,
.admin-calendar-times,
.admin-calendar-blocks,
.admin-calendar-block-list,
.admin-calendar-block-copy {
  display: grid;
  gap: 0.85rem;
}

.admin-calendar-days-tray,
.admin-calendar-times-tray {
  max-height: none;
  overflow: visible;
  padding-inline-end: 0;
}

.admin-calendar-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.65rem;
}

.admin-calendar-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.admin-calendar-stat {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  background: rgba(244, 248, 250, 0.82);
  border: 1px solid rgba(28, 93, 121, 0.08);
}

.admin-calendar-stat span,
.admin-calendar-day-chip span,
.admin-calendar-detail-copy span,
.admin-calendar-block-copy span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.admin-calendar-day-chip {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  min-height: 0;
  padding: 0.75rem 0.8rem;
  text-align: start;
}

.admin-calendar-shell {
  gap: 1rem;
}

.admin-calendar-detail {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(248, 252, 255, 0.9);
  border: 1px solid rgba(28, 93, 121, 0.08);
}

.admin-calendar-detail-head,
.admin-calendar-block-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-calendar-accordion {
  border-radius: 18px;
  border: 1px solid rgba(28, 93, 121, 0.08);
  background: rgba(255, 255, 255, 0.84);
  overflow: hidden;
}

.admin-calendar-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.admin-calendar-accordion summary::-webkit-details-marker {
  display: none;
}

.admin-calendar-accordion[open] summary {
  border-bottom: 1px solid rgba(28, 93, 121, 0.08);
}

.admin-calendar-accordion .admin-calendar-blocks {
  padding: 0.9rem 0.95rem 0.95rem;
}

.admin-calendar-block-item {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(28, 93, 121, 0.08);
}

.admin-record-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
}

.admin-record-cell {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 0.95rem;
  border-radius: 22px;
  background: rgba(244, 248, 250, 0.8);
  border: 1px solid rgba(28, 93, 121, 0.08);
}

.admin-record-cell span {
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.admin-record-cell strong {
  font-size: 0.98rem;
}

.admin-record-cell p {
  margin: 0;
}

.admin-side-card,
.admin-empty-state {
  padding: 1.15rem 1.2rem;
  border-radius: 26px;
}

.admin-side-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-inline-start: 1rem;
  color: var(--muted);
}

.admin-doctor-overview {
  display: grid;
  gap: 0.8rem;
}

.admin-doctor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background: rgba(244, 248, 250, 0.82);
  border: 1px solid rgba(28, 93, 121, 0.08);
}

.admin-doctor-item span {
  color: var(--muted);
}

.admin-empty-state strong {
  font-size: 1.05rem;
}

@media (max-width: 1120px) {
  .admin-workspace {
    grid-template-columns: 1fr;
  }

  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .admin-role-grid,
  .admin-record-grid {
    grid-template-columns: 1fr;
  }

  .admin-session-bar,
  .admin-source-strip,
  .admin-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-record-summary-stat {
    min-width: 0;
    flex-basis: 100%;
  }

  .admin-record-actions {
    justify-content: flex-start;
  }

  .admin-calendar-summary {
    grid-template-columns: 1fr;
  }

  .admin-calendar-detail-head,
  .admin-calendar-block-item {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-calendar-choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-launcher {
    inset-inline-start: 1rem;
    inset-block-end: 1rem;
  }

  .admin-session-actions,
  .admin-record-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-session-actions .button,
  .admin-record-actions .button {
    width: 100%;
  }
}

.room-action-strip[hidden],
.room-composer[hidden],
.room-composer-meta[hidden] {
  display: none !important;
}

.room-composer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
  color: rgba(24, 38, 64, 0.68);
  font-size: 0.84rem;
}

.room-composer-limit,
.room-composer-cooldown {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(32, 86, 173, 0.09);
}

.room-composer-cooldown {
  color: #184f9f;
  font-weight: 700;
}

.room-message-file {
  display: inline-flex;
  margin-top: 0.55rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(16, 44, 90, 0.08);
  color: rgba(18, 37, 64, 0.8);
  font-size: 0.78rem;
  font-weight: 700;
}

.room-control-summary {
  margin: 0 0 1rem;
  color: rgba(24, 38, 64, 0.72);
  line-height: 1.7;
}

.room-control-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.room-control-group + .room-control-group {
  margin-top: 0.9rem;
}

.room-control-button {
  appearance: none;
  border: 1px solid rgba(32, 86, 173, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: #17355a;
  border-radius: 16px;
  padding: 0.72rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.room-control-button:hover {
  transform: translateY(-1px);
  border-color: rgba(32, 86, 173, 0.35);
}

.room-control-button.is-active {
  border-color: rgba(32, 86, 173, 0.72);
  background: linear-gradient(135deg, rgba(29, 103, 208, 0.16), rgba(255, 255, 255, 0.96));
  box-shadow: 0 16px 34px rgba(29, 103, 208, 0.14);
}

.room-access-toggle {
  width: 100%;
}

.admin-room-toggle {
  min-width: 8.5rem;
}

@media (max-width: 900px) {
  .room-control-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .room-composer-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .room-control-group {
    grid-template-columns: 1fr;
  }
}

