/* =========================
   GLOBAL
========================= */
* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  background-color: #f8fafc;
  color: #111827;
}

/* =========================
   TAB UI
========================= */
.tab-btn {
  padding: 10px 24px;
  background: #e5e7eb;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.tab-btn:hover {
  background: #dbeafe;
  color: #1e40af;
}

.tab-btn.active {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

/* =========================
   TAB CONTENT
========================= */
.tab-content {
  display: none;
  animation: fadeIn 0.35s ease-in-out;
}

.tab-content.active {
  display: block;
}

/* subtle fade */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================
   PLAN CARD
========================= */
.plan-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f9fafb);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

/* =========================
   PLAN HEADER
========================= */
.plan-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.plan-card p.text-sm {
  margin-top: 4px;
  color: #6b7280;
}

/* =========================
   ROI DISPLAY
========================= */
.plan-roi {
  font-size: 28px;
  font-weight: 900;
  color: #2563eb;
  margin: 16px 0;
  letter-spacing: 0.2px;
}

/* =========================
   INVEST BUTTON
========================= */
.invest-btn {
  display: inline-flex;        /* IMPORTANT */
  align-items: center;
  justify-content: center;

  width: 100%;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  padding: 14px 0;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin: 18px 0 20px;         /* spacing fix */
  line-height: 1;              /* overlap fix */

  text-decoration: none;       /* anchor underline remove */
  cursor: pointer;

  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.invest-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.6);
}

/* =========================
   FEATURES LIST
========================= */
.plan-features {
  font-size: 14px;
  color: #374151;
  padding-left: 0;
}

.plan-features li {
  list-style: none;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

/* check / cross icons via CSS */
.plan-features li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 900;
  margin-top: 1px;
}

.plan-features li.text-red-500::before {
  content: "✕";
  color: #dc2626;
}

/* =========================
   COLOR HELPERS
========================= */
.text-green-600 {
  color: #16a34a;
  font-weight: 600;
}

.text-red-500 {
  color: #dc2626;
  font-weight: 600;
}

/* =========================
   BADGES (OPTIONAL USE)
========================= */
.plan-badge {
  display: inline-block;
  background: #e0e7ff;
  color: #1e40af;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: -12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* =========================
   RESPONSIVE TWEAKS
========================= */
@media (max-width: 640px) {
  .plan-roi {
    font-size: 24px;
  }

  .invest-btn {
    padding: 13px 0;
  }
}
.plan-features li:first-child {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}
.inv-required {
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-block;
}
.roi-note {
  font-size: 11px;        /* supersub small */
  font-weight: 400;       /* basic font */
  color: #6b7280;         /* light gray */
  margin-left: 4px;
  vertical-align: super; /* superscript feel */
}

