/* Fonts: Montserrat (display), Poppins (support) */
:root {
  --color-bg: #1b1d1e;
  --color-white: #f2f2f2;
  --color-dim: rgba(255, 255, 255, 0.82);
  --color-yellow: #f0d235;
  --color-yellow-strong: #f6db3f;
  --color-rwanda-red: #ce1126;
  --color-rwanda-green: #006a4e;
  --color-rwanda-gold: #fcd116;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
  background: var(--color-bg);
  color: var(--color-white);
}

.page {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  justify-items: center;
  padding: 0;
}

/* Hide page title for exact look */
.page-title { display: none; }

/* Framed hero becomes full-viewport */
.frame {
  width: 100%;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

/* Topbar */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 32px;
  z-index: 3;
}
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--color-white);
}
.nav {
  position: absolute;
  right: 32px;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  color: var(--color-dim);
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.nav-link:hover { color: var(--color-white); }

.menu-btn {
  width: 46px;
  height: 30px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.menu-line {
  display: block;
  height: 4px;
  background: var(--color-yellow);
  border-radius: 2px;
}

/* Hero section */
.hero {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(0deg, rgba(0,0,0,.36), rgba(0,0,0,.36)), url('./assets/bg.jpeg');
  background-size: cover;
  background-position: center right;
  filter: saturate(90%);
}

/* Left patterned shade */
.overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(255,255,255,.12) 0 35%, transparent 36%),
    radial-gradient(circle at 35% 32%, rgba(255,255,255,.08) 0 35%, transparent 36%),
    radial-gradient(circle at 22% 54%, rgba(255,255,255,.10) 0 35%, transparent 36),
    linear-gradient(90deg, rgba(55,55,55,.65) 0 47%, rgba(55,55,55,.18) 47% 100%);
}

/* Traditional Rwandan Imigongo pattern strip on right side */
.rwanda-pattern {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  padding: clamp(16px, 8vw, 80px) clamp(16px, 6vw, 80px);
}

.headline {
  margin: 0 0 20px 0;
  font-family: 'Montserrat', sans-serif;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.headline .line {
  display: block;
  font-weight: 900;
  font-size: clamp(36px, 10vw, 110px);
}
.headline .line.white { color: var(--color-dim); filter: saturate(80%); }
.headline .line.accent { color: var(--color-yellow-strong); }
.headline .line.grad {
  background: linear-gradient(180deg, #ffe96b 0%, #f0d235 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Primary download button */
.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0b0b0b;
  background: var(--color-yellow-strong);
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.primary-btn:hover { filter: brightness(1.05); }
.download-btn { width: fit-content; }

/* Bottom-right CTA and socials */
.hero-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 0 32px 26px;
}

.mini-cta {
  justify-self: end;
  text-align: left;
  color: var(--color-yellow-strong);
  text-decoration: none;
  border: 1px solid rgba(246, 219, 63, 0.55);
  border-radius: 22px;
  padding: 10px 16px;
  background: rgba(0,0,0,.25);
  min-width: 360px;
}
.mini-cta strong { letter-spacing: 0.02em; }
.mini-cta span { color: #dccb6f; display: block; margin-top: 4px; }

.socials {
  display: flex;
  gap: 16px;
}
.social {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--color-yellow-strong);
  background: rgba(0,0,0,0.3);
  border: 2px solid rgba(246, 219, 63, 0.75);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.social:hover { 
  background: var(--color-yellow-strong);
  color: #0b0b0b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.social svg { width: 20px; height: 20px; }

/* Responsive tweaks */
@media (max-width: 900px) {
  .nav-link { display: none; }
  .headline .line { font-size: clamp(32px, 12vw, 86px); }
  .mini-cta { min-width: 260px; padding: 8px 12px; }
  .rwanda-pattern { width: 80px; background-size: 80px auto; }
} 