/*primary color*/
.bg-cream {
    background-color: #FFF2E1;
}

/*font*/
body {
    font-family: 'Poppins', sans-serif;
}

.bg-yellow-500 {
    background-color: #6D28D9;
}
.text-yellow-500 {
    color: #6D28D9;
}
.border-yellow-500 {
    border-color: #6D28D9;
}
.bg-yellow-300 {
    background-color: #A78BFA;
}
.text-yellow-300 {
    color: #A78BFA;
}

.floating { 
    animation-name: floating; 
    animation-duration: 3s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-in-out;
} 
@keyframes floating { 
    0% { transform: translate(0, 0px); } 
    50% { transform: translate(0, 8px); } 
    100% { transform: translate(0, -0px); }  
} 
.floating-4 { 
    animation-name: floating; 
    animation-duration: 4s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-in-out;
} 
@keyframes floating-4 { 
    0% { transform: translate(0, 0px); } 
    50% { transform: translate(0, 8px); } 
    100% { transform: translate(0, -0px); }  
}
.text-darken {
    color: #2F327D;
}

/* ─── ASPIRE ZAMBIA HERO ─── */
:root {
  --purple:       #6D28D9;
  --purple-dark:  #4C1D95;
  --purple-light: #A78BFA;
  --nav-h: 76px;
}

/* Reset the bg-cream section so it doesn't show for hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0d0020;
}

/* Navbar sits on top of hero */
.az-navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.az-navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.az-navbar-logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}
.az-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.az-nav-links a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.az-nav-links a:hover { color: #fff; }
.az-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.az-btn-register {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid #6D28D9;
  border-radius: 8px;
  color: #fff;
  background: #6D28D9;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.az-btn-register:hover { background: #5b21b6; border-color: #5b21b6; }
.az-btn-signin {
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  background: var(--purple);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.az-btn-signin:hover { background: var(--purple-dark); }
@media (max-width: 900px) {
  .az-nav-links { display: none; }
  .az-btn-register { display: none; }
}

/* Hero background layers */
.hero-bg-img {
  position: absolute; inset: 0;
  background: url('../img/hero-bg.jpg') center center / cover no-repeat;
  z-index: 0;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.65) 35%,
    rgba(0,0,0,0.30) 60%,
    rgba(0,0,0,0.05) 100%
  );
  z-index: 1;
}
.hero-bg-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(167,139,250,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
}

/* Hero body */
.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 24px) 2rem 100px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  gap: 3rem;
}
@media (max-width: 900px) {
  .hero-body { flex-direction: column; padding-bottom: 120px; }
  .hero-right { display: none; }
}

/* Left column */
.hero-left { flex: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.72rem; font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #4ADE80; border-radius: 50%;
  box-shadow: 0 0 6px #4ADE80;
  animation: blink 2s infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}
.hero-accent { color: var(--purple-light); }

.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.72);
  max-width: 500px; line-height: 1.75;
  margin-bottom: 2rem;
}
.hero-sub strong { color: #fff; }

.hero-ctas {
  display: flex; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple); color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 8px; border: none; cursor: pointer;
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(109,40,217,0.4);
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: #6D28D9;
  border: 1px solid #6D28D9;
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 8px; cursor: pointer;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost:hover { background: #5b21b6; border-color: #5b21b6; }

.hero-trust {
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap; margin-bottom: 2.5rem;
}
.trust-pill {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.trust-pill-dot {
  width: 7px; height: 7px;
  background: #4ADE80; border-radius: 50%;
  box-shadow: 0 0 5px #4ADE80;
}

/* Stats row at bottom of left */
.hero-stats {
  display: flex; gap: 3rem; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 1.9rem; font-weight: 900; color: #fff;
  line-height: 1; letter-spacing: -0.03em;
}
.hero-stat-suf { color: var(--purple-light); }
.hero-stat-lbl {
  font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.45);
  margin-top: 4px; font-weight: 600;
}

/* Right column — phone mockup */
.hero-right {
  flex: 0 0 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.phone-mockup-wrap {
  position: relative;
  width: 220px;
}
.phone-outer {
  background: #111;
  border-radius: 40px;
  border: 6px solid #2a2a2a;
  box-shadow:
    0 0 0 1px #444,
    0 30px 80px rgba(0,0,0,0.6),
    0 0 40px rgba(109,40,217,0.25);
  overflow: hidden;
  position: relative;
}
/* Notch */
.phone-outer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #111;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}
.phone-screen {
  background: #fff;
  min-height: 430px;
  overflow: hidden;
  position: relative;
}
/* App top bar */
.app-statusbar {
  background: #fff;
  padding: 28px 12px 4px;
  font-size: 0.55rem; font-weight: 700;
  color: #333;
  display: flex; justify-content: space-between; align-items: center;
}
.app-header {
  background: var(--purple);
  padding: 8px 12px 12px;
  text-align: center;
}
.app-header-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-bottom: 4px;
}
.app-header-logo-icon {
  width: 18px; height: 18px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: #fff;
}
.app-header-title {
  font-size: 0.7rem; font-weight: 800; color: #fff;
}
.app-header-sub {
  font-size: 0.5rem; color: rgba(255,255,255,0.8); margin-bottom: 6px;
}
.app-header-desc {
  font-size: 0.48rem; color: rgba(255,255,255,0.65);
  line-height: 1.4; margin-bottom: 8px; padding: 0 4px;
}
.app-watch-btn {
  background: #fff;
  color: var(--purple);
  border: none; border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.5rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
  margin-bottom: 8px;
}
.app-chips {
  display: flex; gap: 4px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 6px;
}
.app-chip {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 2px 6px;
  font-size: 0.44rem; color: #fff; font-weight: 600;
}
.app-stats-row {
  display: flex; justify-content: space-around;
  padding: 6px 0;
}
.app-stat-item { text-align: center; }
.app-stat-num { font-size: 0.65rem; font-weight: 800; color: #fff; }
.app-stat-lbl { font-size: 0.42rem; color: rgba(255,255,255,0.7); }
.app-live { font-size: 0.42rem; color: #4ADE80; text-align: center; padding-bottom: 4px; }

/* App body */
.app-body { background: #f5f5f5; padding: 8px 10px; }
.app-stories-label {
  font-size: 0.55rem; font-weight: 700; color: #333;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 4px;
}
.app-stories-label span {
  font-size: 0.45rem; color: var(--purple); font-weight: 600;
}
.app-stories-row {
  display: flex; gap: 6px; margin-bottom: 8px;
}
.app-story {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.app-story-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--purple);
  background: #ddd; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 800; color: var(--purple);
}
.app-story-avatar.add {
  background: #eee; border-color: #ccc; color: #999;
}
.app-story-name { font-size: 0.4rem; color: #555; text-align: center; }

/* App tab bar */
.app-tabs {
  background: #fff;
  border-top: 1px solid #eee;
  display: flex; justify-content: space-around;
  padding: 6px 0 4px;
}
.app-tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.app-tab-icon { font-size: 0.75rem; }
.app-tab-lbl { font-size: 0.38rem; color: #999; }
.app-tab.active .app-tab-icon { color: var(--purple); }
.app-tab.active .app-tab-lbl { color: var(--purple); font-weight: 700; }

/* Feed tabs */
.app-feed-tabs {
  display: flex; justify-content: space-around;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  background: #fff;
  margin-bottom: 4px;
}
.app-feed-tab { font-size: 0.45rem; color: #999; font-weight: 600; }
.app-feed-tab.active { color: var(--purple); border-bottom: 1.5px solid var(--purple); }

/* Wave */
.hero-wave-wrap {
  position: relative;
  z-index: 3;
  line-height: 0;
  margin-top: -2px;
}
.hero-wave-wrap svg { display: block; width: 100%; }
