

/* Ensure homepage doesn't get squeezed by other container styles */
.home-page{
  max-width: 1040px;
  margin: 28px auto 40px;
  padding: 0 18px 30px;
}

/* ====== HERO CARD ====== */
.hero-card{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px;
  border:  2px solid #e0e0e0;
  box-shadow: 0 10px 20px rgba(16,24,40,0.06);
}

.hero-pill{
  display: inline-block;
  font-size: 18px;
  
  letter-spacing: .5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
}

.hero-title{
  margin: 14px 0 10px;
  font-size: 48px;
  line-height: 1.02;
  font-weight: 900;
  color: #0F172A;
}

.hero-accent{
  color: #4f46e5;
}

.hero-desc{
  margin: 0;
  max-width: 520px;
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
}

/* ====== HERO BUTTONS (looks like screenshot with two-line labels) ====== */
.hero-cta{
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

/* ====== HERO IMAGE (framed, rounded, shadow like screenshot) ====== */
.hero-right{
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame{
  width: 100%;
  max-width: 330px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15,23,42,0.22);
  border: 1px solid rgba(15,23,42,0.08);
  background: #fff;
}

.hero-image-frame img{
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

/* ====== FEATURE CARDS ====== */
.feature-grid{
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card{
  background: #fff;
  border-radius: 16px;
  padding: 18px 18px 16px;
  border: 2px solid #e0e0e0;
  box-shadow: 0 10px 18px rgba(16,24,40,0.05);
  display: flex;
  flex-direction: column;
}

.feature-icon{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
}

.feature-icon.mint{ background: #DFFAF2; color: #0F766E; }
.feature-icon.peach{ background: #FFE7D6; color: #C2410C; }
.feature-icon.pink{ background: #FFE3EA; color: #BE123C; }

.feature-title{
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 900;
  color: #0F172A;
}

.feature-desc{
  margin: 0 0 10px;
  font-size: 16px;
  color: #475569;
  line-height: 1.55;
}

.feature-link{
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  margin-top: auto; 
}

.feature-link.teal{ color: #0F766E; }
.feature-link.orange{ color: #D97706; }
.feature-link.red{ color: #DC2626; }

/* ====== CHALLENGE BANNER ====== */
.challenge-banner{
  margin-top: 18px;
  border-radius: 18px;
  padding: 22px 22px 18px;
  background: #4f46e5;
  color: #fff;
  box-shadow: 0 7px 13px #a29ee7a2;
}

.challenge-topline{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .6px;
  opacity: 0.95;
}

.challenge-star{
  font-size: 18px;
}

.challenge-title{
  margin: 10px 0 8px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
}

.challenge-desc{
  margin: 0 0 14px;
  opacity: 0.95;
  max-width: 760px;
  line-height: 1.65;
  font-size: 14px;
}



/* ====== Responsive ====== */
@media (max-width: 960px){
  .hero-card{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .hero-title{ font-size: 40px; }
  .hero-image-frame img{ height: 240px; }
  .btn-primary, .btn-outline{ width: 100%; }
  .hero-cta{ flex-direction: column; }
}
