/* Sales pages (template-sales.php, inc/sales-pages.php): IPTV reseller panels + IPTV website
   development. Loaded only where needed, outside the LiteSpeed CSS optimizer (see inc/sales-pages.php). */
/* ============================================================
   SALES PAGES (template-sales.php, inc/sales-pages.php):
   IPTV reseller panels + IPTV reselling website development
   ============================================================ */
.tg-sales { position: relative; z-index: 1; }
.tg-sales section[id] { scroll-margin-top: 84px; }
.tg-sales-hero { position: relative; overflow: hidden; }
.tg-sales-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 40px; }
.tg-sales-hero h1 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(36px,5.2vw,64px);
  line-height: 1.04; letter-spacing: -.03em; margin: 0 0 20px;
}
.tg-sales-lead { font-size: clamp(16px,1.8vw,19px); color: #B6B6C6; line-height: 1.6; max-width: 600px; margin: 0 0 30px; }
.tg-sales-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.tg-sales-fine { font-size: 13.5px; color: #86869A; margin: 0; }
.tg-sales-hero-art { margin: 0; position: relative; }
.tg-sales-hero-art::before {
  content: ""; position: absolute; inset: 8% 6%; border-radius: 40px; z-index: -1;
  background: radial-gradient(closest-side, rgba(139,92,246,.35), transparent); filter: blur(30px);
}
.tg-sales-hero-art img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.tg-sales-head { max-width: 760px; margin: 0 auto 40px; }
.tg-sales-head p { font-size: 16px; color: #9B9BAA; line-height: 1.65; margin: 12px auto 0; }
.tg-sales-head p a, .tg-sales-note a, .tg-sales .rank-math-answer a, .tg-sales-box a { color: #22D3EE; border-bottom: 1px solid rgba(34,211,238,.4); }
.tg-steps.tg-steps-4 { grid-template-columns: 1fr; }
.tg-features-grid.tg-features-3 { grid-template-columns: 1fr; }
.tg-sales-note { text-align: center; font-size: 14px; color: #8B8B9E; margin: 22px auto 0; max-width: 680px; line-height: 1.6; }

/* Panel cards (Dino / Nexon) */
.tg-panels { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 1080px; margin: 0 auto; }
.tg-panel {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(139,92,246,.10), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.10);
}
.tg-panel.alt { background: linear-gradient(160deg, rgba(34,211,238,.09), rgba(255,255,255,.02)); }
.tg-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tg-panel-head h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; margin: 0; }
.tg-panel-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #C7C7D6; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.tg-panel > p { font-size: 15px; color: #A9A9BA; line-height: 1.6; margin: 0; }
.tg-panel-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tg-panel-stats div { padding: 14px 16px; border-radius: 14px; background: rgba(6,6,11,.45); border: 1px solid rgba(255,255,255,.07); }
.tg-panel-stats b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; color: #F5F5FA; }
.tg-panel-stats span { display: block; font-size: 12.5px; color: #9B9BAA; font-weight: 600; margin-top: 2px; }
.tg-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.tg-checks li { position: relative; padding-left: 28px; font-size: 14.5px; color: #C7C7D6; line-height: 1.5; }
.tg-checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 6px;
  background: linear-gradient(135deg,#8B5CF6,#22D3EE);
}
.tg-checks li::after { content: ""; position: absolute; left: 6.5px; top: 5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tg-panel .tg-btn { align-self: flex-start; margin-top: auto; }

/* Credit packs ([televsio_reseller_packs]) */
.tg-packs { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 1180px; margin: 0 auto; }
.tg-pack {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 28px 22px 22px; border-radius: 20px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09);
}
.tg-pack.best { background: linear-gradient(160deg,rgba(139,92,246,.18),rgba(34,211,238,.08)); border: 1.5px solid rgba(139,92,246,.5); box-shadow: 0 20px 50px rgba(139,92,246,.2); }
.tg-pack-credits { font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -.02em; }
.tg-pack-unit { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8B8B9E; margin-top: 4px; }
.tg-pack-price { font-family: var(--font-display); font-weight: 800; font-size: 32px; margin: 18px 0 2px; }
.tg-pack-per { font-size: 13.5px; color: #C7C7D6; font-weight: 600; }
.tg-pack-save { font-size: 12.5px; font-weight: 700; color: #34D399; margin-top: 6px; min-height: 18px; }
.tg-pack-buy { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 20px; }
.tg-pack-buy .tg-btn { width: 100%; box-shadow: none; }
.tg-pack-buy .tg-btn-ghost { padding: 9px 18px; }
.tg-packs-foot { text-align: center; font-size: 13.5px; color: #7B7B8E; margin: 22px auto 0; max-width: 640px; line-height: 1.6; }

/* Process timeline (website development) */
.tg-process { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: flex; flex-direction: column; gap: 14px; counter-reset: tgp; }
.tg-process li {
  counter-increment: tgp; position: relative; padding: 22px 24px 22px 78px; border-radius: 18px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
}
.tg-process li::before {
  content: counter(tgp, decimal-leading-zero); position: absolute; left: 22px; top: 20px;
  font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1;
  background: linear-gradient(135deg,#8B5CF6,#22D3EE); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tg-process h3 { font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.tg-process p { font-size: 14.5px; color: #9B9BAA; line-height: 1.6; margin: 0; }

/* Two boxes side by side (who it is for / what we need) */
.tg-sales-split { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 1080px; margin: 0 auto; }
.tg-sales-box { padding: 30px 28px; border-radius: 22px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.tg-sales-box h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin: 0 0 14px; }
.tg-sales-box > p { font-size: 15px; color: #A9A9BA; line-height: 1.65; margin: 0 0 14px; }

/* FAQ (Rank Math FAQ block) */
.tg-sales-faq { max-width: 820px; margin: 0 auto; }
.tg-sales .rank-math-list { display: flex; flex-direction: column; gap: 12px; }
.tg-sales .rank-math-list-item { padding: 20px 24px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.tg-sales .rank-math-question { font-family: var(--font-body); font-weight: 700; font-size: 16.5px; color: #F0F0F8; margin: 0 0 8px; }
.tg-sales .rank-math-answer { font-size: 15px; color: #A9A9BA; line-height: 1.7; }
.tg-sales .rank-math-answer p { margin: 0; }

/* Final CTA with two buttons */
.tg-sales .tg-final p { max-width: 620px; }
.tg-sales .tg-final .tg-sales-actions { position: relative; justify-content: center; margin: 0; }

/* Lead form ([televsio_website_lead_form]) */
.tg-lead-wrap { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 1080px; margin: 0 auto; align-items: start; }
.tg-lead-aside h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px,3.2vw,38px); letter-spacing: -.02em; margin: 0 0 14px; }
.tg-lead-aside > p { font-size: 15.5px; color: #A9A9BA; line-height: 1.65; margin: 0 0 18px; }
.tg-lead-aside a { color: #22D3EE; }
.tg-lead { padding: 28px; border-radius: 22px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); }
.tg-lead-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tg-lead-field { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.tg-lead-field > span, .tg-lead-field legend { font-size: 13.5px; font-weight: 700; color: #C7C7D6; padding: 0; }
.tg-lead-req { color: #22D3EE; }
.tg-lead input[type="text"], .tg-lead input[type="email"], .tg-lead select, .tg-lead textarea {
  width: 100%; box-sizing: border-box; background: rgba(6,6,11,.55); border: 1px solid rgba(255,255,255,.14); border-radius: 11px;
  padding: 12px 14px; color: #F5F5FA; font-size: 15px; font-family: var(--font-body);
}
.tg-lead select option { background: #0E0E1A; color: #F5F5FA; }
.tg-lead textarea { resize: vertical; min-height: 120px; }
.tg-lead input::placeholder, .tg-lead textarea::placeholder { color: #6E6E80; }
.tg-lead input:focus, .tg-lead select:focus, .tg-lead textarea:focus { outline: none; border-color: rgba(139,92,246,.7); box-shadow: 0 0 0 3px rgba(139,92,246,.18); }
.tg-lead-checks { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 4px; }
.tg-lead-check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 11px; background: rgba(6,6,11,.4); border: 1px solid rgba(255,255,255,.08); font-size: 14px; color: #D6D6E2; cursor: pointer; }
.tg-lead-check input { margin-top: 3px; accent-color: #8B5CF6; flex-shrink: 0; }
.tg-lead-privacy { font-size: 12.5px; color: #7B7B8E; margin: 16px 0; }
.tg-lead-privacy a { color: #A9A9BA; text-decoration: underline; }
.tg-lead .tg-btn { width: 100%; }
.tg-lead-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tg-lead-err { margin: 0 0 18px; padding: 12px 15px; border-radius: 11px; font-size: 14px; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35); color: #fca5a5; }
.tg-lead-err a { color: #fecaca; text-decoration: underline; }
.tg-lead-ok { text-align: center; padding: 16px 6px; }
.tg-lead-ok-icon { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: rgba(52,211,153,.14); color: #34D399; font-size: 28px; }
.tg-lead-ok h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin: 0 0 8px; }
.tg-lead-ok p { font-size: 15px; color: #A9A9BA; line-height: 1.6; margin: 0; }

/* Shop: quiet link to the reseller page */
.tg-shop-reseller { text-align: center; font-size: 14px; color: #8B8B9E; margin: -14px auto 30px; }
.tg-shop-reseller a { color: #C7C7D6; font-weight: 700; border-bottom: 1px solid rgba(199,199,214,.35); }
.tg-shop-reseller a:hover { color: #fff; }

@media (min-width: 640px) {
  .tg-packs { grid-template-columns: repeat(2, 1fr); }
  .tg-steps.tg-steps-4 { grid-template-columns: repeat(2, 1fr); }
  .tg-features-grid.tg-features-3 { grid-template-columns: repeat(2, 1fr); }
  .tg-lead-grid { grid-template-columns: repeat(2, 1fr); }
  .tg-lead-grid .full { grid-column: 1 / -1; }
  .tg-lead-checks { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .tg-panels, .tg-sales-split { grid-template-columns: repeat(2, 1fr); }
  .tg-packs { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .tg-sales-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; padding-top: 80px; padding-bottom: 56px; }
  .tg-steps.tg-steps-4 { grid-template-columns: repeat(4, 1fr); }
  .tg-features-grid.tg-features-3 { grid-template-columns: repeat(3, 1fr); }
  .tg-packs { grid-template-columns: repeat(5, 1fr); }
  .tg-lead-wrap { grid-template-columns: .8fr 1.2fr; gap: 44px; }
}
