:root {
  --bg: #07111f;
  --bg-soft: #0f2235;
  --panel: rgba(15, 29, 44, 0.72);
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #eef5ff;
  --muted: #c2d5ea;
  --accent: #79d7c7;
  --accent-strong: #f4b567;
  --shadow: 0 24px 70px rgba(3, 9, 17, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(121, 215, 199, 0.18), transparent 26%),
    radial-gradient(circle at 80% 12%, rgba(244, 181, 103, 0.16), transparent 24%),
    linear-gradient(140deg, #06101b 0%, #102740 48%, #06111f 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 90px 90px;
  pointer-events: none;
  opacity: 0.2;
}

.page-shell {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 60px;
}

.aurora {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.aurora-one {
  width: 340px;
  height: 340px;
  top: 60px;
  left: -80px;
  background: rgba(121, 215, 199, 0.22);
}

.aurora-two {
  width: 320px;
  height: 320px;
  right: -60px;
  top: 180px;
  background: rgba(244, 181, 103, 0.2);
}

.topbar,
.hero,
.section-grid,
.membership-section,
.login-layout,
.destination-panel {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-block h1,
.hero h2,
.section-heading h3,
.destination-panel h3,
.membership-copy h3,
.login-intro h1,
.login-card h2,
.passport-card h3,
.compass-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.01em;
  margin: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(121, 215, 199, 0.92), rgba(244, 181, 103, 0.92));
  color: #08131d;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  color: var(--accent);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topnav a,
.back-link,
.signup-copy a {
  color: var(--text);
  text-decoration: none;
}

.nav-button,
.ghost-button,
.primary-button,
.social-button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-button,
.ghost-button,
.social-button {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #08131d;
  text-decoration: none;
}

.nav-button:hover,
.ghost-button:hover,
.primary-button:hover,
.social-button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 52px;
}

.hero h2 {
  font-size: clamp(3.1rem, 5vw, 5.4rem);
  line-height: 0.94;
  max-width: 12ch;
}

.lead {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.03rem;
}

.hero-actions,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.stats-row,
.story-grid,
.mini-feature-grid {
  display: grid;
  gap: 16px;
}

.stats-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.glass-panel,
.stat-card {
  background: var(--panel);
  backdrop-filter: blur(16px);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.stat-card,
.passport-card,
.compass-card,
.story-card,
.destination-panel,
.mini-feature,
.login-card {
  border-radius: 28px;
}

.stat-card {
  padding: 18px;
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.7rem;
}

.hero-visual {
  display: grid;
  gap: 20px;
}

.passport-card,
.compass-card,
.story-card,
.mini-feature,
.login-card {
  padding: 24px;
}

.passport-card {
  min-height: 320px;
  background:
    linear-gradient(160deg, rgba(11, 32, 51, 0.88), rgba(10, 22, 36, 0.74)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1200&q=80")
      center/cover;
}

.passport-label,
.story-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-size: 0.85rem;
}

.route-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--accent-strong);
}

.route-line div {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(121, 215, 199, 0.1), rgba(244, 181, 103, 0.9));
}

.section-grid {
  margin-bottom: 42px;
}

.section-heading {
  margin-bottom: 18px;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card h4,
.destination-item strong {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.story-card p,
.destination-item span,
.mini-feature span,
.signup-copy {
  color: var(--muted);
  line-height: 1.65;
}

.destination-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  padding: 28px;
  margin-bottom: 42px;
}

.destination-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.destination-item {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.membership-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 12px;
}

.composer-section {
  padding: 28px;
}

.composer-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.composer-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.composer-form label:last-of-type {
  grid-column: 1 / -1;
}

.composer-form input,
.composer-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
}

.composer-form button {
  grid-column: 1 / -1;
}

.composer-note,
.composer-response {
  color: var(--muted);
}

.composer-response {
  min-height: 24px;
  margin: 12px 0 0;
}

.placeholder-card {
  min-height: 180px;
}

.login-body .page-shell {
  padding-top: 44px;
}

.login-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 120px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
}

.mini-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.login-form {
  display: grid;
  gap: 16px;
}

.auth-toggle {
  display: inline-flex;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-tab {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-tab-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #08131d;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.login-form input {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
}

.wide-button {
  width: 100%;
  margin-top: 6px;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  color: var(--muted);
}

.hidden-field {
  display: none !important;
}

.login-divider span {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .topbar,
  .membership-section,
  .login-layout,
  .hero,
  .destination-panel {
    grid-template-columns: 1fr;
    display: grid;
  }

  .topnav {
    flex-wrap: wrap;
  }

  .stats-row,
  .story-grid,
  .destination-list,
  .mini-feature-grid,
  .composer-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 28px, 1200px);
  }

  .hero h2,
  .login-intro h1 {
    max-width: none;
  }

  .topbar {
    gap: 18px;
  }
}
