/* Digital Horizon Design System - Magallones Travel */

:root {
  --primary-color: #2563EB; /* Primary Action Blue */
  --secondary-color: #0B1020; /* Base Background */
  --surface-color: #111A2E; /* Surface 1 */
  --accent-color: #6366F1; /* Indigo Accent */
  --text-primary: #F8FAFC; 
  --text-secondary: #94A3B8;
  --glass-bg: rgba(17, 26, 46, 0.8);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --glass-blur: blur(12px);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background-color: var(--secondary-color);
  overflow-x: hidden;
  line-height: 1.6;
}

/* =========================================
   Glassmorphism Utilities
   ========================================= */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.3);
}

/* Aero-Glass Widget (Search Box) */
.search-widget {
  position: relative; /* For video background */
  background: var(--glass-bg) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border: var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 1200px;
  margin-top: 2rem;
}

.search-widget-video-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-radius: 20px;
  z-index: -1;
}

.search-widget-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.4; /* Subtle background */
}

.search-widget-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 27, 42, 0.4);
  z-index: 0;
}

.search-widget > * {
  position: relative;
  z-index: 2;
}

.aero-glass {
  /* Alias for consistency */
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
}

/* =========================================
   Typography
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

.text-success-neon {
  color: #00ff9d !important; /* Neon Green */
}

.btn-tech {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-tech:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

/* =========================================
   Global Background & Stacking
   ========================================= */
.site-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, #111A2E 0%, #0B1020 100%);
  z-index: -10;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
}

.hero-overlay {
  display: none; /* Removed in favor of radial gradient background */
}

/* ===================================================
   PILL NAVBAR â€” Ported from React Navbar Component
   =================================================== */
.page-wrapper {
  min-height: 100vh;
  padding-top: 90px; /* account for fixed pill nav */
}

.main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  background: transparent;
}

.main-navbar.navbar-scrolled .navbar-container {
  background: rgba(17, 26, 46, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  max-width: 95%;
  border-radius: 60px;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  background: rgba(17, 26, 46, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 60px;
  transition: all 0.4s ease;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

.nav-link-pill {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.nav-link-pill:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
  text-decoration: none;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-nav-login {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-nav-login:hover { color: #fff; border-color: rgba(255,255,255,0.4); text-decoration: none; background: rgba(255,255,255,0.05); }

.btn-nav-cta {
  background: var(--primary-color);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  display: inline-flex;
  align-items: center;
  border: none;
  cursor: pointer;
}
.btn-nav-cta:hover { background: #1d4ed8; transform: scale(1.04); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5); text-decoration: none; color: #fff !important; }

/* User Dropdown */
.nav-user-dropdown { position: relative; }
.btn-user-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.btn-user-pill:hover { background: rgba(255,255,255,0.12); color: #fff; }
.user-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  background: #111A2E;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  min-width: 180px;
  padding: 0.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  z-index: 2000;
}
.user-dropdown-menu.open { display: block; animation: fadeIn 0.2s ease; }
.dropdown-pill-item {
  display: flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.dropdown-pill-item:hover { background: rgba(255,255,255,0.06); color: #fff; text-decoration: none; }
.dropdown-pill-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 0.4rem 0.5rem; }

/* Mobile Nav */
.navbar-mobile-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  margin-left: 0.5rem;
}
.navbar-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem;
  background: rgba(17,26,46,0.98);
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 0.5rem;
  border-radius: 0 0 20px 20px;
}
.mobile-menu.open { display: flex; animation: fadeIn 0.2s ease; }
.mobile-nav-link {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: #fff; text-decoration: none; }

/* ===================================================
   OLD BOOTSTRAP NAVBAR Compatibility
   =================================================== */
.navbar { display: none !important; } /* Hide old bootstrap nav if any page still uses it */

/* ===================================================
   PAGE WRAPPER & BACKGROUND
   =================================================== */

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary) !important;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.02);
}

.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  font-weight: 600;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #1d4ed8 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Global Video for Base (Optional override) */
#video-background {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -100;
  object-fit: cover;
  filter: brightness(0.6);
}

/* =========================================
   Interactive Elements (Tabs, Buttons)
   ========================================= */
.search-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.search-tab {
  background: transparent;
  border: none;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-tab.active {
  background: linear-gradient(
    135deg,
    rgba(0, 243, 255, 0.1) 0%,
    rgba(0, 153, 255, 0.1) 100%
  );
  border: 1px solid var(--primary-color);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.search-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.btn-search {
  width: 100%;
  background: var(--primary-color);
  color: white;
  font-weight: 700;
  padding: 1.25rem;
  border-radius: 12px;
  border: none;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2); 
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.8);
}

/* =========================================
   Form Controls (Floating & Transparent)
   ========================================= */
.form-group label,
.floating-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: block;
  font-family: "Montserrat", sans-serif;
}

/* Specific Target for Floating Input */
.floating-control,
.form-control {
  background: transparent !important;
  background-color: transparent !important;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 0;
  padding: 0.85rem 0.5rem;
  font-weight: 500;
  height: auto;
  color: white !important;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
}

.floating-control:focus,
.form-control:focus {
  border-bottom-color: var(--primary-color) !important;
  box-shadow: 0 4px 10px -2px rgba(0, 243, 255, 0.2);
  background: transparent !important;
  outline: none;
  color: white !important;
}

.floating-control::placeholder,
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Ensure Autocomplete Dropdown is White/Visible */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  color: #1f2937; /* Dark text for dropdown */
}
.autocomplete-dropdown.show {
  display: block;
}
.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  background: white;
}
.autocomplete-item:hover,
.autocomplete-item.active {
  background-color: #f9fafb;
}

/* Passenger Selector */
.passenger-dropdown {
  position: absolute;
  top: 100%;
  background: white;
  color: #333;
  border-radius: 8px;
  z-index: 1000;
  display: none;
  min-width: 300px;
  padding: 1rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Overrides for form controls inside the passenger dropdown to fix visibility */
.passenger-dropdown .form-control,
.passenger-dropdown select.form-control {
  background: #f8fafc !important;
  color: #1a202c !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 0.5rem 0.75rem !important;
  margin-top: 5px;
}

.passenger-dropdown label {
  color: #4a5568 !important;
  margin-bottom: 2px !important;
  font-size: 0.7rem !important;
}

.passenger-controls button {
  border: 1px solid #ddd;
  background: white;
  color: #333;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

/* =========================================
   Trust Section (New)
   ========================================= */
.trust-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.trust-card {
  height: 100%;
  padding: 2rem;
  text-align: center;
}

.trust-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

/* â”€â”€ Airline Partner Carousel â”€â”€ */
.airline-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 2rem;
  width: 100%;
}
.airline-carousel-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.airline-carousel-fade--left {
  left: 0;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    transparent 100%
  );
}
.airline-carousel-fade--right {
  right: 0;
  background: linear-gradient(
    270deg,
    var(--secondary-color) 0%,
    transparent 100%
  );
}
.airline-carousel-track {
  display: flex;
  width: max-content;
  animation: carouselScroll 45s linear infinite;
}
.airline-carousel-track:hover {
  animation-play-state: paused;
}
.airline-carousel-slide {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
}
.airline-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 100px;
  padding: 10px;
  border-radius: 0;
  background: transparent;
  border: none;
  transition: all 0.3s ease;
  cursor: default;
}
.airline-logo-item:hover {
  transform: translateY(-4px);
}
.airline-logo-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.35s ease;
}

/* Airline Logo White Background Box */
.airline-logo-box {
  background: white;
  border-radius: 12px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.airline-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none !important; /* Ensure no inversion on white background */
}
.airline-logo-item:hover img {
  transform: scale(1.15);
}
.airline-logo-item span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.airline-logo-item:hover span {
  color: var(--primary-color);
}

@keyframes carouselScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .airline-carousel-slide {
    gap: 1rem;
    padding-right: 1rem;
  }
  .airline-logo-item {
    min-width: 80px;
    padding: 10px 12px;
  }
  .airline-logo-item img {
    width: 48px;
    height: 48px;
  }
  .airline-carousel-fade {
    width: 40px;
  }
}

/* =========================================
   Layout & Footer
   ========================================= */
.navbar {
  background: rgba(7, 27, 42, 0.8) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

footer {
  background: var(--surface-color);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 4rem;
}

.footer-heading {
  color: var(--text-primary) !important;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* =========================================
   Bootstrap Overrides 
   ========================================= */
.navbar-collapse.collapse {
  visibility: visible !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate-up {
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}

/* Airline Partner Section Refinements */
.partner-header {
  font-size: 1.5rem !important;
  letter-spacing: 4px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-transform: uppercase;
  margin-bottom: 0.5rem !important;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.partner-subtitle {
  font-size: 1.1rem !important;
  opacity: 0.9 !important;
  color: #dee2e6 !important;
  font-weight: 500 !important;
}
/* =========================================
   Testimonial Carousel (Social Proof)
   ========================================= */
.testimonial-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  width: 100%;
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  animation: testimonialScroll 40s linear infinite;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: 350px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.text-warning-stars {
  color: #ffcc00;
}

.badge-outline-cyan {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.badge-outline-purple {
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  font-size: 0.7rem;
  letter-spacing: 1px;
}

@keyframes testimonialScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-350px * 4 - 2rem * 4));
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 280px;
  }
  @keyframes testimonialScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-280px * 4 - 2rem * 4));
    }
  }
}

/* =========================================
   Blog Hub specific enhancements
   ========================================= */
.featured-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.featured-img-wrapper {
  transition: transform 0.5s ease;
}

.featured-card:hover .featured-img-wrapper {
  transform: scale(1.05);
}

.badge-cyan {
  background: var(--primary-color);
  color: #000;
}
.badge-purple {
  background: var(--accent-color);
  color: #fff;
}
/* =========================================
   Utility Classes & Design Tokens
   ========================================= */
.z-max {
  z-index: 9999 !important;
}
.bg-dark-80 {
  background: rgba(7, 27, 42, 0.8) !important;
}
.backdrop-blur-sm {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.rounded-24 {
  border-radius: 24px !important;
}
.max-w-400 {
  max-width: 400px !important;
}
.text-red-neon {
  color: #ff3e3e !important;
  text-shadow: 0 0 10px rgba(255, 62, 62, 0.5);
}
.text-cyan-neon {
  color: var(--primary-color) !important;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}
.border-red-30 {
  border: 1px solid rgba(255, 62, 62, 0.3) !important;
}
.shadow-red-glow {
  box-shadow: 0 0 50px rgba(255, 62, 62, 0.2) !important;
}
.font-family-mono {
  font-family: "Fira Code", "Courier New", monospace !important;
}

.fa-spin-slow {
  animation: fa-spin 5s infinite linear;
}

.btn-cyan-glow {
  background: var(--primary-color);
  color: #071b2a !important;
  border: none;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
  transition: all 0.3s ease;
}

.btn-cyan-glow:hover {
  background: #00c4cf;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
}

/* ===================================================
   SITE FOOTER — Ported from React Footer Component
   =================================================== */
.site-footer {
  background: #0B1020;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 0;
  position: relative;
  z-index: 10;
}

.footer-logo {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.footer-social-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.footer-col-heading {
  color: var(--primary-color);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-list li {
  margin-bottom: 0.75rem;
}

.footer-link-list a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.footer-link-list a:hover {
  color: #fff;
  padding-left: 4px;
  text-decoration: none;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-newsletter-group {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter-input {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 50px !important;
  padding: 0.6rem 1.25rem !important;
  color: #fff !important;
  font-size: 0.9rem;
  flex: 1;
  outline: none;
}
.footer-newsletter-input:focus {
  border-color: var(--primary-color) !important;
  box-shadow: none !important;
}

.footer-newsletter-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-color);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.footer-newsletter-btn:hover {
  background: #1d4ed8;
  transform: scale(1.08);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.75rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: rgba(255, 255, 255, 0.7); text-decoration: none; }

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ===================================================
   ANIMATION KEYFRAMES
   =================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================================
   SURFACE PANEL — Used on all interior cards
   =================================================== */
.surface-panel-refined {
  background: rgba(17, 26, 46, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 1.75rem;
}

/* Auth Card (login pages) */
.auth-card {
  background: #111A2E;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

/* Premium Button */
.btn-primary-luxury {
  background: var(--primary-color);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.85rem 1.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  cursor: pointer;
}
.btn-primary-luxury:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  color: #fff;
}

/* Gold accent for headings */
.text-gold { color: #C8A96B !important; }


/* ===================================================
   MAGALLONES AI-FIRST GLOBAL COMPONENT SYSTEM
   =================================================== */

/* Globals */
:root {
  --space-navy: #060d1f;
  --space-navy-mid: #0a192f;
  --neon-cyan: #00f2ff;
  --neon-blue: #0088ff;
  --neon-purple: #7c3aed;
  --glass-bg: rgba(10, 25, 47, 0.6);
  --glass-border: rgba(0, 242, 255, 0.2);
  --glass-border-hover: rgba(0, 242, 255, 0.5);
  --text-primary: #f0f6fc;
  --text-muted: rgba(240,246,252,0.5);
}

/* 1. CARDS: Rounded (xl), Glass, Hover Lift+Glow */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card-glass.hoverable:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 50px rgba(0, 242, 255, 0.15);
}

/* 2. BUTTONS */
.btn-glow-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
  color: #fff; border: none; border-radius: 12px;
  padding: 14px 28px; font-weight: 600; font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.5px; transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
  cursor: pointer; text-decoration: none;
}
.btn-glow-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 242, 255, 0.4);
  color: #fff; text-decoration: none;
}

.btn-outline-glass {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--neon-cyan); border: 1px solid var(--glass-border); border-radius: 12px;
  padding: 14px 28px; font-weight: 600; font-family: 'Space Grotesk', sans-serif;
  transition: all 0.3s ease; backdrop-filter: blur(10px);
  cursor: pointer; text-decoration: none;
}
.btn-outline-glass:hover {
  background: rgba(0, 242, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan); text-decoration: none;
  transform: translateY(-2px);
}

/* 3. INPUTS: Rounded, Floating Labels, Glow on focus */
.form-group-floating {
  position: relative;
  margin-bottom: 24px;
}
.form-control-glass {
  width: 100%; padding: 22px 18px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px; color: #fff; font-size: 1rem;
  transition: all 0.3s ease; outline: none; box-shadow: none;
}
.form-control-glass:focus {
  background: rgba(255,255,255,0.05);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.1);
}
.form-control-glass::placeholder { color: transparent; }
.form-label-floating {
  position: absolute; top: 16px; left: 18px;
  font-size: 0.9rem; color: var(--text-muted); pointer-events: none;
  transition: all 0.2s ease;
}
.form-control-glass:focus ~ .form-label-floating,
.form-control-glass:not(:placeholder-shown) ~ .form-label-floating {
  top: 6px; font-size: 0.7rem; color: var(--neon-cyan); font-weight: 500;
}

/* 4. AI ELEMENTS */
.ai-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0, 242, 255, 0.08); border: 1px solid rgba(0, 242, 255, 0.2);
  color: var(--neon-cyan); padding: 6px 14px; border-radius: 100px;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
}
.ai-badge i { animation: pulse 2s infinite; }

.ai-suggestion-strip {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 12px 20px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
  color: #fff; font-size: 0.9rem;
}
.ai-suggestion-strip.cyan {
  background: rgba(0, 242, 255, 0.08);
  border-color: rgba(0, 242, 255, 0.2);
}
.ai-suggestion-strip i { color: var(--neon-cyan); font-size: 1.2rem; }
.ai-suggestion-strip span { flex: 1; }

.ai-chip {
  padding: 8px 18px; border-radius: 100px;
  background: rgba(0, 242, 255, 0.05); border: 1px solid rgba(0, 242, 255, 0.2);
  color: var(--neon-cyan); font-size: 0.85rem; cursor: pointer;
  transition: all 0.2s ease;
}
.ai-chip:hover {
  background: rgba(0, 242, 255, 0.15); border-color: var(--neon-cyan);
}

/* 5. GLOABAL AIKO FAB (Floating Action Button) */
.aiko-fab {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue), var(--neon-cyan));
  background-size: 200% 200%;
  animation: gradientFlow 4s ease infinite;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 242, 255, 0.4);
  transition: all 0.3s ease; border: 2px solid rgba(255,255,255,0.2);
}
.aiko-fab:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 242, 255, 0.6);
}
@keyframes gradientFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.aiko-fab-tooltip {
  position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
  background: rgba(10, 25, 47, 0.9); border: 1px solid var(--glass-border);
  padding: 8px 16px; border-radius: 8px; color: #fff; font-size: 0.85rem;
  white-space: nowrap; pointer-events: none; opacity: 0; transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.aiko-fab:hover .aiko-fab-tooltip { opacity: 1; right: 75px; }

/* 6. LAYOUT UTILITIES */
.section-large { padding: 100px 0; }
.text-gradient-cyan {
  background: linear-gradient(135deg, #fff 0%, var(--neon-cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
