/* Richlance marketing rebrand — Super App social + commerce (2026) */

:root {
  --rl-ink: #0b1220;
  --rl-muted: #64748b;
  --rl-surface: #ffffff;
  --rl-soft: #f1f5ff;
  --rl-line: rgba(15, 23, 42, 0.08);
  --rl-blue: #005dff;
  --rl-blue-deep: #041a4d;
  --rl-gold: #f5b800;
  --rl-teal: #0d9488;
  --rl-violet: #7c3aed;
  --rl-rose: #e11d48;
  --rl-radius: 22px;
  --rl-shadow: 0 18px 50px rgba(4, 26, 77, 0.12);
}

/* Hero refresh */
.hero.hero--rebrand {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(245, 184, 0, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(0, 93, 255, 0.16), transparent 50%),
    linear-gradient(165deg, #eef4ff 0%, #f8fafc 45%, #fff8e8 100%);
}

.hero--rebrand .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 93, 255, 0.1);
  border: 1px solid rgba(0, 93, 255, 0.18);
  color: var(--rl-blue-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero--rebrand .hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.hero--rebrand #hero-heading {
  font-size: clamp(2.15rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.hero--rebrand .hero-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--rl-muted);
  max-width: 38rem;
}

.hero-module-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-module-pills li {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--rl-line);
  color: var(--rl-blue-deep);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

/* Module showcase — day mode */
.modules-showcase {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(0, 93, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 100%, rgba(245, 184, 0, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 35% at 80% 10%, rgba(124, 58, 237, 0.07), transparent 50%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 48%, #fff9eb 100%);
  color: var(--rl-ink);
  overflow: hidden;
}

.modules-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  opacity: 0.45;
}

.modules-showcase > .container {
  position: relative;
  z-index: 1;
}

.modules-showcase-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.modules-showcase-eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rl-blue);
  background: rgba(0, 93, 255, 0.08);
  border: 1px solid rgba(0, 93, 255, 0.14);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.modules-showcase-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--rl-blue-deep);
}

.modules-showcase-head p {
  margin: 0;
  color: var(--rl-muted);
  line-height: 1.65;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: var(--rl-radius);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 100%;
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 93, 255, 0.28);
  box-shadow:
    0 20px 44px rgba(0, 93, 255, 0.12),
    0 0 0 1px rgba(245, 184, 0, 0.18);
}

.module-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.module-card--social .module-card-icon { background: linear-gradient(145deg, #2563eb, #7c3aed); }
.module-card--business .module-card-icon { background: linear-gradient(145deg, #0d9488, #14b8a6); }
.module-card--reels .module-card-icon { background: linear-gradient(145deg, #e11d48, #f97316); }
.module-card--live .module-card-icon { background: linear-gradient(145deg, #dc2626, #f59e0b); }
.module-card--chat .module-card-icon { background: linear-gradient(145deg, #005dff, #38bdf8); }
.module-card--meet .module-card-icon { background: linear-gradient(145deg, #4f46e5, #06b6d4); }
.module-card--stories .module-card-icon { background: linear-gradient(145deg, #db2777, #f5b800); }
.module-card--ambassador .module-card-icon { background: linear-gradient(145deg, #f5b800, #f97316); }
.module-card--rewards .module-card-icon { background: linear-gradient(145deg, #059669, #84cc16); }

.module-card-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.module-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--rl-blue-deep);
  letter-spacing: -0.02em;
}

.module-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--rl-muted);
  flex: 1;
}

.module-card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rl-blue);
}

.module-card:hover .module-card-link {
  color: #003bb8;
}

.modules-showcase-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.25rem;
}

.modules-showcase-cta .btn--light {
  background: var(--rl-blue);
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px rgba(0, 93, 255, 0.25);
}

.modules-showcase-cta .btn--light:hover {
  background: #0047d4;
}

.modules-showcase-cta .btn--ghost-light {
  color: var(--rl-blue-deep);
  border-color: rgba(15, 23, 42, 0.14);
  background: #fff;
}

/* Commerce + lifestyle dual band */
.lifestyle-band {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
}

.lifestyle-band-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.lifestyle-band-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  letter-spacing: -0.03em;
  color: var(--rl-ink);
}

.lifestyle-band-head p {
  margin: 0;
  color: var(--rl-muted);
  line-height: 1.6;
}

.lifestyle-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lifestyle-pills a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--rl-line);
  color: var(--rl-blue-deep);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.lifestyle-pills a:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 93, 255, 0.35);
}

/* Strip update */
.service-strip--rebrand {
  background: #fff;
  border-block: 1px solid var(--rl-line);
}

.service-strip--rebrand .strip-pill--new {
  background: linear-gradient(135deg, rgba(0, 93, 255, 0.1), rgba(245, 184, 0, 0.15));
  border-color: rgba(0, 93, 255, 0.2);
  color: var(--rl-blue-deep);
  font-weight: 800;
}

@media (max-width: 960px) {
  .modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero--rebrand #hero-heading {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }
}
