/* ==========================================================================
   DR. PUNEET DHAWAN — OFFICIAL AI AVATAR & CLINICAL PORTAL
   Aesthetic: Luxury Obsidian & Emerald Ayurvedic Nephrology
   ========================================================================== */

:root {
  --bg-dark: #03140e;
  --bg-surface: #072218;
  --bg-card: rgba(11, 38, 28, 0.75);
  --bg-card-hover: rgba(16, 52, 38, 0.85);
  --emerald-primary: #10b981;
  --emerald-light: #34d399;
  --emerald-dark: #059669;
  --gold-accent: #f59e0b;
  --gold-light: #fbbf24;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-emerald: #6ee7b7;
  --border-glass: rgba(16, 185, 129, 0.22);
  --border-glass-hover: rgba(16, 185, 129, 0.45);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-glow: 0 0 35px rgba(16, 185, 129, 0.25);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #0d3829 0%, #03140e 55%, #020b08 100%);
  background-attachment: fixed;
  color: var(--text-main);
}

/* Background Ambient Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.glow-1 {
  width: 500px;
  height: 500px;
  background: #10b981;
  top: -150px;
  right: -100px;
}
.glow-2 {
  width: 450px;
  height: 450px;
  background: #f59e0b;
  bottom: 20%;
  left: -150px;
}

/* Top Notification / Emergency Bar */
.top-bar {
  background: linear-gradient(90deg, #062a1e 0%, #0f4634 50%, #062a1e 100%);
  border-bottom: 1px solid var(--border-glass);
  padding: 8px 24px;
  font-size: 0.85rem;
  position: relative;
  z-index: 50;
}
.top-bar-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-emerald);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-phone {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.top-bar-phone:hover {
  text-shadow: 0 0 10px var(--gold-accent);
}
.lang-switcher {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid var(--border-glass);
}
.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 3px 10px;
  font-size: 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-btn.active {
  background: var(--emerald-primary);
  color: #fff;
  font-weight: 600;
}

/* Glassmorphic Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 20, 14, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 14px 28px;
  transition: all 0.3s ease;
}
.navbar-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.3));
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--emerald-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-subtitle {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald-primary);
  transition: width 0.3s ease;
}
.nav-links a:hover {
  color: var(--emerald-light);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Luxury Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--emerald-primary) 0%, var(--emerald-dark) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.55);
  background: linear-gradient(135deg, #18d394 0%, #059669 100%);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-accent) 0%, #d97706 100%);
  color: #03140e;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 18px var(--gold-glow);
  transition: all 0.3s ease;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(245, 158, 11, 0.55);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 60px 24px 80px 24px;
  max-width: 1300px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-glass);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--emerald-light);
  letter-spacing: 0.5px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #10b981 10%, #34d399 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.hero-description {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 620px;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}
.pulse-btn-icon {
  display: inline-block;
  animation: phone-shake 1.8s infinite;
}
@keyframes phone-shake {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-15deg); }
  20%, 40% { transform: rotate(15deg); }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-card {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--emerald-light);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   AI AVATAR CONSOLE (HERO CARD)
   ========================================================================== */
.avatar-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.avatar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-primary), var(--gold-accent), var(--emerald-light));
}
.avatar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.avatar-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.avatar-engine-info {
  font-size: 0.72rem;
  color: var(--gold-light);
  background: rgba(245, 158, 11, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.avatar-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 50% 40%, #0d3829 0%, #051a13 70%, #020f0a 100%);
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
#avatarCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.avatar-overlay-controls {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(3, 20, 14, 0.7);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}
.avatar-status-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.avatar-quick-mic-btn {
  background: var(--emerald-primary);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
  transition: all 0.2s ease;
}
.avatar-quick-mic-btn:hover {
  transform: scale(1.1);
}
.avatar-quick-mic-btn.listening {
  background: #ef4444;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.8);
  animation: pulse-ring 1.5s infinite;
}

.avatar-prompts-container {
  margin-top: 14px;
}
.prompts-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.quick-prompt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prompt-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #e2e8f0;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.prompt-pill:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald-primary);
  color: #fff;
  transform: translateY(-1px);
}

.avatar-actions-footer {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==========================================================================
   FULLSCREEN / MODAL VOICE CALL SUITE
   ========================================================================== */
.voice-call-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(2, 10, 7, 0.92);
  backdrop-filter: blur(25px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.voice-call-modal.active {
  display: flex;
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.call-modal-container {
  width: 100%;
  max-width: 900px;
  background: #061c14;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.call-modal-header {
  padding: 16px 24px;
  background: rgba(4, 20, 14, 0.9);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.call-doctor-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.call-doctor-avatar-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--emerald-primary);
  overflow: hidden;
}
.call-doctor-avatar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.call-doctor-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}
.call-status-indicator {
  font-size: 0.78rem;
  color: var(--emerald-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.call-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
.call-close-btn:hover {
  color: #fff;
}

.call-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  height: 480px;
}
.call-stage {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #0b3426 0%, #03140e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#callAvatarCanvas {
  width: 100%;
  height: 100%;
  display: block;
}
.call-transcript-panel {
  background: rgba(4, 20, 14, 0.75);
  border-left: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.transcript-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.transcript-feed {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 6px;
}
.transcript-bubble {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
}
.transcript-bubble.user {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #e2e8f0;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.transcript-bubble.doctor {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.call-modal-footer {
  padding: 18px 24px;
  background: rgba(4, 20, 14, 0.95);
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.call-control-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.call-control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}
.call-control-btn.mic-btn.active {
  background: var(--emerald-primary);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}
.call-control-btn.end-call-btn {
  background: #ef4444;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}
.call-control-btn.end-call-btn:hover {
  background: #dc2626;
}

/* ==========================================================================
   SLIDE-OUT CHAT DRAWER
   ========================================================================== */
.chat-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  height: 100vh;
  z-index: 1001;
  background: #061c14;
  border-left: 1px solid var(--border-glass);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-drawer.active {
  right: 0;
}
.chat-drawer-header {
  padding: 16px 20px;
  background: rgba(4, 20, 14, 0.95);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--emerald-primary);
  overflow: hidden;
}
.chat-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat-message {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}
.chat-message.user {
  align-self: flex-end;
}
.chat-message.doctor {
  align-self: flex-start;
}
.chat-bubble {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  line-height: 1.55;
  position: relative;
}
.chat-message.user .chat-bubble {
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald-primary));
  color: #fff;
  border-bottom-right-radius: 2px;
}
.chat-message.doctor .chat-bubble {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: #f1f5f9;
  border-bottom-left-radius: 2px;
}
.chat-audio-btn {
  background: none;
  border: none;
  color: var(--gold-light);
  cursor: pointer;
  margin-top: 6px;
  align-self: flex-start;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.chat-drawer-input-area {
  padding: 16px 20px;
  background: rgba(4, 20, 14, 0.95);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  padding: 12px 16px;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.92rem;
  outline: none;
}
.chat-input:focus {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}
.chat-send-btn {
  background: var(--emerald-primary);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.chat-send-btn:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
  padding: 90px 24px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-glass);
  color: var(--emerald-light);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.section-subtitle {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE CALCULATOR SECTION
   ========================================================================== */
.calculator-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.calc-input-group {
  margin-bottom: 22px;
}
.calc-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}
.calc-slider {
  width: 100%;
  accent-color: var(--emerald-primary);
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  cursor: pointer;
}
.calc-val-badge {
  color: var(--emerald-light);
  font-family: var(--font-heading);
  font-weight: 700;
}
.calc-radios {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.radio-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  user-select: none;
}
.radio-pill.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald-primary);
  color: #fff;
  font-weight: 600;
}

.calc-results-panel {
  background: rgba(4, 20, 14, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.results-gfr-box {
  text-align: center;
  padding: 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.gfr-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--emerald-light);
}
.gfr-stage-tag {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
}
.calc-advice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: #cbd5e1;
}
.calc-advice-list li {
  position: relative;
  padding-left: 20px;
}
.calc-advice-list li::before {
  content: '🌿';
  position: absolute;
  left: 0;
  top: 0;
}

/* ==========================================================================
   TREATMENTS & CONDITIONS GRID
   ========================================================================== */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.treatment-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.treatment-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.2);
}
.treatment-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.treatment-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}
.treatment-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.treatment-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-emerald);
}

/* ==========================================================================
   AYURVEDIC HERBS CAROUSEL / GRID
   ========================================================================== */
.herbs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.herb-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  transition: all 0.3s ease;
}
.herb-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-accent);
}
.herb-badge-gold {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(245, 158, 11, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.herb-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.herb-scientific {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.herb-action {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #cbd5e1;
}

/* ==========================================================================
   PATIENT TESTIMONIALS & CLINICAL PROOFS
   ========================================================================== */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.report-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.patient-meta {
  display: flex;
  flex-direction: column;
}
.patient-name {
  font-weight: 700;
  font-size: 1.05rem;
}
.patient-origin {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.dialysis-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}
.dialysis-badge.stopped {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.report-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
  padding: 14px;
  border-radius: var(--radius-md);
  text-align: center;
}
.comp-col-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.comp-value-before {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #f87171;
}
.comp-value-after {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--emerald-light);
}
.report-quote {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cbd5e1;
  font-style: italic;
}

/* ==========================================================================
   APPOINTMENT BOOKING SECTION
   ========================================================================== */
.booking-section {
  background: radial-gradient(circle at 50% 50%, #0d3829 0%, #03140e 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}
.booking-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.booking-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.booking-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-light);
  flex-shrink: 0;
}
.booking-form-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e2e8f0;
}
.form-input, .form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.92rem;
  outline: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   CLINIC LOCATIONS
   ========================================================================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s ease;
}
.location-card:hover {
  transform: translateY(-3px);
  border-color: var(--emerald-primary);
}
.location-city {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}
.location-address {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.location-phone {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald-light);
  text-decoration: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #020b08;
  border-top: 1px solid var(--border-glass);
  padding: 60px 24px 30px 24px;
  position: relative;
  z-index: 10;
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 14px;
}
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--emerald-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 24px;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .treatments-grid, .reports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .herbs-grid, .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .booking-container {
    grid-template-columns: 1fr;
  }
  .call-body {
    grid-template-columns: 1fr;
  }
  .call-transcript-panel {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .calculator-card {
    grid-template-columns: 1fr;
  }
  .treatments-grid, .reports-grid, .herbs-grid, .locations-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .chat-drawer {
    width: 100%;
    right: -100%;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Custom Language Select Dropdowns */
.lang-select-dropdown {
  background: rgba(0, 0, 0, 0.4);
  color: var(--emerald-light);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-select-dropdown:hover, .lang-select-dropdown:focus {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}
.lang-select-dropdown option {
  background: #061c14;
  color: #f8fafc;
  padding: 6px;
}
