/* ==========================================================================
   XPIR LANDING PAGE COMPONENTS — 3D MOCKUP, BENTO CARDS & LUXURY UI
   ========================================================================== */

/* --- 1. Ambient Lighting & Kinetic Shaders --- */
.ambient-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-cursor-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 95, 43, 0.12) 0%, rgba(238, 95, 43, 0.03) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  will-change: transform;
}

.hero-glow-orb {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(238, 95, 43, 0.16) 0%, rgba(255, 138, 91, 0.05) 50%, transparent 80%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* --- 2. Floating Glass Navigation Bar --- */
.nav-wrapper {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 100;
  padding: 0 20px;
}

.nav-glass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--glass-card);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 12px 8px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--bg-surface-elevated);
  max-width: 980px;
  width: 100%;
  transition: all var(--transition-normal);
}

.nav-glass:hover {
  border-color: var(--border-subtle-2);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(238, 95, 43, 0.35);
}

.nav-brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
}

.nav-link.active {
  color: var(--text-contrast);
  background: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-gradient);
  color: var(--text-contrast);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 18px rgba(238, 95, 43, 0.35);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(238, 95, 43, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-subtle-2);
  transform: translateY(-1px);
}

/* --- 3. 3D Spatial Device Showcase --- */
.spatial-stage {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
  perspective: 1400px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 720px;
  overflow: visible;
}

/* 3D Holographic Ground Grid & Volumetric Light Pedestal */
.stage-pedestal-grid {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%) rotateX(74deg);
  width: 900px;
  height: 650px;
  background-image: 
    linear-gradient(rgba(238, 95, 43, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 95, 43, 0.18) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 20%, transparent 72%);
  pointer-events: none;
  z-index: 1;
}

.stage-pedestal-glow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(238, 95, 43, 0.38) 0%, rgba(238, 95, 43, 0.12) 50%, transparent 80%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 2;
}

.device-3d-wrapper {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.12s cubic-bezier(0.2, 0, 0.1, 1);
  will-change: transform;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* High-Res Phone Mockup Container */
.phone-mockup-frame {
  position: relative;
  width: 340px;
  max-width: 90vw;
  transform-style: preserve-3d;
  filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 55px rgba(238, 95, 43, 0.25));
}

.device-render-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
  border-radius: 46px;
}

/* Dynamic Specular Glass Glare */
.iphone-glare {
  position: absolute;
  inset: 4px;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, var(--bg-surface) 40%, transparent 65%);
  pointer-events: none;
  z-index: 20;
  mix-blend-mode: overlay;
  transition: transform 0.15s ease, opacity 0.25s ease;
}

/* --- 4. Spatial Orbiting 3D Chips --- */
.spatial-chip {
  position: absolute;
  background: var(--bg-surface);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(238, 95, 43, 0.15);
  z-index: 40;
  transform-style: preserve-3d;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  animation: floatOrb 5s ease-in-out infinite alternate;
  cursor: pointer;
}

.spatial-chip:hover {
  border-color: rgba(238, 95, 43, 0.5);
  box-shadow: var(--shadow-lg), 0 0 45px rgba(238, 95, 43, 0.25);
}

.chip-left-top {
  left: 3%;
  top: 15%;
  transform: translateZ(80px);
  animation-delay: 0s;
}

.chip-right-top {
  right: 3%;
  top: 18%;
  transform: translateZ(105px);
  animation-delay: 1.2s;
}

.chip-left-mid {
  left: 2%;
  top: 50%;
  transform: translateZ(65px);
  animation-delay: 2s;
}

.chip-right-mid {
  right: 2%;
  top: 52%;
  transform: translateZ(95px);
  animation-delay: 0.6s;
}

.chip-left-bottom {
  left: 6%;
  bottom: 12%;
  transform: translateZ(75px);
  animation-delay: 2.8s;
}

.chip-right-bottom {
  right: 6%;
  bottom: 10%;
  transform: translateZ(110px);
  animation-delay: 1.6s;
}

@keyframes floatOrb {
  0% { transform: translateY(0px) translateZ(60px); }
  100% { transform: translateY(-16px) translateZ(75px); }
}

.chip-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.chip-text {
  display: flex;
  flex-direction: column;
}

.chip-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.chip-meta {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- 5. Dual-Pillar Interactive Switcher --- */
.pillar-tabs-container {
  display: flex;
  justify-content: center;
  margin: 32px 0 48px;
}

.pillar-tab-pill {
  display: flex;
  background: var(--glass-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px;
  gap: 6px;
}

.pillar-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.pillar-tab-btn.active {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(238, 95, 43, 0.2);
}

.pillar-content-panel {
  display: block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.pillar-content-panel.active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

/* --- 6. Bento Grid Components (Linear Aesthetic) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.bento-card {
  position: relative;
  background: var(--glass-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%), rgba(238, 95, 43, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bento-card:hover {
  border-color: var(--border-subtle-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

/* Interactive Scanning Laser Visual */
.scanner-container {
  position: relative;
  width: 100%;
  height: 220px;
  background: var(--bg-void);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scanner-laser-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #EE5F2B 50%, transparent 100%);
  box-shadow: 0 0 15px #EE5F2B, 0 0 30px #EE5F2B;
  animation: scanLaser 3s ease-in-out infinite;
  z-index: 5;
}

@keyframes scanLaser {
  0% { top: 15%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 85%; opacity: 0; }
}

.scanner-fruit-demo {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2;
}

.plu-tag-box {
  background: var(--bg-surface-hover);
  border: 1px solid var(--brand-primary);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: monospace;
  color: var(--brand-light);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 0 12px rgba(238, 95, 43, 0.3);
}

/* --- 7. Annual Household Savings Calculator --- */
.calculator-card {
  background: linear-gradient(135deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid rgba(238, 95, 43, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(238, 95, 43, 0.1);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin: 40px 0;
}

.calc-range-wrapper {
  margin: 32px 0;
}

.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-surface-elevated);
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-gradient);
  border: 3px solid var(--text-primary);
  box-shadow: 0 0 15px var(--brand-primary);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.calc-metric-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.calc-metric-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-light);
  letter-spacing: -0.02em;
}

/* --- 8. App Store & Google Play Badges --- */
.store-badges-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 20px;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.store-badge-btn:hover {
  border-color: var(--border-subtle-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.badge-text-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.badge-sub {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.badge-main {
  font-size: 1.05rem;
  font-weight: 700;
}

/* --- 9. Interactive QR Modal & Scanner Trigger --- */
.qr-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface-hover);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: inherit;
  font-family: inherit;
}

.qr-preview-btn:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(238, 95, 43, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(238, 95, 43, 0.15);
}

.qr-modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-void);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.qr-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.qr-modal-card {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 22, 28, 0.98) 0%, rgba(14, 14, 18, 0.98) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(238, 95, 43, 0.2);
  text-align: center;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.qr-modal-overlay.active .qr-modal-card {
  transform: scale(1) translateY(0);
}

.qr-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: all var(--transition-fast);
}

.qr-modal-close:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
}

.qr-tab-switcher {
  display: flex;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
  margin: 20px 0;
}

.qr-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.qr-tab-btn.active {
  background: var(--brand-primary);
  color: var(--text-primary);
  box-shadow: 0 2px 10px rgba(238, 95, 43, 0.4);
}

.qr-display-surface {
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 16px;
  display: inline-block;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  margin-bottom: 16px;
}

.qr-display-img {
  width: 190px;
  height: 190px;
  display: block;
}

.qr-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--bg-surface);
  border: 2px solid #EE5F2B;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.qr-center-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.qr-modal-url-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 20px;
}

.qr-modal-url-text {
  flex: 1;
  font-size: 0.75rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  font-family: monospace;
}

.qr-copy-btn {
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.qr-copy-btn:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* ==========================================================================
   3D HERO PARALLAX (Scroll-Driven)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    
    @keyframes parallax-phone-up {
      to { transform: translateY(-120px) scale(1.05); }
    }
    
    @keyframes parallax-grid-down {
      to { transform: rotateX(74deg) translateY(180px) scale(1.1); opacity: 0; }
    }
    
    @keyframes parallax-chips-out {
      to { transform: translateY(-80px) scale(0.9); opacity: 0.3; }
    }

    .spatial-stage {
      /* Create a timeline that tracks the stage moving out of view */
      view-timeline: --hero-stage;
    }

    .device-3d-wrapper {
      animation: parallax-phone-up linear both;
      animation-timeline: --hero-stage;
      animation-range: exit 0% exit 100%;
    }

    .stage-pedestal-grid {
      animation: parallax-grid-down linear both;
      animation-timeline: --hero-stage;
      animation-range: exit 0% exit 100%;
    }
    
    .spatial-chip {
      animation: parallax-chips-out linear both;
      animation-timeline: --hero-stage;
      animation-range: exit 0% exit 80%;
    }
  }
}

/* ==========================================================================
   APP MOCK CARDS (Pillars UI)
   ========================================================================== */
.app-mock-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 20px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}

.app-mock-card:last-child {
  margin-bottom: 0;
}

.card-strip {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--text-tertiary); /* fallback */
}

.card-strip.strip-red { background: var(--status-red); box-shadow: 0 0 10px var(--status-red); }
.card-strip.strip-orange { background: var(--status-orange); box-shadow: 0 0 10px var(--status-orange); }
.card-strip.strip-green { background: var(--status-green); box-shadow: 0 0 10px var(--status-green); }

.card-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.card-icon-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, var(--bg-surface) 100%);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

.card-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.card-badge {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  margin-left: 12px;
}

.card-badge.badge-red {
  background: rgba(255, 59, 48, 0.15);
  color: var(--status-red);
  border: 1px solid rgba(255, 59, 48, 0.3);
}

.card-badge.badge-orange {
  background: rgba(255, 149, 0, 0.15);
  color: var(--status-orange);
  border: 1px solid rgba(255, 149, 0, 0.3);
}

.card-badge.badge-green {
  background: rgba(52, 199, 89, 0.15);
  color: var(--status-green);
  border: 1px solid rgba(52, 199, 89, 0.3);
}

/* ==========================================================================
   MARQUEE SOCIAL PROOF
   ========================================================================== */
.marquee-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  animation: marquee-scroll 40s linear infinite;
  padding-left: 24px;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 12px)); }
}

.review-card {
  width: 320px;
  flex-shrink: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.review-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.review-stars {
  color: #FFD700;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ ACCORDION (Modern details/summary)
   ========================================================================== */
.faq-item {
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle-2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none; /* Hide default triangle */
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--text-tertiary);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  padding: 0 24px 24px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.qr-code-img {
  background: #FFFFFF !important;
  border-radius: 4px;
  padding: 2px;
}
