/* ZipAndTrip — Modern Tech-Travel style */
:root {
  --bg0: #050a19;
  --bg1: #070f2a;
  --card: rgba(255, 255, 255, .08);
  --card2: rgba(255, 255, 255, .12);
  --stroke: rgba(255, 255, 255, .16);
  --text: #eaf2ff;
  --muted: #b8c7ea;
  --brand: #3b82f6;
  --brand2: #22d3ee;
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #fb7185;
  --primary-neon: #00f2ff;
  --secondary-neon: #ff00e5;
  --shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  color: var(--text);
  background-color: var(--bg0);
  background-image:
    radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.3) 0px, transparent 50%),
    radial-gradient(at 98% 1%, rgba(34, 211, 238, 0.3) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(168, 85, 247, 0.3) 0px, transparent 50%);
  background-size: 150% 150%;
  animation: aurora 15s ease infinite alternate;
  min-height: 100vh;
}

@keyframes aurora {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Pulsing CTA */
.btn-neon {
  background: linear-gradient(135deg, #00f2ff, #0066ff);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
  animation: pulse-neon 2s infinite;
}

@keyframes pulse-neon {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 242, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 242, 255, 0);
  }
}

a {
  color: inherit
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px
}

.glass {
  background: var(--card);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.glass-soft {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hidden {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(180deg, rgba(59, 130, 246, .95), rgba(37, 99, 235, .95));
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 45px rgba(37, 99, 235, .22);
  transition: transform .15s ease, filter .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn.secondary {
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .25);
  font-size: 12px;
  color: #dbeafe;
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.skip:focus {
  left: 18px;
  top: 18px;
  width: auto;
  height: auto;
  z-index: 9999;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px
}

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 10, 25, .65);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none
}

.brand .mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 1), rgba(34, 211, 238, .9));
  display: grid;
  place-items: center;
  box-shadow: 0 14px 35px rgba(59, 130, 246, .18);
}

.brand .name {
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase
}

.brand .name span {
  color: var(--brand2)
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.nav-links a {
  text-decoration: none;
  color: rgba(234, 242, 255, .86);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .10);
}

.hero {
  padding: 54px 0 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr
  }
}

.h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.03;
  margin: 10px 0 10px;
  letter-spacing: -.04em
}

.sub {
  color: rgba(234, 242, 255, .82);
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 18px
}

.hero-card {
  border-radius: 22px;
  padding: 18px;
}

.hero-card .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px
}

@media (max-width:720px) {
  .stats {
    grid-template-columns: 1fr
  }
}

.stat {
  border-radius: 18px;
  padding: 14px
}

.stat b {
  display: block;
  font-size: 18px
}

.stat span {
  color: var(--muted);
  font-size: 13px
}

.section {
  padding: 44px 0
}

.h2 {
  font-size: 28px;
  letter-spacing: -.03em;
  margin: 0 0 10px
}

.p {
  color: rgba(234, 242, 255, .80);
  margin: 0;
  line-height: 1.65
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.grid3.budget-routes {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {
  .grid3 {
    grid-template-columns: 1fr
  }

  .grid3.budget-routes {
    grid-template-columns: 1fr;
  }
}

.card {
  border-radius: 22px;
  padding: 18px
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px
}

.card p {
  margin: 0;
  color: rgba(234, 242, 255, .78);
  line-height: 1.6
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 14px
}

.tab-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.tab-btn {
  background: var(--card);
  border: 1px solid var(--stroke);
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  appearance: none;
}

.tab-btn:hover {
  background: var(--card2);
  border-color: rgba(255, 255, 255, .3);
}

.tab-btn.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  box-shadow: 0 8px 25px rgba(59, 130, 246, .3);
}

.tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: rgba(234, 242, 255, .86);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(59, 130, 246, .95), rgba(37, 99, 235, .95));
  border-color: rgba(59, 130, 246, .55);
}

.panel {
  border-radius: 20px;
  padding: 14px
}

.widget-placeholder {
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, .22);
  padding: 18px;
  background: rgba(0, 0, 0, .18);
  color: rgba(234, 242, 255, .78);
}

.footer {
  padding: 34px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(234, 242, 255, .72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr
  }
}

.footer a {
  text-decoration: none;
  color: rgba(234, 242, 255, .78)
}

.footer a:hover {
  text-decoration: underline
}

.small {
  font-size: 12px;
  color: rgba(234, 242, 255, .62);
  line-height: 1.6
}

.hr {
  height: 1px;
  background: rgba(255, 255, 255, .08);
  margin: 18px 0
}

.notice {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  padding: 12px 14px;
  color: rgba(234, 242, 255, .78);
  font-size: 13px;
  line-height: 1.55;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 9999;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 20px;
  transform: translateY(150%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

/* --- Partner / Trust Section --- */
.partner-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  opacity: 0.5;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.partner-flex:hover {
  opacity: 0.9;
}

/* --- Responsiveness Fixes --- */
@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 30px;
  }

  .tab-container {
    justify-content: center;
  }

  .hero-card {
    padding: 15px;
  }

  .h1 {
    font-size: 32px;
  }

  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    border-radius: 20px 20px 0 0;
    text-align: center;
    padding: 20px;
  }
}

/* --- Sticky CTA Mobile --- */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: none;
  /* Desktop hidden */
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }
}

/* --- Newsletter Modal --- */
.newsletter-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -150%);
  z-index: 10000;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  border-radius: 24px;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.newsletter-modal.show {
  transform: translate(-50%, -50%);
}

.newsletter-modal h2 {
  margin-bottom: 15px;
}

.newsletter-modal p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

/* --- Auto Suggestion Modal --- */
.suggestion-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11000;
  background: rgba(5, 10, 25, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.suggestion-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.suggestion-content {
  background: #111827;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  width: 90%;
  max-width: 480px;
  padding: 30px;
  position: relative;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.suggestion-modal.visible .suggestion-content {
  transform: translateY(0);
}

.suggestion-content h2 {
  font-size: 24px;
  margin: 10px 0;
  color: white;
}

.suggestion-content p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
}

.badge-row {
  margin-bottom: 15px;
}

.deal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.deal-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.deal-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.deal-item .icon {
  font-size: 24px;
  background: rgba(0, 0, 0, 0.2);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.deal-item .details {
  flex: 1;
}

.deal-item .details strong {
  display: block;
  font-size: 15px;
  color: #fff;
}

.deal-item .details small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.deal-item .price {
  font-weight: 800;
  color: var(--good);
  font-size: 15px;
}

.action-row {
  display: flex;
  gap: 10px;
}

.action-row .btn {
  flex: 1;
  font-size: 15px;
}