/* Base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #102030;
  background: #f5f7fb;
  line-height: 1.6;
}

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

h1, h2, h3 {
  margin-top: 0;
  color: #0c213b;
}

/* Intro overlay – moving blue background + transparent content box */
.intro-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}

/* Moving gradient background */
.intro-bg {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 0% 0%, #4da6ff 0, transparent 60%),
    radial-gradient(circle at 100% 100%, #2f7bd8 0, transparent 60%),
    linear-gradient(135deg, #050b16, #071428);
  background-size: 200% 200%;
  animation: introGradient 18s ease-in-out infinite alternate;
  opacity: 0.95;
}

@keyframes introGradient {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.intro-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 420px;
  color: #ffffff;
}

.intro-logo-video {
  width: 260px;
  max-width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.6);
  margin: 0 auto 1.5rem;
}

.intro-title {
  font-size: 1.7rem;
  margin-bottom: 0.3rem;
}

.intro-sub {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.4rem;
}

.intro-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.intro-skip-btn {
  background: transparent;
  border: none;
  color: #cfe5ff;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.25rem 0.5rem;
}

.intro-skip-btn:hover {
  color: #ffffff;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 33, 59, 0.96);
  backdrop-filter: blur(10px);
  color: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 88px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  font-size: 1rem;
}

.logo-tagline {
  font-size: 0.8rem;
  opacity: 0.8;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #cfe5ff;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* User area in header */
.user-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.user-name-pill {
  font-size: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Hero – animated gradient background (lighter blues for readability) */
.hero {
  background:
    radial-gradient(circle at 0% 0%, rgba(102, 181, 255, 0.75) 0, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(80, 160, 255, 0.7) 0, transparent 55%),
    linear-gradient(145deg, #091a33, #14335a);
  background-size: 200% 200%;
  animation: heroGradient 20s ease-in-out infinite alternate;
  color: #ffffff;
  padding: 3.5rem 0 3rem;
}

@keyframes heroGradient {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.hero-text p {
  max-width: 32rem;
  opacity: 0.92;
  font-size: 0.98rem;
}

/* hero-cta kept in case it’s reused */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

/* Script-style signoff line – Pacifico, at 1.6rem */
.hero .hero-signoff {
  margin-top: 1rem;
  font-size: 1.6rem;
  font-family: "Pacifico", cursive;
  font-weight: 400;
  line-height: 1.1;
  opacity: 0.98;
}

/* Hero side card – stronger glow & dark border */
.hero-card {
  position: relative;
  background: linear-gradient(145deg, #102742, #1d3a5c);
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.55),
    0 0 50px rgba(76, 217, 100, 0.85);
  border: 1px solid rgba(4, 10, 22, 0.95);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 0% 0%, rgba(106, 238, 173, 0.35) 0, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(77, 166, 255, 0.28) 0, transparent 55%);
  opacity: 0.9;
  z-index: 0;
  filter: blur(6px);
}

.hero-card-title {
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
  color: #4cd964;
}

.hero-card-sub {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  opacity: 0.95;
  margin-bottom: 1.1rem;
}

.hero-card-list {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  opacity: 0.95;
}

.hero-card .btn {
  position: relative;
  z-index: 1;
}

/* Sections */
.section {
  padding: 3rem 0;
  background: transparent;
}

.section-alt {
  background: #e7edf8;
}

.section h2 {
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-intro {
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: #354760;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 10px 22px rgba(15, 35, 64, 0.08);
  border: 1px solid #d3dff0;
}

/* Airports */
.airports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.airport-item {
  background: #f6f8fd;
  border-radius: 0.9rem;
  padding: 1.2rem 1.4rem;
  border: 1px dashed #c3d2ea;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.step {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.4rem 1.4rem 1.5rem;
  position: relative;
  box-shadow: 0 10px 22px rgba(15, 35, 64, 0.08);
  border: 1px solid #d1ddf2;
}

.step-number {
  position: absolute;
  top: -0.8rem;
  left: 1.2rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #4da6ff, #9ad1ff);
  color: #0b1724;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

/* Quote modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 10, 20, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9998;
  padding: 1rem;
}

.modal.open {
  display: flex;
}

.modal-dialog {
  width: 100%;
  max-width: 1040px;
  max-height: 90vh;
  overflow: auto;
  background: #e7edf8;
  border-radius: 1.5rem;
  padding: 1.5rem 1.75rem 2rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.modal-title {
  font-size: 1.5rem;
  margin: 0;
}

.modal-close {
  background: transparent;
  border: none;
  color: #102030;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.modal-intro {
  font-size: 0.9rem;
  color: #384a64;
  margin: 0 0 0.75rem;
}

/* Quote form */
.quote-form {
  max-width: 720px;
  margin: 0;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 14px 32px rgba(15, 35, 64, 0.12);
  border: 1px solid #cbd9f0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.25rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #283852;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

input,
textarea,
select {
  border-radius: 0.6rem;
  border: 1px solid #c6d5ec;
  padding: 0.55rem 0.7rem;
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  background: #f9fbff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #4da6ff;
  box-shadow: 0 0 0 1px rgba(77, 166, 255, 0.4);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

.full-width {
  display: block;
  margin-bottom: 1rem;
}

.form-helper {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #4b5c78;
}

/* Signed-in text in quote section */
.user-greeting {
  text-align: left;
  font-size: 0.85rem;
  color: #283852;
  margin: 0 0 1rem;
}

/* Layout for instant quote: form + right column */
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
  gap: 1.75rem;
  align-items: flex-start;
  margin-top: 0.5rem;
}

/* Right column containing cards */
.quote-side-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Result card on the right */
.quote-result-card {
  background: #0f2138;
  color: #e7f0ff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-result-card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.quote-summary {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0 0 0.75rem;
}

/* Estimated price text */
.price-estimate {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #ffffff;
}

.quote-disclaimer {
  font-size: 0.78rem;
  opacity: 0.85;
  margin-bottom: 1rem;
}

/* Price match card – animated background */
.price-match-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 35, 64, 0.18);
  border: 1px solid #cbd9f0;
  background: #050b16;
}

.price-match-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(107, 214, 255, 0.25) 0, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(255, 203, 134, 0.28) 0, transparent 55%),
    linear-gradient(135deg, #050b16, #071428);
  background-size: 200% 200%;
  animation: priceMatchGlow 16s ease-in-out infinite alternate;
  opacity: 1;
  z-index: 0;
}

@keyframes priceMatchGlow {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.price-match-inner {
  position: relative;
  z-index: 1;
  padding: 1.4rem 1.5rem 1.7rem;
  color: #e7f0ff;
}

.price-match-inner h3 {
  margin-top: 0.1rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.price-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fdfdfd;
}

.price-match-badge::before {
  content: "★";
  font-size: 0.8rem;
}

.price-match-text {
  font-size: 0.9rem;
  margin: 0.6rem 0 0.5rem;
  color: #d8e6ff;
}

.price-match-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  color: #d0e0ff;
}

.price-match-list li::before {
  content: "•";
  margin-right: 0.35rem;
}

.price-match-note {
  font-size: 0.78rem;
  color: #c7d7ff;
  margin-bottom: 0.8rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  border: none;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, #4da6ff, #2f7bd8);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.secondary {
  background: linear-gradient(135deg, #ffb347, #ff7a3c);
  color: #1b1305;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.btn.secondary:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn.block {
  width: 100%;
}

/* Step-style buttons */
.btn-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-step-circle {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.btn-step-circle.alt {
  background: rgba(0, 0, 0, 0.35);
}

/* Small buttons (header) */
.btn.small {
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
}

/* Footer */
.site-footer {
  background: #07111d;
  color: #d0d7e5;
  padding: 1.75rem 0;
  margin-top: 2rem;
}

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

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Responsive */
@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .user-area {
    margin-top: 0.25rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-card {
    order: -1;
  }

  .modal-dialog {
    max-height: 100vh;
    border-radius: 0.75rem;
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }
}