
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #092b50;
  --blue: #1478e8;
  --cyan: #62d9f4;
  --ink: #14263d;
  --muted: #728197;
  --white: #fff;
  --line: #e5ebf3;
  --surface: #f5f8fc;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(8, 35, 67, .12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 78px;
  padding: 0 5.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(225,233,243,.8);
  backdrop-filter: blur(18px);
}

.logo {
  flex-shrink: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--navy);
}

.logo span { color: var(--blue); }
.logo small {
  color: #718197;
  font-size: 15px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.7vw, 26px);
}

.nav-links > a {
  font-size: 13px;
  font-weight: 700;
  color: #536276;
  white-space: nowrap;
  transition: color .2s ease;
}

.nav-links > a:hover,
.nav-links > a.active { color: var(--blue); }

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 5px;
}

.login-link {
  background: var(--blue);
  color: white !important;
  border-radius: 10px;
  padding: 12px 17px;
  box-shadow: 0 5px 15px #1478e82b;
  
}

.login-btn:hover {
  background-color: #0966cd;
}

.signup-btn {
  background: var(--blue);
  color: white !important;
  border-radius: 10px;
  padding: 12px 17px;
  box-shadow: 0 5px 15px #1478e82b;
}

.signup-btn:hover { background: #0966cd; }

.menu-toggle {
  display: none;
  background: #eef5ff;
  border: 0;
  border-radius: 10px;
  padding: 10px 13px;
  color: var(--navy);
  font-size: 23px;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 68px 5.2% 55px;
  min-height: 675px;
  background:
    linear-gradient(100deg, rgba(5,29,57,.88), rgba(8,43,77,.67) 48%, rgba(7,36,66,.28)),
    url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=2000&q=90')
    center 45% / cover no-repeat;
  color: white;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 82% 15%, #5bd7ff2b, transparent 40%);
  animation: glowMove 9s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  max-width: 1180px;
  margin: auto;
  animation: fadeUp .8s ease both;
}

.eyebrow, .section-label, .booking-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.eyebrow {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #ffffff47;
  background: #ffffff13;
  border-radius: 30px;
  color: #d9f7ff;
  backdrop-filter: blur(12px);
}

.hero h1 {
  margin: 20px 0 12px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(38px, 5.3vw, 65px);
  line-height: 1.08;
  letter-spacing: -2.7px;
  font-weight: 800;
}

.hero h1 span {
  color: #6de1fa;
}

.hero-content > p {
  margin: 0;
  max-width: 500px;
  color: #e0e9f3;
  font-size: 15px;
  line-height: 1.8;
}

.booking-card {
  margin-top: 33px;
  padding: 27px;
  border: 1px solid #ffffff85;
  border-radius: 20px;
  background: rgba(255,255,255,.97);
  color: var(--ink);
  box-shadow: 0 30px 80px #031b3b55;
  backdrop-filter: blur(18px);
  animation: fadeUp .85s .15s ease both;
}

.booking-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.booking-kicker { color: var(--blue); }
.booking-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -.6px;
}

.flight-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: #eaf4ff;
  color: var(--blue);
  font-size: 24px;
  transform: rotate(-10deg);
}

.trip-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}

.trip-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5b6a7e;
  font-size: 12px;
  font-weight: 700;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1abf87;
  box-shadow: 0 0 0 4px #1abf871d;
}

.round-trip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #34445b;
  font-size: 13px;
  font-weight: 700;
}

.round-trip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.custom-check {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1.5px solid #b8c6d8;
  border-radius: 5px;
  transition: .2s;
}

.round-trip input:checked + .custom-check {
  background: var(--blue);
  border-color: var(--blue);
}

.round-trip input:checked + .custom-check::after {
  content: "✓";
  color: white;
  font-size: 13px;
}

.round-trip input:focus-visible + .custom-check {
  outline: 3px solid #1478e84d;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  position: relative;
}

.field {
  display: block;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #dfe7f1;
  border-radius: 11px;
  background: white;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.field:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #1478e814;
}

.field > span {
  display: block;
  color: #7a8ba0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.field-inner {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  min-width: 0;
}

.field-icon {
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.field input, .field select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #1b2c43;
  font-size: 13px;
  font-weight: 600;
}

.field input::placeholder { color: #9ca9b9; font-weight: 400; }
.field input[type="date"] { font-size: 12px; }
.field select { cursor: pointer; }
.field-suffix {
  color: #8291a4;
  font-size: 10px;
  white-space: nowrap;
}

.swap-btn {
  position: absolute;
  z-index: 2;
  left: calc(33.333% - 15px);
  top: 29px;
  width: 30px;
  height: 30px;
  border: 1px solid #d9e8fa;
  border-radius: 50%;
  background: white;
  color: var(--blue);
  font-size: 20px;
  box-shadow: 0 3px 10px #15385b12;
  transition: transform .25s, background .2s;
}

.swap-btn:hover {
  transform: rotate(180deg);
  background: #eaf4ff;
}

[hidden] { display: none !important; }

.form-message {
  min-height: 0;
  margin: 0;
  color: #d23d50;
  font-size: 12px;
  line-height: 1.6;
}

.form-message:not(:empty) { margin-top: 12px; }

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 17px;
  padding: 16px 20px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(100deg, #1175e7, #2195fa);
  color: white;
  font-weight: 800;
  box-shadow: 0 8px 20px #1478e82e;
  transition: transform .2s, box-shadow .2s;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px #1478e844;
}

.search-arrow { font-size: 20px; }
.demo-note {
  margin: 12px 0 0;
  text-align: center;
  color: #8290a3;
  font-size: 11px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  color: #e7f0f8;
  font-size: 12px;
  font-weight: 600;
}

.section-wrap {
  width: min(1180px, 89.6%);
  margin: auto;
}

.destinations { padding-top: 78px; padding-bottom: 85px; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-label { color: var(--blue); }
.section-heading h2 {
  margin: 9px 0 7px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -1.3px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.text-link {
  flex-shrink: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.text-link span { margin-left: 5px; }

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.destination-card {
  position: relative;
  display: block;
  min-width: 0;
  height: 280px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #dbe6f1;
  text-align: left;
  isolation: isolate;
  box-shadow: 0 8px 24px #0c274212;
}

.destination-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}

.destination-card:hover img { transform: scale(1.09); }

.destination-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 25%, #06172d1c 45%, #06172deb 100%);
}

.destination-info {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 15px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: white;
}

.destination-info small {
  color: #c9eaff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.destination-info strong {
  font-family: 'Manrope', sans-serif;
  font-size: 21px;
  letter-spacing: -.5px;
}

.destination-info > span {
  font-size: 12px;
  color: #e2eaf5;
  transition: color .2s;
}

.destination-card:hover .destination-info > span { color: #8de6ff; }

.popular-section {
  padding: 72px 0 80px;
  background: #f5f8fc;
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
}

.popular-inner .section-heading { margin-bottom: 35px; }

.popular-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.popular-group {
  padding: 26px;
  border: 1px solid #e5ebf4;
  border-radius: 17px;
  background: white;
  box-shadow: 0 8px 25px #102d4a05;
}

.popular-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 17px;
}

.popular-group h3 span { font-size: 22px; }

.city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-links button {
  padding: 10px 13px;
  border: 1px solid #e4ebf4;
  border-radius: 9px;
  background: #f9fbfe;
  color: #52637a;
  font-size: 12px;
  font-weight: 600;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.city-links button:hover {
  color: var(--blue);
  border-color: #a8d2ff;
  background: #eef7ff;
  transform: translateY(-2px);
}

.closing-banner {
  position: relative;
  overflow: hidden;
  padding: 76px 5%;
  background:
    linear-gradient(100deg, rgba(5,31,61,.93), rgba(10,66,110,.76)),
    url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1800&q=85')
    center 50% / cover no-repeat;
  color: white;
}

.closing-content {
  max-width: 1180px;
  margin: auto;
}

.closing-content .section-label { color: #80e6ff; }

.closing-content h2 {
  margin: 16px 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.18;
  letter-spacing: -1.8px;
}

.closing-content p {
  margin: 0 0 25px;
  color: #dce9f6;
  font-size: 14px;
  line-height: 1.8;
}

.closing-btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 14px 20px;
  border-radius: 10px;
  background: white;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s;
}

.closing-btn:hover { transform: translateY(-3px); }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 27px 5.2%;
  background: #061d37;
  color: #dbe7f3;
}

.footer-logo { color: white; font-size: 22px; }
.footer-logo small { color: #b5c4d5; }
.footer p { margin: 0; color: #9fb1c6; font-size: 12px; }
.copyright { color: #9fb1c6; font-size: 11px; }

.toast {
  position: fixed;
  z-index: 300;
  right: 22px;
  bottom: 22px;
  max-width: min(380px, calc(100% - 44px));
  padding: 15px 20px;
  border-radius: 12px;
  background: #0a294a;
  color: white;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}

.toast.show { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glowMove {
  from { opacity: .5; transform: translateX(-2%); }
  to { opacity: 1; transform: translateX(2%); }
}

@media (min-width: 1450px) {
  .hero { padding-top: 80px; }
  .booking-card { padding: 32px; }
}

@media (max-width: 1100px) {
  .navbar { padding: 0 4%; gap: 18px; }
  .nav-links { gap: 13px; }
  .nav-links > a { font-size: 12px; }
  .logo { font-size: 22px; }
  .auth-buttons { gap: 9px; }
  .signup-btn { padding: 11px 13px; }
}

@media (max-width: 900px) {
  .navbar { min-height: 72px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 20px 5%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 25px #0a294a12;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 14px 0; font-size: 14px; }
  .auth-buttons { margin: 12px 0 0; padding-top: 15px; border-top: 1px solid var(--line); }
  .hero { padding: 53px 5% 43px; }
  .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swap-btn { left: auto; right: calc(50% - 15px); top: 29px; }
  .destination-grid { gap: 15px; }
  .destination-card { height: 240px; }
  .popular-columns { gap: 15px; }
  .popular-group { padding: 20px; }
  .footer { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
  .navbar { padding: 0 5%; }
  .hero { padding: 40px 4.5% 35px; }
  .hero h1 { font-size: 43px; letter-spacing: -1.8px; }
  .hero-content > p { font-size: 14px; }
  .booking-card { padding: 19px 15px; margin-top: 26px; border-radius: 16px; }
  .booking-heading h2 { font-size: 19px; }
  .search-grid { grid-template-columns: 1fr; gap: 11px; }
  .swap-btn {
    top: 69px;
    right: 14px;
    left: auto;
    transform: rotate(90deg);
  }
  .swap-btn:hover { transform: rotate(270deg); }
  .field { padding: 12px; }
  .field input, .field select { font-size: 14px; }
  .field input[type="date"] { font-size: 13px; }
  .trust-row { gap: 12px 17px; font-size: 11px; }
  .section-wrap { width: 91%; }
  .destinations { padding-top: 55px; padding-bottom: 58px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .section-heading h2 { font-size: 29px; }
  .destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .destination-card { height: 215px; border-radius: 13px; }
  .destination-info { left: 12px; right: 8px; bottom: 13px; gap: 6px; }
  .destination-info small { font-size: 8px; letter-spacing: 1px; }
  .destination-info strong { font-size: 16px; }
  .destination-info > span { font-size: 10px; }
  .popular-section { padding: 53px 0; }
  .popular-columns { grid-template-columns: 1fr; gap: 15px; }
  .popular-group { padding: 20px 16px; }
  .city-links { gap: 8px; }
  .city-links button { padding: 9px 10px; }
  .closing-banner { padding: 55px 5%; }
  .closing-content h2 { font-size: 34px; }
  .footer { padding: 26px 5%; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
