*::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── DESIGN TOKENS ── */
:root {
  --blue-pale:        #D6EAF8;
  --blue-mid:         #5DADE2;
  --blue-deep:        #1565C0;
  --blue-pure:        #0D47A1;
  --white:            #ffffff;
  --glass-bg:         rgba(255, 255, 255, 0.18);
  --glass-border:     rgba(255, 255, 255, 0.38);
  --text-dark:        #0a2540;
  --text-mid:         #1a3a5c;
  --font-display:     'Poppins', sans-serif;
  --font-body:        'Inter', sans-serif;
}

/* ── BASE ── */
html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(
    180deg,
    #2980B9  0%,
    var(--blue-mid)   30%,
    var(--blue-deep)  65%,
    var(--blue-pure)  100%
  );
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── NAV ── */
nav {
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  display: inline-block;
  transition:
    color        0.25s ease,
    text-shadow  0.25s ease,
    transform    0.2s  ease;
  cursor: default;
}

.nav-logo span {
  color: var(--blue-deep);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav-logo:hover {
  color: hsl(45, 100%, 46%);
  transform: translateY(-1px);
  text-shadow:
    0 0 8px  rgba(255, 210, 0,   0.80),
    0 0 22px rgba(255, 165, 0,   0.45),
    0 0 40px rgba(21,  101, 192, 0.30);
}

.nav-logo:hover span {
  color: hsl(45, 100%, 62%);
  text-shadow:
    0 0 10px rgba(255, 215, 0,  0.90),
    0 0 28px rgba(13,  71, 161, 0.50);
}

.nav-tag {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mid);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  letter-spacing: 0.04em;
}

/* ── NAV RIGHT GROUP ── */
.nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

/* ── COMMUNITY DROPDOWN ── */
.community-wrap {
  position: relative;
}

.community-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.70);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  padding: 0.32rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.community-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 12px rgba(13, 71, 161, 0.18);
}

.community-chevron {
  font-size: 0.7rem;
  transition: transform 0.22s ease;
  display: inline-block;
}

.community-btn[aria-expanded="true"] .community-chevron {
  transform: rotate(180deg);
}

.community-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 180px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(21, 101, 192, 0.15);
  border-radius: 14px;
  box-shadow:
    0 8px 28px rgba(13, 71, 161, 0.18),
    0 2px 6px  rgba(0, 0, 0, 0.08);
  overflow: hidden;
  /* hidden by default */
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  pointer-events: none;
  transition:
    opacity   0.2s ease,
    transform 0.2s ease;
  z-index: 100;
}

.community-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.community-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.community-item:not(:last-child) {
  border-bottom: 1px solid rgba(21, 101, 192, 0.08);
}

.community-item:hover {
  background: rgba(21, 101, 192, 0.07);
  color: var(--blue-deep);
}

/* Platform icons */
.ci-icon {
  width: 20px;
  height: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 800;
  flex-shrink: 0;
 
}

.ci-yt { background: #FF0000; }
.ci-ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.ci-fb { background: #1877F2; font-size: 1rem; font-weight: 900; }
.ci-wa { background: #25D366; }

/* ── HERO ── */
.hero {
  margin-top: 2.5rem;
  text-align: center;
  padding: 0 1.25rem;
  width: 100%;
  max-width: 700px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 600px;
  margin: 0 auto;
}

.hero-title .accent {
  color: yellow;
  position: relative;
  display: inline-block;
}


.intro-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: #1c0370;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}

/* ── CTA BUTTONS ── */
.cta-row {
  display: flex;
  gap: 1.1rem;
  margin: 2.8rem auto 5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 1.5rem;
}

.cta-btn {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2.2rem;
  cursor: pointer;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  border-radius: 50px;
  transition: background 0.18s ease;
}

.cta-btn:hover::after {
  background: rgba(255, 255, 255, 0.12);
}

.cta-btn:active {
  transform: scale(0.97);
}

/* Explore — solid deep blue (primary) */
.btn-explore {
  background: var(--blue-deep);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(21, 101, 192, 0.38);
}

.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.45);
}

/* Insight — ghost / glass (secondary) */


.btn-insight:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
h2
{
    color:hsl(238, 82%, 17%);
    
}

/* Health This Week — white with blue text (tertiary) */

.btn-health:hover {
  transform: translateY(-2px);
  background: rgba(51, 220, 135, 0.32);
  box-shadow: 0 6px 20px #7420e014;
}
.btn-health {
  background: lab(73.06% -31.78 -22.84);
  color: var(--pale hwb(240 7% 33%));
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* ── FOOTER ── */
.footer-hint {
  margin-top: auto;
  padding: 2.5rem 1.5rem 1.8rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  font-family: var(--font-body);
  width: 100%;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.footer-hint:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* ── GOLD GLOW — designer credit & accents ── */
.gold-glow {
  color: hsl(45, 95%, 55%);
  font-weight: 600;
  display: inline-block;
  text-shadow:
    0 0 6px  rgba(255, 210, 0,  0.55),
    0 0 18px rgba(255, 165, 0,  0.30);
  transition:
    color        0.25s ease,
    text-shadow  0.25s ease,
    transform    0.2s  ease;
  cursor: default;
}

.gold-glow:hover {
  color: hsl(45, 100%, 68%);
  transform: translateY(-2px);
  text-shadow:
    0 0 8px  rgba(255, 220, 0,   0.90),
    0 0 22px rgba(255, 180, 0,   0.60),
    0 0 40px rgba(21,  101, 192, 0.35),
    0 0 60px rgba(13,   71, 161, 0.20);
}
/* ── INTRO CARD base ── */
.intro-card {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  margin: 0 auto 1.6rem;
  max-width: 580px;
  width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.card-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1565C0;
  flex-shrink: 0;
  margin-top: 0.35rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav {
    padding: 0.85rem 1rem;
    align-items: flex-start;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .nav-right {
    align-items: flex-end;
    gap: 0.3rem;
  }

  .community-btn {
    font-size: 0.75rem;
    padding: 0.28rem 0.8rem;
  }

  .hero {
    margin-top: 1.5rem;
    padding: 0 1rem;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .intro-card {
    padding: 1.1rem 1rem;
    margin: 0 0.25rem 1.2rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: center;
    margin: 2rem auto 3rem;
    gap: 0.75rem;
  }

  .cta-btn {
    width: 100%;
    max-width: 380px;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }

  .footer-hint {
    padding: 1.5rem 1rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 2rem;
  }

  .nav-tag {
    font-size: 0.68rem;
    padding: 0.22rem 0.6rem;
  }
}
