/* ============================================================
   PROSPERITY PARTNERS — MASTER STYLESHEET
   Brand Colors:
     Primary Purple:   #300740  (hero backgrounds, primary sections)
     Secondary Purple: #2600A6  (alternating dark sections, cards)
     Cream/Ivory:      #F8F4E8  (light interior sections)
     Footer Dark:      #1a1a2e  (footer / very bottom of page)
     Gold:             #D1A816  (accent, buttons, borders)
     Light Text:       #F8F4F8  (text on dark backgrounds)
     Dark Text:        #150537  (text on light/cream backgrounds)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;600&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: #300740;
  color: #F8F4F8;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
.gold { color: #D1A816; }
.purple { color: #300740; }
.soft { color: #D0C8E8; }

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { flex-direction: column; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 40px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  letter-spacing: 0.5px;
  text-align: center;
}
.btn-gold {
  background: linear-gradient(135deg, #D1A816, #e8c020, #D1A816);
  color: #150537;
}
.btn-gold:hover { background: linear-gradient(135deg, #e8c020, #D1A816, #e8c020); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(209,168,22,0.4); }
.btn-outline {
  background: transparent;
  color: #D1A816;
  border: 2px solid #D1A816;
}
.btn-outline:hover { background: #D1A816; color: #150537; transform: translateY(-2px); }
.btn-purple {
  background: #2600A6;
  color: #F8F4F8;
}
.btn-purple:hover { background: #300740; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(64,51,173,0.5); }
.btn-lg { padding: 20px 48px; font-size: 1.1rem; }
.btn-full { width: 100%; display: block; }

/* ---- DIVIDERS ---- */
.gold-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #D1A816, #e8c020);
  margin: 16px auto;
  border-radius: 2px;
}
.gold-line-left { margin: 16px 0; }

/* ---- CARDS ---- */
.card {
  background: #F8F4E8;
  border: 1px solid #D1A816;
  border-radius: 8px;
  padding: 36px 28px;
  color: #150537;
  transition: all 0.3s ease;
}
.card h2, .card h3, .card h4 { color: #150537; }
.card p { color: #2a1a4a; }
.card:hover { border-color: #D1A816; transform: translateY(-4px); box-shadow: 0 12px 40px rgba(209,168,22,0.25); }
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid-5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: radial-gradient(ellipse at top left, #8a1fd4 0%, #300740 65%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D1A816' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-content { position: relative; z-index: 1; max-width: 860px; }
.hero-badge {
  display: inline-block;
  background: rgba(209,168,22,0.15);
  border: 1px solid rgba(209,168,22,0.5);
  color: #D1A816;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #D0C8E8;
  max-width: 640px;
  margin: 20px auto 40px;
}

/* ---- SECTION LABELS ---- */
.section-label, .section-label-center {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D1A816;
  margin-bottom: 12px;
}
.section-label-center { text-align: center; }
.section-title-center {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  color: #F8F4F8;
}
.section-sub-center {
  text-align: center;
  color: #D0C8E8;
  max-width: 680px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- INTERIOR SECTIONS (cream/ivory background) ---- */
.section-ivory {
  background: #F8F4E8;
  color: #150537;
  padding: 80px 0;
}
.section-ivory h2, .section-ivory h3, .section-ivory h4 { color: #150537; }
.section-ivory p { color: #2a1a4a; }
.section-ivory .soft { color: #5a4a7a; }
.section-ivory .section-label, .section-ivory .section-label-center { color: #8B6914; }
.section-ivory .section-title-center { color: #150537; }
.section-ivory .section-sub-center { color: #2a1a4a; }

.section-ivory-alt {
  background: #EDE8D5;
  color: #150537;
  padding: 80px 0;
}
.section-ivory-alt h2, .section-ivory-alt h3, .section-ivory-alt h4 { color: #150537; }
.section-ivory-alt p { color: #2a1a4a; }

/* ---- SECONDARY DARK SECTIONS ---- */
.section-secondary {
  background: #2600A6;
  color: #F8F4F8;
  padding: 80px 0;
}
.section-secondary h2, .section-secondary h3 { color: #F8F4F8; }
.section-secondary p { color: #D0C8E8; }

/* ---- VERTICAL CARDS (Homepage) ---- */
.vertical-card {
  background: #F8F4E8;
  border: 1px solid #D1A816;
  border-radius: 10px;
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #150537;
}
.vertical-card:hover { border-color: #D1A816; transform: translateY(-6px); box-shadow: 0 16px 48px rgba(209,168,22,0.3); }
.vertical-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(111,18,171,0.1);
  border: 2px solid #300740;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.vertical-card:hover .icon { background: rgba(209,168,22,0.15); border-color: #D1A816; }
.vertical-card h3 { font-size: 1.1rem; color: #150537; }
.vertical-card p { font-size: 0.9rem; color: #2a1a4a; }
.vertical-card .arrow {
  font-size: 0.85rem;
  color: #D1A816;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: #F8F4E8;
  border-top: 1px solid #D1A816;
  border-bottom: 1px solid #D1A816;
  padding: 24px 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #150537;
  letter-spacing: 0.5px;
}
.trust-item span.check { color: #D1A816; font-size: 1rem; }

/* ---- FOOTER ---- */
footer {
  background: #1a1a2e;
  border-top: 2px solid #D1A816;
  padding: 40px 0 24px;
  text-align: center;
  color: #D0C8E8;
  font-size: 0.85rem;
}
footer .footer-logo { margin: 0 auto 16px; max-width: 200px; }
footer a { color: #D0C8E8; }
footer a:hover { color: #D1A816; }
footer p { color: #D0C8E8; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-phone { color: #D1A816; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; display: block; margin-bottom: 12px; }

/* ---- HUB PAGE ---- */
.hub-hero {
  background: radial-gradient(ellipse at top, #8a1fd4 0%, #300740 70%);
  padding: 80px 24px 60px;
  text-align: center;
}
.hub-hero .division-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D0C8E8;
  margin-bottom: 12px;
}
.hub-sub { color: #D0C8E8; max-width: 600px; margin: 20px auto 0; font-size: 1.05rem; }
.hub-options { padding: 60px 0 80px; background: #2600A6; }
.hub-option-card {
  background: #F8F4E8;
  border: 1px solid #D1A816;
  border-radius: 10px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #150537;
}
.hub-option-card:hover { border-color: #D1A816; transform: translateY(-4px); box-shadow: 0 12px 40px rgba(209,168,22,0.25); }
.hub-option-card .option-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D1A816;
}
.hub-option-card h3 { font-size: 1.4rem; color: #150537; }
.hub-option-card p { color: #2a1a4a; font-size: 0.95rem; }
.hub-option-card .cta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #D1A816;
  margin-top: 8px;
}
.coming-soon-badge {
  display: inline-block;
  background: rgba(209,168,22,0.15);
  border: 1px solid rgba(209,168,22,0.4);
  color: #8B6914;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
}

/* ---- BACK LINK ---- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #D0C8E8;
  font-size: 0.85rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 16px 24px;
  transition: color 0.2s;
}
.back-link:hover { color: #D1A816; }

/* ---- URGENCY BAR ---- */
.urgency-bar {
  background: linear-gradient(90deg, #300740, #2600A6);
  border-bottom: 2px solid #D1A816;
  padding: 12px 24px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #F8F4F8;
}
.urgency-bar span { color: #D1A816; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding: 60px 20px; }
  .card-grid-5 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
@media (max-width: 480px) {
  .btn-lg { padding: 16px 28px; font-size: 1rem; }
  .card-grid-5 { grid-template-columns: 1fr 1fr; }
}
