/* PerfecTor - Landing Page CSS */

/* Background lights */
.glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}
.orb-1 {
  background: var(--primary-color);
  top: 10%;
  right: 5%;
  animation: float 15s infinite ease-in-out;
}
.orb-2 {
  background: var(--secondary-color);
  top: 30%;
  left: 5%;
  animation: float 20s infinite ease-in-out 2s;
}
.orb-3 {
  background: #d946ef;
  bottom: 10%;
  right: 15%;
  animation: float 18s infinite ease-in-out 4s;
}

/* Header */
.main-header {
  position: sticky;
  top: 20px;
  margin: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 100;
  background: var(--bg-card);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
}
.logo-icon {
  font-size: 28px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent-color), #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}
.nav-links a:hover {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  gap: 15px;
}

/* Hero Section */
.hero-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.announcement-pill {
  align-self: flex-start;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent-color);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
}

.hero-content h1 {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.15;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 18px;
  border-radius: 14px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}
.stat-item h3 {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
}
.stat-item p {
  font-size: 14px;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Preview Frame */
.hero-preview {
  padding: 8px;
  border-radius: 24px;
  overflow: hidden;
  animation: float 8s infinite ease-in-out;
}
.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: var(--error-color); }
.dot.yellow { background: var(--warning-color); }
.dot.green { background: var(--success-color); }
.preview-title {
  margin-right: auto;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.preview-body {
  padding: 20px;
  background: rgba(10, 15, 30, 0.9);
  border-radius: 16px;
}

/* Mini Dashboard Inside Hero */
.mini-dashboard {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mini-kpi {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.mini-kpi .kpi-label {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}
.mini-kpi .kpi-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}
.mini-chart-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 15px;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 15px;
}
.trend-green {
  color: var(--success-color);
}
.mini-bar-chart {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 80px;
  padding: 0 10px;
}
.mini-bar-chart .bar {
  width: 25px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 6px 6px 0 0;
  position: relative;
  transition: height 1s;
}
.mini-bar-chart .bar.active {
  background: linear-gradient(to top, var(--primary-color), var(--accent-color));
  box-shadow: 0 0 15px var(--primary-glow);
}
.mini-bar-chart .bar span {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--text-muted);
}
.mini-whatsapp-feed {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 12px;
  padding: 12px;
}
.wa-message {
  font-size: 12px;
}
.wa-sender {
  font-weight: 800;
  color: #25d366;
  margin-bottom: 4px;
}
.wa-status {
  text-align: left;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Features Section */
.features-section, .demo-section, .pricing-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}
.section-title h2 {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 15px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.feature-icon {
  font-size: 36px;
  background: rgba(255, 255, 255, 0.03);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
}
.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Demo Section */
.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.demo-view {
  position: relative;
  padding: 30px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.5);
}
.view-tag {
  position: absolute;
  top: -15px;
  right: 30px;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.label-customer {
  background: #f43f5e;
  color: #fff;
}
.label-owner {
  background: var(--primary-color);
  color: #fff;
}

/* Booking Simulator */
.booking-simulator {
  background: #111827;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 25px;
  color: #fff;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.sim-biz-name {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}
.sim-biz-sub {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}

.sim-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 30px;
}
.sim-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
  transform: translateY(-50%);
}
.sim-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1f2937;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  z-index: 2;
  position: relative;
  transition: var(--transition-smooth);
}
.sim-step.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-glow);
}
.sim-step.completed {
  background: var(--success-color);
  border-color: var(--success-color);
}

.sim-content-pane {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  animation: fade-in 0.4s ease-in-out;
}
.sim-content-pane h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}
.sim-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.sim-option-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.sim-option-card:hover {
  background: rgba(255,255,255,0.05);
}
.sim-option-card input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
}
.option-details {
  display: flex;
  flex-direction: column;
}
.option-title {
  font-weight: 700;
  font-size: 15px;
}
.option-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.step-nav-buttons {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.step-nav-buttons button {
  flex: 1;
}

/* Date and Time selectors */
.date-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.date-chip {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: var(--transition-smooth);
}
.date-chip:hover {
  background: rgba(255,255,255,0.06);
}
.date-chip.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.time-slot {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition-smooth);
}
.time-slot:hover {
  background: rgba(255,255,255,0.05);
}
.time-slot.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 800;
}

/* Form Groups Simulator */
.sim-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
}
.sim-form-group label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.sim-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
}
.sim-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Success view */
.success-screen {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}
.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--success-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 15px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}
.booking-summary-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  width: 100%;
  padding: 15px;
  margin-top: 15px;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.summary-line span {
  color: var(--text-muted);
}

/* Admin Simulator (Right Side) */
.admin-simulator {
  background: #0f172a;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 25px;
  min-height: 480px;
}

.dashboard-event-alert {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success-color);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
}
.dashboard-event-alert.show {
  opacity: 1;
  transform: translateY(0);
}
.alert-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-color);
  animation: pulse-glow 1s infinite alternate;
}

.sim-section h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.whatsapp-mockup {
  background: #0b141a;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.wa-mock-header {
  background: #1f2c34;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-mock-back {
  font-size: 16px;
  color: #8696a0;
}
.wa-mock-avatar {
  font-size: 20px;
}
.wa-mock-info {
  display: flex;
  flex-direction: column;
}
.wa-mock-name {
  font-weight: 800;
  font-size: 14px;
}
.wa-mock-status {
  font-size: 11px;
  color: #8696a0;
}
.wa-mock-body {
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 10px 10px;
  padding: 20px;
  min-height: 110px;
}
.wa-mock-message {
  background: #005c4b;
  color: #e9edef;
  padding: 10px 14px;
  border-radius: 10px 0 10px 10px;
  font-size: 12px;
  line-height: 1.4;
  max-width: 85%;
  float: right;
  position: relative;
}
.wa-mock-time {
  display: block;
  text-align: left;
  font-size: 9px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.sim-appointments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sim-appt-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sim-appt-item.highlight {
  border-color: var(--success-color);
  background: rgba(16, 185, 129, 0.05);
  animation: pulse-glow 2s infinite alternate;
}
.appt-time {
  font-family: monospace;
  font-weight: 800;
  font-size: 16px;
  color: var(--accent-color);
}
.appt-details {
  display: flex;
  flex-direction: column;
  margin-right: 15px;
  margin-left: auto;
}
.appt-details strong {
  font-size: 14px;
}
.appt-details span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.pricing-card.popular {
  border-color: var(--primary-color);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
  transform: scale(1.03);
}
.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-color), #d946ef);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 99px;
}
.pricing-card h3 {
  font-size: 22px;
  font-weight: 800;
}
.pricing-card .price {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
}
.pricing-card .price span {
  font-size: 20px;
}
.pricing-card p {
  color: var(--text-muted);
  font-size: 14px;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-main);
}
.pricing-features li strong {
  color: var(--accent-color);
}

/* Modals Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.3s ease-in-out;
}
.modal-content {
  width: 90%;
  max-width: 550px;
  padding: 40px;
  position: relative;
  animation: scale-in 0.3s ease-in-out;
}
.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 30px;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}
.modal-close:hover {
  color: #fff;
}
.modal-overlay.hidden {
  display: none !important;
}

.auth-tab {
  margin-top: 25px;
  animation: fade-in 0.3s ease-in-out;
}
.auth-tab.hidden {
  display: none !important;
}

.business-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 250px;
  overflow-y: auto;
  padding-left: 5px;
}
.biz-item-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.biz-item-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--primary-color);
}
.biz-logo-text {
  font-weight: 800;
  font-size: 16px;
}
.biz-slug {
  font-size: 12px;
  color: var(--text-muted);
}

.modal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--text-muted);
}
.modal-divider::before, .modal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.modal-divider span {
  padding: 0 10px;
  font-size: 14px;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}
.form-group label {
  font-size: 14px;
  font-weight: 600;
}
.form-control {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 12px 15px;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-glow);
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 15px center;
  background-size: 18px;
  cursor: pointer;
}

.main-footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 80px;
}

/* Utilities */
.w-100 { width: 100% !important; }
.mt-15 { margin-top: 15px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-5 { margin-bottom: 5px !important; }
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 20px;
  }
  .features-grid, .pricing-grid, .demo-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .main-header {
    margin: 10px;
    padding: 15px 20px;
  }
  .nav-links {
    display: none;
  }
}

/* Audio waves animations */
@keyframes bounce {
  from { transform: scaleY(1); }
  to { transform: scaleY(0.1); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes scale-in {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes slide-up {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* iPhone Device Mockup inside Video Tour */
.iphone-frame {
  width: 190px;
  height: 300px;
  background: #000;
  border: 4px solid #1f2937;
  border-radius: 28px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,0.8), 0 0 20px rgba(59, 130, 246, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.iphone-notch {
  width: 70px;
  height: 14px;
  background: #000;
  border-radius: 0 0 8px 8px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.iphone-screen {
  flex-grow: 1;
  background: #090f1d;
  padding: 20px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-family: 'Heebo', sans-serif;
  font-size: 10px;
  overflow: hidden;
  position: relative;
  text-align: right;
}

/* Simulated Cursor Click */
.sim-cursor {
  position: absolute;
  width: 14px;
  height: 14px;
  background: rgba(59, 130, 246, 0.6);
  border: 2px solid #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
  transform: translate(-50%, -50%);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE LIGHT THEME POLISH
   ═══════════════════════════════════════════════════════════════ */
:root.light-theme .glow-orb, html.light-theme .glow-orb {
  opacity: 0.05;
}

:root.light-theme .main-header, html.light-theme .main-header {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}

:root.light-theme .logo, html.light-theme .logo {
  color: #0f172a !important;
}

:root.light-theme .nav-links a, html.light-theme .nav-links a {
  color: #334155 !important;
  font-weight: 600 !important;
}

:root.light-theme .nav-links a:hover, html.light-theme .nav-links a:hover {
  color: #2563eb !important;
}

:root.light-theme .announcement-pill, html.light-theme .announcement-pill {
  background: #e0f2fe !important;
  border-color: #bae6fd !important;
  color: #0284c7 !important;
}

:root.light-theme .hero-content h1, html.light-theme .hero-content h1 {
  color: #0f172a !important;
}

:root.light-theme .hero-content p, html.light-theme .hero-content p {
  color: #334155 !important;
}

:root.light-theme .stat-item h3, html.light-theme .stat-item h3 {
  color: #0f172a !important;
}

:root.light-theme .stat-item p, html.light-theme .stat-item p {
  color: #475569 !important;
}

/* Hero CTA Buttons in Light Mode */
:root.light-theme .hero-cta button[onclick*="agent"],
html.light-theme .hero-cta button[onclick*="agent"] {
  background: #fff5f5 !important;
  border: 1.5px solid #fca5a5 !important;
  color: #b91c1c !important;
  font-weight: 800 !important;
}

:root.light-theme .hero-cta button[onclick*="openDemoVideoModal"],
html.light-theme .hero-cta button[onclick*="openDemoVideoModal"] {
  background: #fdf4ff !important;
  border: 1.5px solid #f0abfc !important;
  color: #a21caf !important;
  font-weight: 800 !important;
}

/* Search Widget in Light Mode */
:root.light-theme .search-widget, html.light-theme .search-widget {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

:root.light-theme .search-widget h3, html.light-theme .search-widget h3 {
  color: #0284c7 !important;
}

:root.light-theme .search-widget label, html.light-theme .search-widget label {
  color: #1e293b !important;
  opacity: 1 !important;
}

:root.light-theme .search-widget select, html.light-theme .search-widget select {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

/* Hero Preview Device Card */
:root.light-theme .hero-preview, html.light-theme .hero-preview {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
}

:root.light-theme .preview-header, html.light-theme .preview-header {
  border-bottom: 1px solid #e2e8f0 !important;
}

:root.light-theme .preview-title, html.light-theme .preview-title {
  color: #475569 !important;
}

:root.light-theme .preview-body, html.light-theme .preview-body {
  background: #0f172a !important; /* Keep mini dashboard as sleek dark display */
}

:root.light-theme .preview-body *, html.light-theme .preview-body * {
  /* Retain light text inside dark preview mockup */
}
:root.light-theme .preview-body .mini-kpi, html.light-theme .preview-body .mini-kpi {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
:root.light-theme .preview-body .mini-kpi .kpi-label, html.light-theme .preview-body .mini-kpi .kpi-label { color: #94a3b8 !important; }
:root.light-theme .preview-body .mini-kpi .kpi-value, html.light-theme .preview-body .mini-kpi .kpi-value { color: #f8fafc !important; }
:root.light-theme .preview-body .chart-header, html.light-theme .preview-body .chart-header { color: #f8fafc !important; }
:root.light-theme .preview-body .mini-bar-chart .bar span, html.light-theme .preview-body .mini-bar-chart .bar span { color: #94a3b8 !important; }

/* Demo Simulators in Light Theme */
:root.light-theme .demo-view, html.light-theme .demo-view {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

:root.light-theme .sim-biz-name, html.light-theme .sim-biz-name { color: #0f172a !important; }
:root.light-theme .sim-biz-sub, html.light-theme .sim-biz-sub { color: #475569 !important; }
:root.light-theme .sim-content-pane h4, html.light-theme .sim-content-pane h4 { color: #0f172a !important; }
:root.light-theme .sim-option-card, html.light-theme .sim-option-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
:root.light-theme .sim-option-card:hover, html.light-theme .sim-option-card:hover {
  border-color: #2563eb !important;
  background: #eff6ff !important;
}
:root.light-theme .option-title, html.light-theme .option-title { color: #0f172a !important; }
:root.light-theme .option-meta, html.light-theme .option-meta { color: #475569 !important; }
:root.light-theme .date-chip, html.light-theme .date-chip,
:root.light-theme .time-slot, html.light-theme .time-slot {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
:root.light-theme .date-chip.active, html.light-theme .date-chip.active,
:root.light-theme .time-slot.active, html.light-theme .time-slot.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}
:root.light-theme .sim-input, html.light-theme .sim-input {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

/* Admin Simulator in Demo */
:root.light-theme .admin-simulator, html.light-theme .admin-simulator { color: #0f172a !important; }
:root.light-theme .admin-simulator h4, html.light-theme .admin-simulator h4 { color: #0f172a !important; }
:root.light-theme .dashboard-event-alert, html.light-theme .dashboard-event-alert {
  background: #dcfce7 !important;
  border: 1px solid #86efac !important;
  color: #166534 !important;
}
:root.light-theme .sim-appt-item, html.light-theme .sim-appt-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
:root.light-theme .appt-details strong, html.light-theme .appt-details strong { color: #0f172a !important; }
:root.light-theme .appt-details span, html.light-theme .appt-details span { color: #475569 !important; }

/* Pricing Cards in Light Theme */
:root.light-theme .pricing-card, html.light-theme .pricing-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}
:root.light-theme .pricing-card.popular, html.light-theme .pricing-card.popular {
  border: 2px solid #2563eb !important;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15) !important;
}
:root.light-theme .pricing-card h3, html.light-theme .pricing-card h3 { color: #0f172a !important; }
:root.light-theme .pricing-card p, html.light-theme .pricing-card p { color: #475569 !important; }
:root.light-theme .price, html.light-theme .price { color: #0f172a !important; }
:root.light-theme .pricing-features li, html.light-theme .pricing-features li { color: #334155 !important; border-bottom: 1px solid #f1f5f9 !important; }

/* Comparison Table in Light Theme */
:root.light-theme .comparison-section, html.light-theme .comparison-section {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}
:root.light-theme .premium-table th, html.light-theme .premium-table th { color: #0f172a !important; }
:root.light-theme .premium-table td, html.light-theme .premium-table td { color: #334155 !important; border-bottom: 1px solid #f1f5f9 !important; }

/* Modals in Light Theme */
:root.light-theme .modal-content, html.light-theme .modal-content {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2) !important;
  color: #0f172a !important;
}
:root.light-theme .modal-content h2, html.light-theme .modal-content h2,
:root.light-theme .modal-content h3, html.light-theme .modal-content h3,
:root.light-theme .modal-content h4, html.light-theme .modal-content h4 { color: #0f172a !important; }
:root.light-theme .modal-content p, html.light-theme .modal-content p { color: #475569 !important; }
:root.light-theme .modal-close, html.light-theme .modal-close { color: #475569 !important; }
:root.light-theme .modal-close:hover, html.light-theme .modal-close:hover { color: #0f172a !important; }
:root.light-theme .form-control, html.light-theme .form-control {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
:root.light-theme .form-group label, html.light-theme .form-group label { color: #1e293b !important; }
:root.light-theme .biz-item-card, html.light-theme .biz-item-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
:root.light-theme .biz-item-card:hover, html.light-theme .biz-item-card:hover {
  background: #eff6ff !important;
  border-color: #2563eb !important;
}
:root.light-theme .biz-logo-text, html.light-theme .biz-logo-text { color: #0f172a !important; }

/* Floating Demo Panel in Light Theme */
:root.light-theme #floatingDemoPanel, html.light-theme #floatingDemoPanel {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}
:root.light-theme #floatingDemoPanel strong, html.light-theme #floatingDemoPanel strong { color: #0f172a !important; }
:root.light-theme .demo-select-link, html.light-theme .demo-select-link {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
:root.light-theme .demo-select-link:hover, html.light-theme .demo-select-link:hover {
  background: #eff6ff !important;
  border-color: #2563eb !important;
}



