* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.26), transparent 34%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 32%),
    linear-gradient(135deg, #07111f, #0f172a 55%, #111827);
  color: #ffffff;
  min-height: 100vh;
}
a {
  color: inherit;
}
.top-nav {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #2563eb;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #cbd5e1;
  font-weight: 700;
}
.nav-links a,
.footer-links a {
  text-decoration: none;
}
.nav-links a:hover,
.footer-links a:hover {
  color: #ffffff;
}
.nav-btn {
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 800;
}
/* Main Content */
.page {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 70px 0 90px;
}
.hero {
  text-align: center;
  max-width: 870px;
  margin: 0 auto 56px;
}
.badge {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
  font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}
.hero p {
  font-size: 19px;
  line-height: 1.7;
  color: #cbd5e1;
}
/* Plans Grid - Updated for 4 tiers */
.plans-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  position: relative;
  padding: 34px;
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
}
.card.featured {
  border-color: rgba(96, 165, 250, 0.9);
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.75), rgba(15, 23, 42, 0.95));
  transform: scale(1.04);
}
.card.featured:hover {
  transform: scale(1.04) translateY(-8px);
}
.popular {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #3b82f6;
  color: white;
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}
.card h2 {
  font-size: 27px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.price {
  font-size: 52px;
  font-weight: 950;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.price span {
  font-size: 17px;
  color: #cbd5e1;
  font-weight: 700;
}
.desc {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 28px;
}
.features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}
.features li {
  padding: 11px 0;
  color: #e5e7eb;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.features li::before {
  content: "✓";
  color: #60a5fa;
  font-weight: 900;
  flex-shrink: 0;
}
.btn {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  color: white;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: auto;
  transition: all 0.3s ease;
}
.btn.primary {
  background: #2563eb;
  border-color: #2563eb;
}
.btn:hover,
.nav-btn:hover {
  transform: translateY(-3px);
}
/* Comparison Table */
.comparison {
  max-width: 1100px;
  margin: 100px auto 60px;
}
.comparison-title {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 40px;
  letter-spacing: -0.03em;
}
.comparison-table {
  overflow-x: auto;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.comparison-table th {
  background: rgba(30, 41, 59, 0.8);
  font-weight: 700;
  color: #bfdbfe;
  white-space: nowrap;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.tier-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
}
.feature-yes {
  color: #4ade80;
  font-weight: 700;
}
.feature-no {
  color: #f87171;
  font-weight: 700;
}

/* Make AmailMe row fully green */
.comparison-table tr:has(td:contains("AmailMe")) td,
.comparison-table tr:where(.amailme-row) td {
  color: #4ade80;
}
.comparison-table tr:has(td:contains("AmailMe")) .feature-yes,
.comparison-table tr:where(.amailme-row) .feature-yes {
  color: #4ade80;
}

/* Footer */
.footer {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #cbd5e1;
}
.footer strong {
  color: #ffffff;
  font-size: 18px;
}
.footer p {
  margin-top: 8px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}
/* Responsive */
@media (max-width: 900px) {
  .plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
  }
 
  .card.featured {
    transform: none;
  }
}
@media (max-width: 800px) {
  .top-nav,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
 
  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
  }
 
  .page {
    padding: 45px 0 70px;
  }
 
  .hero h1 {
    font-size: clamp(32px, 8vw, 52px);
  }
}
@media (max-width: 600px) {
  .card {
    padding: 28px 24px;
  }
 
  .price {
    font-size: 42px;
  }
}
