:root {
  --navy: #0b2a6b;
  --blue: #1565d8;
  --blue-light: #2f8cf0;
  --green: #3a9d23;
  --green-dark: #2d7f1a;
  --ink: #1b2a49;
  --muted: #5d6b82;
  --bg: #f4f7fb;
}

body {
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}

/* ---------- Navbar ---------- */
.nav-shadow { box-shadow: 0 2px 10px rgba(11, 42, 107, .08); }
.logo-icon { font-size: 2rem; color: var(--blue); }
.brand-text { font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: .5px; font-size: 1.35rem; }
.brand-text small { display: block; font-size: .6rem; font-weight: 600; color: var(--blue); letter-spacing: 2px; margin-top: 3px; }
.navbar .nav-link { color: var(--ink); font-weight: 500; font-size: .9rem; }
.navbar .nav-link.active,
.navbar .nav-link:hover { color: var(--blue); }
.navbar .nav-link.active { border-bottom: 2px solid var(--blue); }

.btn-join {
  background: linear-gradient(180deg, #4cb52f, var(--green-dark));
  border: 0; color: #fff; font-weight: 600; border-radius: 6px;
}
.btn-join:hover { background: var(--green-dark); color: #fff; }
.btn-learn {
  background: linear-gradient(180deg, #2f7ff0, #1250b8);
  border: 0; color: #fff; font-weight: 600; border-radius: 6px;
}
.btn-learn:hover { background: #1250b8; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(110deg, #0b3a9e 0%, #1565d8 55%, #2f9bf5 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 70px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(255,255,255,.22), transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-title { font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.25; margin-bottom: 1rem; }
.hero-sub { font-size: 1.35rem; margin-bottom: 1.75rem; }
.hero-img-wrap { align-self: flex-end; }
.hero-img { max-height: 340px; max-width: 100%; object-fit: contain; }

/* ---------- Feature cards (overlap hero) ---------- */
.feature-strip { margin-top: -50px; position: relative; z-index: 2; }
.feature-card {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 130px; padding: 1.25rem 1.5rem;
  border-radius: 10px; color: #fff; text-decoration: none;
  box-shadow: 0 8px 22px rgba(11, 42, 107, .2);
  transition: transform .2s ease;
}
.feature-card:hover { transform: translateY(-4px); color: #fff; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .35rem; }
.feature-card p { margin: 0; font-size: .85rem; opacity: .95; }
.fc-icon { font-size: 3.6rem; opacity: .9; }
.fc-shop    { background: linear-gradient(120deg, #123a9a, #1f6fe0); }
.fc-earn    { background: linear-gradient(120deg, #1d6b3a, #2fa05a); }
.fc-partner { background: linear-gradient(120deg, #6b4513, #b8832c); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-title {
  text-align: center; font-size: 1.4rem; font-weight: 700; color: var(--navy);
  position: relative; margin-bottom: 1.5rem;
}
.section-title::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 1px solid #d5dde9; z-index: 0;
}
.section-title span { position: relative; z-index: 1; background: #fff; padding: 0 1.25rem; }

/* How it works */
.step-card {
  position: relative; display: flex; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid #e6ecf5; border-radius: 10px;
  padding: 2.2rem 1.25rem 1.25rem; height: 100%;
  box-shadow: 0 4px 14px rgba(11, 42, 107, .08);
}
.step-num {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 1.2rem;
  display: grid; place-items: center; box-shadow: 0 3px 8px rgba(11, 42, 107, .3);
}
.step-icon { font-size: 2.6rem; flex: none; }
.step-card h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.step-card p { margin: 0; font-size: .85rem; color: var(--muted); }

/* Success stories */
.story-card {
  margin: 0; background: #fff; border-radius: 10px; overflow: hidden;
  border: 1px solid #e6ecf5; box-shadow: 0 4px 14px rgba(11, 42, 107, .08);
  height: 100%;
}
.story-card img { width: 100%; height: 220px; object-fit: cover; background: linear-gradient(135deg, #cfe0f7, #e8f0fb); display: block; }
.story-card figcaption { padding: .9rem 1rem 1.1rem; }
.story-card strong { display: block; color: var(--navy); }
.story-card span { font-size: .88rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: #cdd8f0; padding: 1.5rem 0; font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero { padding-bottom: 80px; }
  .hero-img { max-height: 260px; }
  .step-card { padding-top: 2.4rem; }
}
@media (max-width: 575.98px) {
  .feature-strip { margin-top: -40px; }
  .story-card img { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-card { transition: none; }
}
