/* Loco Digital Signage - Premium Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #070a13;
  --bg-secondary: #0f1322;
  --bg-tertiary: #171d37;
  
  --color-primary: #ff4d24; /* Electric Coral */
  --color-primary-rgb: 255, 77, 36;
  --color-accent: #00f2fe; /* Neon Cyan */
  --color-accent-rgb: 0, 242, 254;
  --color-purple: #8b5cf6; /* Neon Purple */
  --color-purple-rgb: 139, 92, 246;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-light: #ffffff;
  --text-headings: #ffffff;
  
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --glass-bg: rgba(23, 29, 55, 0.6);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --navbar-bg: rgba(7, 10, 19, 0.85);
  --navbar-bg-scrolled: rgba(7, 10, 19, 0.95);
  --footer-bg: #04060d;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-headings);
}

/* Gradients */
.text-gradient-primary {
  background: linear-gradient(135deg, #ffffff 0%, #d1d5db 50%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.bg-gradient-glow {
  background: radial-gradient(circle at 50% 50%, rgba(var(--color-primary-rgb), 0.15) 0%, transparent 60%);
}

.bg-gradient-glow-teal {
  background: radial-gradient(circle at 50% 50%, rgba(var(--color-accent-rgb), 0.12) 0%, transparent 60%);
}

/* Navbar */
.navbar-custom {
  background-color: var(--navbar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  padding: 1.2rem 0;
}

.navbar-custom.scrolled {
  padding: 0.8rem 0;
  background-color: var(--navbar-bg-scrolled);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-brand-custom {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-light) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-dot {
  color: var(--color-primary);
  font-size: 1.8rem;
  line-height: 0;
}

.nav-link-custom {
  color: var(--text-muted) !important;
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  transition: color 0.3s ease;
}

.nav-link-custom:hover, 
.nav-link-custom.active {
  color: var(--text-light) !important;
}

/* Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b4a 100%);
  color: var(--text-light);
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.5);
  color: var(--text-light);
}

.btn-outline-custom {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid var(--glass-border);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-light);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--color-primary-rgb), 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(var(--color-primary-rgb), 0.15);
}

/* ─── Download Section Cards ─────────────────────── */
.download-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease !important;
  cursor: default;
}

.download-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(252, 72, 39, 0.12) !important;
  border-color: rgba(252, 72, 39, 0.25) !important;
}

/* TV card gets cyan glow */
.download-card[style*="color-accent"]:hover,
.download-card:nth-child(1):hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.12) !important;
  border-color: rgba(0, 242, 254, 0.25) !important;
}

/* Feature Badge */
.feature-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(var(--color-primary-rgb), 0.1);
  border: 1px solid rgba(var(--color-primary-rgb), 0.2);
  color: var(--color-primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Casting Simulator Area */
.simulator-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

/* Phone Mockup */
.phone-mockup {
  width: 200px;
  height: 410px;
  background: #000;
  border: 6px solid #2d3748;
  border-radius: 32px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
  z-index: 2;
  overflow: hidden;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #2d3748;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #111827;
  padding: 24px 12px 12px 12px;
  display: flex;
  flex-direction: column;
  color: white;
}

.phone-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-accent);
  margin-bottom: 15px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.phone-header i {
  animation: pulse 1.5s infinite;
}

.phone-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.simulator-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.simulator-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.simulator-btn.active {
  background: rgba(var(--color-primary-rgb), 0.15);
  border-color: var(--color-primary);
  color: white;
  box-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.2);
}

/* TV Mockup */
.tv-mockup {
  width: 480px;
  height: 290px;
  background: #111;
  border: 12px solid #2d3748;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  z-index: 1;
  overflow: hidden;
}

.tv-mockup::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 10px;
  background: #1a202c;
  border-radius: 4px;
}

.tv-screen {
  width: 100%;
  height: 100%;
  background: #000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-display-item {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.tv-display-item.active {
  opacity: 1;
  z-index: 2;
}

.tv-overlay-info {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  z-index: 10;
}

.wifi-wave {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 2px solid rgba(var(--color-accent-rgb), 0.1);
  border-radius: 50%;
  animation: ripple 3s infinite linear;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.wifi-wave-2 {
  animation-delay: 1.5s;
}

/* Simulator Content Layouts */
.food-menu-layout {
  background: #0f0f15;
  width: 100%;
  height: 100%;
  color: #fff;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.menu-header {
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.menu-item {
  border-left: 2px solid var(--color-accent);
  padding-left: 6px;
}

.menu-name {
  font-size: 0.75rem;
  font-weight: 700;
}

.menu-desc {
  font-size: 0.55rem;
  color: #999;
  line-height: 1.2;
}

.menu-price {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-primary);
}

.promo-video-layout {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdf-brochure-layout {
  width: 100%;
  height: 100%;
  background: #ffffff;
  color: #333;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pdf-title {
  color: #1a202c;
  font-weight: 800;
  font-size: 1.1rem;
}

.noticeboard-layout {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Animations */
@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

@keyframes ripple {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Device Flow Visual for Features */
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 2rem 0;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 25%;
  z-index: 2;
}

.flow-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-tertiary);
  border: 2px solid var(--glass-border);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
}

.flow-step:hover .flow-icon {
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.3);
  transform: translateY(-3px);
}

.flow-line {
  position: absolute;
  top: 55px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--glass-border) 20%, var(--glass-border) 80%, transparent);
  z-index: 1;
}

/* Pricing Toggles Container */
.pricing-toggles-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.pricing-toggles-container .pricing-toggle-wrap {
  margin-bottom: 0;
}

/* Pricing Toggle Switch */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.switch-custom {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch-custom input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-custom {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  transition: .4s;
  border-radius: 34px;
}

.slider-custom:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-light);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider-custom {
  background-color: var(--color-primary);
}

input:checked + .slider-custom:before {
  transform: translateX(26px);
}

/* Pricing Cards */
.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  border-color: var(--color-primary);
  box-shadow: 0 10px 40px rgba(var(--color-primary-rgb), 0.15);
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--color-primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 30px;
  transform: rotate(45deg);
  letter-spacing: 0.1em;
}

.price-value {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1;
}

.price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Comparison Table */
.comparison-table {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table th {
  background: var(--bg-tertiary) !important;
  font-family: var(--font-headings);
  font-size: 1.1rem;
  color: var(--text-light) !important;
  border-bottom: 2px solid var(--glass-border) !important;
}

.comparison-table td, .comparison-table th {
  padding: 1.2rem;
  color: var(--text-main) !important;
  border-bottom: 1px solid var(--glass-border) !important;
}

.comparison-table tr:last-child td {
  border-bottom: none !important;
}

/* FAQ Accordion Custom CSS */
.accordion-custom .accordion-item {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  margin-bottom: 1rem;
  border-radius: 12px !important;
  overflow: hidden;
}

.accordion-custom .accordion-button {
  background: transparent !important;
  color: var(--text-light) !important;
  font-family: var(--font-headings);
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
}

.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--color-primary) !important;
  border-bottom: 1px solid var(--glass-border) !important;
}

.accordion-custom .accordion-button::after {
  filter: invert(1) !important;
}

.accordion-custom .accordion-body {
  color: var(--text-muted) !important;
  padding: 1.5rem;
  line-height: 1.7;
  background: transparent !important;
}

/* Contact Details Sidebar */
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 45px;
  height: 45px;
  background: rgba(var(--color-primary-rgb), 0.1);
  border: 1px solid rgba(var(--color-primary-rgb), 0.2);
  color: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Floating labels style correction for dark theme */
.form-floating > .form-control,
.form-floating > .form-select {
  background-color: var(--bg-tertiary) !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--text-light) !important;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  background-color: var(--bg-tertiary) !important;
  border-color: var(--color-primary) !important;
  color: var(--text-light) !important;
  box-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.25) !important;
}

.form-floating > label {
  color: var(--text-muted) !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select:focus ~ label,
.form-floating > .form-select:not(:placeholder-shown) ~ label {
  color: var(--color-primary) !important;
}

/* Footer styling */
.footer-custom {
  background-color: var(--footer-bg);
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 2rem;
  color: var(--text-muted);
}

.footer-logo {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Custom Features Explorer Component */
/* Custom Features Explorer Component */
.feature-tab-btn {
  background: transparent !important;
  border: none !important;
  color: var(--text-muted) !important;
  padding: 0.85rem 1rem !important;
  border-radius: 16px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: flex-start !important;
  width: 100%;
  text-align: left;
  cursor: pointer;
  box-shadow: none !important;
  margin-bottom: 0.5rem;
}

.feature-tab-btn:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-headings) !important;
}

[data-bs-theme="light"] .feature-tab-btn:hover {
  background: rgba(15, 23, 42, 0.03) !important;
}

.feature-tab-btn.active {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--text-headings) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  padding: 1.25rem 1.5rem !important;
}

[data-bs-theme="light"] .feature-tab-btn.active {
  background: rgba(0, 245, 212, 0.06) !important;
  border: 1px solid rgba(0, 245, 212, 0.2) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 245, 212, 0.15) !important;
}

.feature-tab-btn.active:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}
[data-bs-theme="light"] .feature-tab-btn.active:hover {
  background: rgba(0, 245, 212, 0.06) !important;
}

.feature-row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  margin-right: 1.15rem;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.2rem;
}

[data-bs-theme="light"] .feature-row-icon {
  background: rgba(15, 23, 42, 0.05);
}

.feature-tab-btn.active .feature-row-icon {
  background: var(--color-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(252, 72, 39, 0.35);
}

[data-bs-theme="light"] .feature-tab-btn.active .feature-row-icon {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff !important;
}

.feature-row-content {
  flex-grow: 1;
}

.feature-row-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--text-muted);
  transition: color 0.3s ease;
  line-height: 1.3;
}

.feature-tab-btn.active .feature-row-title {
  color: var(--text-headings) !important;
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.feature-row-desc {
  display: none;
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-tab-btn.active .feature-row-desc {
  display: block;
  animation: slideDownFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ambient glow and Floating dock */
.tv-glow-backdrop {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.12) 0%, transparent 68%);
  border-radius: 50%;
  filter: blur(35px);
  z-index: 0;
  pointer-events: none;
}

[data-bs-theme="light"] .tv-glow-backdrop {
  background: radial-gradient(circle, rgba(0, 245, 212, 0.18) 0%, transparent 68%);
}

.tv-floating-dock {
  position: absolute;
  bottom: 0px;
  left: 45px;
  background: rgba(10, 15, 30, 0.95);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  z-index: 10;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.3s ease;
}

[data-bs-theme="light"] .tv-floating-dock {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
}

.tv-floating-dock .dock-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.tv-floating-dock .dock-icon:hover {
  transform: translateY(-3px) scale(1.08);
}

.tv-mockup-wrapper {
  width: 100%;
  max-width: 620px;
}

.tv-scale-wrapper {
  width: 100%;
  height: 100%;
}

.tv-mockup-large {
  width: 100%;
  max-width: 620px;
  height: 360px;
  background: #000;
  border: 12px solid #2d3748;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  z-index: 1;
  overflow: hidden;
}

.tv-mockup-large::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 10px;
  background: #1a202c;
  border-radius: 4px;
}

/* Scaling overrides on Desktop Viewports */
@media (min-width: 1200px) {
  .tv-mockup-wrapper {
    max-width: 744px !important;
  }
  .tv-mockup-large {
    max-width: 744px !important;
    height: 432px !important;
    border-width: 14px !important;
    border-radius: 18px !important;
  }
  .tv-mockup-large::after {
    width: 160px !important;
    height: 12px !important;
    bottom: -24px !important;
  }
  .tv-scale-wrapper {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    width: 596px !important;
    height: 336px !important;
    transform: scale(1.201, 1.202) !important;
    transform-origin: top left !important;
  }
  .tv-glow-backdrop {
    width: 620px !important;
    height: 620px !important;
    filter: blur(45px) !important;
  }
  .tv-floating-dock {
    bottom: -5px !important;
    left: 20px !important;
  }
}




/* Feature Mockup Content Layouts */
.queue-board-layout {
  width: 100%;
  height: 100%;
  background: #080911;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slideshow-slide-layout {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.welcome-screen-layout {
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(11, 15, 25, 0.85), rgba(11, 15, 25, 0.95)), 
              radial-gradient(circle at 10% 10%, rgba(0, 242, 254, 0.1) 0%, transparent 50%);
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.video-loop-layout {
  width: 100%;
  height: 100%;
  background: #040508;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.marquee-layout {
  width: 100%;
  height: 100%;
  background: #900;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.marquee-text-scroll {
  white-space: nowrap;
  animation: marquee-anim 10s infinite linear;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes marquee-anim {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.schedule-grid-layout {
  width: 100%;
  height: 100%;
  background: #0f121d;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.web-browser-layout {
  width: 100%;
  height: 100%;
  background: #0b0f19;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.browser-bar {
  background: #1e293b;
  padding: 6px 12px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dot-item {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

.browser-dot-item.yellow { background: #eab308; }
.browser-dot-item.green { background: #22c55e; }

.browser-address {
  background: #0f172a;
  border-radius: 4px;
  padding: 2px 10px;
  font-size: 0.55rem;
  color: #94a3b8;
  flex-grow: 1;
  text-align: left;
}

.pdf-viewer-layout {
  width: 100%;
  height: 100%;
  background: #f8fafc;
  color: #1e293b;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Screen size adaptations for simulator */
@media (max-width: 991px) {
  .simulator-container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .tv-mockup {
    width: 100%;
    max-width: 440px;
    height: 270px;
  }
  
  .tv-mockup-large {
    height: 290px;
  }
}

@media (max-width: 575px) {
  .flow-diagram {
    flex-direction: column;
    gap: 2rem;
  }
  
  .flow-step {
    width: 100%;
  }
  
  .flow-line {
    display: none;
  }
  
  .tv-mockup {
    height: 220px;
  }
  
  .tv-mockup-large {
    height: 220px;
  }
}

/* ─── Store Badge Styles ─────────────────────────── */
.store-badge-link {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 8px;
  outline: none;
}

.store-badge-link:hover {
  transform: translateY(-3px) scale(1.04);
}

.store-badge-link:active {
  transform: translateY(0px) scale(0.97);
  transition: transform 0.1s ease;
}

.store-badge-link:hover .store-badge-img,
.store-badge-link:focus .store-badge-img {
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65)) brightness(1.12) !important;
}

.store-badge-img {
  display: block;
  transition: filter 0.25s ease;
}

/* APK link hover */
#download-tv-apk {
  transition: color 0.2s ease, border-color 0.2s ease;
}

#download-tv-apk:hover {
  color: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

/* Solutions Page Custom Styles */
.solution-tv-container {
  width: 100%;
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
  border: 6px solid #181d31; /* Modern ultra-thin bezel */
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.solution-tv-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.solution-card:hover .solution-tv-container {
  border-color: var(--color-primary); /* Coral border glow on card hover */
  box-shadow: 0 15px 35px rgba(var(--color-primary-rgb), 0.25);
}

.solution-card:hover .solution-tv-image {
  transform: scale(1.05); /* Subtle image zoom on hover */
}

/* Card adjustments */
.solution-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem !important;
  text-align: center; /* Center all text including title and description */
}

.solution-title-link {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary) !important;
  text-decoration: none !important; /* Remove underline */
  transition: color 0.2s ease;
  margin-bottom: 0.8rem;
  display: block; /* Align as block for centering */
}

.solution-title-link:hover {
  color: var(--color-accent) !important;
}

.solution-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.solution-cta:hover {
  color: var(--color-accent);
  gap: 0.5rem;
}

/* ─── Premium Setup Stepper Styles ────────────────── */
.setup-step-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.setup-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--color-primary-rgb), 0.3) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(var(--color-primary-rgb), 0.1) !important;
}

.setup-graphic-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 50% 50%, #171d37 0%, #080a13 100%);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

/* Step 1: App Store Overlapping TV & Mobile Mockup */
.store-split-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.store-tv-mockup {
  position: absolute;
  left: 3%;
  top: 4%;
  width: 80%;
  height: 80%;
  background: #0d0f19;
  border-radius: 6px;
  border: 3.5px solid #374151; /* TV Bezel */
  box-shadow: 0 10px 20px rgba(0,0,0,0.6);
  display: flex;
  box-sizing: border-box;
  padding: 0;
  overflow: hidden;
}

/* TV Store Sidebar */
.tv-store-sidebar {
  width: 16%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
  gap: 8px;
}

.tv-sidebar-item {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.tv-sidebar-item.active {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 0 8px var(--color-primary);
}

/* TV Store Main Area */
.tv-store-main {
  flex-grow: 1;
  height: 100%;
  padding: 8px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.tv-store-breadcrumbs {
  font-size: 0.4rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.tv-store-app-details {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 2px;
}

.tv-store-app-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff7b00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: white;
  box-shadow: 0 4px 10px rgba(255, 77, 36, 0.3);
  flex-shrink: 0;
}

.tv-store-app-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tv-store-app-title {
  font-size: 0.55rem;
  font-weight: 800;
  color: white;
  line-height: 1.15;
}

.tv-store-app-meta {
  font-size: 0.38rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tv-store-app-meta span.rating {
  color: #ffb703;
}

.tv-store-actions {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.tv-btn-primary {
  background: var(--color-primary);
  border: none;
  border-radius: 3px;
  color: white;
  font-size: 0.42rem;
  font-weight: 700;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.4);
  animation: pulse-btn-tv 1.5s infinite alternate;
}

.tv-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  color: white;
  font-size: 0.42rem;
  font-weight: 600;
  padding: 2px 6px;
}

/* Phone App Store Mockup */
.store-phone-mockup {
  position: absolute;
  right: 3%;
  bottom: 3%;
  width: 32%;
  height: 86%;
  background: #000;
  border-radius: 10px;
  border: 2.5px solid #4b5563; /* Mobile Bezel */
  box-shadow: 0 12px 24px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  padding: 5px 3px 3px 3px;
  box-sizing: border-box;
  z-index: 10;
  overflow: hidden;
}

.store-phone-screen {
  flex-grow: 1;
  background: #0d0f19;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  padding: 4px;
  box-sizing: border-box;
  overflow: hidden;
}

.store-phone-status {
  font-size: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  margin-bottom: 4px;
}

.store-phone-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-grow: 1;
}

.phone-app-header-row {
  display: flex;
  width: 100%;
  gap: 4px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 4px;
  box-sizing: border-box;
}

.phone-app-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #00bfff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 242, 254, 0.3);
  flex-shrink: 0;
}

.phone-app-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.phone-app-title {
  font-size: 0.52rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-app-sub {
  font-size: 0.35rem;
  color: rgba(255, 255, 255, 0.4);
}

.phone-download-btn-full {
  width: 100%;
  background: var(--color-accent);
  border: none;
  border-radius: 4px;
  color: #070a13;
  font-size: 0.48rem;
  font-weight: 800;
  padding: 3px 0;
  text-align: center;
  margin-top: 3px;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
  animation: pulse-btn-phone 1.5s infinite alternate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.phone-screenshot-preview {
  width: 100%;
  flex-grow: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.06) 100%);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.05);
  margin-top: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-preview-dashboard {
  width: 90%;
  height: 85%;
  background: #0f172a;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  padding: 2px;
}

.phone-preview-header {
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  border-radius: 1px;
}

.phone-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 2px;
  flex-grow: 1;
}

.phone-preview-cell {
  background: rgba(255,255,255,0.05);
  border-radius: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.3rem;
  color: var(--color-accent);
}

@keyframes pulse-btn-tv {
  0% { box-shadow: 0 0 4px rgba(255, 77, 36, 0.2); }
  100% { box-shadow: 0 0 12px rgba(255, 77, 36, 0.6); }
}

@keyframes pulse-btn-phone {
  0% { box-shadow: 0 0 4px rgba(0, 242, 254, 0.2); }
  100% { box-shadow: 0 0 12px rgba(0, 242, 254, 0.6); }
}

/* Step 2: Local Router Sync Diagram */
.router-diagram {
  width: 94%;
  height: 85%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 15px 15px;
  background-position: center;
  border-radius: 8px;
  padding: 0 15px;
  box-sizing: border-box;
}

.router-center-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.router-center {
  width: 44px;
  height: 44px;
  background: #0f172a;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--color-primary);
  box-shadow: 0 0 20px rgba(255, 77, 36, 0.35);
  animation: router-glow 2s infinite alternate ease-in-out;
  position: relative;
}

.router-ssid-label {
  font-size: 0.38rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(255, 77, 36, 0.1);
  border: 1px solid rgba(255, 77, 36, 0.25);
  padding: 1px 4px;
  border-radius: 3px;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.device-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.router-device {
  width: 36px;
  height: 36px;
  background: #0f172a;
  border: 2px solid rgba(0, 242, 254, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.4);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

.router-device.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.device-status-label {
  font-size: 0.38rem;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 1px 4px;
  border-radius: 3px;
  margin-top: 4px;
}

.wireless-link {
  position: absolute;
  top: 50%;
  width: 30%;
  height: 2px;
  border-top: 1.5px dashed rgba(0, 242, 254, 0.4);
  transform: translateY(-50%);
  z-index: 1;
}

.wireless-link.left-link {
  left: 15%;
  animation: pulse-link-left 1.5s infinite linear;
}

.wireless-link.right-link {
  right: 15%;
  animation: pulse-link-right 1.5s infinite linear;
}

@keyframes pulse-link-left {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

@keyframes pulse-link-right {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

@keyframes router-glow {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.3); }
  100% { transform: scale(1.06); box-shadow: 0 0 25px rgba(var(--color-primary-rgb), 0.6); }
}

/* Step 3: Phone-to-TV Casting Visual */
.cast-diagram {
  width: 94%;
  height: 85%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 10px;
  box-sizing: border-box;
}

.cast-phone {
  width: 44px;
  height: 86px;
  background: #000;
  border: 2.5px solid #374151;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 5px 2px 2px 2px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  z-index: 2;
  box-sizing: border-box;
}

.cast-phone-screen {
  flex-grow: 1;
  background: #0d0f19;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  padding: 4px;
  box-sizing: border-box;
  justify-content: space-between;
}

.cast-phone-header {
  font-size: 0.32rem;
  color: var(--color-accent);
  display: flex;
  justify-content: space-between;
  padding: 0 1px;
}

.cast-phone-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cast-phone-item {
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: 1px 2px;
  font-size: 0.32rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  overflow: hidden;
}

.cast-phone-item.active {
  border-color: var(--color-primary);
  background: rgba(255, 77, 36, 0.1);
}

.cast-phone-item.active i {
  color: var(--color-primary);
}

.cast-phone-btn {
  width: 100%;
  background: var(--color-primary);
  border: none;
  border-radius: 3px;
  color: white;
  font-size: 0.35rem;
  font-weight: 800;
  padding: 2.5px 0;
  text-align: center;
  animation: cast-btn-pulse 1.5s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.cast-link-particles {
  position: absolute;
  top: 50%;
  left: 24%;
  width: 44%;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), transparent);
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.7;
  border-radius: 3px;
  animation: cast-wave-flow 1.5s infinite linear;
}

.cast-tv {
  width: 104px;
  height: 64px;
  background: #000;
  border: 4px solid #374151; /* TV Bezel */
  border-radius: 4px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.cast-tv-screen {
  width: 100%;
  height: 100%;
  background: #111827;
  display: flex;
  box-sizing: border-box;
}

.cast-tv-menu-preview {
  width: 100%;
  height: 100%;
  display: flex;
  background: #060814;
  animation: tv-display-fade 3s infinite ease-in-out;
}

.cast-menu-left {
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, #181124 0%, #0c0813 100%);
  padding: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255,255,255,0.08);
  box-sizing: border-box;
}

.cast-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 0.5px dotted rgba(255, 255, 255, 0.15);
  padding-bottom: 1px;
}

.cast-menu-item-name {
  font-size: 0.38rem;
  font-weight: 700;
  color: white;
}

.cast-menu-item-price {
  font-size: 0.38rem;
  font-weight: 700;
  color: var(--color-primary);
}

.cast-menu-footer {
  font-size: 0.32rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

.cast-menu-right {
  width: 40%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4px;
  box-sizing: border-box;
}

.cast-right-media {
  width: 100%;
  height: 75%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cast-right-media i {
  font-size: 0.8rem;
  color: white;
}

.cast-right-label {
  font-size: 0.32rem;
  color: white;
  margin-top: 1px;
  font-weight: 600;
}

@keyframes cast-btn-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), 0.6); }
  50% { transform: scale(1.15); box-shadow: 0 0 8px 3px rgba(var(--color-primary-rgb), 0.3); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), 0.6); }
}

@keyframes cast-wave-flow {
  0% { background-position: -100px 0; }
  100% { background-position: 100px 0; }
}

@keyframes tv-display-fade {
  0% { opacity: 0.75; filter: brightness(0.85); }
  50% { opacity: 1; filter: brightness(1.15); }
  100% { opacity: 0.75; filter: brightness(0.85); }
}

/* Stepper step badge indicator */
.setup-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(var(--color-primary-rgb), 0.1);
  border: 1px solid rgba(var(--color-primary-rgb), 0.25);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-headings);
  box-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.05);
  margin-bottom: 1rem;
}

.setup-step-badge.cyan-badge {
  background: rgba(var(--color-accent-rgb), 0.1);
  border-color: rgba(var(--color-accent-rgb), 0.25);
  color: var(--color-accent);
}

/* ==========================================================================
   Hero Big TV Slideshow Mockup
   ========================================================================== */
.hero-tv-container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

.hero-tv-mockup {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #0d1117;
  border: 12px solid #1f2937; /* Robust premium bezel frame */
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 40px rgba(var(--color-primary-rgb), 0.12);
  overflow: visible;
  transition: border-color 0.3s ease;
  z-index: 10;
}

.hero-tv-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  border-radius: 2px;
}

.hero-tv-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-tv-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-tv-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-tv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv-reflection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
  z-index: 5;
}

.hero-tv-caption {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  pointer-events: none;
}

.hero-tv-caption .badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  background: rgba(10, 15, 30, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-tv-overlay-action {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 30, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-tv-screen:hover .hero-tv-overlay-action {
  opacity: 1;
}

.hero-tv-overlay-action .btn {
  transform: translateY(15px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-tv-screen:hover .hero-tv-overlay-action .btn {
  transform: translateY(0);
}

.hero-tv-screen:hover {
  cursor: pointer;
}

.hero-tv-stand {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: 35px;
  background: linear-gradient(to bottom, #1f2937 0%, #111827 100%);
  border-radius: 4px;
  z-index: -1;
  clip-path: polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%);
}

.hero-tv-stand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 6px;
  background: #111827;
  border-radius: 12px;
}

.hero-tv-selectors {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tv-sel-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.tv-sel-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(var(--color-primary-rgb), 0.35);
  color: var(--text-light);
  transform: translateY(-2px);
}

.tv-sel-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.45);
}

/* Modal layout alignments for casting simulator */
.modal .simulator-container {
  transform: scale(1.02);
  margin-top: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 1199px) {
  .modal .simulator-container {
    transform: scale(0.9);
  }
}

@media (max-width: 991px) {
  .modal .simulator-container {
    transform: scale(0.8);
  }
}

@media (max-width: 767px) {
  .modal .simulator-container {
    transform: scale(0.65);
    margin-top: -2rem;
    margin-bottom: -2rem;
  }
}

@media (max-width: 575px) {
  .modal .simulator-container {
    transform: scale(0.48);
    margin-top: -6rem;
    margin-bottom: -6rem;
  }
}

/* Enhanced Footer Styles */
.footer-custom {
  background: linear-gradient(to top, #020307 0%, #060914 100%);
  position: relative;
  overflow: hidden;
}

.footer-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-primary), var(--color-accent), transparent);
}

.footer-link-list li {
  margin-bottom: 0.5rem;
}

.footer-link-interactive {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-link-interactive::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1.5px;
  bottom: -2px;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.footer-link-interactive:hover {
  color: var(--text-light) !important;
  transform: translateX(4px);
}

.footer-link-interactive:hover::after {
  width: 100%;
}

/* Status Indicator */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46, 196, 182, 0.1);
  border: 1px solid rgba(46, 196, 182, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  color: #2ec4b6;
  font-weight: 500;
  margin-top: 1rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #2ec4b6;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 196, 182, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(46, 196, 182, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 196, 182, 0);
  }
}

/* Social Icons */
.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-icon-btn:hover {
  color: var(--text-light);
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b4a 100%);
  border-color: transparent;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(252, 72, 39, 0.4);
}

/* Newsletter form */
.footer-newsletter-form {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 4px;
  display: flex;
  transition: border-color 0.3s ease;
}

.footer-newsletter-form:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(252, 72, 39, 0.15);
}

.footer-newsletter-input {
  background: transparent;
  border: none;
  color: var(--text-light);
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  flex-grow: 1;
  outline: none;
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-btn {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b4a 100%);
  border: none;
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-newsletter-btn:hover {
  opacity: 0.95;
  transform: scale(1.02);
}

/* Back to Top */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(252, 72, 39, 0.5);
}

/* ==========================================================
   20. Light Mode Themes & Overrides (EasyAIMenu Reference)
   ========================================================== */

[data-bs-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  --text-main: #334155;
  --text-muted: #64748b;
  --text-headings: #0f172a;
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(15, 23, 42, 0.08);
  --glass-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04);
  
  --navbar-bg: rgba(255, 255, 255, 0.85);
  --navbar-bg-scrolled: rgba(255, 255, 255, 0.95);
  --footer-bg: #f8fafc;
}

/* Base Light Mode Styles */
[data-bs-theme="light"] body {
  background-color: var(--bg-primary);
  color: var(--text-main);
}

/* Header & Logos */
[data-bs-theme="light"] .navbar-brand-custom img,
[data-bs-theme="light"] .footer-logo img {
  content: url("../images/logo-dark.png");
}

/* Nav Link overrides */
[data-bs-theme="light"] .nav-link-custom {
  color: var(--text-muted) !important;
}
[data-bs-theme="light"] .nav-link-custom:hover,
[data-bs-theme="light"] .nav-link-custom.active {
  color: var(--color-primary) !important;
}

/* Text Gradient primary in light mode */
[data-bs-theme="light"] .text-gradient-primary {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #475569 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Gradient Glows */
[data-bs-theme="light"] .bg-gradient-glow {
  background: radial-gradient(circle at 50% 50%, rgba(var(--color-primary-rgb), 0.07) 0%, transparent 60%) !important;
}
[data-bs-theme="light"] .bg-gradient-glow-teal {
  background: radial-gradient(circle at 50% 50%, rgba(var(--color-accent-rgb), 0.05) 0%, transparent 60%) !important;
}

/* Buttons */
[data-bs-theme="light"] .btn-outline-custom {
  color: var(--text-headings);
  border-color: rgba(15, 23, 42, 0.15);
}
[data-bs-theme="light"] .btn-outline-custom:hover {
  background: rgba(15, 23, 42, 0.05);
  border-color: var(--text-headings);
  color: var(--text-headings);
}

/* Glass Card Overrides */
[data-bs-theme="light"] .glass-card {
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}
[data-bs-theme="light"] .glass-card:hover {
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(var(--color-primary-rgb), 0.15);
}

/* Setup graphic container step boxes in light mode */
[data-bs-theme="light"] .setup-graphic-box {
  background: radial-gradient(circle at 50% 50%, #f1f5f9 0%, #cbd5e1 100%) !important;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05) !important;
}

/* Accordion Custom in Light Mode */
[data-bs-theme="light"] .accordion-button {
  background-color: var(--bg-secondary) !important;
  color: var(--text-headings) !important;
}
[data-bs-theme="light"] .accordion-button:not(.collapsed) {
  background-color: rgba(var(--color-primary-rgb), 0.05) !important;
  color: var(--color-primary) !important;
}
[data-bs-theme="light"] .accordion-item {
  background-color: var(--bg-primary) !important;
  border-color: var(--glass-border) !important;
}

/* Form inputs */
[data-bs-theme="light"] .form-control,
[data-bs-theme="light"] .form-select,
[data-bs-theme="light"] .footer-newsletter-input {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}
[data-bs-theme="light"] .form-control:focus,
[data-bs-theme="light"] .form-select:focus,
[data-bs-theme="light"] .footer-newsletter-input:focus {
  background-color: #ffffff !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.08) !important;
}

/* Use case tab pills active state */
[data-bs-theme="light"] .nav-pills .nav-link.active {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
}

/* Modal text header and close buttons */
[data-bs-theme="light"] .modal-header .btn-close {
  filter: none;
}

/* Theme Toggle Button Styling */
.theme-toggle-btn {
  font-size: 1.25rem;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted) !important;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 8px;
  border-radius: 50%;
}
.theme-toggle-btn:hover {
  color: var(--color-primary) !important;
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.05);
}
[data-bs-theme="light"] .theme-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.05);
}

/* Global Legibility Fixes for Light Mode Bootstrap Utilities */
[data-bs-theme="light"] .text-white:not(.btn *, .badge *, .bg-dark *, .bg-primary *, .bg-danger *, .bg-success *, .bg-accent *, .modal *) {
  color: var(--text-headings) !important;
}
[data-bs-theme="light"] .text-white-50:not(.btn *, .badge *, .bg-dark *, .bg-primary *, .bg-danger *, .bg-success *, .bg-accent *, .modal *) {
  color: var(--text-muted) !important;
}
[data-bs-theme="light"] hr.border-secondary {
  border-color: var(--glass-border) !important;
}
[data-bs-theme="light"] .price-value {
  color: var(--text-headings) !important;
}

