/* ============================================================================
   Travnet marketing site — shared component styles.
   Extracted from the per-page inline <style> block; every colour is tokenised
   via styles/tokens.css and consumed as rgb(var(--token) [/ alpha]). Behaviour
   (transitions, transforms, keyframes) is unchanged. Linked by every page.
   ============================================================================ */
* { -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }

.hero-gradient {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgb(var(--color-primary-500) / 0.12) 0%, transparent 70%),
    linear-gradient(180deg, rgb(var(--color-white)) 0%, rgb(var(--color-slate-50)) 100%);
}
.nav-glass {
  background: rgb(var(--color-white) / 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgb(var(--color-black) / 0.07);
}
.btn-primary {
  background: linear-gradient(135deg, rgb(var(--color-primary-500)) 0%, rgb(var(--color-primary-glow)) 100%);
  box-shadow: 0 4px 20px rgb(var(--color-primary-500) / 0.35);
  transition: all 0.2s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgb(var(--color-primary-500) / 0.45); }
.btn-primary:active { transform: translateY(0); }
.feature-card { transition: all 0.25s ease; border: 1px solid rgb(var(--color-slate-200)); }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgb(var(--color-black) / 0.10); border-color: rgb(var(--color-primary-500) / 0.25); }
.shimmer { background: linear-gradient(90deg, rgb(var(--color-slate-100)) 25%, rgb(var(--color-slate-200)) 50%, rgb(var(--color-slate-100)) 75%); background-size: 200% 100%; animation: shimmer 1.8s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: rgb(var(--color-primary-500)); transition: width 0.2s ease; }
.nav-link:hover::after { width: 100%; }
.testimonial-card { background: rgb(var(--color-white)); border: 1px solid rgb(var(--color-slate-200)); transition: all 0.2s ease; }
.testimonial-card:hover { border-color: rgb(var(--color-primary-500) / 0.3); box-shadow: 0 8px 30px rgb(var(--color-black) / 0.08); }
.security-card { background: linear-gradient(135deg, rgb(var(--color-slate-900)) 0%, rgb(var(--color-slate-800)) 100%); }
.hover-dropdown-panel { display: none !important; }
.hover-dropdown:hover > .hover-dropdown-panel { display: block !important; }
.hover-dropdown:hover > .hover-dropdown-panel.panel-grid { display: grid !important; }
#sticky-bar { display: none; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgb(var(--color-primary-500) / 0.4); } 70% { box-shadow: 0 0 0 8px rgb(var(--color-primary-500) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--color-primary-500) / 0); } }
.pulse-badge { animation: pulse-ring 2.5s ease infinite; }
.pain-card { border-left: 4px solid rgb(var(--color-red-100)); background: linear-gradient(135deg, rgb(var(--color-danger-tint)) 0%, rgb(var(--color-white)) 100%); }
.pain-card .solution { border-left: 4px solid rgb(var(--color-emerald-100)); background: rgb(var(--color-green-50)); }
.video-card { transition: all 0.25s ease; }
.video-card:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgb(var(--color-black) / 0.12); }

/* Feature module pages — two-column feature rows, checklists, stat cards */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4.5rem 0;
  border-bottom: 1px solid rgb(var(--color-slate-100));
}
@media (max-width: 1023px) {
  .feature-row { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0; }
}
.check-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.check-icon {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgb(var(--color-primary-500) / 0.12);
}
.stat-card {
  background: rgb(var(--color-white));
  border: 1px solid rgb(var(--color-slate-200));
  border-radius: 0.875rem;
  padding: 1.5rem;
  text-align: center;
}

/* Support-desk marquee — scrolling notice strip shown above the nav */
.support-marquee {
  overflow: hidden;
  white-space: nowrap;
  background: rgb(var(--color-primary-500));
  color: rgb(var(--color-white));
  border-bottom: 1px solid rgb(var(--color-primary-600));
  padding: 0.375rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
}
.marquee-track {
  display: inline-flex;
  width: max-content;
}
.marquee-segment {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 4rem;
}
.animate-marquee { animation: marquee-scroll 30s linear infinite; }
.support-marquee:hover .animate-marquee { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .animate-marquee { animation: none; }
}

/* Mobile nav: hide the native disclosure marker on the collapsible sections. */
#mobile-menu summary::-webkit-details-marker { display: none; }
#mobile-menu summary::marker { content: ''; }
