/* =============================================
   BINAXI — Dark Tech Premium 2026
   Design System & Styles
   Color: Cyan Electric #00f5ff + Violet #7c3aed
   Fonts: Space Grotesk + DM Sans
   ============================================= */

/* =============================================
   FONTS
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* =============================================
   DESIGN SYSTEM — CSS VARIABLES
   ============================================= */

:root {
  /* Backgrounds */
  --bg-base:    #05081a;
  --bg-alt:     #080d24;
  --bg-surface: rgba(255, 255, 255, 0.03);
  --bg-surface-hover: rgba(0, 245, 255, 0.05);
  --bg-glass:   rgba(5, 8, 26, 0.7);

  /* Borders */
  --border-subtle: rgba(0, 245, 255, 0.06);
  --border-card:   rgba(0, 245, 255, 0.12);
  --border-accent: rgba(0, 245, 255, 0.3);

  /* Brand colors */
  --cyan:        #00f5ff;
  --cyan-dim:    #00bcd4;
  --cyan-pale:   rgba(0, 245, 255, 0.08);
  --cyan-glow:   rgba(0, 245, 255, 0.2);
  --violet:      #7c3aed;
  --violet-dim:  #5b21b6;
  --violet-pale: rgba(124, 58, 237, 0.08);
  --violet-glow: rgba(124, 58, 237, 0.25);

  /* Text */
  --text-primary:   #f0f4ff;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Fluid type scale */
  --text-xs:   clamp(0.75rem,  1vw,  0.875rem);
  --text-sm:   clamp(0.875rem, 1.2vw, 1rem);
  --text-base: clamp(1rem,     1.5vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1.8vw, 1.375rem);
  --text-xl:   clamp(1.25rem,  2vw,   1.75rem);
  --text-2xl:  clamp(1.5rem,   2.5vw, 2.25rem);
  --text-3xl:  clamp(2rem,     4vw,   3.25rem);
  --text-4xl:  clamp(2.5rem,   5vw,   4.5rem);
  --text-5xl:  clamp(3rem,     6vw,   6rem);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
  --gradient-brand-r: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
  --gradient-hero: radial-gradient(ellipse at 20% 60%, rgba(0,245,255,0.07) 0%, transparent 55%),
                   radial-gradient(ellipse at 80% 20%, rgba(124,58,237,0.09) 0%, transparent 55%),
                   radial-gradient(ellipse at 55% 85%, rgba(0,180,255,0.05) 0%, transparent 45%);

  /* Shadows */
  --shadow-cyan:   0 0 40px rgba(0,245,255,0.18), 0 0 80px rgba(0,245,255,0.07);
  --shadow-violet: 0 0 40px rgba(124,58,237,0.18), 0 0 80px rgba(124,58,237,0.07);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px var(--border-card);
  --shadow-card-hover: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px var(--border-accent), 0 0 30px var(--cyan-glow);

  /* Layout */
  --section-pad: clamp(4rem, 8vw, 7.5rem);
  --container-pad: clamp(1rem, 4vw, 2rem);

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 999px;

  /* Transitions */
  --t-fast:   0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:   0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--bg-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Override Bootstrap light defaults */
.bg-light { background-color: var(--bg-alt) !important; }
.text-white { color: var(--text-primary) !important; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-base);
}

a:hover { color: var(--cyan); }

img { max-width: 100%; height: auto; display: block; }

p { margin: 0; }

ul { list-style: none; padding: 0; margin: 0; }

input, textarea, button {
  font-family: var(--font-body);
  outline: none;
  border: none;
}

section, .section-padding {
  position: relative;
  overflow: hidden;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-cyan { color: var(--cyan); }
.hidden { display: none !important; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* =============================================
   SECTION LAYOUT
   ============================================= */

.bx-section {
  padding: var(--section-pad) 0;
  position: relative;
}

.bx-section--alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gradient-brand);
}

.section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gradient-brand);
}

.section-title {
  font-size: var(--text-3xl);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* =============================================
   PRELOADER
   ============================================= */

.bx-preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.bx-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bx-preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.bx-preloader-logo {
  width: 120px;
  opacity: 0.9;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

.bx-preloader-bar {
  width: 160px;
  height: 2px;
  background: rgba(0, 245, 255, 0.1);
  border-radius: var(--r-full);
  overflow: hidden;
}

.bx-preloader-progress {
  height: 100%;
  width: 0%;
  background: var(--gradient-brand);
  border-radius: var(--r-full);
  animation: preloaderProgress 1.2s ease-out forwards;
}

@keyframes preloaderProgress {
  0% { width: 0%; }
  60% { width: 70%; }
  100% { width: 100%; }
}

/* =============================================
   ANIMATED CURSOR
   ============================================= */

#aimated-cursor {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
}

#cursor {
  position: fixed;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(0, 245, 255, 0.7);
  background: transparent;
  pointer-events: none;
  transition: border-color 0.2s;
  display: none;
}

@media (pointer: fine) {
  #cursor { display: block; }
}

#cursor-loader {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--cyan);
}

/* =============================================
   NAVIGATION
   ============================================= */

.bx-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: background var(--t-base), box-shadow var(--t-base), backdrop-filter var(--t-base);
}

.bx-nav.is-scrolled {
  background: rgba(5, 8, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.bx-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 80px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.bx-nav-logo { flex-shrink: 0; }

.bx-nav-logo .logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.bx-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.bx-nav-link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(240, 244, 255, 0.75);
  padding: 0.5rem 1.1rem;
  border-radius: var(--r-full);
  transition: color var(--t-base), background var(--t-base);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.bx-nav-link:hover,
.bx-nav-link.active {
  color: var(--cyan);
  background: var(--cyan-pale);
}

.bx-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
}

/* Hamburger */
.bx-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-sm);
}

.bx-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base), width var(--t-base);
}

.bx-hamburger span:nth-child(2) { width: 15px; }

.bx-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.bx-hamburger.is-open span:nth-child(2) { opacity: 0; }
.bx-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.bx-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 26, 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow), visibility var(--t-slow);
}

.bx-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.bx-mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.bx-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bx-mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 2rem;
  border-radius: var(--r-full);
  transition: color var(--t-base), background var(--t-base);
}

.bx-mobile-nav a:hover { color: var(--cyan); background: var(--cyan-pale); }

.bx-mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-top: 0.5rem;
}

.bx-mobile-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.bx-mobile-contact i { color: var(--cyan); }

/* =============================================
   BUTTONS
   ============================================= */

.bx-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.65rem 1.6rem;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}

.bx-btn-lg  { padding: 0.85rem 2rem;   font-size: 0.95rem; }
.bx-btn-xl  { padding: 1rem 2.25rem;   font-size: 1rem; }
.bx-btn-block { width: 100%; justify-content: center; }

/* Primary: solid cyan */
.bx-btn-primary {
  background: var(--gradient-brand);
  color: var(--bg-base);
  border-color: transparent;
}

.bx-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffffff22 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
}

.bx-btn-primary:hover {
  color: var(--bg-base);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

.bx-btn-primary:hover::before { opacity: 1; }

/* Ghost: transparent with border */
.bx-btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(240, 244, 255, 0.25);
}

.bx-btn-ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--cyan-pale);
  transform: translateY(-2px);
}

/* Outline: cyan border */
.bx-btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

.bx-btn-outline:hover {
  background: var(--cyan);
  color: var(--bg-base);
  box-shadow: var(--shadow-cyan);
}

/* WhatsApp */
.bx-btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.bx-btn-whatsapp:hover {
  color: #fff;
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

/* =============================================
   CUSTOM QUOTE MODAL
   ============================================= */

.bx-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 8, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow), visibility var(--t-slow);
}

.bx-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.bx-modal-box {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-card), 0 0 60px rgba(0,245,255,0.08);
  transform: scale(0.94) translateY(16px);
  transition: transform var(--t-spring), opacity var(--t-slow);
  opacity: 0;
}

.bx-modal-backdrop.is-open .bx-modal-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.bx-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--t-base);
}

.bx-modal-close:hover {
  background: rgba(0,245,255,0.08);
  border-color: rgba(0,245,255,0.25);
  color: var(--cyan);
}

.bx-modal-header { margin-bottom: 1.75rem; }

.bx-modal-title {
  font-size: var(--text-2xl);
  margin-bottom: 0.5rem;
}

.bx-modal-subtitle {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.bx-modal-success,
.bx-contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem 1rem;
}

.bx-modal-success.is-visible,
.bx-contact-success.is-visible {
  display: flex;
}

.bx-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0,245,255,0.1);
  border: 1px solid rgba(0,245,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--cyan);
}

.bx-success-title {
  font-size: var(--text-xl);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

.bx-success-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Invalid field state */
.bx-input.is-invalid {
  border-color: rgba(239,68,68,0.6) !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1) !important;
}

/* Required asterisk */
.req { color: var(--cyan); margin-left: 3px; font-size: 0.8em; }

/* Validation error */
.bx-field-error {
  display: block;
  font-size: var(--text-xs);
  color: #f87171;
  margin-top: 0.35rem;
  min-height: 1.1em;
}

/* Larger textarea */
.bx-textarea-lg { min-height: 110px; }

/* =============================================
   FORMS
   ============================================= */

.bx-form-group {
  margin-bottom: 1.25rem;
}

.bx-form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.bx-input,
.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: var(--r-md) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-sm) !important;
  padding: 0.85rem 1.1rem !important;
  transition: border-color var(--t-base), box-shadow var(--t-base) !important;
  -webkit-appearance: none;
}

.bx-input::placeholder,
.form-control::placeholder {
  color: var(--text-muted) !important;
  font-weight: 300;
}

.bx-input:focus,
.form-control:focus {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 3px rgba(0,245,255,0.12) !important;
  background: rgba(0,245,255,0.03) !important;
  outline: none !important;
}

.bx-textarea {
  min-height: 130px;
  resize: vertical;
}

.bx-form-check { margin-bottom: 1.25rem; }

/* Keep vendor checkbox styles working */
.checkbox-lable {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.checkbox-lable a { color: var(--cyan); }
.checkbox-lable a:hover { text-decoration: underline; }

.checkmark {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-card);
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 6px;
  transition: background var(--t-fast);
}

/* Alert messages */
.alert-success {
  background: rgba(0,245,255,0.08);
  border: 1px solid rgba(0,245,255,0.3);
  color: var(--cyan);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: var(--text-sm);
}

.alert-danger {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.3);
  color: #f87171;
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: var(--text-sm);
}

/* =============================================
   HERO SECTION
   ============================================= */

.bx-hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Canvas background */
#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Gradient mesh */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(0, 245, 255, 0.08);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 600px;
  height: 600px;
  background: rgba(124, 58, 237, 0.09);
  top: 20%;
  right: -150px;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 400px;
  height: 400px;
  background: rgba(0, 180, 255, 0.06);
  bottom: 0;
  left: 30%;
  animation-delay: -6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.97); }
}

/* Hero grid */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0,245,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

/* Hero container */
.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-content { max-width: 600px; }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,245,255,0.07);
  border: 1px solid rgba(0,245,255,0.18);
  border-radius: var(--r-full);
  padding: 0.4rem 1rem;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,245,255,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(0,245,255,0); }
}

/* Hero title */
.hero-title {
  font-size: var(--text-5xl);
  line-height: 1.08;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-line {
  display: block;
  overflow: hidden;
}

/* Hero desc */
.hero-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-desc .text-cyan {
  font-weight: 400;
}

/* CTAs */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Stats strip */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0 1.5rem;
}

.hero-stat:first-child { padding-left: 0; }

.hero-stat strong {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-img {
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(0,245,255,0.15));
  animation: heroImgFloat 6s ease-in-out infinite;
}

@keyframes heroImgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* Hero SVG tech network */
.hero-network-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 20px 60px rgba(0,245,255,0.12));
}

.hero-network-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Floating cards */
.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: 0.75rem 1.1rem;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  white-space: nowrap;
}

.hero-card i {
  font-size: 1.1rem;
  color: var(--cyan);
}

.hero-card-1 {
  top: 12%;
  right: -5%;
  animation: cardFloat1 5s ease-in-out infinite;
}

.hero-card-2 {
  bottom: 20%;
  right: -8%;
  animation: cardFloat1 5s ease-in-out infinite 2s;
}

.hero-card-2 i { color: #25D366; }

.hero-card-3 {
  bottom: 10%;
  left: 5%;
  animation: cardFloat1 5s ease-in-out infinite 1s;
  display: flex;
  align-items: center;
  gap: 10px;
}

@keyframes cardFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.ping-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
  flex-shrink: 0;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  100% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 500;
  transition: color var(--t-base);
}

.hero-scroll a:hover { color: var(--cyan); }

.scroll-icon {
  width: 22px;
  height: 36px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding: 4px 0;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollWheel 1.5s ease infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* =============================================
   CLIENTES SECTION
   ============================================= */

.bx-clientes {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.015);
}

.clientes-label {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
}

.logo-item img {
  max-height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.35;
  transition: opacity var(--t-base), filter var(--t-base);
}

.logo-item:hover img {
  opacity: 0.7;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(160deg);
}

/* =============================================
   SERVICES SECTION
   ============================================= */

.section-mouse-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,245,255,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.1s ease, top 0.1s ease;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.service-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: default;
  transition: transform var(--t-base);
}

.service-card:hover { transform: translateY(-6px); }

.service-card-inner {
  padding: 2rem 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.service-card:hover .service-card-inner {
  background: var(--bg-surface-hover);
  border-color: rgba(0,245,255,0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,245,255,0.2), inset 0 1px 0 rgba(0,245,255,0.08);
}

/* Card animated border */
.service-card-border {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  pointer-events: none;
  background: conic-gradient(from 0deg, var(--cyan), var(--violet), var(--cyan));
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: -1;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

.service-card:hover .service-card-border { opacity: 0.6; }

/* Service icon */
.service-icon-wrap {
  position: relative;
  width: 52px;
  height: 52px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--cyan-pale);
  border: 1px solid rgba(0,245,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--cyan);
  transition: transform var(--t-spring), box-shadow var(--t-base);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.service-icon--violet {
  background: var(--violet-pale);
  border-color: rgba(124,58,237,0.25);
  color: var(--violet);
}

.service-card:hover .service-icon--violet {
  box-shadow: 0 0 20px var(--violet-glow);
}

.service-icon-glow {
  position: absolute;
  inset: -8px;
  border-radius: var(--r-lg);
  background: var(--cyan-glow);
  filter: blur(12px);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 0;
}

.service-card:hover .service-icon-glow { opacity: 0.5; }

.service-icon-glow--violet { background: var(--violet-glow); }

.service-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  font-weight: 300;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.service-tags span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  padding: 0.2rem 0.6rem;
  transition: color var(--t-base), border-color var(--t-base);
}

.service-card:hover .service-tags span {
  color: var(--cyan);
  border-color: rgba(0,245,255,0.2);
}

.services-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.services-cta p {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

/* =============================================
   POR QUÉ BINAXI
   ============================================= */

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.why-left { display: flex; flex-direction: column; gap: 1.5rem; }

.why-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: 1rem;
}

.why-img {
  width: 100%;
  border-radius: var(--r-xl);
  filter: drop-shadow(0 20px 60px rgba(0,245,255,0.1));
}

.why-img-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(0,245,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 2rem;
}

.why-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: transform var(--t-base);
}

.why-item:last-child { border-bottom: none; }
.why-item:hover { transform: translateX(8px); }

.why-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 0.15rem;
}

.why-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.why-content p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* =============================================
   STACK TECNOLÓGICO
   ============================================= */

.stack-categories {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.stack-category {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  transition: border-color var(--t-base);
}

.stack-category:hover { border-color: var(--border-accent); }

.stack-cat-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  min-width: 140px;
  padding-top: 0.35rem;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.stack-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  padding: 0.45rem 1rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--t-base);
  cursor: default;
}

.stack-pill:hover {
  color: var(--text-primary);
  border-color: rgba(0,245,255,0.2);
  background: var(--bg-surface-hover);
}

.stack-pill--featured {
  border-color: rgba(0,245,255,0.15);
  color: var(--text-primary);
  background: rgba(0,245,255,0.04);
}

.stack-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

.stack-dot--cyan  { background: var(--cyan); }
.stack-dot--violet { background: var(--violet); }

/* =============================================
   MÉTRICAS / COUNTERS
   ============================================= */

.bx-metrics {
  position: relative;
  background: var(--bg-base);
  padding: var(--section-pad) 0;
}

.metrics-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(0,245,255,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(124,58,237,0.07) 0%, transparent 55%);
  pointer-events: none;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.metrics-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.metric-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.metric-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}

.metric-item:hover { border-color: rgba(0,245,255,0.2); transform: translateY(-4px); }
.metric-item:hover::before { transform: scaleX(1); }

.metric-icon {
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.metric-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.metric-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =============================================
   TESTIMONIOS
   ============================================= */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--t-base);
}

.testimonial-card:hover {
  border-color: rgba(0,245,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.testimonial-card:hover::before { opacity: 1; }

.testimonial-stars {
  font-size: 1rem;
  color: #fbbf24;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  font-weight: 300;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.testimonial-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.testimonial-author > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-author strong {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* =============================================
   CTA SECTION
   ============================================= */

.bx-cta-section {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
  background: var(--bg-alt);
}

#ctaCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cta-orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(0,245,255,0.06);
  left: -200px;
  top: -100px;
}

.cta-orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(124,58,237,0.07);
  right: -150px;
  bottom: -100px;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cta-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
  max-width: 500px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.cta-note i { color: var(--cyan); }

/* =============================================
   CONTACT SECTION
   ============================================= */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--cyan-pale);
  border: 1px solid rgba(0,245,255,0.15);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-details li > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-details strong {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-details span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-details a { color: var(--text-secondary); }
.contact-details a:hover { color: var(--cyan); }

.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--r-md);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--t-base);
}

.social-btn:hover {
  color: var(--cyan);
  border-color: rgba(0,245,255,0.3);
  background: var(--cyan-pale);
  transform: translateY(-2px);
}

.contact-form-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: 2.5rem;
}

.bx-contact-form { width: 100%; }

/* =============================================
   FOOTER
   ============================================= */

.bx-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.footer-brand { display: block; flex-direction: column; gap: 1rem; }

.footer-logo {
  height: 36px;
  width: auto !important;
  max-width: none !important;
  display: block;
  flex-shrink: 0;
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: all var(--t-base);
}

.footer-social a:hover {
  color: var(--cyan);
  border-color: rgba(0,245,255,0.3);
  background: var(--cyan-pale);
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--t-base), padding-left var(--t-base);
}

.footer-col ul a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-contact-list i {
  color: var(--cyan);
  font-size: 0.875rem;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact-list a { color: var(--text-muted); }
.footer-contact-list a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: var(--text-xs);
  color: var(--text-muted);
  transition: color var(--t-base);
}

.footer-bottom-links a:hover { color: var(--cyan); }

/* =============================================
   SCROLL TO TOP BUTTON
   ============================================= */

.bx-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--r-md);
  color: var(--cyan);
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-base);
}

.bx-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bx-scroll-top:hover {
  background: var(--cyan-pale);
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--cyan-glow);
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */

.bx-reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.bx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* Hero line reveal */
.hero-line {
  overflow: hidden;
}

.bx-reveal-line {
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bx-reveal-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility: respect user preference */
@media (prefers-reduced-motion: reduce) {
  .bx-reveal,
  .bx-reveal-line,
  .hero-img,
  .hero-card,
  .hero-orb,
  .badge-pulse,
  .ping-dot,
  .scroll-wheel,
  .bx-preloader-logo {
    animation: none !important;
    transition: opacity 0.3s ease !important;
    transform: none !important;
    filter: none !important;
  }

  .bx-reveal { opacity: 0; transition: opacity 0.4s ease !important; }
  .bx-reveal.is-visible { opacity: 1; }
}

/* =============================================
   OWL CAROUSEL DARK OVERRIDES
   ============================================= */

.owl-theme .owl-dots .owl-dot span {
  background: var(--text-muted) !important;
}

.owl-theme .owl-dots .owl-dot.active span {
  background: var(--cyan) !important;
}

/* =============================================
   FANCYBOX DARK OVERRIDES
   ============================================= */

.fancybox-button {
  background: rgba(5,8,26,0.8) !important;
  color: var(--text-primary) !important;
}

.fancybox-button:hover {
  background: rgba(0,245,255,0.1) !important;
  color: var(--cyan) !important;
}

.fancybox-toolbar { background: transparent !important; }

/* =============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================= */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-visual { display: none; }

  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .why-layout { grid-template-columns: 1fr; gap: 3rem; }
  .why-img-wrap { display: none; }
  .why-right { padding-top: 0; }

  .stack-category { flex-direction: column; gap: 1rem; }
  .stack-cat-label { min-width: unset; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonials-grid { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }

  .footer-main { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================= */

@media (max-width: 768px) {
  :root { --section-pad: 4rem; }

  .bx-nav-links { display: none; }
  .bx-hamburger { display: flex; }
  .bx-nav-actions .bx-btn-outline { display: none; }

  .hero-title { font-size: clamp(2.2rem, 9vw, 4rem); }

  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .bx-btn { width: 100%; max-width: 300px; justify-content: center; }

  .hero-stats { gap: 1rem; justify-content: center; }
  .hero-stat { padding: 0 0.75rem; }

  .services-grid { grid-template-columns: 1fr; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonials-grid { grid-template-columns: 1fr; }

  .cta-title { font-size: var(--text-3xl); }
  .cta-actions { flex-direction: column; align-items: center; width: 100%; }
  .cta-actions .bx-btn { width: 100%; max-width: 340px; justify-content: center; }

  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  .bx-scroll-top { bottom: 1rem; right: 1rem; }

  .section-header { margin-bottom: 2.5rem; }

  .contact-form-wrap { padding: 1.5rem; }

  .bx-modal-box { padding: 1.5rem; }
}

/* =============================================
   RESPONSIVE — SMALL (≤480px)
   ============================================= */

@media (max-width: 480px) {
  .hero-badge { font-size: 0.7rem; text-align: center; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .metric-item { padding: 1.5rem 1rem; }
}

/* =============================================
   LEGACY / COMPAT (vendor script classes)
   ============================================= */

/* Spinner for form buttons */
.fa-spin {
  animation: fa-spin 1s linear infinite;
}

@keyframes fa-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Keep .count class working with counter plugin */
.count { display: inline; }

/* Animated wrap for cursor effect (vendor) */
.animated-wrap { cursor: none; }

/* WOW compatibility (fallback — our Intersection Observer handles this) */
.wow { visibility: visible !important; }

/* Extra: scroll top arrow compat */
.scroll-top-arrow { display: none; }

/* =============================================
   FAQ SECTION
   ============================================= */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(0, 245, 255, 0.3);
}

.faq-item:hover {
  border-color: rgba(0, 245, 255, 0.2);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question span { flex: 1; }

.faq-icon {
  flex-shrink: 0;
  color: var(--color-cyan);
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0;
  padding-top: 1rem;
}

.faq-answer p strong { color: var(--text-primary); }

/* Contact map */
.contact-map iframe { border-radius: 12px; }

@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-question { font-size: 0.875rem; padding: 1rem 1.25rem; }
  .faq-answer { padding: 0 1.25rem 1rem; }
}
