/* ClockAnywhere Brand Design System - Pure Blue & Orange Theme */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Brand Blue Shades */
  --brand-blue-deep: #0f172a;
  --brand-blue-dark: #005580;
  --brand-blue: #006699;
  --brand-blue-bright: #0284c7;
  --brand-blue-light: #e0f2fe;

  /* Brand Orange / Amber Shades */
  --brand-orange: #e8a41d;
  --brand-orange-bright: #f97316;
  --brand-orange-dark: #c27803;
  --brand-orange-light: #fffbeb;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
  color: #1e293b;
  background-color: #f8fafc;
}

.font-mono-code {
  font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphism & Shadow Utilities */
.glass-panel {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(51, 65, 85, 0.6);
}

.glow-blue {
  box-shadow: 0 10px 30px -10px rgba(0, 102, 153, 0.4);
}

.glow-orange {
  box-shadow: 0 10px 30px -10px rgba(232, 164, 29, 0.4);
}

/* Pulse Dot Animation (Orange/Blue) */
.pulse-dot-orange {
  position: relative;
}

.pulse-dot-orange::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  animation: pulse-ring-orange 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring-orange {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(232, 164, 29, 0.7);
  }
  70% {
    transform: scale(1.6);
    box-shadow: 0 0 0 8px rgba(232, 164, 29, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(232, 164, 29, 0);
  }
}

.pulse-dot-blue {
  position: relative;
}

.pulse-dot-blue::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  animation: pulse-ring-blue 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring-blue {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
  }
  70% {
    transform: scale(1.6);
    box-shadow: 0 0 0 8px rgba(2, 132, 199, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
  }
}

/* Kiosk Scanner Laser Effect (Orange Laser) */
.laser-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e8a41d, #f97316, #e8a41d, transparent);
  box-shadow: 0 0 10px 2px rgba(232, 164, 29, 0.7);
  opacity: 0;
  pointer-events: none;
}

.laser-active {
  animation: scan-sweep 1.1s ease-in-out infinite alternate;
  opacity: 1;
}

@keyframes scan-sweep {
  0% {
    top: 5%;
  }
  100% {
    top: 90%;
  }
}

/* Custom Range Slider (Blue track, Orange thumb) */
input[type=range].custom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 9999px;
  background: #cbd5e1;
  outline: none;
  transition: all 0.2s ease;
}

input[type=range].custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8a41d;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(232, 164, 29, 0.45);
  border: 3px solid #ffffff;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

input[type=range].custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #c27803;
}

input[type=range].custom-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8a41d;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(232, 164, 29, 0.45);
  border: 3px solid #ffffff;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

/* Smooth Accordion */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-content.open {
  max-height: 500px;
  opacity: 1;
}

/* Card hover animation */
.hover-lift {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

/* Barcode stripe generator */
.barcode-pattern {
  background: repeating-linear-gradient(
    90deg,
    #0f172a 0px,
    #0f172a 3px,
    transparent 3px,
    transparent 5px,
    #0f172a 5px,
    #0f172a 9px,
    transparent 9px,
    transparent 11px,
    #0f172a 11px,
    #0f172a 13px,
    transparent 13px,
    transparent 17px,
    #0f172a 17px,
    #0f172a 21px,
    transparent 21px,
    transparent 24px
  );
}

/* Pricing Term Buttons (In-App Modality Selector) */
.pricing-term-btn {
  background-color: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.pricing-term-btn:hover:not(.active) {
  border-color: #006699;
  background-color: #f8fafc;
}

.pricing-term-btn .term-badge {
  display: inline-block;
  font-size: 10px;
  line-height: 1.2;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  background-color: #fef3c7;
  color: #92400e;
  transition: all 0.2s ease-in-out;
}

.pricing-term-btn .term-badge-empty {
  visibility: hidden;
  user-select: none;
}

.pricing-term-btn .term-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  transition: color 0.2s ease-in-out;
}

.pricing-term-btn .term-rate {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #006699;
  transition: color 0.2s ease-in-out;
}

.pricing-term-btn .term-total {
  font-size: 10px;
  color: #64748b;
  transition: color 0.2s ease-in-out;
}

/* Active State - Matches Logo Blue #006699 with high contrast */
.pricing-term-btn.active {
  background-color: #006699 !important;
  border-color: #006699 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px -1px rgba(0, 102, 153, 0.4) !important;
}

.pricing-term-btn.active .term-badge {
  background-color: #e8a41d !important;
  color: #020617 !important;
}

.pricing-term-btn.active .term-name {
  color: #ffffff !important;
}

.pricing-term-btn.active .term-rate {
  color: #fde047 !important; /* bright vibrant amber/yellow for clear contrast on blue */
}

.pricing-term-btn.active .term-total {
  color: #e0f2fe !important; /* sky-100 / soft ice-white for high contrast on blue */
}

/* Hero product screenshot — slight lift and pan on hover */
.hero-screenshot {
  perspective: 1000px;
}

.hero-screenshot-frame {
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s ease;
}

.hero-screenshot-img {
  transform: scale(1.01);
  transform-origin: center center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-screenshot:hover .hero-screenshot-frame {
  transform: translateY(-12px) rotateX(3deg) rotateY(-5deg);
  box-shadow: 0 28px 50px -16px rgba(0, 102, 153, 0.45), 0 12px 24px -10px rgba(232, 164, 29, 0.2);
}

.hero-screenshot:hover .hero-screenshot-img {
  transform: scale(1.07) translate(-1.2%, -0.6%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-screenshot-frame,
  .hero-screenshot-img,
  .hero-screenshot:hover .hero-screenshot-frame,
  .hero-screenshot:hover .hero-screenshot-img {
    transform: none;
    transition: none;
  }
}

