/* css/landing.css: the Abuja Tour landing page (index.html) */
:root {
  --bg: #06120d;
  --bg-2: #0b1a14;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f3ee;
  --text-2: rgba(244, 243, 238, 0.72);
  --text-3: rgba(244, 243, 238, 0.5);
  --green: #008751;
  --green-hi: #00a865;
  --gold: #e7b65a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease;
}

.btn-explore {
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 30px -10px rgba(0, 168, 101, 0.7);
}

.btn-explore:hover {
  background: var(--green-hi);
  transform: translateY(-1px);
}

.btn-explore:active {
  transform: scale(0.97);
}

.btn-explore .i {
  transition: transform 0.25s var(--ease);
}

.btn-explore:hover .i {
  transform: translateX(3px);
}

.btn-small {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-big {
  height: 58px;
  padding: 0 30px;
  font-size: 17px;
}

/* Top bar */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
  padding: 0 var(--gutter);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.topbar.solid {
  background: rgba(6, 18, 13, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.logo-mark {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  transition: transform 0.3s var(--ease);
}

.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.06);
}

.logo-text span {
  font-weight: 500;
  color: #f4bf4f;
}

.cta-mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  border-radius: 24px;
  box-shadow: 0 24px 50px -18px rgba(0, 168, 101, 0.7);
}

.chip.chip-locate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  background: rgba(26, 115, 232, 0.35);
}

.chip-locate .i {
  width: 15px;
  height: 15px;
}

.logo-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--green);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.toplinks {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.toplinks a {
  font-size: 14.5px;
  color: var(--text-2);
  text-decoration: none;
}

.toplinks a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px var(--gutter) 90px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 18, 13, 0.92) 0%, rgba(6, 18, 13, 0.6) 45%, rgba(6, 18, 13, 0.15) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 18, 13, 0) 30%),
    url('../assets/landing/hero-skyline.jpg') center 62% / cover no-repeat;
  animation: drift 26s ease-in-out infinite alternate;
  transform-origin: 70% 60%;
}

@keyframes drift {
  from { transform: scale(1.04); }
  to { transform: scale(1.12) translateX(-1.5%); }
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-2);
  animation: rise 0.9s var(--ease) both;
}

.flag {
  display: inline-flex;
  overflow: hidden;
  width: 24px;
  height: 16px;
  border-radius: 4px;
}

.flag i {
  flex: 1;
  background: var(--green);
}

.flag i:nth-child(2) {
  background: #fff;
}

.hero h1 {
  font-size: clamp(46px, 8.4vw, 112px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 11ch;
  animation: rise 0.9s 0.08s var(--ease) both;
}

.lede {
  max-width: 560px;
  margin-top: 24px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-2);
  animation: rise 0.9s 0.16s var(--ease) both;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(620px, 100%);
  margin-top: 34px;
  padding: 7px 7px 7px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #18201c;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  animation: rise 0.9s 0.24s var(--ease) both;
}

.hero-search .i {
  color: #5d6a63;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: none;
  background: none;
  font: inherit;
  font-size: 16px;
  color: #18201c;
}

.hero-search input::placeholder {
  color: #7b867f;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  animation: rise 0.9s 0.32s var(--ease) both;
}

.chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13.5px;
  color: var(--text-2);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--text);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.stat {
  padding: 26px 18px;
  border-top: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-3);
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) var(--gutter) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.kicker {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.section h2,
.cta h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-lede {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-2);
}

/* Sights */
.sights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 270px;
  gap: 14px;
}

.sight {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--bg-2);
  text-decoration: none;
  isolation: isolate;
}

.sight-wide {
  grid-column: span 2;
}

.sight-full {
  grid-column: 1 / -1;
}

.sight img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.sight::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 10, 8, 0.86) 0%, rgba(4, 10, 8, 0) 55%);
}

.sight:hover img {
  transform: scale(1.06);
}

.sight-text {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
}

.sight-text b {
  display: block;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.sight-text span {
  font-size: 14px;
  color: var(--text-2);
}

.sight-text::after {
  content: 'Go there →';
  display: inline-block;
  margin-left: 10px;
  font-size: 13px;
  font-weight: 650;
  color: #6fe0a6;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.sight:hover .sight-text::after {
  opacity: 1;
  transform: none;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step {
  position: relative;
  padding: 28px 26px;
  border-radius: 20px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}

.step-n {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
}

.step-i {
  width: 30px;
  height: 30px;
  color: #6fe0a6;
}

.step h3 {
  margin: 16px 0 8px;
  font-size: 19px;
  font-weight: 700;
}

.step p {
  font-size: 15px;
  color: var(--text-2);
}

.modes {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
}

.mode-shot {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
}

.mode-list {
  list-style: none;
  display: grid;
  gap: 18px;
}

.mode-list li {
  display: flex;
  gap: 14px;
}

.mode-list .i {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: rgba(0, 135, 81, 0.18);
  color: #6fe0a6;
}

.mode-list b {
  display: block;
  font-size: 16px;
}

.mode-list span {
  font-size: 14.5px;
  color: var(--text-2);
}

/* What's real */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fact {
  padding: 24px;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}

.fact .i {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.fact h3 {
  margin: 14px 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.fact p {
  font-size: 14.5px;
  color: var(--text-2);
}

/* Call to action */
.cta {
  padding: clamp(80px, 12vw, 150px) var(--gutter);
  text-align: center;
  background: radial-gradient(60% 70% at 50% 100%, rgba(0, 135, 81, 0.28), rgba(0, 135, 81, 0) 70%);
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta p {
  margin: 16px auto 30px;
  color: var(--text-2);
}

.webgpu-note {
  margin-top: 18px !important;
  font-size: 14px;
  color: var(--gold) !important;
}

.footer {
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}

.footer a {
  color: var(--text-2);
}

.footer-small {
  margin-top: 6px;
  font-size: 12px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Small screens */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:last-child { grid-column: span 2; }
  .sights { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .steps, .facts { grid-template-columns: 1fr 1fr; }
  .modes { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .toplinks { display: none; }
  .topbar .btn-small { margin-left: auto; }
  .hero { align-items: flex-end; }
  .hero-search { flex-wrap: wrap; border-radius: 22px; padding: 8px; }
  .hero-search > .i { display: none; }
  .hero-search input { width: 100%; padding: 0 10px; }
  .hero-search .btn { width: 100%; justify-content: center; }
  .sights { grid-template-columns: 1fr; }
  .sight-wide, .sight-full { grid-column: auto; }
  .steps, .facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .scroll-cue span { animation: none; }
  .eyebrow, .hero h1, .lede, .hero-search, .chips { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
