/* ==========================================================================
   YRturn Corporate Marketing Custom Styles
   ========================================================================== */

:root {
  --yr-primary: #5d87ff;
  --yr-primary-dark: #3858c4;
  --yr-dark-bg: #0f172a;
  --yr-dark-card: #1e293b;
  --yr-accent-green: #10b981;
  --yr-accent-yellow: #f59e0b;
  --yr-accent-blue: #3b82f6;
  --yr-accent-white: #e2e8f0;
  --yr-accent-red: #ef4444;
}

/* Header & Navigation */
.header-corporate {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.header-scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.navbar-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-pill-phone {
  background-color: #ecf2ff;
  color: #5d87ff;
}
.contact-pill-phone:hover {
  background-color: #5d87ff;
  color: #ffffff;
}

.contact-pill-email {
  background-color: #f1f5f9;
  color: #334155;
}
.contact-pill-email:hover {
  background-color: #0f172a;
  color: #ffffff;
}

/* Hero Section */
.hero-corporate {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(93, 135, 255, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
              #f8fafc;
  padding: 5rem 0 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: 50rem;
  box-shadow: 0 4px 15px rgba(93, 135, 255, 0.12);
  font-size: 0.875rem;
  font-weight: 700;
  color: #5d87ff;
  border: 1px solid rgba(93, 135, 255, 0.2);
}

.hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0f172a;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #5d87ff 0%, #013183 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.6;
}

/* Interactive Triple-Preview Showcase */
.preview-showcase {
  position: relative;
}

.showcase-tv {
  background: #090d16;
  border-radius: 1rem;
  border: 4px solid #1e293b;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  padding: 1rem;
  color: #ffffff;
  position: relative;
}

.showcase-tv-bezel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #94a3b8;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 0.75rem;
}

.showcase-tv-screen {
  background: #000000;
  border-radius: 0.5rem;
  padding: 2.5rem 1rem;
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.tv-number {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.tv-number.overdue-mode {
  color: #ff3344 !important;
  text-shadow: 0 0 35px rgba(255, 51, 68, 0.8);
  animation: pulse-red 1.2s infinite;
}

.tv-number.nmn-mode {
  color: #f59e0b !important;
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: 0.1em;
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.7);
}

@keyframes pulse-red {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.tv-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
}

.tv-status-badge.normal {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.tv-status-badge.overdue {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.tv-status-badge.nmn {
  background: rgba(245, 158, 11, 0.25);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

/* 3D Physical Countertop Hardware Buttons */
.hardware-console {
  background: #1e293b;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid #334155;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #334155;
}

.console-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(65px, 1fr));
  gap: 0.85rem;
}

.push-btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.push-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.08s ease-in-out;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
}

.push-btn:active, .push-btn.pressed {
  transform: translateY(4px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.5) !important;
}

/* Button Colors */
.btn-hw-green {
  background: radial-gradient(circle at 35% 35%, #34d399, #059669);
  box-shadow: 0 6px 0 #047857, 0 8px 15px rgba(5, 150, 105, 0.4);
}
.btn-hw-yellow {
  background: radial-gradient(circle at 35% 35%, #fbbf24, #d97706);
  box-shadow: 0 6px 0 #b45309, 0 8px 15px rgba(217, 119, 6, 0.4);
  color: #1e293b;
}
.btn-hw-blue {
  background: radial-gradient(circle at 35% 35%, #60a5fa, #2563eb);
  box-shadow: 0 6px 0 #1d4ed8, 0 8px 15px rgba(37, 99, 235, 0.4);
}
.btn-hw-white {
  background: radial-gradient(circle at 35% 35%, #ffffff, #cbd5e1);
  box-shadow: 0 6px 0 #94a3b8, 0 8px 15px rgba(148, 163, 184, 0.4);
  color: #0f172a;
}
.btn-hw-red {
  background: radial-gradient(circle at 35% 35%, #f87171, #dc2626);
  box-shadow: 0 6px 0 #b91c1c, 0 8px 15px rgba(220, 38, 38, 0.4);
}
.btn-hw-miss {
  background: repeating-linear-gradient(45deg, #e11d48, #e11d48 6px, #9f1239 6px, #9f1239 12px);
  box-shadow: 0 6px 0 #881337, 0 8px 15px rgba(225, 29, 72, 0.4);
  font-size: 0.8rem;
  letter-spacing: -0.02em;
}

.push-btn-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  text-align: center;
}

/* Hero showcase images */
.hero-hdmi-img {
  object-fit: cover;
  max-height: 340px;
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
  margin-bottom: 10px;
}
.hero-ticket-img,
.hero-appliance-img,
.hero-admin-img {
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
}
.hero-appliance-img {
  margin-bottom: 10px;
}

@media (max-width: 575.98px) {
  .hero-hdmi-img {
    object-fit: contain;
    max-height: none;
    height: auto;
  }

  .hero-hardware-row.row {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-rows: auto auto;
    gap: 0.5rem;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
  }
  .hero-hardware-row.row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .hero-ticket-wrap {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }
  .hero-console-stack {
    display: contents;
  }
  .hero-ticket-img,
  .hero-appliance-img,
  .hero-admin-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  .hero-appliance-img {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
    filter: drop-shadow(2px 3px 6px rgba(0, 0, 0, 0.35));
  }
  .hero-ticket-img {
    filter: drop-shadow(2px 3px 6px rgba(0, 0, 0, 0.35));
  }
  .hero-admin-img {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* Very narrow viewports: skip phone ticket rather than stack it full-width */
@media (max-width: 359.98px) {
  .hero-ticket-wrap {
    display: none;
  }
  .hero-hardware-row.row {
    grid-template-columns: 1fr;
  }
  .hero-appliance-img {
    grid-column: 1;
  }
}

/* Mobile Ticket Card Simulator */
.mobile-ticket-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.ticket-notch-left, .ticket-notch-right {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f8fafc;
}
.ticket-notch-left { left: -10px; }
.ticket-notch-right { right: -10px; }

.ticket-number-display {
  font-size: 3.5rem;
  font-weight: 800;
  color: #5d87ff;
  line-height: 1;
  margin: 0.5rem 0;
}

/* Feature Cards */
.feature-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(93, 135, 255, 0.1);
  border-color: rgba(93, 135, 255, 0.35);
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1);
}

/* Appliance Showcase Area */
.appliance-section {
  background: #444444;
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.appliance-badge {
  background: rgba(93, 135, 255, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(93, 135, 255, 0.4);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.appliance-model-card {
  background: #1e293b;
  border-radius: 1.25rem;
  border: 1px solid #334155;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.appliance-model-card.featured {
  border: 2px solid #5d87ff;
  box-shadow: 0 0 35px rgba(93, 135, 255, 0.25);
  background: #182234;
}

.model-popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #5d87ff, #13deb9);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 1rem;
  border-radius: 50rem;
}

.model-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.model-price-subtitle {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 0.35rem;
}

.no-tv-banner {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 1rem;
  padding: 1.25rem 1.75rem;
  color: #fde68a;
}

/* Image Placeholder Box */
.photo-placeholder-box {
  background: #131d2e;
  border: 2px dashed #334155;
  border-radius: 1rem;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #94a3b8;
  position: relative;
  transition: all 0.3s ease;
}

.photo-placeholder-box:hover {
  border-color: #5d87ff;
  color: #cbd5e1;
}

.photo-placeholder-box i {
  font-size: 3rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  display: block;
}

/* Interactive Tabs */
.simulator-tab-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.simulator-tab-btn.active, .simulator-tab-btn:hover {
  background: #5d87ff;
  color: #ffffff;
  border-color: #5d87ff;
}

/* Contact Form Section */
.contact-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.contact-card {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
  padding: 3rem;
}

.contact-sidebar-info {
  background: #444444;
  border-radius: 1.25rem;
  padding: 2.5rem;
  color: #ffffff;
  width: 100%;
  height: auto;
}

.contact-sidebar-world {
  margin-top: 1.5rem;
}

.contact-sidebar-world img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(93, 135, 255, 0.15);
  color: #5d87ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Steps / How It Works */
.step-number-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ecf2ff;
  color: #5d87ff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-corporate {
    padding: 3.5rem 0 2.5rem;
  }
  .contact-card {
    padding: 1.75rem;
  }
}

/* Contact form honeypot (off-screen; must stay empty) */
.mkt-honeypot-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   Lightbox – Hardware Appliance Photos
   ========================================================================== */

/* Thumbnail hover hint overlay */
.yt-lightbox {
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 0.5rem;
}
.yt-lightbox img {
  transition: transform 0.25s ease, filter 0.25s ease;
  display: block;
}
.yt-lightbox:hover img {
  transform: scale(1.04);
  filter: brightness(0.75);
}
.yt-lightbox-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.yt-lightbox:hover .yt-lightbox-hint {
  opacity: 1;
}

/* Lightbox overlay */
#yt-lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.88);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
}
#yt-lb-overlay.active {
  display: flex;
}
#yt-lb-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.75rem;
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
  cursor: default;
  animation: yt-lb-in 0.22s ease;
}
@keyframes yt-lb-in {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
#yt-lb-close {
  position: fixed;
  top: 1.1rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 10000;
}
#yt-lb-close:hover { background: rgba(255,255,255,0.25); }

/* Demo form SweetAlert2 — Tabler icon instead of broken theme + Swal animated icon */
.yt-swal-icon-wrap {
  text-align: center;
  margin-bottom: 0.75rem;
}
.yt-swal-icon {
  font-size: 4.25rem;
  line-height: 1;
  display: inline-block;
}
div.swal2-container .swal2-icon {
  display: none !important;
}
