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

/* GLOBAL CSS RESET & RESPONSIVE HELPER STYLES */
html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 5rem;
}

/* Accordion Smooth Transition */
.faq-answer {
  transition: max-height 0.3s ease;
}

/* Mobile Navigation Drawer */
#mobile-menu.hidden {
  display: none !important;
}

/* Hide Lovable badge permanently */
#lovable-badge {
  display: none !important;
}

/* FORM FIELD CLEAN SPACING & DARK INPUT STYLING */
input, select, textarea {
  color-scheme: dark;
  background-color: var(--background, #0a0a0a) !important;
  color: var(--foreground, #fafafa) !important;
  border-radius: 0 !important;
  font-size: 0.875rem !important;
}

input:focus, select:focus, textarea:focus {
  border-color: #ef233c !important;
  outline: none !important;
  box-shadow: 0 0 0 1px #ef233c !important;
}

/* INQUIRY MODAL POPUP STYLING & POSITIONING FIX */
#inquiry-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  background-color: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem 1rem !important;
  overflow-y: auto !important;
}

#inquiry-modal.hidden {
  display: none !important;
}

#inquiry-modal .modal-card {
  position: relative !important;
  width: 100% !important;
  max-width: 32rem !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  background-color: var(--card, #141414) !important;
  border: 1px solid var(--border, #262626) !important;
  padding: 2.25rem 2rem !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9) !important;
  margin: auto !important;
}

/* Close Button */
#inquiry-modal-close {
  position: absolute !important;
  top: 1.25rem !important;
  right: 1.25rem !important;
  z-index: 10 !important;
  background: transparent !important;
  border: 1px solid var(--border, #262626) !important;
  color: var(--muted-foreground, #a3a3a3) !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

#inquiry-modal-close:hover {
  color: #ef233c !important;
  border-color: #ef233c !important;
  background-color: rgba(239, 35, 60, 0.1) !important;
}

/* GUARANTEED FOOTER BOTTOM & INTER-GRID SPACING FIX */
footer {
  padding-bottom: 80px !important;
  margin-bottom: 0 !important;
}

footer .grid {
  padding-bottom: 50px !important;
}

footer .border-t {
  margin-bottom: 40px !important;
}

/* WIDESCREEN & IMAC RESPONSIVENESS */
@media (min-width: 1536px) {
  .max-w-7xl {
    max-width: 90rem !important;
  }
}

@media (min-width: 2560px) {
  .max-w-7xl {
    max-width: 100rem !important;
  }
  h1, .text-8xl {
    font-size: 6.5rem !important;
  }
}

/* MOBILE SCREEN RESPONSIVENESS */
@media (max-width: 640px) {
  #inquiry-modal .modal-card {
    padding: 1.5rem 1.25rem !important;
  }
  #inquiry-modal h3 {
    font-size: 1.5rem !important;
  }
  footer {
    padding-bottom: 100px !important;
  }
}

/* --- TRUST COUNTER SECTION --- */
#trust-counter-section {
  background-color: transparent;
}

.counter-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1px !important;
  background-color: var(--border, #262626) !important;
}

.counter-card {
  background-color: rgba(10, 12, 22, 0.4) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: clamp(0.6rem, 1.8vw, 2.5rem) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.counter-card:hover {
  background-color: rgba(239, 35, 60, 0.05) !important;
  box-shadow: inset 0 0 12px rgba(239, 35, 60, 0.08);
}

.counter-label {
  font-family: 'JetBrains Mono', 'Share Tech Mono', monospace;
  font-size: clamp(7px, 0.75vw, 11px) !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground, #a3a3a3);
  line-height: 1.3;
  display: block;
}

.counter-value {
  font-family: 'Bebas Neue', var(--font-display, sans-serif);
  font-weight: 700;
  line-height: 1;
  margin-top: 0.5rem;
  font-size: clamp(1.1rem, 3.8vw, 4.5rem) !important;
  letter-spacing: 0.02em;
}

/* --- BRAND LOGOS MARQUEE SECTION --- */
#brands-section {
  background-color: var(--background, #0a0a0a);
}

.marquee-wrapper-row {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1.2rem 0;
  display: flex;
}

/* Elegant linear gradient fade overlays at the edges of the marquee */
.marquee-wrapper-row::before,
.marquee-wrapper-row::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(50px, 12vw, 180px);
  z-index: 10;
  pointer-events: none;
}

.marquee-wrapper-row::before {
  left: 0;
  background: linear-gradient(to right, #0a0a0a 0%, transparent 100%);
}

.marquee-wrapper-row::after {
  right: 0;
  background: linear-gradient(to left, #0a0a0a 0%, transparent 100%);
}

.marquee-track-left {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 4rem);
  width: max-content;
  animation: marquee-scroll-left 35s linear infinite;
  padding-left: clamp(1rem, 2.5vw, 3rem);
}

.marquee-track-right {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 4rem);
  width: max-content;
  animation: marquee-scroll-right 35s linear infinite;
  padding-left: clamp(1rem, 2.5vw, 3rem);
}

.marquee-track-left:hover,
.marquee-track-right:hover {
  animation-play-state: paused !important;
}

/* White rounded corner box capsule for high-end logo display */
.marquee-logo-card {
  background-color: #ffffff !important;
  border-radius: 12px !important;
  padding: 0.6rem 2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: clamp(60px, 7.5vw, 82px) !important;
  width: clamp(140px, 17vw, 195px) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  cursor: pointer;
  flex-shrink: 0 !important;
}

.marquee-logo-card:hover {
  transform: scale(1.08) translateY(-3px) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45), 0 0 15px rgba(255, 255, 255, 0.1) !important;
}

.brand-logo-marquee {
  max-height: 85% !important;
  max-width: 90% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  /* Colorful and fully visible by default */
  filter: none !important;
  opacity: 1 !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: block;
}

/* Keyframes with 3D translation for GPU-accelerated sub-pixel rendering */
@keyframes marquee-scroll-left {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes marquee-scroll-right {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* Explicit CSS Grid definitions for Hero Section */
.hero-grid-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 3.5rem !important;
}

@media (min-width: 1024px) {
  .hero-grid-container {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 4.5rem !important;
    align-items: center !important;
  }
  .hero-left-content {
    grid-column: span 7 / span 7 !important;
    padding-right: 1.5rem !important;
  }
  .hero-right-form {
    grid-column: span 5 / span 5 !important;
  }
}

/* Hero left content typography overrides for grid balance */
.hero-left-content h1 {
  font-size: clamp(3.2rem, 5.8vw, 6.5rem) !important; /* Bold widescreen display heading, fills column */
  line-height: 0.98 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 2.2rem !important;
}

.hero-left-content p {
  font-size: clamp(16px, 1.2vw, 19px) !important; /* Highly readable body text */
  line-height: 1.68 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  max-width: 620px !important;
  margin-bottom: 2.8rem !important;
}

/* Specs cards scale-up with top accents */
.hero-specs-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  margin-top: 2.8rem !important;
  padding-top: 2.2rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.hero-spec-item {
  background: rgba(255, 255, 255, 0.012) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-top: 3px solid var(--accent) !important; /* Glowing accent border at the top of each spec */
  border-radius: 0 0 8px 8px !important; /* Rounded bottom corners only */
  padding: 1.2rem 1.4rem !important; /* Larger padding for card shape weight */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-spec-item:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  border-top-color: var(--accent) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

.hero-spec-label {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10px !important; /* Larger label font */
  color: var(--accent) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.22em !important;
  margin-bottom: 0.45rem !important;
}

.hero-spec-val {
  font-family: 'Bebas Neue', display !important;
  font-size: clamp(14px, 1.25vw, 18px) !important; /* Larger display value font */
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  line-height: 1.2 !important;
}

/* Glassmorphic Form Card (Frosted Glass Panel with red shadow glow) */
.hero-form-card {
  background: rgba(22, 22, 22, 0.45) !important; /* Lighter translucency for glass look */
  backdrop-filter: blur(30px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important; /* More defined border bounds */
  border-radius: 16px !important;
  padding: 2.2rem 2rem !important;
  box-shadow: 
    0 35px 80px -15px rgba(0, 0, 0, 0.95), 
    0 0 50px rgba(197, 23, 23, 0.18), /* Highly visible red aura glow */
    inset 0 1px 1px rgba(255, 255, 255, 0.12) !important; /* Beautiful glass inner rim highlight */
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.hero-form-card:hover {
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 
    0 35px 80px -10px rgba(0, 0, 0, 0.95), 
    0 0 65px rgba(197, 23, 23, 0.28), /* Intense glow hover */
    inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}

/* Form inputs & select overrides */
.hero-input-field {
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  padding: 0.75rem 1rem !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  width: 100% !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

.hero-input-field:focus {
  border-color: var(--accent) !important;
  background: rgba(0, 0, 0, 0.6) !important;
  outline: none !important;
  box-shadow: 0 0 10px rgba(197, 23, 23, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.hero-input-field::placeholder {
  color: rgba(255, 255, 255, 0.25) !important;
}

.hero-select-field {
  appearance: none !important;
  background: rgba(0, 0, 0, 0.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.45)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") no-repeat right 1rem center !important;
  background-size: 1rem !important;
  padding-right: 2.5rem !important;
}

.hero-select-field option {
  background-color: #0c0c0c !important;
  color: #ffffff !important;
}

.hero-form-label {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 9.5px !important;
  color: rgba(255, 255, 255, 0.45) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  display: block !important;
  margin-bottom: 0.4rem !important;
}

/* Submit button styling */
.hero-submit-btn {
  background: var(--accent) !important;
  color: var(--accent-foreground) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.18em !important;
  padding: 0.95rem !important;
  border-radius: 6px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 18px rgba(197, 23, 23, 0.28) !important;
  width: 100% !important;
}

.hero-submit-btn:hover {
  background: #d91d1d !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 6px 22px rgba(197, 23, 23, 0.42) !important;
}

.hero-submit-btn:active {
  transform: translateY(1px) !important;
}

/* Results Slider Styles */
.results-slider {
  position: relative;
}
.results-slides-container {
  position: relative;
  min-height: 440px; /* Height anchor for desktop stability */
}
@media (max-width: 1023px) {
  .results-slides-container {
    min-height: auto;
  }
}
.results-slide {
  width: 100%;
  transition: opacity 0.5s ease-in-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.results-slide.active {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  position: relative !important;
}
.results-slide:not(.active) {
  opacity: 0 !important;
  transform: scale(0.985) translate3d(0, 0, 0) !important;
  pointer-events: none !important;
  position: absolute !important;
  inset: 0 !important;
}

/* Premium Footer Contact Alignment Styles */
.footer-contact-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  color: #a3a3a3 !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-family: 'JetBrains Mono', monospace !important;
}

.footer-contact-item:hover {
  color: #ffffff !important;
}

.footer-contact-item svg {
  width: 14px !important;
  height: 14px !important;
  margin-top: 3px !important; /* Perfect align for the first line of multiline address */
  flex-shrink: 0 !important;
  color: var(--accent) !important;
  fill: currentColor !important;
  transition: transform 0.3s ease !important;
}

.footer-contact-item:hover svg {
  transform: scale(1.1) !important;
}


