/* Base Font & Smooth Canvas */
body {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  background-color: #031726;
  overflow-x: hidden;
  direction: ltr;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -999px;
  left: 1.5rem;
  background: #0284c7;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  z-index: 99999;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.5);
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus-visible {
  top: 1.5rem;
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}

/* Accessible Focus Outline */
:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 3px;
}

/* Glassmorphism & High-End Visual Effects */
.glass-dark {
  background: rgba(12, 74, 110, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-hover {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.glass-card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 20px 30px -10px rgba(2, 132, 199, 0.25);
}

/* Form Validation Inline Classes */
.inline-name-error,
.inline-tel-error,
.inline-email-error {
  color: #ef4444;
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
  display: none;
}

/* Form Card & Success Overlay Swap */
.form-wrapper {
  position: relative;
  min-height: 520px;
}

.form-success-overlay {
  position: absolute;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  border-radius: 1.25rem;
  z-index: 30;
  direction: ltr !important;
}

/* Dynamic Mobile Viewport & Cookie Banner Offset Rule */
@media (max-width: 768px) {
  body:has(#cookie-banner:not(.hidden)) {
    padding-bottom: 125px;
  }
}

/* Interactive Trade Hub Pulse Canvas */
.hub-ping {
  animation: hubPing 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes hubPing {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Custom Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
