/* =============================================
   CHAPPS Corporate Website — Stylesheet
   ============================================= */

:root {
  --navy:       #0a1628;
  --navy-mid:   #0f2340;
  --blue:       #1e3a5f;
  --gold:       #c9a84c;
  --gold-light: #e8c96a;
  --gold-dark:  #a07830;
  --white:      #ffffff;
  --off-white:  #f8f9fc;
  --text-dark:  #1a2532;
  --text-muted: #6b7280;
  --border:     #e5e9ef;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

/* =============================================
   NAVIGATION
   ============================================= */
.chapps-nav {
  background: transparent;
  padding: 20px 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.chapps-nav.scrolled {
  background: rgba(10, 22, 40, .97);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.nav-logo {
  height: 54px;
  width: auto;
  filter: brightness(1.1);
}
.chapps-nav .nav-link {
  color: rgba(255,255,255,.8) !important;
  font-weight: 500;
  font-size: .9rem;
  transition: color .2s;
  padding: 6px 14px !important;
  border-radius: 6px;
}
.chapps-nav .nav-link:hover { color: var(--gold) !important; }

.toggler-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}
.toggler-icon span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border: none;
  border-radius: 8px;
  transition: background .2s, transform .15s;
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
}

/* =============================================
   HERO
   ============================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,22,40,.96) 0%,
    rgba(10,22,40,.85) 50%,
    rgba(10,22,40,.4) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}
.hero-title-sub {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 2px;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
}
.hero-tagline {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 16px;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  line-height: 1.7;
}
.hero-desc strong { color: var(--gold); }

.hero-stats {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.4);
  font-size: 1.5rem;
  animation: bounceDown 2s ease-in-out infinite;
  z-index: 1;
  text-decoration: none;
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   MEDIA STRIP
   ============================================= */
.media-strip {
  background: var(--off-white);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.media-label {
  color: var(--text-muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}
.media-logo {
  height: 40px;
  width: auto;
  opacity: .65;
  filter: grayscale(0.2);
  transition: opacity .3s, filter .3s;
}
.media-logo:hover { opacity: 1; filter: none; }

/* =============================================
   SECTIONS
   ============================================= */
.section-light {
  padding: 100px 0;
  background: var(--off-white);
}
.section-dark {
  padding: 100px 0;
  background: var(--navy);
}
.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(30,58,95,.1);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-tag-gold {
  color: var(--gold-dark);
  background: rgba(201,168,76,.12);
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* =============================================
   ABOUT — 168-hour visual
   ============================================= */
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  font-size: .875rem;
}
.about-feature i {
  color: var(--gold);
  font-size: 1.1rem;
}

.about-visual { padding: 20px; }
.hours-ring-outer {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0% 24%, var(--navy-mid) 24% 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 30px;
  box-shadow: 0 8px 32px rgba(201,168,76,.2);
}
.hours-ring-inner {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.hours-num {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  line-height: 1;
}
.hours-text { font-size: .7rem; color: var(--text-muted); font-weight: 600; }

.hours-breakdown {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.hb-item { margin-bottom: 10px; }
.hb-bar {
  border-radius: 6px;
  padding: 8px 14px;
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
}
.hb-work .hb-bar  { background: var(--gold); color: var(--navy); }
.hb-rest .hb-bar  { background: var(--blue); }

.hb-sub { display: flex; flex-direction: column; gap: 6px; }
.hb-sub-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--text-muted);
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%; flex-shrink: 0;
}
.dot-tax     { background: var(--gold); }
.dot-benefits { background: #198754; }
.dot-stipend  { background: #0d6efd; }
.dot-retire   { background: #6f42c1; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 32px 24px;
  height: 100%;
  transition: background .25s, border-color .25s, transform .25s;
  position: relative;
}
.how-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(201,168,76,.3);
  transform: translateY(-4px);
}
.how-num {
  font-size: 3rem;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: rgba(201,168,76,.15);
  line-height: 1;
  margin-bottom: 8px;
}
.how-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.how-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.how-card p {
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  line-height: 1.7;
}

/* Daily Pay Grid */
.daily-grid { display: flex; flex-direction: column; gap: 10px; }
.daily-row  { display: flex; align-items: center; gap: 12px; }
.daily-label {
  width: 70px;
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  flex-shrink: 0;
  text-align: right;
}
.daily-bars { display: flex; flex: 1; border-radius: 8px; overflow: hidden; height: 40px; }
.daily-bar {
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700;
  color: #fff; transition: width .6s;
}
.bar-benefits { background: #198754; }
.bar-taxable   { background: var(--gold); color: var(--navy); }
.bar-stipend   { background: #0d6efd; }
.bar-retire    { background: #6f42c1; }
.daily-legend  { color: rgba(255,255,255,.5); font-size: .8rem; display: flex; gap: 12px; }
.legend-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50;
  margin-right: 5px;
}

/* =============================================
   FOUR-IN-A-BOX TABLE
   ============================================= */
.four-box-table-wrap {
  background: #fff;
  border-radius: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.four-box-table { margin: 0; }
.four-box-table thead th {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: center;
  padding: 14px 10px;
  border: none;
}
.four-box-table tbody td {
  text-align: center;
  vertical-align: middle;
  padding: 14px 10px;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}
.work-day { color: var(--gold); font-size: 1rem; font-weight: bold; }
.off-day  { color: #dee2e6; font-size: .72rem; font-weight: 500; }
.bid-type {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}
.emp-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}
.emp-1 { background: rgba(201,168,76,.15); color: var(--gold-dark); }
.emp-2 { background: rgba(25,135,84,.12); color: #198754; }
.emp-3 { background: rgba(13,110,253,.1); color: #0d6efd; }
.emp-4 { background: rgba(111,66,193,.1); color: #6f42c1; }

.four-stat-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  border-top: 4px solid var(--accent, var(--gold));
  transition: transform .2s, box-shadow .2s;
}
.four-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.four-stat-card i {
  font-size: 1.5rem;
  color: var(--accent, var(--gold));
  margin-bottom: 8px;
  display: block;
}

/* =============================================
   PAY SYSTEM CARDS
   ============================================= */
.pay-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 30px 24px;
  height: 100%;
  transition: background .25s, border-color .25s, transform .25s;
}
.pay-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(201,168,76,.25);
  transform: translateY(-4px);
}
.pay-card-gold {
  border-color: rgba(201,168,76,.3) !important;
  background: rgba(201,168,76,.05) !important;
}
.pay-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.pay-card h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.pay-card p  { color: rgba(255,255,255,.5); font-size: .875rem; line-height: 1.7; }

/* =============================================
   FOUNDER
   ============================================= */
.founder-img-wrap {
  position: relative;
  display: inline-block;
}
.founder-img {
  width: 340px;
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.founder-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .8rem;
  padding: 10px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(201,168,76,.3);
}
.founder-quote {
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  background: rgba(201,168,76,.06);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy-mid);
  margin: 24px 0;
}
.founder-quote cite {
  display: block;
  margin-top: 8px;
  font-size: .8rem;
  font-style: normal;
  font-weight: 700;
  color: var(--gold-dark);
}

/* =============================================
   BOOK SECTION
   ============================================= */
.book-section {
  background: var(--navy-mid);
  padding: 80px 0;
}
.book-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 20px;
  padding: 50px;
}
.book-img {
  width: 180px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  transform: rotate(-3deg);
  transition: transform .3s;
}
.book-img:hover { transform: rotate(0deg) scale(1.03); }

/* =============================================
   VIDEO CARDS
   ============================================= */
.video-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,22,40,.5);
  color: #fff;
  font-size: 2.5rem;
  text-decoration: none;
  transition: background .2s;
}
.video-play-btn:hover { background: rgba(201,168,76,.7); color: var(--navy); }
.video-info { padding: 20px; }
.video-info h5 { font-size: .95rem; margin-bottom: 8px; color: var(--navy); }
.video-info p  { font-size: .8rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* =============================================
   SIGNUP FORM
   ============================================= */
.signup-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 40px;
}
.signup-card .form-label {
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.signup-card .form-control,
.signup-card .form-select {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
}
.signup-card .form-control::placeholder { color: rgba(255,255,255,.3); }
.signup-card .form-control:focus,
.signup-card .form-select:focus {
  background: rgba(255,255,255,.12);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
  color: #fff;
}
.signup-card .form-select option { background: var(--navy-mid); }

/* =============================================
   CONTACT
   ============================================= */
.contact-info { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  transition: color .2s;
}
.contact-item i { color: var(--gold); font-size: 1.2rem; }
.contact-item:hover { color: var(--navy); }

/* =============================================
   SOCIAL BUTTONS
   ============================================= */
.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(30,58,95,.1);
  border: 1px solid var(--border);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.social-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.social-btn-lg { width: 48px; height: 48px; font-size: 1.2rem; }

/* =============================================
   FOOTER
   ============================================= */
.chapps-footer {
  background: var(--navy);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-logo {
  height: 50px;
  width: auto;
  display: block;
}
.footer-tagline {
  color: rgba(255,255,255,.4);
  font-size: .85rem;
  margin-top: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: center;
}
.footer-nav a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-credit {
  color: rgba(255,255,255,.3);
  font-size: .8rem;
  margin: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,.25);
  font-size: .8rem;
  margin: 0;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(201,168,76,.35);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* =============================================
   DROPDOWN
   ============================================= */
.dropdown-menu-dark {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 8px;
}
.dropdown-menu-dark .dropdown-item {
  border-radius: 8px;
  padding: 8px 14px;
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  transition: background .15s, color .15s;
}
.dropdown-menu-dark .dropdown-item:hover {
  background: rgba(201,168,76,.15);
  color: var(--gold);
}

/* =============================================
   HIDDEN FIGURES SECTION
   ============================================= */
.hf-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.hf-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.hf-card h3 { font-size: 1.3rem; margin-bottom: 14px; color: var(--navy); }
.hf-card p  { color: var(--text-muted); line-height: 1.75; margin-bottom: 10px; }
.hf-card strong { color: var(--navy); }
.hf-card em { color: var(--gold-dark); }

.pay-model-list { display: flex; flex-direction: column; gap: 16px; }
.pay-model {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px;
  background: var(--off-white);
  border-radius: 10px;
  border-left: 4px solid var(--gold);
}
.pm-num {
  font-size: 1.1rem;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
.pay-model strong { display: block; font-size: .9rem; color: var(--navy); margin-bottom: 4px; }
.pay-model p { font-size: .8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

.natural-law-banner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 16px;
  padding: 36px 40px;
  color: #fff;
  margin-top: 20px;
}
.natural-law-icon { font-size: 2.5rem; color: var(--gold); flex-shrink: 0; margin-top: 4px; }
.natural-law-banner h4 { font-size: 1.2rem; margin-bottom: 10px; }
.natural-law-banner p  { color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 8px; }
.natural-law-banner em { color: var(--gold); font-style: italic; }

/* =============================================
   QUARTERLY RETIREMENT
   ============================================= */
.retire-facts { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.retire-fact  { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.75); font-size: .9rem; }
.retire-fact i { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.retire-quote {
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  background: rgba(201,168,76,.08);
  border-radius: 0 8px 8px 0;
  color: rgba(255,255,255,.6);
  font-style: italic;
  font-size: .875rem;
  line-height: 1.65;
  margin-top: 16px;
}

.retire-visual {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  overflow: hidden;
}
.rv-header {
  padding: 14px 20px;
  background: rgba(255,255,255,.06);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.rv-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.rv-quarter { display: flex; align-items: center; gap: 14px; }
.rv-q-label {
  width: 28px;
  font-size: .72rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  flex-shrink: 0;
}
.rv-q-bar {
  flex: 1;
  height: 32px;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  overflow: hidden;
}
.rv-q-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  transition: width 1.2s ease;
}
.rv-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .75rem;
  color: rgba(255,255,255,.4);
}
.rv-note { display: flex; align-items: flex-start; gap: 8px; }

/* =============================================
   WHO THIS IS FOR
   ============================================= */
.msg-card {
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  border-top: 5px solid transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  background: #fff;
  transition: transform .25s;
}
.msg-card:hover { transform: translateY(-4px); }
.msg-worker  { border-top-color: var(--gold); }
.msg-employer { border-top-color: #198754; }
.msg-policy  { border-top-color: #0d6efd; }
.msg-natural  { border-top-color: #6f42c1; }
.msg-icon { font-size: 1.8rem; margin-bottom: 14px; }
.msg-worker  .msg-icon { color: var(--gold); }
.msg-employer .msg-icon { color: #198754; }
.msg-policy  .msg-icon { color: #0d6efd; }
.msg-natural  .msg-icon { color: #6f42c1; }
.msg-card h5 { font-size: 1rem; color: var(--navy); margin-bottom: 10px; }
.msg-card p  { font-size: .82rem; color: var(--text-muted); line-height: 1.7; font-style: italic; margin: 0; }

/* =============================================
   LARRY PINSON CHATBOT WIDGET
   ============================================= */
.chappy-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* FAB button */
.chappy-fab {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border: 3px solid var(--gold);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,0,0,.3), 0 0 0 0 rgba(201,168,76,.4);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform .2s, box-shadow .2s;
  animation: chappyPulse 3s ease-in-out infinite;
}
.chappy-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(0,0,0,.35), 0 0 0 6px rgba(201,168,76,.15);
  animation: none;
}
@keyframes chappyPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(0,0,0,.3), 0 0 0 0 rgba(201,168,76,.4); }
  50% { box-shadow: 0 6px 24px rgba(0,0,0,.3), 0 0 0 10px rgba(201,168,76,0); }
}
.chappy-fab-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: .65rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  font-family: 'Montserrat', sans-serif;
}

/* Chat window */
.chappy-window {
  width: 360px;
  max-width: calc(100vw - 40px);
  background: #0f1e33;
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transform: scale(.92) translateY(20px);
  opacity: 0;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), opacity .25s;
}
.chappy-window.chappy-window-open {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.chappy-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  border-bottom: 1px solid rgba(201,168,76,.2);
}
.chappy-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  flex-shrink: 0;
  border: 2px solid rgba(201,168,76,.4);
}
.chappy-name  { font-weight: 800; font-size: .95rem; color: #fff; font-family: 'Montserrat', sans-serif; }
.chappy-status { font-size: .7rem; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 5px; }
.chappy-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4caf50;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { opacity:1; } 50% { opacity:.4; }
}
.chappy-minimize {
  margin-left: auto;
  background: rgba(255,255,255,.08);
  border: none;
  color: rgba(255,255,255,.6);
  width: 28px; height: 28px;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.chappy-minimize:hover { background: rgba(255,255,255,.15); color: #fff; }

.chappy-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
  min-height: 200px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,.2) transparent;
}
.chappy-msg { display: flex; gap: 8px; align-items: flex-end; }
.chappy-bot { flex-direction: row; }
.chappy-user { flex-direction: row-reverse; }

.cm-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  font-size: .7rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
}
.cm-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .82rem;
  line-height: 1.6;
  animation: bubbleIn .2s ease-out;
}
@keyframes bubbleIn {
  from { opacity:0; transform: translateY(6px); }
  to   { opacity:1; transform: translateY(0); }
}
.chappy-bot  .cm-bubble {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  border-bottom-left-radius: 4px;
}
.chappy-bot .cm-bubble a { color: var(--gold); }
.chappy-user .cm-bubble {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  border-bottom-right-radius: 4px;
}
.cm-typing { display: flex; align-items: center; gap: 5px; padding: 12px 16px; }
.cm-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  animation: typingDot 1.2s ease-in-out infinite;
}
.cm-typing span:nth-child(2) { animation-delay: .2s; }
.cm-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
  0%,60%,100% { transform: translateY(0); opacity:.4; }
  30% { transform: translateY(-5px); opacity:1; }
}

.chappy-quick {
  padding: 8px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.cq-btn {
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.25);
  color: var(--gold);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.cq-btn:hover { background: rgba(201,168,76,.25); }

.chappy-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.2);
}
.chappy-input {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: #fff;
  padding: 9px 14px;
  font-size: .85rem;
  outline: none;
  transition: border-color .2s;
}
.chappy-input::placeholder { color: rgba(255,255,255,.3); }
.chappy-input:focus { border-color: var(--gold); }
.chappy-send {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gold);
  border: none;
  color: var(--navy);
  font-size: .95rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.chappy-send:hover { background: var(--gold-light); transform: scale(1.07); }

@media (max-width: 480px) {
  .chappy-widget { bottom: 16px; right: 16px; }
  .chappy-window { width: calc(100vw - 32px); }
}

/* =============================================
   NAV PHONE
   ============================================= */
.nav-phone {
  color: var(--gold) !important;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .3px;
  transition: opacity .2s;
}
.nav-phone:hover { opacity: .75; }

/* =============================================
   SIGNUP — PRICING BANNER
   ============================================= */
.signup-pricing-banner {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 16px;
  overflow: hidden;
}
.spb-left {
  padding: 24px 28px;
  text-align: center;
  background: var(--gold);
  flex-shrink: 0;
}
.spb-price {
  font-size: 2.4rem;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  line-height: 1;
}
.spb-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 4px;
}
.spb-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(201,168,76,.25);
}
.spb-right {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spb-detail {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
.text-gold { color: var(--gold) !important; }

/* =============================================
   SIGNUP — TERMS
   ============================================= */
.signup-terms {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}
.terms-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  background: rgba(255,255,255,.06);
  border: none;
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  text-align: left;
}
.terms-toggle:hover { background: rgba(255,255,255,.1); }
.terms-chevron { transition: transform .3s; flex-shrink: 0; }
.terms-toggle[aria-expanded="true"] .terms-chevron { transform: rotate(180deg); }
.terms-body {
  background: rgba(0,0,0,.2);
  padding: 20px 24px;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,.3) transparent;
}
.terms-body h6 {
  color: var(--gold);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 16px;
  margin-bottom: 6px;
}
.terms-body h6:first-child { margin-top: 0; }
.terms-body p {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  margin-bottom: 6px;
}
.terms-body strong { color: rgba(255,255,255,.75); }

/* =============================================
   SIGNUP — FORM EXTRAS
   ============================================= */
.terms-check { display: flex; gap: 10px; align-items: flex-start; }
.terms-check .form-check-input {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  border-color: rgba(255,255,255,.3);
  background-color: rgba(255,255,255,.08);
}
.terms-check .form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.terms-check .form-check-label {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  line-height: 1.5;
  cursor: pointer;
}
.terms-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold);
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.4);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  transition: color .2s;
}
.password-toggle:hover { color: var(--gold); }

/* =============================================
   SECTION CONTEXT OVERRIDES
   Fixes text + card visibility across dark/light sections
   ============================================= */

/* --- Dark section: force readable text on navy background --- */
.section-dark .section-title       { color: #ffffff; }
.section-dark .section-body        { color: rgba(255,255,255,.72); }
.section-dark .section-tag         { color: var(--gold-light); background: rgba(201,168,76,.12); }
.section-dark .section-tag-gold    { color: var(--gold-light); background: rgba(201,168,76,.12); }

/* --- Light section: how-card was designed for dark — invert for light --- */
.section-light .how-card           { background: #ffffff; border-color: var(--border); box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.section-light .how-card h4        { color: var(--navy); }
.section-light .how-card p         { color: var(--text-muted); }
.section-light .how-card .how-num  { color: rgba(201,168,76,.4); }
.section-light .how-card:hover     { background: #ffffff; border-color: rgba(201,168,76,.45); box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-4px); }
.section-light .how-card strong    { color: var(--navy); }

/* --- Light section: pay-card was designed for dark — invert for light --- */
.section-light .pay-card           { background: #ffffff; border-color: var(--border); box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.section-light .pay-card h4        { color: var(--navy); }
.section-light .pay-card p         { color: var(--text-muted); }
.section-light .pay-card ul        { list-style: disc; padding-left: 1.2rem; }
.section-light .pay-card ul li     { color: var(--text-muted); }
.section-light .pay-card:hover     { border-color: rgba(201,168,76,.45); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.section-light .pay-icon           { color: var(--gold); }

/* --- Light section: retire-visual needs a dark bg to show its white text --- */
.section-light .retire-visual      { background: var(--navy-mid); border-color: rgba(255,255,255,.1); }

/* --- Light section: pay-model blends into off-white — give it a white card --- */
.section-light .pay-model          { background: #ffffff; box-shadow: 0 1px 8px rgba(0,0,0,.06); }

/* --- Message card label + signature (used on tithes, movement, financial-freedom) --- */
.msg-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.msg-sig {
  margin-top: 14px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-dark);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
  .chapps-nav .navbar-collapse {
    background: rgba(10,22,40,.97);
    padding: 20px;
    border-radius: 16px;
    margin-top: 10px;
  }
  .section-light, .section-dark { padding: 70px 0; }
  .book-card { padding: 30px 24px; }
  .signup-card { padding: 28px 20px; }
}
@media (max-width: 767.98px) {
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 1.6rem; }
  .daily-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .daily-label { width: auto; text-align: left; }
  .daily-bars { width: 100%; }
}

/* =============================================
   INNER PAGE — ALWAYS-DARK NAV
   ============================================= */
.inner-page .chapps-nav {
  background: rgba(10,22,40,.97);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

/* =============================================
   PAGE HERO (inner page headers)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 120px 0 60px;
  border-bottom: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .ph-tag {
  display: inline-block;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 16px; line-height: 1.2; }
.page-hero p { color: rgba(255,255,255,.65); max-width: 600px; font-size: 1.05rem; line-height: 1.7; margin-bottom: 0; }
.page-hero .breadcrumb { background: transparent; padding: 0; margin-bottom: 12px; }
.page-hero .breadcrumb-item { color: rgba(255,255,255,.4); font-size: .82rem; }
.page-hero .breadcrumb-item a { color: var(--gold); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.7); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* =============================================
   FEATURE PREVIEW CARDS (home page)
   ============================================= */
.feature-section {
  padding: 80px 0;
  background: var(--off-white);
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  text-decoration: none;
  color: inherit;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: var(--gold);
  text-decoration: none;
}
.fc-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.fc-title {
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}
.fc-body { color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 20px; font-size: .95rem; }
.fc-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-weight: 700;
  font-size: .85rem; text-transform: uppercase; letter-spacing: .5px;
}
.feature-card:hover .fc-link { gap: 10px; }

/* =============================================
   CTA SECTION (gold banner)
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 70px 0;
}
.cta-section h2 { color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.cta-section p { color: rgba(10,22,40,.72); font-size: 1.05rem; margin-bottom: 0; }
.btn-navy {
  background: var(--navy); color: #fff;
  border-radius: 10px; font-weight: 700;
  padding: 14px 40px; font-size: 1rem;
  border: none;
  transition: background .2s, transform .15s;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-navy:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* =============================================
   STATS STRIP (home page)
   ============================================= */
.stats-strip {
  background: var(--navy);
  padding: 50px 0;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; color: var(--gold);
  line-height: 1;
  display: block; margin-bottom: 8px;
}
.stat-label { color: rgba(255,255,255,.55); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; background: rgba(255,255,255,.1); height: 60px; align-self: center; }

/* =============================================
   ABOUT PREVIEW (home page short version)
   ============================================= */
.about-preview-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-weight: 700; text-decoration: none;
  font-size: .95rem; margin-top: 16px;
  transition: gap .2s;
}
.about-preview-link:hover { gap: 12px; color: var(--gold-dark); }

/* =============================================
   INNER PAGE NAV ACTIVE STATE
   ============================================= */
.chapps-nav .nav-link.page-active {
  color: var(--gold) !important;
  background: rgba(201,168,76,.08);
  border-radius: 6px;
}
