/* ==========================================================================
   Investment plans section — uses the site's original card look (white
   cards, navy accent, blue/bitcoin backdrop) with the newer 5-plan
   line-up. Scoped under .ip-plans so it can't leak into or clash with
   the rest of the legacy page CSS.
   ========================================================================== */

.ip-plans {
  --ip-accent: #012c6d;
  --ip-accent-2: #01123c;
  --ip-card: #ffffff;
  --ip-text: #1c2331;
  --ip-muted: #6b7280;
  --ip-radius: 1rem;
  --ip-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.15);

  background: #007bff;
  background: linear-gradient(to right, #012c6dc2, #012c6d91), url(../images/btc3.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  padding: 90px 0;
}

.ip-plans * { box-sizing: border-box; }

.ip-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.ip-section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.ip-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ip-section-head h2 {
  font-size: 30px;
  font-weight: 700;
  color: #fff !important;
  margin: 0 0 14px;
}
.ip-section-head p {
  color: #fff !important;
  opacity: 0.9;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.ip-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ip-pricing-grid.ip-pricing-second-row {
  grid-template-columns: minmax(0, 340px);
  justify-content: center;
  margin-top: 20px;
}
.ip-plan {
  position: relative;
  background: var(--ip-card);
  border: none;
  border-radius: var(--ip-radius);
  overflow: hidden;
  box-shadow: var(--ip-shadow);
  display: flex;
  flex-direction: column;
  transition: margin 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 992px) {
  .ip-plan:hover {
    margin-top: -0.25rem;
    margin-bottom: 0.25rem;
    box-shadow: 0 0.5rem 1.4rem 0 rgba(0, 0, 0, 0.3);
  }
}
.ip-plan-head { padding: 26px 22px 0; text-align: center; }
.ip-plan-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1rem;
  color: var(--ip-muted);
  text-transform: uppercase;
}
.ip-plan-rate { font-size: 2.75rem; font-weight: 800; color: var(--ip-accent); margin: 8px 0 2px; }
.ip-plan-period { color: var(--ip-muted); font-size: 12px; margin-bottom: 4px; display: block; text-transform: uppercase; letter-spacing: 0.05em; }
.ip-plan-body { padding: 20px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.ip-plan-list { border-top: 1px solid rgba(0, 0, 0, 0.08); padding-top: 16px; margin: 0 0 22px; list-style: none; }
.ip-plan-list li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ip-text);
  padding: 8px 0;
  margin: 0;
}
.ip-plan-list li span { color: var(--ip-muted); text-transform: uppercase; font-size: 12px; letter-spacing: 0.04em; }
.ip-plan-list li b { color: var(--ip-accent); font-weight: 700; }
.ip-plan-featured {
  border-top: 4px solid var(--ip-accent);
  transform: translateY(-10px);
  box-shadow: 0 1rem 2.2rem 0 rgba(0, 0, 0, 0.35);
}
.ip-plan-ribbon {
  position: absolute;
  top: 16px;
  right: -34px;
  background: var(--ip-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 40px;
  transform: rotate(45deg);
  text-transform: uppercase;
}

.ip-btn {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1rem;
  border-radius: 5rem;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  border: 2px solid var(--ip-accent);
  cursor: pointer;
  opacity: 0.85;
  transition: all 0.2s ease;
  margin-top: auto;
}
.ip-btn-primary {
  background: var(--ip-accent);
  color: #fff !important;
}
.ip-btn-primary:hover { opacity: 1; background: var(--ip-accent-2); border-color: var(--ip-accent-2); color: #fff !important; }
.ip-btn-outline {
  background: transparent;
  color: var(--ip-accent) !important;
}
.ip-btn-outline:hover { opacity: 1; background: var(--ip-accent); color: #fff !important; }

@media (max-width: 1080px) {
  .ip-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .ip-plan-featured { transform: none; }
}
@media (max-width: 620px) {
  .ip-pricing-grid { grid-template-columns: 1fr; }
}
