/* Medicares.me Premium Landing Page Stylesheet */

/* Design System Variables */
:root {
  --lp-primary: #2563eb;
  --lp-primary-rgb: 37, 99, 235;
  --lp-secondary: #0f172a;
  --lp-secondary-rgb: 15, 23, 42;
  --lp-accent: #14b8a6;
  --lp-accent-rgb: 20, 184, 166;
  --lp-bg: #f8fafc;
  --lp-surface: rgba(255, 255, 255, 0.75);
  --lp-surface-solid: #ffffff;
  --lp-border: rgba(148, 163, 184, 0.16);
  --lp-text: #0f172a;
  --lp-muted: #64748b;
  --lp-success: #22c55e;
  --lp-warning: #f59e0b;
  --lp-danger: #ef4444;
  --lp-font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --lp-font-title: 'Poppins', sans-serif;
  --lp-font-manrope: 'Manrope', sans-serif;
  --lp-shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.04), 0 1px 3px 0 rgba(15, 23, 42, 0.02);
  --lp-shadow-md: 0 12px 24px -4px rgba(15, 23, 42, 0.06), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
  --lp-shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.1), 0 8px 16px -4px rgba(15, 23, 42, 0.05);
  --lp-shadow-glow: 0 0 25px rgba(37, 99, 235, 0.15);
  --lp-radius-sm: 8px;
  --lp-radius-md: 14px;
  --lp-radius-lg: 20px;
  --lp-radius-xl: 30px;
  --lp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Tokens */
html[data-theme='dark'] {
  --lp-bg: #0b0f19;
  --lp-surface: rgba(15, 23, 42, 0.65);
  --lp-surface-solid: #0f172a;
  --lp-border: rgba(255, 255, 255, 0.08);
  --lp-text: #f1f5f9;
  --lp-muted: #94a3b8;
  --lp-shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.2);
  --lp-shadow-md: 0 12px 24px -4px rgba(0, 0, 0, 0.3);
  --lp-shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.4);
  --lp-shadow-glow: 0 0 30px rgba(37, 99, 235, 0.25);
}

/* Base Styles & Scaffolding */
.lp-body {
  font-family: var(--lp-font-sans);
  color: var(--lp-text);
  background-color: var(--lp-bg);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Gradients */
.lp-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  background-image: 
    radial-gradient(circle at top 10% left 15%, rgba(var(--lp-primary-rgb), 0.07), transparent 35%),
    radial-gradient(circle at top 20% right 20%, rgba(var(--lp-accent-rgb), 0.06), transparent 30%),
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px), 
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Utility Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes float-delayed {
  0% { transform: translateY(0px); }
  50% { transform: translateY(8px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-soft {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

/* Reveal classes for Scroll Observer */
.lp-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.lp-delay-1 { transition-delay: 0.1s; }
.lp-delay-2 { transition-delay: 0.2s; }
.lp-delay-3 { transition-delay: 0.3s; }
.lp-delay-4 { transition-delay: 0.4s; }

/* Global Styling Overrides for Header navigation */
.navbar-lp {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(var(--lp-secondary-rgb), 0.03);
  border-bottom: 1px solid var(--lp-border);
  transition: var(--lp-transition);
}

html[data-theme='dark'] .navbar-lp {
  background: rgba(11, 15, 25, 0.7);
}

.navbar-lp.scrolled {
  background: var(--lp-surface-solid);
  box-shadow: var(--lp-shadow-sm);
  border-bottom-color: var(--lp-border);
}

html[data-theme='dark'] .navbar-lp.scrolled {
  background: var(--lp-surface-solid);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--lp-font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lp-primary);
  text-decoration: none;
}

.logo-mark {
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent));
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.logo-text {
  color: var(--lp-text);
  font-family: var(--lp-font-manrope);
}

.logo-text span {
  color: var(--lp-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--lp-text);
  text-decoration: none;
  font-family: var(--lp-font-manrope);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--lp-transition);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover {
  color: var(--lp-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--lp-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Button UI */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lp-font-manrope);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--lp-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--lp-transition);
  text-decoration: none;
}

.lp-btn-ghost {
  color: var(--lp-text);
  background: transparent;
}

.lp-btn-ghost:hover {
  background: rgba(var(--lp-primary-rgb), 0.05);
  color: var(--lp-primary);
}

.lp-btn-outline {
  border-color: var(--lp-border);
  background: var(--lp-surface);
  color: var(--lp-text);
}

.lp-btn-outline:hover {
  border-color: var(--lp-primary);
  color: var(--lp-primary);
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow-sm);
}

.lp-btn-primary {
  background: linear-gradient(135deg, var(--lp-primary), #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.lp-btn-accent {
  background: linear-gradient(135deg, var(--lp-accent), #0f766e);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.2);
}

.lp-btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.35);
}

.theme-toggle-btn {
  background: transparent;
  border: none;
  color: var(--lp-text);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  transition: var(--lp-transition);
}

.theme-toggle-btn:hover {
  background: rgba(var(--lp-primary-rgb), 0.08);
  color: var(--lp-primary);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: transparent;
  border: none;
  color: var(--lp-text);
  cursor: pointer;
}

/* Hero Section */
.lp-hero-section {
  position: relative;
  padding: 5rem 1.5rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 10;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.lp-hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--lp-primary);
  border-radius: 99px;
  font-family: var(--lp-font-manrope);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(37, 99, 235, 0.15);
  align-self: flex-start;
}

.lp-hero-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--lp-accent);
  border-radius: 50%;
  animation: pulse-soft 2s infinite;
}

.lp-hero-title {
  font-family: var(--lp-font-title);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--lp-text);
  margin: 0;
  letter-spacing: -0.02em;
}

.lp-gradient-text {
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-hero-desc {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--lp-muted);
  margin: 0;
  font-family: var(--lp-font-sans);
}

.lp-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Dashboard Mockup Visual */
.lp-hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-dashboard-shell {
  background: var(--lp-secondary);
  border-radius: var(--lp-radius-lg);
  width: 100%;
  height: 380px;
  box-shadow: var(--lp-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--lp-transition);
}

.lp-dashboard-shell:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  box-shadow: var(--lp-shadow-glow), var(--lp-shadow-lg);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
}

.dashboard-dots {
  display: flex;
  gap: 0.4rem;
}

.dashboard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dashboard-dot:nth-child(1) { background-color: var(--lp-danger); }
.dashboard-dot:nth-child(2) { background-color: var(--lp-warning); }
.dashboard-dot:nth-child(3) { background-color: var(--lp-success); }

.dashboard-title {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--lp-font-manrope);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dashboard-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  flex-grow: 1;
}

.dashboard-sidebar-mock {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dashboard-item-mock {
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  padding: 0 0.6rem;
  gap: 0.5rem;
}

.dashboard-item-mock.active {
  background: rgba(37, 99, 235, 0.15);
  border-left: 2px solid var(--lp-primary);
}

.dashboard-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  width: 60%;
}

.dashboard-item-mock.active .dashboard-bar {
  background: var(--lp-primary);
}

.dashboard-circle-mock {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.dashboard-item-mock.active .dashboard-circle-mock {
  background: var(--lp-primary);
}

.dashboard-main-mock {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.dashboard-card-mini {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--lp-radius-sm);
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.dashboard-card-mini .title {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.dashboard-card-mini .val {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--lp-font-manrope);
}

.dashboard-card-mini .subtitle {
  color: var(--lp-success);
  font-size: 0.65rem;
  margin-top: 0.1rem;
}

.dashboard-chart-lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.dashboard-chart-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.dashboard-chart-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent));
  border-radius: 99px;
}

/* Floating UI Cards in Hero */
.lp-floating-card {
  position: absolute;
  background: var(--lp-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow-md);
  border-radius: var(--lp-radius-md);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 20;
}

.lp-floating-card.one {
  top: 10%;
  left: -8%;
  animation: float 5s ease-in-out infinite;
}

.lp-floating-card.two {
  bottom: 8%;
  left: -5%;
  animation: float-delayed 6s ease-in-out infinite;
}

.lp-floating-card.three {
  top: -5%;
  right: -5%;
  animation: float-delayed 5.5s ease-in-out infinite;
}

.lp-floating-card.four {
  bottom: 12%;
  right: -8%;
  animation: float 6.5s ease-in-out infinite;
}

.lp-floating-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.95rem;
}

.lp-floating-icon.success { background: var(--lp-success); }
.lp-floating-icon.primary { background: var(--lp-primary); }
.lp-floating-icon.accent { background: var(--lp-accent); }
.lp-floating-icon.warning { background: var(--lp-warning); }

.lp-floating-info {
  display: flex;
  flex-direction: column;
}

.lp-floating-title {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--lp-text);
  line-height: 1.2;
}

.lp-floating-desc {
  font-size: 0.7rem;
  color: var(--lp-muted);
}

/* Floating Search Section */
.lp-search-section {
  max-width: 1280px;
  margin: -1.5rem auto 3rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 30;
}

.lp-search-card {
  background: var(--lp-surface-solid);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow-lg);
  border-radius: var(--lp-radius-lg);
  padding: 1.5rem;
}

.lp-search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
}

.lp-search-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}

.lp-search-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lp-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--lp-font-manrope);
}

.lp-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.lp-search-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--lp-muted);
  pointer-events: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.lp-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.2rem;
  border-radius: var(--lp-radius-sm);
  border: 1px solid var(--lp-border);
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-font-sans);
  font-size: 0.9rem;
  transition: var(--lp-transition);
}

.lp-search-input:focus {
  outline: none;
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: var(--lp-surface-solid);
}

.lp-search-btn {
  height: 48px;
  align-self: flex-end;
  border-radius: var(--lp-radius-sm);
  font-family: var(--lp-font-manrope);
}

/* Trust Section */
.lp-trust-section {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  background: rgba(var(--lp-primary-rgb), 0.01);
  text-align: center;
}

.lp-trust-heading {
  font-family: var(--lp-font-manrope);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lp-muted);
  margin-bottom: 1.5rem;
}

.lp-trust-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.lp-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--lp-muted);
  font-family: var(--lp-font-manrope);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--lp-transition);
}

.lp-trust-badge:hover {
  color: var(--lp-primary);
}

.lp-trust-badge svg {
  width: 20px;
  height: 20px;
  color: var(--lp-accent);
}

/* Specialties Section */
.lp-section {
  padding: 6rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.lp-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-section-kicker {
  color: var(--lp-primary);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--lp-font-manrope);
}

.lp-section-title {
  font-family: var(--lp-font-title);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: var(--lp-text);
  margin: 0;
  line-height: 1.25;
}

.lp-section-desc {
  color: var(--lp-muted);
  font-size: 1.05rem;
  margin: 0;
}

.lp-specialties-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.lp-specialty-card {
  background: var(--lp-surface-solid);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--lp-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.lp-specialty-card:hover {
  transform: translateY(-5px);
  border-color: var(--lp-primary);
  box-shadow: var(--lp-shadow-md);
}

.lp-specialty-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.06);
  display: grid;
  place-items: center;
  color: var(--lp-primary);
  transition: var(--lp-transition);
}

.lp-specialty-card:hover .lp-specialty-icon-wrapper {
  background: var(--lp-primary);
  color: white;
}

.lp-specialty-title {
  font-family: var(--lp-font-manrope);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lp-text);
  margin: 0;
}

/* How It Works Section */
.lp-how-section {
  background: rgba(var(--lp-primary-rgb), 0.015);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

.lp-timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 2rem auto 0;
  padding: 2rem 0;
}

.lp-timeline-line {
  position: absolute;
  top: 62px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent), var(--lp-primary));
  z-index: 1;
}

.lp-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.lp-timeline-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lp-timeline-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--lp-surface-solid);
  border: 2px solid var(--lp-primary);
  color: var(--lp-primary);
  font-weight: 800;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  box-shadow: var(--lp-shadow-sm);
  transition: var(--lp-transition);
}

.lp-timeline-step:hover .lp-timeline-number {
  background: var(--lp-primary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.35);
}

.lp-timeline-step h3 {
  font-family: var(--lp-font-manrope);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.lp-timeline-step p {
  font-size: 0.88rem;
  color: var(--lp-muted);
  margin: 0;
  padding: 0 0.5rem;
}

/* Why Choose Medicares Section */
.lp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lp-why-card {
  background: var(--lp-surface-solid);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-md);
  padding: 2rem;
  transition: var(--lp-transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lp-why-card:hover {
  border-color: rgba(var(--lp-accent-rgb), 0.3);
  box-shadow: var(--lp-shadow-md);
  transform: translateY(-3px);
}

.lp-why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.08);
  color: var(--lp-accent);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.lp-why-card:hover .lp-why-icon {
  background: var(--lp-accent);
  color: white;
}

.lp-why-card h3 {
  font-family: var(--lp-font-manrope);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.lp-why-card p {
  font-size: 0.92rem;
  color: var(--lp-muted);
  margin: 0;
  line-height: 1.6;
}

/* Dashboard Switcher Tabs Section (For Patients, For Doctors, For Hospitals) */
.lp-switcher-section {
  background: rgba(var(--lp-secondary-rgb), 0.01);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

.lp-switcher-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.lp-switcher-tab {
  background: var(--lp-surface-solid);
  border: 1px solid var(--lp-border);
  padding: 0.75rem 1.75rem;
  font-family: var(--lp-font-manrope);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--lp-radius-md);
  cursor: pointer;
  color: var(--lp-muted);
  transition: var(--lp-transition);
}

.lp-switcher-tab:hover {
  color: var(--lp-primary);
  border-color: var(--lp-primary);
}

.lp-switcher-tab.active {
  background: var(--lp-primary);
  color: white;
  border-color: var(--lp-primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.lp-switcher-content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
  min-height: 420px;
}

.lp-switcher-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lp-switcher-info h3 {
  font-family: var(--lp-font-title);
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.lp-switcher-info p {
  color: var(--lp-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.lp-switcher-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-switcher-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.lp-switcher-checklist svg {
  color: var(--lp-success);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Panel Mockups for Dashboard Tab switcher */
.lp-switcher-visual {
  position: relative;
  background: var(--lp-surface-solid);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow-lg);
  border-radius: var(--lp-radius-lg);
  padding: 1.5rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow: hidden;
}

/* Style Subcomponents in Switcher panels */
.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--lp-border);
  padding-bottom: 0.75rem;
}

.panel-title {
  font-family: var(--lp-font-manrope);
  font-weight: 700;
  font-size: 1.1rem;
}

.panel-badge {
  background: rgba(34, 197, 94, 0.1);
  color: var(--lp-success);
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--lp-bg);
  border-radius: var(--lp-radius-sm);
  border: 1px solid var(--lp-border);
}

.panel-row-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.panel-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lp-primary);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.panel-avatar.accent {
  background: var(--lp-accent);
}

.panel-details {
  display: flex;
  flex-direction: column;
}

.panel-name {
  font-size: 0.88rem;
  font-weight: 700;
}

.panel-subname {
  font-size: 0.75rem;
  color: var(--lp-muted);
}

.panel-action-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 6px;
}

/* Feature Highlights */
.lp-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.lp-highlight-card {
  background: var(--lp-surface-solid);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-md);
  padding: 1.75rem 1.5rem;
  transition: var(--lp-transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-md);
  border-color: rgba(var(--lp-primary-rgb), 0.2);
}

.lp-highlight-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lp-highlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-primary);
}

.lp-highlight-card:nth-child(even) .lp-highlight-dot {
  background: var(--lp-accent);
}

.lp-highlight-title {
  font-family: var(--lp-font-manrope);
  font-size: 1.05rem;
  font-weight: 700;
}

.lp-highlight-desc {
  font-size: 0.88rem;
  color: var(--lp-muted);
  line-height: 1.5;
}

/* Testimonials */
.lp-testimonials-section {
  background: rgba(var(--lp-primary-rgb), 0.015);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

.lp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lp-testimonial-card {
  background: var(--lp-surface-solid);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--lp-shadow-sm);
  transition: var(--lp-transition);
}

.lp-testimonial-card:hover {
  box-shadow: var(--lp-shadow-md);
  transform: translateY(-2px);
}

.lp-testimonial-quote {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--lp-text);
  font-style: italic;
  margin: 0;
}

.lp-testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lp-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2e8f0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--lp-primary);
  border: 2px solid var(--lp-border);
}

.lp-testimonial-info {
  display: flex;
  flex-direction: column;
}

.lp-testimonial-name {
  font-family: var(--lp-font-manrope);
  font-size: 0.92rem;
  font-weight: 700;
}

.lp-testimonial-title {
  font-size: 0.78rem;
  color: var(--lp-muted);
}

.lp-stars {
  display: flex;
  gap: 0.15rem;
  color: var(--lp-warning);
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

/* FAQ Accordion Section */
.lp-faq-container {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lp-faq-item {
  border: 1px solid var(--lp-border);
  background: var(--lp-surface-solid);
  border-radius: var(--lp-radius-md);
  overflow: hidden;
  transition: var(--lp-transition);
}

.lp-faq-item:hover {
  border-color: rgba(var(--lp-primary-rgb), 0.3);
  box-shadow: var(--lp-shadow-sm);
}

.lp-faq-trigger {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-family: var(--lp-font-manrope);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--lp-text);
  background: transparent;
  width: 100%;
  border: none;
  text-align: left;
}

.lp-faq-icon {
  font-size: 1.2rem;
  color: var(--lp-muted);
  transition: transform 0.3s ease;
}

.lp-faq-item.open .lp-faq-icon {
  transform: rotate(45deg);
  color: var(--lp-primary);
}

.lp-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.lp-faq-item.open .lp-faq-content {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.lp-faq-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--lp-muted);
  line-height: 1.6;
}

/* Final CTA Section */
.lp-cta-section {
  padding: 2rem 1.5rem 6rem;
  max-width: 1280px;
  margin: 0 auto;
}

.lp-cta-card {
  background: linear-gradient(135deg, var(--lp-secondary), #1e293b);
  border-radius: var(--lp-radius-xl);
  padding: 5rem 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--lp-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(var(--lp-primary-rgb), 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.lp-cta-card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(var(--lp-accent-rgb), 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.lp-cta-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.lp-cta-card h2 {
  font-family: var(--lp-font-title);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.lp-cta-card p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.lp-cta-card .lp-btn {
  padding: 0.85rem 2.2rem;
  font-size: 1rem;
}

/* Footer Section */
.lp-footer {
  background: var(--lp-secondary);
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 1.5rem 2.5rem;
}

.lp-footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
}

.lp-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lp-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--lp-font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.lp-footer-logo-mark {
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent));
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.lp-footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.lp-footer-socials {
  display: flex;
  gap: 0.75rem;
}

.lp-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 1.05rem;
  transition: var(--lp-transition);
}

.lp-social-icon:hover {
  background: var(--lp-primary);
  color: white;
  transform: translateY(-2px);
}

.lp-footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lp-footer-col h4 {
  color: white;
  font-family: var(--lp-font-manrope);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lp-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--lp-transition);
}

.lp-footer-links a:hover {
  color: white;
  padding-left: 3px;
}

.lp-footer-bottom {
  max-width: 1280px;
  margin: 4rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.lp-footer-meta {
  display: flex;
  gap: 1.5rem;
}

.lp-footer-meta a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--lp-transition);
}

.lp-footer-meta a:hover {
  color: white;
}

/* Contact Us Section overrides if we need it */
.lp-contact-section {
  background: var(--lp-bg);
}

.lp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.lp-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lp-contact-card {
  background: var(--lp-surface-solid);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-contact-card h4 {
  margin: 0;
  font-family: var(--lp-font-manrope);
  font-size: 1rem;
}

.lp-contact-card ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--lp-muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lp-contact-form {
  background: var(--lp-surface-solid);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow-lg);
  border-radius: var(--lp-radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lp-contact-form h3 {
  margin: 0;
  font-family: var(--lp-font-title);
  font-size: 1.5rem;
}

.lp-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lp-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lp-text);
}

.lp-form-input, .lp-form-textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--lp-radius-sm);
  border: 1px solid var(--lp-border);
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-font-sans);
  font-size: 0.92rem;
  transition: var(--lp-transition);
}

.lp-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.lp-form-input:focus, .lp-form-textarea:focus {
  outline: none;
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: var(--lp-surface-solid);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .lp-hero-badge {
    align-self: center;
  }

  .lp-hero-actions {
    justify-content: center;
  }

  .lp-floating-card.one { left: 0%; top: 5%; }
  .lp-floating-card.two { left: 5%; bottom: 5%; }
  .lp-floating-card.three { right: 0%; top: -2%; }
  .lp-floating-card.four { right: 5%; bottom: 5%; }

  .lp-search-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .lp-search-btn {
    grid-column: span 2;
  }

  .lp-specialties-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-switcher-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .lp-highlights-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .lp-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Handled by mobile menu class */
  }

  .mobile-nav-toggle {
    display: block;
  }

  .nav-buttons {
    display: none; /* Hide desktop action buttons on small viewports */
  }

  .lp-timeline-line {
    display: none;
  }

  .lp-timeline-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .lp-specialties-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-why-grid {
    grid-template-columns: 1fr;
  }

  .lp-highlights-grid {
    grid-template-columns: 1fr;
  }

  .lp-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .lp-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lp-footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .lp-switcher-tabs {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .lp-search-grid {
    grid-template-columns: 1fr;
  }
  .lp-search-btn {
    grid-column: span 1;
  }
  .lp-specialties-grid {
    grid-template-columns: 1fr;
  }
  .lp-cta-card {
    padding: 3rem 1.5rem;
  }
  .lp-floating-card {
    display: none; /* Hide on very small screens for clean visual layout */
  }
}

/* Mobile Nav Drawer styles */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--lp-surface-solid);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--lp-font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lp-text);
  text-decoration: none;
}

.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}

/* Homepage Booking Widget Styles */
.lp-hero-booking-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.lp-booking-widget-card {
  background: var(--lp-surface-solid);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--lp-shadow-lg);
  transition: var(--lp-transition);
}

.lp-booking-widget-card:hover {
  box-shadow: var(--lp-shadow-glow), var(--lp-shadow-lg);
}

.lp-booking-widget-header {
  margin-bottom: 1.25rem;
  text-align: center;
}

.lp-booking-widget-header h3 {
  font-family: var(--lp-font-title);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--lp-text);
}

.lp-booking-widget-header p {
  font-size: 0.85rem;
  color: var(--lp-muted);
  margin: 0;
}

.lp-booking-widget-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lp-booking-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.lp-booking-slots-section {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: slideUp 0.3s ease-out;
}

.lp-booking-slots-section > label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lp-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--lp-font-manrope);
}

.lp-booking-slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  max-height: 140px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.lp-booking-slot-btn {
  padding: 0.5rem 0.25rem;
  font-family: var(--lp-font-manrope);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg);
  color: var(--lp-text);
  cursor: pointer;
  text-align: center;
  transition: var(--lp-transition);
}

.lp-booking-slot-btn:hover:not(:disabled) {
  border-color: var(--lp-primary);
  color: var(--lp-primary);
  background: rgba(37, 99, 235, 0.05);
}

.lp-booking-slot-btn.active {
  background: var(--lp-primary) !important;
  color: white !important;
  border-color: var(--lp-primary) !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.lp-booking-slot-btn:disabled {
  opacity: 0.45;
  background: rgba(148, 163, 184, 0.1);
  color: var(--lp-muted);
  text-decoration: line-through;
  cursor: not-allowed;
  border-color: transparent;
}

.lp-booking-patient-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-top: 1px solid var(--lp-border);
  padding-top: 1rem;
  animation: slideUp 0.3s ease-out;
}

.lp-booking-submit-btn {
  width: 100%;
  height: 46px;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  cursor: pointer;
}

.lp-booking-submit-btn:disabled {
  background: var(--lp-muted);
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Homepage Login Modal & Advanced Booking Styling */
.lp-login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.25s ease-out;
}

.lp-login-modal-card {
  background: var(--lp-surface-solid, #ffffff);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  padding: 2.25rem 2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--lp-shadow-lg);
  position: relative;
  animation: slideUp 0.3s ease-out;
}

[data-theme="dark"] .lp-login-modal-card {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lp-login-modal-header {
  margin-bottom: 1.5rem;
  position: relative;
  text-align: center;
}

.lp-login-modal-header h3 {
  font-family: var(--lp-font-title);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--lp-text);
}

.lp-login-modal-header p {
  font-size: 0.88rem;
  color: var(--lp-muted);
  margin: 0;
}

.lp-login-modal-close {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--lp-muted);
  cursor: pointer;
  transition: var(--lp-transition);
}

.lp-login-modal-close:hover {
  color: var(--lp-text);
  transform: rotate(90deg);
}

.lp-booking-tab {
  color: var(--lp-muted);
}

.lp-booking-tab:hover:not(.active) {
  color: var(--lp-text);
  background: rgba(148, 163, 184, 0.08);
}

.lp-booking-tab.active {
  background: var(--lp-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.lp-captcha-code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.15rem;
  font-weight: 800;
  background: linear-gradient(45deg, #e2e8f0, #cbd5e1);
  color: #0f172a;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  letter-spacing: 4px;
  border: 1px dashed #94a3b8;
  user-select: none;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  display: inline-block;
}

[data-theme="dark"] .lp-captcha-code {
  background: linear-gradient(45deg, #1e293b, #334155);
  color: #f8fafc;
  border-color: #475569;
}

/* Reconsult search results styling */
.lp-reconsult-item {
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  padding: 0.75rem;
  border-radius: var(--lp-radius-md);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: var(--lp-transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lp-reconsult-item:hover {
  border-color: var(--lp-primary);
  background: rgba(37, 99, 235, 0.03);
}

.lp-reconsult-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.lp-reconsult-item-doc {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--lp-text);
}

.lp-reconsult-item-meta {
  font-size: 0.75rem;
  color: var(--lp-muted);
}

/* Search Grid adjust for 4 items */
@media (min-width: 1024px) {
  .lp-search-grid {
    grid-template-columns: 1.2fr 1.2fr 1fr auto !important;
  }
}

