/* ==========================================================================
   SahaayaNet - QueueLess Product Page Stylesheet (queueless.css)
   Official product landing page styles for QueueLess - Smart Hospital Queue Management.
   Extends style.css with healthcare theme styling, hospital queue hero stage,
   live token monitors, department feed, interactive display board, screenshot carousel & timeline.
   ========================================================================== */

/* Theme Colors for QueueLess: Cyan (#06B6D4) & Royal Blue (#2563EB) & Medical Teal (#10B981) */
:root {
  --ql-primary: #06B6D4;
  --ql-primary-dark: #0891B2;
  --ql-blue: #2563EB;
  --ql-teal: #10B981;
  --ql-purple: #8B5CF6;
  --ql-amber: #F59E0B;
}

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-separator {
  color: var(--text-light);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: #06B6D4;
  font-weight: 700;
}

/* Product Hero Meta Badges */
.product-meta-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.meta-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-fast);
}

.meta-badge-item:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.4);
}

/* Hero Visual Stage */
.queueless-hero-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.hero-glow-backdrop {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 70%);
  filter: blur(45px);
  animation: floatGlow 7s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  0% { transform: scale(0.9) translateY(0); opacity: 0.7; }
  100% { transform: scale(1.1) translateY(-15px); opacity: 1; }
}

/* Floating Badges around Stage */
.floating-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  z-index: 10;
  animation: floatBounce 4s ease-in-out infinite alternate;
}

.floating-shape.shape-1 { top: 25px; left: -10px; animation-delay: 0s; }
.floating-shape.shape-2 { top: 110px; right: -15px; animation-delay: 1s; }
.floating-shape.shape-3 { bottom: 120px; left: -20px; animation-delay: 2s; }
.floating-shape.shape-4 { bottom: 30px; right: -10px; animation-delay: 1.5s; }

@keyframes floatBounce {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(2deg); }
}

/* Phone Frame Mockup */
.queueless-phone-frame {
  position: relative;
  width: 275px;
  height: 505px;
  background: #0F172A;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 25px 60px -12px rgba(6, 182, 212, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15);
  z-index: 5;
}

.phone-screen-container {
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  width: 100%;
  height: 100%;
  border-radius: 30px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: white;
}

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

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06B6D4;
  box-shadow: 0 0 10px #06B6D4;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* Hero Token Stage Card */
.hero-token-card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  margin: 0.5rem 0;
}

.token-big-badge {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #38BDF8, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.2rem 0;
}

/* Problem Section Cards */
.problem-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-normal);
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(6, 182, 212, 0.3);
}

.problem-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

/* 8 Features Grid */
.features-grid-8 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card-queueless {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card-queueless::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #06B6D4, #2563EB);
  opacity: 0;
  transition: var(--transition-fast);
}

.feature-card-queueless:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(6, 182, 212, 0.3);
}

.feature-card-queueless:hover::before {
  opacity: 1;
}

.feature-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

/* Timeline (How It Works) */
.timeline-section {
  padding: 5rem 0;
  background: var(--bg-main);
  position: relative;
}

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

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(180deg, #06B6D4 0%, #2563EB 50%, #10B981 100%);
  transform: translateX(-50%);
  border-radius: 4px;
}

.timeline-step {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-step:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-step:nth-child(odd) .timeline-content-card {
  text-align: right;
}

.timeline-node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 3px solid #06B6D4;
  box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #06B6D4;
  font-size: 1.1rem;
  z-index: 5;
}

.timeline-content-card {
  width: 44%;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-fast);
}

.timeline-content-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
}

/* Hospital Dashboard Metrics */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.dash-stat-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: var(--transition-fast);
}

.dash-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.3);
}

.dash-counter {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.dash-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Feed Box & Tabs */
.dashboard-feed-box {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.dash-tabs-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.dash-tab-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.dash-tab-btn.active, .dash-tab-btn:hover {
  background: #06B6D4;
  color: white;
  border-color: #06B6D4;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

.dash-items-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.dash-item-card {
  background: var(--bg-main);
  border-radius: 16px;
  padding: 1.1rem;
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.dash-item-card:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.3);
}

/* Queue Monitoring Digital Display Stage */
.monitor-display-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  color: white;
}

.display-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.monitor-token-hero {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
  text-align: center;
}

.monitor-big-number {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #38BDF8;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* Screenshots Carousel */
.screenshots-carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.screenshots-scroll-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0.25rem;
  scrollbar-width: thin;
}

.screenshots-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.screenshots-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.3);
  border-radius: 10px;
}

.screenshot-mockup-card {
  min-width: 240px;
  max-width: 240px;
  background: #0F172A;
  border-radius: 28px;
  padding: 12px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.screenshot-mockup-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: rgba(6, 182, 212, 0.5);
}

.mockup-inner-screen {
  background: linear-gradient(180deg, #1E293B, #0F172A);
  border-radius: 20px;
  padding: 1rem;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tech Stack Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.tech-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 1.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-fast);
}

.tech-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.3);
}

.tech-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Future Roadmap Grid */
.future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.future-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: var(--transition-normal);
}

.future-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.3);
}

.future-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(6, 182, 212, 0.1);
  color: #06B6D4;
  border: 1px solid rgba(6, 182, 212, 0.2);
  margin-bottom: 0.75rem;
}

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

.faq-item {
  background: var(--card-bg);
  border-radius: 18px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
}

.faq-chevron {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  color: #06B6D4;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .queueless-hero-stage {
    height: 440px;
  }
  .queueless-phone-frame {
    width: 250px;
    height: 460px;
  }
  .timeline-container::before {
    left: 20px;
  }
  .timeline-node {
    left: 20px;
  }
  .timeline-step {
    flex-direction: row !important;
    padding-left: 60px;
  }
  .timeline-step .timeline-content-card {
    width: 100% !important;
    text-align: left !important;
  }
}

@media (max-width: 640px) {
  .queueless-hero-stage {
    height: 380px;
  }
  .queueless-phone-frame {
    width: 220px;
    height: 410px;
  }
  .floating-shape {
    display: none;
  }
  .dash-counter {
    font-size: 1.8rem;
  }
  .monitor-big-number {
    font-size: 2.5rem;
  }
}
.demo-modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.65);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:9999;
}
.demo-modal-overlay.active{display:flex;}
.demo-modal{
  width:min(880px,92%);
  max-height:90vh;
  overflow:auto;
  background:#fff;
  border-radius:28px;
  padding:32px;
  position:relative;
}
.demo-modal-close{
  position:absolute;
  top:16px;
  right:16px;
  border:none;
  background:#f1f5f9;
  width:42px;
  height:42px;
  border-radius:50%;
  cursor:pointer;
}
.demo-badge{
  display:inline-block;
  background:#FEE2E2;
  color:#DC2626;
  padding:8px 16px;
  border-radius:999px;
  font-weight:700;
}
.demo-video{
  margin-top:24px;
  height:360px;
  border-radius:22px;
  background:linear-gradient(135deg,#0F172A,#1D4ED8);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}
.play-circle{
  width:86px;
  height:86px;
  border-radius:50%;
  background:rgba(255,255,255,.15);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
  margin-bottom:18px;
}