:root {
  --kenya-black: #050505;
  --kenya-red: #ce1126;
  --kenya-green: #006b3f;
  --kenya-white: #f6f1e8;
  --gold: #d4a017;
  --gold-soft: #f0d078;
  --gold-deep: #8a5a00;
  --earth: #1a120c;
  --savanna: #c9a06a;
  --rift-deep: #06110c;
  --rift-mid: #0c2418;
  --mist: rgba(246, 241, 232, 0.74);
  --line: rgba(246, 241, 232, 0.12);
  --glass: rgba(8, 16, 12, 0.62);
  --radius: 20px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-home-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-home-body: "Figtree", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--kenya-white);
  background:
    radial-gradient(ellipse 90% 55% at 8% -8%, rgba(0, 107, 63, 0.38), transparent 55%),
    radial-gradient(ellipse 70% 45% at 92% 5%, rgba(206, 17, 38, 0.2), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(212, 160, 23, 0.08), transparent 55%),
    linear-gradient(168deg, #030604 0%, var(--rift-deep) 42%, #140e09 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h1 { font-weight: 600; }
h2, h3, h4 { font-weight: 500; }

p { margin: 0 0 1rem; }
.lede { font-size: 1.08rem; color: var(--mist); max-width: 48ch; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(3, 6, 4, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #000 0 25%, var(--kenya-red) 25% 50%, var(--kenya-green) 50% 75%, #fff 75% 100%);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(240, 208, 120, 0.35), 0 0 24px rgba(212, 160, 23, 0.25);
  position: relative;
  animation: spinMark 16s linear infinite;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1a8, var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 16px rgba(240, 208, 120, 0.55);
}

@keyframes spinMark { to { transform: rotate(360deg); } }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand-text em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav a.btn-primary {
  opacity: 1;
  color: #fff;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
  color: var(--gold-soft);
}

.site-nav a.btn-primary:hover,
.site-nav a.btn-primary.is-active {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--kenya-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.8rem 1.45rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--kenya-green) 0%, #0a9a45 50%, #b8860b 140%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(0, 107, 63, 0.4);
}

.btn-glow {
  animation: pulseGlowBtn 2.8s ease-in-out infinite;
}

@keyframes pulseGlowBtn {
  0%, 100% { box-shadow: 0 14px 36px rgba(0, 107, 63, 0.4), 0 0 0 0 rgba(240, 208, 120, 0.35); }
  50% { box-shadow: 0 18px 44px rgba(0, 107, 63, 0.55), 0 0 0 10px rgba(240, 208, 120, 0); }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(240, 208, 120, 0.45);
  color: var(--gold-soft);
  backdrop-filter: blur(8px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.btn-block { width: 100%; }

.flash {
  margin-top: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
}

.flash-success { border-color: rgba(0, 150, 70, 0.5); color: #9dffc2; }
.flash-error { border-color: rgba(206, 17, 38, 0.55); color: #ffb4b4; }
.flash-info { border-color: rgba(212, 160, 23, 0.45); color: var(--gold-soft); }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 70% 28%, rgba(240, 208, 120, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 35% at 20% 20%, rgba(0, 107, 63, 0.25), transparent 50%),
    linear-gradient(180deg, #07140f 0%, #0a0c08 55%, #1a1008 100%);
  z-index: 0;
  animation: skyShift 12s ease-in-out infinite alternate;
}

@keyframes skyShift {
  from { filter: hue-rotate(0deg) brightness(1); }
  to { filter: hue-rotate(8deg) brightness(1.08); }
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(95deg, rgba(3, 6, 4, 0.92) 0%, rgba(3, 6, 4, 0.55) 42%, rgba(3, 6, 4, 0.12) 72%, rgba(3, 6, 4, 0.35) 100%),
    linear-gradient(180deg, transparent 35%, rgba(3, 6, 4, 0.95) 100%);
  pointer-events: none;
}

.hero-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 28vh;
  min-height: 160px;
  pointer-events: none;
}

.hero-horizon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rift-far { fill: #0d1f16; opacity: 0.85; }
.rift-near { fill: #08140f; }

.hero-content {
  position: relative;
  z-index: 4;
  padding: 4.5rem 0 6.5rem;
  max-width: 680px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 6.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
  background: linear-gradient(115deg, #fff 8%, var(--gold-soft) 42%, #fff 68%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

.hero-brand span {
  display: block;
  font-size: 0.26em;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--kenya-white);
  -webkit-text-fill-color: var(--kenya-white);
  margin-bottom: 0.55rem;
  opacity: 0.88;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(1.55rem, 3.5vw, 2.45rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 18ch;
  margin-bottom: 0.95rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--mist);
  max-width: 40ch;
  margin-bottom: 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 22px;
  height: 34px;
  border: 2px solid rgba(240, 208, 120, 0.45);
  border-radius: 999px;
}

.scroll-hint span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 6px auto 0;
  border-radius: 999px;
  background: var(--gold-soft);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

.kenya-ribbon {
  display: flex;
  height: 7px;
  width: 100%;
}

.kenya-ribbon span { flex: 1; }
.kenya-ribbon .k-black { background: #000; }
.kenya-ribbon .k-red { background: var(--kenya-red); }
.kenya-ribbon .k-white-mid { background: #fff; flex: 0.35; }
.kenya-ribbon .k-green { background: var(--kenya-green); }

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.section {
  padding: 5.8rem 0;
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 580px;
  margin-bottom: 2.6rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-head p { color: var(--mist); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
}

/* 3D visual stage */
.visual-stage {
  position: relative;
  min-height: 420px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(0, 107, 63, 0.22), transparent 50%),
    linear-gradient(320deg, rgba(206, 17, 38, 0.14), transparent 45%),
    #0a1510;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  perspective: 1200px;
}

.stage-glow {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 32% 40%, rgba(240, 208, 120, 0.32), transparent 28%),
    radial-gradient(circle at 72% 58%, rgba(0, 140, 70, 0.28), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(206, 17, 38, 0.12), transparent 35%);
  animation: pulseGlow 7s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from { transform: scale(1) rotate(0deg); opacity: 0.75; }
  to { transform: scale(1.15) rotate(10deg); opacity: 1; }
}

.stage-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(240, 208, 120, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbitSpin 20s linear infinite;
}

.ring-a { width: 170px; height: 170px; }
.ring-b { width: 260px; height: 260px; animation-duration: 28s; animation-direction: reverse; border-color: rgba(0, 150, 80, 0.3); }
.ring-c { width: 350px; height: 350px; animation-duration: 38s; border-style: solid; border-width: 1px; border-color: rgba(255, 255, 255, 0.08); }

@keyframes orbitSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.crystal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
}

.crystal-diamond {
  width: 110px;
  height: 110px;
  margin: -70px 0 0 -90px;
  animation: floatGem 4.8s ease-in-out infinite;
}

.crystal-gold {
  width: 86px;
  height: 86px;
  margin: 20px 0 0 30px;
  animation: floatGem 5.4s ease-in-out infinite reverse;
}

.crystal-core {
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  background: linear-gradient(145deg, #f7fbff, #9ec9ff 38%, #1a4a8a);
  box-shadow: 0 24px 50px rgba(90, 150, 230, 0.4), inset 0 0 30px rgba(255, 255, 255, 0.35);
}

.crystal-core.gold {
  clip-path: polygon(18% 8%, 82% 8%, 100% 52%, 72% 100%, 28% 100%, 0% 52%);
  background: linear-gradient(145deg, #fff3b0, var(--gold) 45%, #7a4e00);
  box-shadow: 0 24px 50px rgba(212, 160, 23, 0.45), inset 0 0 24px rgba(255, 255, 255, 0.3);
}

@keyframes floatGem {
  0%, 100% { transform: translateY(0) rotateX(14deg) rotateY(-20deg); }
  50% { transform: translateY(-18px) rotateX(20deg) rotateY(22deg); }
}

.float-chip {
  position: absolute;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 208, 120, 0.35);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  animation: chipFloat 5s ease-in-out infinite;
}

.chip-1 { top: 18%; left: 12%; }
.chip-2 { top: 22%; right: 14%; animation-delay: 0.8s; }
.chip-3 { bottom: 16%; left: 40%; animation-delay: 1.4s; }

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--mist);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--kenya-green);
  box-shadow: 0 0 0 4px rgba(0, 107, 63, 0.28);
}

/* Pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pillar-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1100px) {
  .pillar-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .pillar-grid-4 .pillar {
    min-height: 420px;
  }
}

.pillar {
  position: relative;
  min-height: 380px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: translateZ(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pillar:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow);
}

.pillar-media {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.pillar:hover .pillar-media { transform: scale(1.08); }

.pillar-diamond .pillar-media {
  background:
    linear-gradient(180deg, transparent 20%, rgba(3, 6, 4, 0.92) 100%),
    radial-gradient(circle at 40% 30%, rgba(160, 200, 255, 0.35), transparent 40%),
    linear-gradient(145deg, #0a2a40, #061018 60%, #0c2418);
}

.pillar-metal .pillar-media {
  background:
    linear-gradient(180deg, transparent 20%, rgba(3, 6, 4, 0.92) 100%),
    radial-gradient(circle at 55% 35%, rgba(240, 208, 120, 0.4), transparent 42%),
    linear-gradient(145deg, #3a2808, #120c06 55%, #1a1008);
}

.pillar-body {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
}

.pillar-body h3 { font-size: 1.85rem; }
.pillar-body p { color: var(--mist); }

.text-link {
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.92rem;
}

/* Destinations */
.destination-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.dest-card {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dest-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: var(--shadow);
}

.dest-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.dest-card:hover .dest-bg { transform: scale(1.1); }

.dest-thai .dest-bg {
  background-color: #0d4a5c;
}

.dest-dubai .dest-bg {
  background-color: #5c3d10;
}

.dest-more .dest-bg {
  background-color: #0a3d28;
}

.dest-content {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.dest-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: auto;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 208, 120, 0.35);
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.dest-content h3 {
  font-size: 1.9rem;
  margin-bottom: 0.55rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.dest-content p { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; }

.place-chips {
  list-style: none;
  margin: 0 0 0.55rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.place-chips li {
  margin: 0;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
}

.dest-content .dest-places {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  opacity: 0.95;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.dest-content .dest-blurb {
  font-size: 0.82rem;
  opacity: 0.85;
  color: rgba(255, 255, 255, 0.9);
}

.rewards-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.75rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(0, 107, 63, 0.2), rgba(206, 17, 38, 0.08)),
    rgba(0, 0, 0, 0.3);
}

.trust-item {
  text-align: center;
  padding: 0.75rem;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--gold-soft);
  margin-bottom: 0.25rem;
}

.trust-item span {
  color: var(--mist);
  font-size: 0.88rem;
  font-weight: 600;
}

.cta-band {
  margin: 1rem 0 5rem;
  padding: 2.6rem;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(125deg, rgba(0, 107, 63, 0.32), rgba(206, 17, 38, 0.1) 55%, rgba(212, 160, 23, 0.12)),
    rgba(8, 14, 10, 0.75);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-premium::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 208, 120, 0.2), transparent 65%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  max-width: 16ch;
}

.cta-sub {
  color: var(--mist);
  max-width: 42ch;
  margin: 0;
}

.reward-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.reward-item {
  padding: 1.5rem 1.25rem;
  border-top: 3px solid var(--gold);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.reward-item h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.reward-item p { color: var(--mist); margin: 0; font-size: 0.95rem; }
.reward-item strong { color: var(--gold-soft); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  border-color: rgba(240, 208, 120, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.plan-card .amount {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold-soft);
}

.plan-card .name { font-weight: 700; margin-bottom: 0.35rem; }
.plan-meta { color: var(--mist); font-size: 0.9rem; margin-bottom: 1rem; }

.level-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.level-table th,
.level-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.level-table th {
  background: rgba(0, 107, 63, 0.28);
  font-family: var(--font-display);
}

.level-table tr:last-child td { border-bottom: 0; }
.level-table td:last-child { color: var(--gold-soft); font-weight: 700; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.info-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.info-block h3 { font-size: 1.2rem; }
.info-block p { color: var(--mist); margin: 0; }

.auth-wrap {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 3rem 0;
}

.auth-panel {
  width: min(460px, 100%);
  padding: 2.1rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.auth-panel h1 { font-size: 1.85rem; margin-bottom: 0.4rem; }
.auth-panel .sub { color: var(--mist); margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  padding: 0.7rem 0.9rem;
  font: inherit;
}

.form-group textarea { min-height: 100px; resize: vertical; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(0, 107, 63, 0.55);
  border-color: var(--kenya-green);
}

.form-hint { font-size: 0.82rem; color: var(--mist); margin-top: 0.35rem; }
.sponsor-preview {
  font-size: 0.82rem;
  margin-top: 0.35rem;
  min-height: 1.15em;
  font-weight: 600;
}
.sponsor-preview.is-ok { color: #0a9a45; }
.sponsor-preview.is-err { color: var(--kenya-red); }

/* —— Password policy live checklist —— */
.password-policy {
  margin-top: 0.55rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}
.password-policy__meter {
  height: 4px;
  border-radius: 999px;
  background: rgba(246, 241, 232, 0.12);
  overflow: hidden;
  margin-bottom: 0.45rem;
}
.password-policy__meter-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--kenya-red);
  transition: width 0.2s ease, background 0.2s ease;
}
.password-policy.is-weak .password-policy__meter-fill { background: var(--kenya-red); }
.password-policy.is-fair .password-policy__meter-fill { background: var(--gold); }
.password-policy.is-strong .password-policy__meter-fill,
.password-policy.is-valid .password-policy__meter-fill { background: #0a9a45; }
.password-policy__strength {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mist);
}
.password-policy.is-weak .password-policy__strength { color: #ffb4b4; }
.password-policy.is-fair .password-policy__strength { color: var(--gold-soft); }
.password-policy.is-strong .password-policy__strength,
.password-policy.is-valid .password-policy__strength { color: #9dffc2; }
.password-policy__rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}
.password-policy__rules li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--mist);
  line-height: 1.35;
}
.password-policy__mark {
  flex: 0 0 1em;
  font-weight: 700;
  color: rgba(246, 241, 232, 0.45);
}
.password-policy__rules li.is-pass { color: #9dffc2; }
.password-policy__rules li.is-pass .password-policy__mark { color: #0a9a45; }
.password-policy__rules li.is-fail { color: #ffb4b4; }
.password-policy__rules li.is-fail .password-policy__mark { color: var(--kenya-red); }
.password-policy__error {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffb4b4;
}
.password-policy.is-valid {
  border-color: rgba(10, 154, 69, 0.45);
  background: rgba(0, 107, 63, 0.14);
}
.password-policy.is-invalid {
  border-color: rgba(206, 17, 38, 0.4);
}
.password-policy--compact {
  padding: 0.45rem 0.55rem;
  margin-top: 0.35rem;
}
.password-policy--compact .password-policy__rules {
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 0.5rem;
}
.password-policy--compact .password-policy__rules li { font-size: 0.7rem; }
input.is-password-invalid {
  border-color: rgba(206, 17, 38, 0.65) !important;
}
input.is-password-valid {
  border-color: rgba(10, 154, 69, 0.65) !important;
}
.password-confirm-msg {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
}
.password-confirm-msg.is-err { color: #ffb4b4; }
.password-confirm-msg.is-ok { color: #9dffc2; }
button.is-disabled,
button[disabled].btn {
  opacity: 0.55;
  cursor: not-allowed;
}
.auth-switch { margin-top: 1.25rem; text-align: center; color: var(--mist); }
.auth-switch a { color: var(--gold-soft); font-weight: 700; }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.dash-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dash-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.stat .label { font-size: 0.8rem; color: var(--mist); margin-bottom: 0.35rem; }
.stat .value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold-soft);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
  background: rgba(0, 0, 0, 0.24);
  margin-bottom: 1.25rem;
}

.panel h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.table-wrap { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.data-table th { color: var(--mist); font-weight: 600; }

.badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(0, 107, 63, 0.25);
  color: #9dffc2;
}

.badge-pending { background: rgba(212, 160, 23, 0.2); color: var(--gold-soft); }
.badge-approved { background: rgba(0, 107, 63, 0.25); color: #9dffc2; }
.badge-failed, .badge-rejected, .badge-cancelled, .badge-suspended {
  background: rgba(206, 17, 38, 0.2);
  color: #ffb4b4;
}

.page-hero { padding: 3.6rem 0 1.5rem; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-hero p { color: var(--mist); max-width: 52ch; font-size: 1.05rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.2rem 0 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-copy, .footer-meta { color: var(--mist); font-size: 0.92rem; }
.site-footer h4 { font-size: 0.95rem; margin-bottom: 0.85rem; }
.site-footer a {
  display: block;
  color: var(--mist);
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}
.site-footer a:hover { color: var(--gold-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.85rem;
}

.kenya-stripe {
  width: 130px;
  height: 5px;
  background: linear-gradient(90deg, #000 0 25%, var(--kenya-red) 25% 50%, #fff 50% 62%, var(--kenya-green) 62% 100%);
  border-radius: 999px;
}

.gateway-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(240, 208, 120, 0.35);
  background: rgba(212, 160, 23, 0.08);
  color: var(--mist);
  font-size: 0.9rem;
  margin: 1rem 0;
}

.visual-panel {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c1510;
  box-shadow: var(--shadow);
}

.orbit-stack {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(240, 208, 120, 0.25);
  border-radius: 50%;
  animation: orbitSpinOld 18s linear infinite;
}

.orbit-1 { width: 160px; height: 160px; }
.orbit-2 { width: 240px; height: 240px; animation-duration: 26s; animation-direction: reverse; }
.orbit-3 { width: 320px; height: 320px; animation-duration: 34s; }

@keyframes orbitSpinOld { to { transform: rotate(360deg); } }

.gem {
  width: 92px;
  height: 92px;
  position: relative;
  transform-style: preserve-3d;
  animation: floatGem 4.5s ease-in-out infinite;
}

.gem-face {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  background: linear-gradient(145deg, #f5f7ff, #8ec5ff 40%, #1a4a8a 100%);
  box-shadow: 0 20px 40px rgba(80, 140, 220, 0.35);
}

.gem-gold {
  clip-path: polygon(20% 10%, 80% 10%, 100% 55%, 70% 100%, 30% 100%, 0% 55%);
  background: linear-gradient(145deg, #fff1a8, var(--gold) 45%, #8a5a00);
  box-shadow: 0 20px 40px rgba(212, 160, 23, 0.4);
  width: 78px;
  height: 78px;
  margin-top: 70px;
  margin-left: -40px;
  animation: floatGem 5.2s ease-in-out infinite reverse;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keep reward cards visible even if JS is slow/blocked */
.destination-rail .reveal,
.rewards-grid .reveal {
  opacity: 1;
  transform: none;
}

.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

.hero .reveal { animation: riseIn 1s ease both; opacity: 1; transform: none; }
.hero .delay-1 { animation-delay: 0.15s; }
.hero .delay-2 { animation-delay: 0.3s; }
.hero .delay-3 { animation-delay: 0.45s; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-sm {
  min-height: 34px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Floating WhatsApp */
.whatsapp-fab {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(18, 90, 45, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.04);
  background: #1ebe57;
  box-shadow: 0 14px 32px rgba(18, 90, 45, 0.42);
  color: #fff;
}
.whatsapp-fab:focus-visible {
  outline: 3px solid #0b6b33;
  outline-offset: 3px;
}

/* Member / shared support chat */
.chat-panel {
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}
.chat-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.chat-toolbar strong { display: block; }
.chat-status {
  display: block;
  color: var(--mist);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}
.chat-thread {
  min-height: 320px;
  max-height: min(52vh, 480px);
  overflow-y: auto;
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(8, 16, 12, 0.25);
}
.is-member .chat-thread,
.is-public .chat-thread {
  background: rgba(0, 92, 52, 0.04);
}
.chat-empty {
  color: var(--mist);
  text-align: center;
  margin: auto;
  padding: 2rem 1rem;
}
.chat-bubble {
  max-width: min(88%, 520px);
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.chat-bubble.chat-user {
  align-self: flex-end;
  border-color: rgba(0, 163, 92, 0.35);
  background: rgba(0, 122, 69, 0.18);
}
.chat-bubble.chat-admin {
  align-self: flex-start;
  border-color: rgba(184, 134, 11, 0.35);
  background: rgba(184, 134, 11, 0.1);
}
.chat-meta {
  font-size: 0.75rem;
  color: var(--mist);
  margin-bottom: 0.35rem;
}
.chat-text {
  font-size: 0.95rem;
  line-height: 1.5;
  word-break: break-word;
}
.chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: end;
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--line);
}
.chat-compose textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  padding: 0.75rem 0.9rem;
  font: inherit;
}
.chat-compose textarea:focus {
  outline: none;
  border-color: var(--kenya-green);
}

@media (max-width: 560px) {
  .chat-compose {
    grid-template-columns: 1fr;
  }
  .whatsapp-fab {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 52px;
    height: 52px;
  }
}
