/* Inter font configuration and base overrides */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-obsidian: #0b0b0f;
  --color-coal: #121218;
  --color-silver: #94a3b8;
  --color-ash: #334155;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(0, 0, 0, 0.08);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-obsidian);
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Smooth selection */
::selection {
  background-color: #ffffff;
  color: #000000;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-obsidian);
  color: #ffffff;
  overflow-x: hidden;
}

/* Grid & Quantum backgrounds */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.bg-grid-pattern-light {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

/* Radial light glow representing quantum states */
.quantum-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.quantum-glow-royal {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 80%);
  pointer-events: none;
  filter: blur(40px);
}

/* Premium Card Hover Effects */
.premium-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
}

.premium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
}

.premium-card-light {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--color-border-light);
  background: rgba(0, 0, 0, 0.01);
}

.premium-card-light:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.02);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.08);
}

/* Premium Buttons */
.btn-royal-white {
  background-color: #ffffff;
  color: #000000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-royal-white:hover {
  background-color: #f4f4f5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.btn-royal-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-royal-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.btn-royal-dark {
  background-color: #0b0b0f;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-royal-dark:hover {
  background-color: #121218;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-royal-outline-dark {
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #000000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-royal-outline-dark:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-color: #000000;
  transform: translateY(-1px);
}

/* Timeline Custom Styles */
.timeline-dot::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.timeline-dot-light::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #000000;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* FAQ transitions */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
}

.faq-chevron {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* Custom gradients for section dividers */
.divider-gradient-dark-light {
  background: linear-gradient(to bottom, var(--color-obsidian) 0%, #ffffff 100%);
}

.divider-gradient-light-dark {
  background: linear-gradient(to bottom, #ffffff 0%, var(--color-obsidian) 100%);
}

/* Wave canvas overlay */
#quantumCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
}

/* Mobile Navigation Drawer styles */
.mobile-nav-menu {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll progress indicator at top of page */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 100;
  pointer-events: none;
  background: transparent;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffffff, #94a3b8);
  transition: width 0.1s ease-out;
}

/* Scroll reveal initial states with spring & slide transitions */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.scroll-reveal.revealed,
.scroll-reveal-left.revealed,
.scroll-reveal-right.revealed {
  opacity: 1;
  transform: translate(0);
}

/* Delay modifiers for scroll reveal */
.reveal-delay-100 { transition-delay: 100ms; }
.reveal-delay-200 { transition-delay: 200ms; }
.reveal-delay-300 { transition-delay: 300ms; }
.reveal-delay-400 { transition-delay: 400ms; }
.reveal-delay-500 { transition-delay: 500ms; }

/* Scroll-based rotation */
.scroll-rotate-element {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Lucide Icon transition and hover dynamics */
svg[data-lucide] {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease, filter 0.3s ease;
}

.premium-card:hover svg[data-lucide],
.premium-card-light:hover svg[data-lucide] {
  transform: scale(1.15) rotate(8deg);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

.btn-royal-white:hover svg[data-lucide],
.btn-royal-outline:hover svg[data-lucide],
.btn-royal-dark:hover svg[data-lucide] {
  transform: scale(1.1) translateX(2px);
}

/* Custom interactive consultation scheduler styles */
.scheduler-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light header styling over white sections */
header.header-light-theme {
  color: #0b0b0f !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05) !important;
}

header.header-light-theme .nav-link {
  color: #52525b !important;
}

header.header-light-theme .nav-link:hover {
  color: #000000 !important;
}

header.header-light-theme span.text-white {
  color: #0b0b0f !important;
}

header.header-light-theme span.text-zinc-400 {
  color: #71717a !important;
}

header.header-light-theme button#mobile-menu-btn {
  color: #0b0b0f !important;
}

header.header-light-theme .btn-royal-white {
  background-color: #0b0b0f !important;
  color: #ffffff !important;
}

header.header-light-theme .btn-royal-white:hover {
  background-color: #121218 !important;
}

header.header-light-theme .border-l {
  border-color: rgba(0, 0, 0, 0.1) !important;
}


.scheduler-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  outline: none;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.03);
}

.scheduler-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.scheduler-input option {
  background-color: #0b0b0f;
  color: #ffffff;
  padding: 10px;
}



/* Infinite Horizontal Marquee for Standards */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  width: 100%;
}

.marquee-content {
  display: inline-flex;
  flex-shrink: 0;
  animation: marquee 25s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}



