:root{
  --bg:#f6f8fb;
  --card:#fff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
  --primary:#1f6feb;
  --primary-dark:#174ea6;
  --success:#16a34a;
}

.pricing{
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px;
}

.pricing-hero{
  text-align:center;
  margin-bottom: 44px;
}

.pricing-hero h1{
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 12px 0;
}

.pricing-hero .subtitle{
  margin: 0 auto;
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  display:flex;
  flex-direction:column;
  position:relative;
}

.plan.featured{
  border: 2px solid var(--primary);
  box-shadow: 0 12px 30px rgba(31,111,235,.14);
  transform: translateY(-2px);
}

.badge{
  position:absolute;
  top:-12px;
  right:18px;
  background: var(--primary);
  color:#fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
}

.plan h2{
  font-size: 22px;
  margin: 0 0 6px 0;
}

.plan-subtitle{
  margin: 0 0 18px 0;
  color: var(--muted);
}

.price{
  display:flex;
  align-items: baseline;
  gap: 10px;
  margin: 6px 0 0 0;
}

.price .amount{
  font-size: 40px;
  font-weight: 800;
}

.price .period{
  color: var(--muted);
}

.limit{
  margin: 8px 0 18px 0;
  color: var(--muted);
}

.features{
  list-style:none;
  padding:0;
  margin: 0 0 20px 0;
}

.features li{
  position:relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.features li::before{
  content:"✔";
  position:absolute;
  left:0;
  top:0;
  color: var(--success);
  font-weight: 800;
}

.cta{
  margin-top:auto;
  padding-top: 6px;
}

.btn{
  display:block;
  text-align:center;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration:none;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}

.btn:hover{
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn:active{
  transform: translateY(1px);
}

.btn.secondary{
  background:#fff;
  color: var(--primary);
}

.btn.secondary:hover{
  background: var(--primary);
  color:#fff;
}

.micro{
  margin: 10px 0 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align:center;
}

.extras{
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.extras h3{
  margin: 0 0 14px 0;
  font-size: 18px;
}

.extras-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.extra{
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.extra-price{
  margin-top: 6px;
  font-weight: 700;
}

.extra-desc{
  margin: 8px 0 0 0;
  color: var(--muted);
  font-size: 14px;
}

.pricing-footer{
  text-align:center;
  margin-top: 26px;
}

.pricing-footer .muted{
  color: var(--muted);
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 980px){
  .pricing-grid{ grid-template-columns: 1fr; }
  .plan.featured{ transform:none; }
  .extras-grid{ grid-template-columns: 1fr; }
  .pricing-hero h1{ font-size: 34px; }
}
