/* ==============================================================================
   ZENOR BD — Master Unified Design System CSS
   Centralized Tokens, Reusable Components & Clean Utilities
   ============================================================================== */

:root {
  --zenor-navy: #091c34;
  --zenor-navy-dark: #071526;
  --zenor-slate-900: #0f172a;
  --zenor-slate-800: #1e293b;
  --zenor-slate-700: #334155;
  --zenor-slate-600: #475569;
  --zenor-slate-500: #64748b;
  --zenor-slate-400: #94a3b8;
  --zenor-slate-200: #e2e8f0;
  --zenor-slate-100: #f1f5f9;
  --zenor-slate-50:  #f8fafc;
  
  --zenor-blue-600: #2563eb;
  --zenor-blue-500: #3b82f6;
  --zenor-blue-700: #1d4ed8;
  --zenor-blue-50:  #eff6ff;
  --zenor-blue-100: #dbeafe;

  --zenor-emerald-600: #059669;
  --zenor-emerald-50:  #ecfdf5;
  --zenor-amber-500:   #f59e0b;
  --zenor-amber-50:    #fffbeb;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Global Reset & Base */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: var(--zenor-slate-700);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--zenor-slate-900);
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* Standard Background Gradients & Patterns */
.bg-brand-pattern {
  background-color: #f8fafc;
  background-image: 
      radial-gradient(at 0% 0%, hsla(217,100%,90%,0.35) 0px, transparent 50%),
      radial-gradient(at 100% 100%, hsla(258,100%,92%,0.3) 0px, transparent 50%),
      radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
}

.bg-dark-hero {
  background: linear-gradient(135deg, #091c34 0%, #0d284b 60%, #0f172a 100%);
  color: #ffffff;
}

/* Unified Badge Components */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-pill-blue {
  background-color: var(--zenor-blue-50);
  color: var(--zenor-blue-600);
  border: 1px solid var(--zenor-blue-100);
}
.badge-pill-amber {
  background-color: var(--zenor-amber-50);
  color: #b45309;
  border: 1px solid #fde68a;
}
.badge-pill-emerald {
  background-color: var(--zenor-emerald-50);
  color: var(--zenor-emerald-600);
  border: 1px solid #a7f3d0;
}

/* Reusable Feature Card */
.feature-card {
  background-color: #ffffff;
  border: 1px solid var(--zenor-slate-200);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.2s ease-in-out;
}
.feature-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

/* Pricing Card System */
.pricing-card {
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid var(--zenor-slate-200);
  transition: all 0.25s ease;
}
.pricing-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 30px -5px rgba(15, 23, 42, 0.08);
}
.pricing-card-featured {
  border: 2px solid var(--zenor-blue-600);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
  position: relative;
}

/* Button System */
.btn-brand-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  background-color: var(--zenor-blue-600);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  text-decoration: none;
}
.btn-brand-primary:hover {
  background-color: var(--zenor-blue-700);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn-brand-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  background-color: var(--zenor-slate-100);
  color: var(--zenor-slate-900);
  font-weight: 700;
  font-size: 0.9375rem;
  border: 1px solid var(--zenor-slate-200);
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-brand-secondary:hover {
  background-color: var(--zenor-blue-50);
  color: var(--zenor-blue-600);
  border-color: #bfdbfe;
}

/* FAQ Accordion Styling */
details.faq-item {
  border-bottom: 1px solid var(--zenor-slate-200);
  padding: 1.25rem 0;
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--zenor-slate-900);
  font-size: 1.0625rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
details.faq-item[open] summary {
  color: var(--zenor-blue-600);
}
details.faq-item p {
  margin-top: 0.75rem;
  color: var(--zenor-slate-600);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Breadcrumb Component */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--zenor-slate-500);
  margin-bottom: 1.5rem;
}
.breadcrumb-trail a {
  color: var(--zenor-slate-600);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb-trail a:hover {
  color: var(--zenor-blue-600);
}
.breadcrumb-separator {
  color: var(--zenor-slate-400);
  font-size: 0.7rem;
}
.breadcrumb-current {
  color: var(--zenor-slate-900);
  font-weight: 600;
}

/* ==============================================================================
   Guaranteed Seamless Technology Infinite Marquee
   Exact 2-group translation (-50%) with zero gap jumps
   ============================================================================== */
.tech-marquee-viewport {
  width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.tech-marquee-track {
  display: flex !important;
  flex-shrink: 0 !important;
  width: -webkit-max-content !important;
  width: -moz-max-content !important;
  width: max-content !important;
  will-change: transform !important;
  animation-name: techMarqueeScroll !important;
  animation-duration: 28s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-play-state: running !important;
}

.tech-marquee-group {
  display: flex !important;
  flex-shrink: 0 !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tech-marquee-item {
  flex: 0 0 160px !important;
  width: 160px !important;
  height: 70px !important;
  margin-right: 24px !important;
}

@media (max-width: 768px) {
  .tech-marquee-track {
    animation-duration: 22s !important;
  }
  .tech-marquee-item {
    flex: 0 0 145px !important;
    width: 145px !important;
    height: 65px !important;
    margin-right: 16px !important;
  }
}

@keyframes techMarqueeScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

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