@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy-blue: #0A192F;
  --navy-blue-light: #112240;
  --electric-orange: #FF6B00;
  --electric-orange-hover: #E66000;
  --text-light: #E6F1FF;
  --text-muted: #8892B0;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--navy-blue);
  color: var(--text-light);
  overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass {
  background: rgba(17, 34, 64, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px 0 rgba(2, 12, 27, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.glass-card {
  background: rgba(17, 34, 64, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-card:hover {
  transform: translateY(-6px);
  background: rgba(17, 34, 64, 0.8);
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 20px 40px -15px rgba(2, 12, 27, 0.85), 0 0 20px 0 rgba(255, 107, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* 3D Background Container */
.spline-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  opacity: 0.8;
}

.spline-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, var(--navy-blue) 100%);
  pointer-events: none;
}

/* Form Elements */
.input-field {
  width: 100%;
  background: rgba(10, 25, 47, 0.5);
  border: 1px solid rgba(136, 146, 176, 0.2);
  color: var(--text-light);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  outline: none;
  transition: all 0.3s ease;
}

.input-field:focus {
  border-color: var(--electric-orange);
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2);
}

.btn-primary {
  position: relative;
  background: linear-gradient(135deg, var(--electric-orange) 0%, #FF8C00 100%);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3), 0 0 0 1px rgba(255, 107, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: none;
}

.btn-primary:hover::after {
  left: 100%;
  transition: all 0.8s ease-in-out;
}

.btn-primary:hover {
  transform: translateY(-2.5px) scale(1.025);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.45), 0 0 15px rgba(255, 107, 0, 0.2);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0.5px) scale(0.98);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.2);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Accordion */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-toggle:checked ~ .accordion-content {
  max-height: 500px;
}

.accordion-toggle:checked ~ .accordion-label .icon-plus {
  transform: rotate(45deg);
}

/* Hide scrollbar for clean UI */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy-blue);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-blue-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Premium Orange Glass Card for Key Benefits Grid */
.orange-pop-card {
  background: rgba(255, 107, 0, 0.15); /* More vibrant, richer orange glass tint */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(255, 107, 0, 0.4); /* Thicker 2px bright glowing orange border */
  box-shadow: 0 12px 35px -12px rgba(2, 12, 27, 0.8), 0 0 20px 0 rgba(255, 107, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.orange-pop-card h3 {
  color: #FFFFFF !important; /* Pure white title text */
}

.orange-pop-card p {
  color: #E2E8F0 !important; /* Lighter slate-white description text for extreme legibility */
}

.orange-pop-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 107, 0, 0.22); /* Intense glowing orange glass on hover */
  border-color: rgba(255, 107, 0, 0.75);
  box-shadow: 0 24px 48px -18px rgba(2, 12, 27, 0.9), 0 0 30px 0 rgba(255, 107, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

/* ── Defensive Color Utilities (Tailwind Fallbacks) ── */
.bg-navy { background-color: #0A192F !important; }
.bg-navy-light { background-color: #112240 !important; }
.text-orange { color: #FF6B00 !important; }
.border-orange { border-color: #FF6B00 !important; }
.bg-orange { background-color: #FF6B00 !important; }
.hover\:bg-orange\/80:hover { background-color: #E66000 !important; }
.hover\:bg-orange-hover:hover { background-color: #E66000 !important; }
.hover\:text-orange:hover { color: #FF6B00 !important; }
.border-orange\/20 { border-color: rgba(255, 107, 0, 0.2) !important; }
.border-orange\/30 { border-color: rgba(255, 107, 0, 0.3) !important; }
.border-orange\/15 { border-color: rgba(255, 107, 0, 0.15) !important; }
.border-orange\/40 { border-color: rgba(255, 107, 0, 0.4) !important; }
.bg-orange\/10 { background-color: rgba(255, 107, 0, 0.1) !important; }
.bg-orange\/15 { background-color: rgba(255, 107, 0, 0.15) !important; }
.bg-orange\/20 { background-color: rgba(255, 107, 0, 0.2) !important; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05) !important; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1) !important; }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2) !important; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05) !important; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.bg-navy-light\/60 { background-color: rgba(17, 34, 64, 0.6) !important; }
.bg-navy-light\/80 { background-color: rgba(17, 34, 64, 0.8) !important; }
.bg-navy\/80 { background-color: rgba(10, 25, 47, 0.8) !important; }
.text-navy { color: #0A192F !important; }
.text-navy-light { color: #112240 !important; }

/* ── Safe Area Margin Fallbacks ── */
.pb-safe {
  padding-bottom: env(safe-area-inset-bottom) !important;
}

/* ── Defensive Layout Rules (Pre-load fallback images/containers size) ── */
nav#navbar img {
  height: 36px !important;
  width: auto !important;
  object-fit: contain !important;
}
nav#navbar .max-w-7xl > div:first-child {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}
@media (max-width: 768px) {
  nav#navbar .max-w-7xl > div:first-child {
    flex-wrap: nowrap !important;
  }
}

/* ── Global Inputs, Selects & Textareas Override ── */
input, select, textarea {
  background-color: #112240 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
input:focus, select:focus, textarea:focus {
  border-color: #FF6B00 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2) !important;
}
option {
  background-color: #112240 !important;
  color: #FFFFFF !important;
}

