/* === BASE === */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

::selection {
  background: #7edbb5;
  color: #0B1D3A;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0B1D3A;
  color: #ffffff;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #0B1D3A;
  cursor: pointer;
}

.btn-primary:hover {
  background: #152a4a;
  border-color: #152a4a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 29, 58, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #0B1D3A;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #d0dae6;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: #0B1D3A;
  transform: translateY(-2px);
}

/* === INPUTS === */
.input-field {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid #d0dae6;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #0B1D3A;
  background: #ffffff;
  transition: all 0.2s ease;
  outline: none;
}

.input-field::placeholder {
  color: #a3b5cc;
}

.input-field:hover {
  border-color: #7edbb5;
}

.input-field:focus {
  border-color: #2db37a;
  box-shadow: 0 0 0 3px rgba(45, 179, 122, 0.15);
}

select.input-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B1D3A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* === NAV === */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2db37a;
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* === HEADER SCROLLED === */
header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-blur: 12px;
  box-shadow: 0 1px 20px rgba(11, 29, 58, 0.08);
}

/* === FLOATING CARD === */
.floating-card {
  animation: float 4s ease-in-out infinite;
}

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

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* === MOBILE MENU === */
.mobile-menu-open {
  overflow: hidden;
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .floating-card { animation: none; }
  .rounded-2xl img, .rounded-3xl img { transition: none; }
}
