/* =========================================================
   Pricing plan cards (SMART / ADVANCED / ULTIMATE)
   Used by app/Views/includes/pricing_plans.php
   ========================================================= */
.plan-cards{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  margin:0 -12px;
}
.plan-card-col{
  width:33.3333%;
  padding:0 12px 24px;
  display:flex;
}
@media (max-width:991px){
  .plan-card-col{ width:50%; }
}
@media (max-width:575px){
  .plan-card-col{ width:100%; }
}

.plan-card{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  background:#fff;
  border-radius:18px;
  border:2px solid var(--plan-color, #1e6fd9);
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease;
}
.plan-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.14);
}

/* ---- themes ---- */
.plan-card.theme-blue{
  --plan-color:#1e6fd9;
  --plan-dark:#0b3d91;
  --plan-light:#eaf2ff;
}
.plan-card.theme-green{
  --plan-color:#1aa34a;
  --plan-dark:#0e6b2f;
  --plan-light:#e9f8ee;
}
.plan-card.theme-gold{
  --plan-color:#f5b400;
  --plan-dark:#c98a00;
  --plan-light:#fff7e0;
}

/* ---- header ---- */
.plan-card .plan-head{
  position:relative;
  padding:22px 20px 18px;
  color:#fff;
  text-align:center;
  background:linear-gradient(160deg, var(--plan-color) 0%, var(--plan-dark) 100%);
}
.plan-card .plan-head:before{
  content:"";
  position:absolute;
  right:-40px;
  top:-40px;
  width:140px;
  height:140px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
}
.plan-card .plan-head .plan-crown{
  position:absolute;
  right:16px;
  top:14px;
  font-size:26px;
  color:#fff;
  text-shadow:0 2px 6px rgba(0,0,0,.25);
}
.plan-card .plan-head h3{
  margin:0;
  font-size:30px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:1px;
  color:#fff;
  text-transform:uppercase;
}
.plan-card .plan-head .plan-sub{
  display:block;
  margin-top:4px;
  font-size:14px;
  font-weight:600;
  color:rgba(255,255,255,.92);
}
.plan-card .plan-head .plan-popular{
  position:absolute;
  left:50%;
  bottom:-12px;
  transform:translateX(-50%);
  background:#e60021;
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.5px;
  padding:4px 12px;
  border-radius:20px;
  text-transform:uppercase;
  white-space:nowrap;
}

/* ---- price ---- */
.plan-card .plan-price{
  padding:26px 20px 16px;
  text-align:center;
  background:var(--plan-light);
}
.plan-card .plan-price h2{
  margin:0;
  font-size:36px;
  line-height:1;
  font-weight:800;
  color:#111;
}
.plan-card .plan-price .plan-period{
  display:inline-block;
  margin-top:10px;
  padding:5px 14px;
  border-radius:20px;
  background:#fff;
  border:1px solid var(--plan-color);
  color:var(--plan-dark);
  font-size:13px;
  font-weight:700;
}

/* ---- "commodities included" tile strip ---- */
.plan-card .plan-included{
  margin:14px 16px 0;
  padding:10px 10px 12px;
  border-radius:12px;
  background:#fff7e0;
  text-align:center;
}
.plan-card .plan-included .plan-included-title{
  margin:0 0 8px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.8px;
  text-transform:uppercase;
  color:#333;
}
.plan-card .plan-included .plan-included-items{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
}
.plan-card .plan-included .plan-included-item{
  flex:0 0 auto;
  min-width:64px;
  padding:8px 10px 6px;
  border-radius:10px;
  background:#fff;
  box-shadow:0 3px 10px rgba(0,0,0,.08);
}
.plan-card .plan-included .inc-icon{
  display:block;
  font-size:26px;
  line-height:1;
  margin-bottom:5px;
  color:var(--plan-dark);
}
.plan-card .plan-included .inc-text{
  display:block;
  font-size:12px;
  font-weight:700;
  color:#222;
  white-space:nowrap;
}

/* ---- features ---- */
.plan-card .plan-features{
  flex:1 1 auto;
  list-style:none;
  margin:0;
  padding:14px 18px 6px;
}
.plan-card .plan-features li{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:7px 0;
  border-bottom:1px dashed #eceff3;
  font-size:14px;
  line-height:1.35;
  color:#222;
  font-weight:600;
}
.plan-card .plan-features li:last-child{ border-bottom:none; }
.plan-card .plan-features li .feat-main{
  display:flex;
  align-items:center;
  flex:0 1 auto;
  min-width:0;
}
.plan-card .plan-features li .feat-icon{
  flex:0 0 26px;
  width:26px;
  height:26px;
  margin-right:10px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  color:#fff;
  background:var(--feat-color, var(--plan-color));
}
.plan-card .plan-features li .feat-badge{
  flex:0 0 auto;
  margin-left:8px;
  padding:3px 10px;
  border-radius:14px;
  background:var(--plan-light);
  border:1px solid var(--plan-color);
  color:var(--plan-dark);
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}

/* narrower column (service detail page, 8-col layout) */
.stockSec .plan-card .plan-features li{ font-size:13px; padding:6px 0; }
.stockSec .plan-card .plan-features li .feat-icon{ flex-basis:22px; width:22px; height:22px; font-size:11px; margin-right:8px; }
.stockSec .plan-card .plan-features li .feat-badge{ font-size:10px; padding:2px 7px; margin-left:6px; }
.stockSec .plan-card .plan-head h3{ font-size:26px; }
.stockSec .plan-card .plan-price h2{ font-size:30px; }

/* ---- footer ---- */
.plan-card .plan-foot{
  padding:14px 18px 22px;
}
.plan-card .plan-btn{
  display:block;
  width:100%;
  text-align:center;
  padding:13px 16px;
  border-radius:10px;
  font-size:15px;
  font-weight:700;
  color:#fff !important;
  background:linear-gradient(160deg, var(--plan-color) 0%, var(--plan-dark) 100%);
  box-shadow:0 6px 16px rgba(0,0,0,.15);
  transition:all .3s ease;
}
.plan-card .plan-btn:hover{
  filter:brightness(1.08);
  transform:translateY(-2px);
}
.plan-card .plan-test-link{
  display:block;
  margin-top:10px;
  text-align:center;
  font-size:13px;
  font-weight:700;
  color:var(--plan-dark);
  text-decoration:underline;
}
.plan-card .plan-test-link:hover{ color:#e60021; }

/* ---- service group header on pricing page ---- */
.plan-group{ margin-bottom:40px; }
.plan-group .plan-group-title{
  display:flex;
  align-items:center;
  margin-bottom:22px;
}
.plan-group .plan-group-title img{
  width:46px;
  height:46px;
  margin-right:14px;
}
.plan-group .plan-group-title h3{
  margin:0;
  font-size:26px;
  font-weight:800;
  color:#111;
}
.plan-group .plan-group-title p{
  margin:2px 0 0;
  font-size:14px;
  color:#666;
}

/* ---- service list card used on RA / API service pages ---- */
.service-new-block .inner-box{
  margin-right:0 !important;
}
