/* ============================================================
   TEZZ PLAN CARDS + SERVICES PAGE
   Dedicated file — loaded directly in services.php & service-inner.php
   ============================================================ */

/* ── Plan Cards Grid ── */
.tezz-plans-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  align-items: start;
}

.tezz-plan-box {
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  min-height: 440px;
}

.tezz-plan-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.1);
  border-color: rgba(23,212,64,.35);
}

.tezz-plan-box--hot {
  border: 2px solid rgba(23,212,64,.55);
  box-shadow: 0 0 0 4px rgba(23,212,64,.08), 0 12px 40px rgba(0,0,0,.12);
}

.tezz-plan-box--collab {
  background: linear-gradient(135deg, #f0fdf4, #fff);
  border: 2px solid rgba(23,212,64,.4);
}

.tezz-plan-hot-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(23,212,64,.9);
  color: #061b1b;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: .3px;
  box-shadow: 0 4px 12px rgba(23,212,64,.3);
  z-index: 1;
}

.tezz-plan-collab-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
  letter-spacing: .4px;
  width: fit-content;
}

.tezz-plan-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #061b1b;
  margin: 0 0 6px;
  line-height: 1.2;
}

.tezz-plan-sub {
  font-size: .82rem;
  color: #888;
  line-height: 1.55;
  margin: 0 0 20px;
}

.tezz-plan-price-wrap {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.tezz-plan-save-pill {
  display: inline-block;
  background: rgba(23,212,64,.12);
  color: #059669;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
}

.tezz-plan-price-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #061b1b;
  line-height: 1;
}

.tezz-plan-currency {
  font-size: 1.1rem;
  vertical-align: top;
  margin-top: 5px;
  display: inline-block;
  font-weight: 700;
}

.tezz-plan-per {
  font-size: .82rem;
  font-weight: 400;
  color: #888;
}

.tezz-plan-billing {
  font-size: .72rem;
  color: #bbb;
  margin: 4px 0 0;
}

.tezz-plan-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.tezz-plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: .82rem;
  color: #444;
  border-bottom: 1px solid #f5f5f5;
  line-height: 1.4;
}

.tezz-plan-feats li:last-child { border-bottom: none; }

.tezz-plan-feat-off { opacity: .5; }

.tezz-feat-yes {
  color: rgba(23,212,64,.85);
  margin-top: 2px;
  flex-shrink: 0;
}

.tezz-feat-no {
  color: #ddd;
  margin-top: 2px;
  flex-shrink: 0;
}

.tezz-plan-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.tezz-plan-btn-cart {
  width: 100%;
  background: #061b1b;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  transition: background .2s, transform .15s;
}

.tezz-plan-btn-cart:hover {
  background: rgba(23,212,64,.9);
  color: #061b1b;
  transform: translateY(-1px);
}

.tezz-plan-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  background: rgba(23,212,64,.9);
  color: #061b1b;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .15s;
}

.tezz-plan-btn-primary:hover {
  background: rgba(23,212,64,1);
  color: #061b1b;
  transform: translateY(-1px);
}

.tezz-plan-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  background: transparent;
  color: #444;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}

.tezz-plan-btn-secondary:hover {
  border-color: #003f3c;
  color: #003f3c;
  background: rgba(0,63,60,.04);
}

/* ── Services Listing Page (tsv-) ── */
.tsv-hero {
  background: linear-gradient(135deg, #061b1b 0%, #003f3c 60%, #061b1b 100%);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.tsv-hero::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(23,212,64,.15) 0%, transparent 65%);
  pointer-events: none;
}

.tsv-hero-badge {
  display: inline-block;
  background: rgba(23,212,64,.15);
  color: rgba(23,212,64,.9);
  border: 1px solid rgba(23,212,64,.3);
  border-radius: 50px;
  padding: 5px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 14px;
}

.tsv-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.15;
}

.tsv-hero h1 span { color: rgba(23,212,64,.9); }
.tsv-hero p { color: rgba(255,255,255,.6); font-size: 1rem; margin: 0; }

.tsv-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 2rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: .75rem 1.5rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tsv-stat { text-align: center; padding: .5rem 1.5rem; }
.tsv-stat strong { display: block; font-size: 1.3rem; font-weight: 900; color: #fff; }
.tsv-stat span { font-size: .75rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .8px; }
.tsv-stat-div { width: 1px; height: 36px; background: rgba(255,255,255,.12); }

.tsv-filter-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: .75rem 0;
  position: sticky;
  top: 80px;
  z-index: 100;
}

.tsv-filter-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 1rem;
}

.tsv-filter-inner::-webkit-scrollbar { display: none; }

.tsv-filter-pill {
  flex-shrink: 0;
  padding: 7px 18px;
  border-radius: 50px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #555;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.tsv-filter-pill:hover { border-color: #003f3c; color: #003f3c; }
.tsv-filter-pill.active { background: #003f3c; color: #fff; border-color: #003f3c; }

.tsv-view-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  border-radius: 50px;
  padding: 4px;
  flex-shrink: 0;
}

.tsv-view-btn {
  padding: 6px 16px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: #666;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.tsv-view-btn.active {
  background: #fff;
  color: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.tsv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.tsv-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.tsv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.1);
  border-color: rgba(23,212,64,.4);
}

.tsv-card-icon-area {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.tsv-card-icon-area i { font-size: 2.8rem; position: relative; z-index: 1; }

.tsv-card-body {
  padding: 1.25rem 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tsv-card-cat {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(23,212,64,.8);
  margin-bottom: 6px;
}

.tsv-card-title { font-size: 1.05rem; font-weight: 800; color: #061b1b; margin: 0 0 6px; }
.tsv-card-desc { font-size: .82rem; color: #666; line-height: 1.5; margin: 0 0 12px; flex: 1; }

.tsv-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tsv-card-pkg-badge {
  background: #f0f0f0;
  color: #444;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.tsv-card-price { font-size: .78rem; color: #666; }
.tsv-card-price strong { color: #003f3c; font-weight: 800; }

.tsv-card-btn {
  display: block;
  text-align: center;
  background: #061b1b;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}

.tsv-card-btn:hover { background: rgba(23,212,64,.9); color: #061b1b; }

/* Collaborator featured card */
.tsv-collab-card {
  background: linear-gradient(135deg, #061b1b 0%, #003f3c 100%);
  border: 2px solid rgba(23,212,64,.4);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.tsv-collab-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(23,212,64,.2) 0%, transparent 65%);
  pointer-events: none;
}

.tsv-collab-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: .4px;
}

.tsv-collab-card h3 { font-size: 1.6rem; font-weight: 900; color: #fff; margin: 0 0 8px; }
.tsv-collab-card p { color: rgba(255,255,255,.65); font-size: .9rem; margin: 0 0 16px; }
.tsv-collab-icons { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.tsv-collab-icons i { font-size: 1.8rem; }

.tsv-collab-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tsv-collab-price-row .orig { font-size: .9rem; color: rgba(255,255,255,.4); text-decoration: line-through; }
.tsv-collab-price-row .price { font-size: 2rem; font-weight: 900; color: #fff; }
.tsv-collab-price-row .per { font-size: .85rem; color: rgba(255,255,255,.5); }
.tsv-collab-price-row .save {
  background: rgba(23,212,64,.9);
  color: #061b1b;
  font-size: .75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
}

.tsv-collab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23,212,64,.9);
  color: #061b1b;
  border-radius: 10px;
  padding: 12px 28px;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s, transform .15s;
}

.tsv-collab-btn:hover { background: #fff; transform: translateY(-2px); color: #061b1b; }

/* Package cards (packages view) */
.tsv-pkg-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.tsv-pkg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  border-color: rgba(23,212,64,.3);
}

.tsv-pkg-card.is-collab {
  border-color: rgba(23,212,64,.4);
  background: linear-gradient(135deg, #f0fdf4, #fff);
}

.tsv-pkg-service { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: rgba(23,212,64,.8); margin-bottom: 6px; }
.tsv-pkg-name { font-size: 1rem; font-weight: 800; color: #061b1b; margin: 0 0 6px; }
.tsv-pkg-desc { font-size: .8rem; color: #777; line-height: 1.5; margin: 0 0 14px; flex: 1; min-height: 44px; }

.tsv-pkg-price { margin-bottom: 14px; }
.tsv-pkg-price .orig { font-size: .78rem; color: #aaa; text-decoration: line-through; display: block; }
.tsv-pkg-price .main { font-size: 1.5rem; font-weight: 900; color: #003f3c; }
.tsv-pkg-price .per { font-size: .78rem; color: #888; }
.tsv-pkg-price .save-badge {
  display: inline-block;
  background: rgba(23,212,64,.15);
  color: #059669;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  margin-top: 4px;
}

.tsv-pkg-feats { list-style: none; padding: 0; margin: 0 0 14px; }
.tsv-pkg-feats li { font-size: .78rem; color: #555; padding: 3px 0; display: flex; align-items: flex-start; gap: 7px; }
.tsv-pkg-feats li i { color: rgba(23,212,64,.8); margin-top: 2px; flex-shrink: 0; }

.tsv-pkg-btns { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }

.tsv-pkg-btn-primary {
  background: #061b1b;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
  text-align: center;
}

.tsv-pkg-btn-primary:hover { background: rgba(23,212,64,.9); color: #061b1b; }

.tsv-pkg-btn-secondary {
  background: transparent;
  color: #444;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 9px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: border-color .2s, color .2s;
  display: block;
}

.tsv-pkg-btn-secondary:hover { border-color: #003f3c; color: #003f3c; }

.tsv-cat-header { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid #f0f0f0; }
.tsv-cat-header h3 { font-size: 1.2rem; font-weight: 800; color: #061b1b; margin: 0; }
.tsv-loading { text-align: center; padding: 4rem 0; }

/* ── Responsive ── */
@media (max-width: 1199px) {
  .tsv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .tezz-plans-row { grid-template-columns: 1fr; gap: 20px; }
  .tezz-plan-box { min-height: auto; padding: 1.5rem; }
  .tezz-plan-price-num { font-size: 1.8rem; }
  .tsv-grid { grid-template-columns: 1fr; }
  .tsv-collab-card { padding: 1.25rem; }
  .tsv-collab-card h3 { font-size: 1.3rem; }
  .tsv-stats-bar { gap: 0; }
  .tsv-stat { padding: .4rem .8rem; }
  .tsv-hero { padding: 3.5rem 0 2.5rem; }
  .tsv-hero h1 { font-size: 1.7rem; }
  .tsv-filter-bar { top: 60px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .tezz-plans-row { grid-template-columns: repeat(2, 1fr); }
}
