/* =============================================
   MyHealthMyInsurance.com — styles.css
   Phase 1 Stylesheet
   ============================================= */

/* --- VARIABLES --- */
:root {
  --navy:       #0a2342;
  --blue:       #1565c0;
  --sky:        #42a5f5;
  --green:      #2e7d32;
  --lightgreen: #66bb6a;
  --white:      #ffffff;
  --offwhite:   #f4f7fc;
  --gray:       #546e7a;
  --lightgray:  #eceff1;
  --gold:       #f9a825;
  --text:       #1a1a2e;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

/* --- NAVIGATION --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.logo {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo span { color: var(--sky); }

.nav-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
}
.nav-links a {
  color: #cfd8dc;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sky); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 700 !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  display: block;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--navy);
  padding: 1rem 2rem;
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: #cfd8dc;
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  padding-top: 64px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 60%, #0d47a1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.hero-inner { max-width: 820px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: var(--sky);
  border: 1px solid var(--sky);
  border-radius: 20px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--sky); }
.hero p {
  color: #b0bec5;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover {
  background: #fbc02d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,168,37,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
}

/* --- MOVEMENT COUNTER BAR --- */
.counter-bar {
  background: var(--gold);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.counter-item { text-align: center; }
.counter-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
}
.counter-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- SECTION BASE --- */
section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 3rem;
}
.bg-off { background: var(--offwhite); }
.bg-navy { background: var(--navy); }

/* --- CARDS --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; color: var(--gray); line-height: 1.6; }

/* --- ICHRA SECTION --- */
.ichra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ichra-img {
  background: linear-gradient(135deg, var(--blue), var(--sky));
  border-radius: 20px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
}
.ichra-points {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.ichra-point { display: flex; gap: 1rem; align-items: flex-start; }
.ichra-point .dot {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sky);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  margin-top: 2px;
}
.ichra-point p { font-size: 0.95rem; color: var(--gray); line-height: 1.6; }
.ichra-point strong { color: var(--navy); }

/* --- TABS --- */
.tab-bar { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab {
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  border: 2px solid var(--lightgray);
  background: var(--white);
  color: var(--gray);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}
.tab.active { background: var(--navy); color: white; border-color: var(--navy); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --- SPOTLIGHT CARDS --- */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.spotlight-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-top: 4px solid var(--blue);
}
.spotlight-card.gold-border  { border-top-color: var(--gold); }
.spotlight-card.green-border { border-top-color: var(--lightgreen); }

.spotlight-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  background: var(--lightgray);
  color: var(--gray);
  margin-bottom: 0.8rem;
}
.spotlight-badge.gold     { background: #fff8e1; color: #e65100; }
.spotlight-badge.featured { background: #e8f5e9; color: var(--green); }

.spotlight-logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.spotlight-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.spotlight-card .meta { font-size: 0.82rem; color: var(--sky); margin-bottom: 0.6rem; font-weight: 600; }
.spotlight-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }
.spotlight-cta {
  margin-top: 1rem;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.spotlight-cta:hover { text-decoration: underline; }

/* --- CROWDFUNDING --- */
.fund-box {
  background: linear-gradient(135deg, #0d47a1, var(--navy));
  border-radius: 24px;
  padding: 3rem;
  color: white;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.fund-box h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; }
.fund-box p  { color: #b0bec5; line-height: 1.7; margin-bottom: 1.5rem; font-size: 1rem; }
.progress-wrap {
  background: rgba(255,255,255,0.15);
  border-radius: 30px;
  height: 18px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 30px;
  width: 12%;
  transition: width 1s;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #90a4ae;
  margin-bottom: 1.5rem;
}
.progress-raised { font-weight: 700; color: var(--gold); }
.fund-pitch {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  color: #cfd8dc;
  line-height: 1.7;
  font-style: italic;
  text-align: left;
}

/* --- FAQ --- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.faq-q {
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.97rem;
}
.faq-q:hover { background: var(--offwhite); }
.faq-a {
  display: none;
  padding: 0 1.5rem 1.2rem;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.7;
}
.faq-a.open { display: block; }
.faq-arrow { transition: transform 0.2s; font-size: 0.8rem; }
.faq-arrow.open { transform: rotate(180deg); }

/* --- JOIN FORM --- */
.join-form {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}
.join-form h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; text-align: center; }
.join-form p  { font-size: 0.9rem; color: var(--gray); text-align: center; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--lightgray);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--sky); }
.btn-form {
  width: 100%;
  background: var(--navy);
  color: white;
  padding: 0.9rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.btn-form:hover { background: var(--blue); }
.form-note { font-size: 0.75rem; color: var(--gray); text-align: center; margin-top: 0.8rem; }

/* --- MISSION BANNER --- */
.mission {
  background: var(--green);
  color: white;
  text-align: center;
  padding: 3rem 1.5rem;
}
.mission h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.8rem; }
.mission p  { font-size: 1rem; color: #c8e6c9; max-width: 640px; margin: 0 auto 1.5rem; line-height: 1.7; }

/* --- FOOTER --- */
footer { background: #060f1e; color: #78909c; padding: 3rem 1.5rem 1.5rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 0.8rem; max-width: 280px; }
.footer-col h4  { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col a   { display: block; color: #78909c; text-decoration: none; font-size: 0.85rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  border-top: 1px solid #1a2a3a;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-logo { color: var(--white); font-size: 1rem; font-weight: 800; }
.footer-logo span { color: var(--sky); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .ichra-grid { grid-template-columns: 1fr; }
  .ichra-img  { height: 220px; font-size: 5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .counter-bar { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
