/* =========================================================
   WITV — Netflix-style Pricing (FULL DARK PAGE, CONTAINED)
   Scope: body.page-pricing …
   ========================================================= */

/* ===== Hide WHMCS default title/breadcrumb on this page ===== */
body.page-setup #main-content > .header-lined,
body.page-setup #main-content .container > .header-lined,
body.page-setup .main-content > .header-lined,
body.page-setup #content > .header-lined,
body.page-setup #main-body > .header-lined,
body.page-pricing #main-content > .header-lined,
body.page-pricing #main-content .container > .header-lined,
body.page-pricing .main-content > .header-lined,
body.page-pricing #content > .header-lined,
body.page-pricing #main-body > .header-lined {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* ===== Strip wrappers/panels on pricing page ===== */
body.page-pricing #main-content,
body.page-pricing .main-content,
body.page-pricing .contentpadded,
body.page-pricing .panel,
body.page-pricing .panel-default,
body.page-pricing .panel-heading,
body.page-pricing .panel-body,
body.page-pricing .well,
body.page-pricing .card,
body.page-pricing .card-body {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* ===== Nuke theme backgrounds so our dark shows ===== */
body.page-pricing #wrapper,
body.page-pricing #main-body,
body.page-pricing #content,
body.page-pricing #main-content,
body.page-pricing .main-content,
body.page-pricing .contentpadded {
  background: transparent !important;
  background-image: none !important;
}

/* ===== Container ===== */
.page-pricing .nf-container { max-width: 1500px; margin: 0 auto; padding: 0; }
.page-pricing .nf-container.nf-wide { max-width: 1500px; }

/* ===== Pricing wrapper (design tokens) ===== */
.page-pricing .nf-pricing-wrap {
  --accent: #f8a200;
  --ink: #f6f6f6;
  --muted: #b8b8b8;
  --card: #141418;
  --edge: rgba(255,255,255,.10);
  --edge-2: rgba(255,255,255,.18);
  --chip: rgba(255,255,255,.08);

  max-width: 1160px;
  margin: 0 auto;
  padding: 0 0 22px; /* removed top padding (was 18px) */
  color: var(--ink);
  background: var(--bg);

  /* Use largest (mobile) global scale everywhere */
  font-size: clamp(24px, 5.8vw, 28px);
}

/* ===== Header (page) ===== */
.page-pricing .nf-hero { text-align: center; margin-bottom: 28px; }
.page-pricing .nf-hero h1 {
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12; /* from mobile */
  font-size: clamp(2.4rem, 7.5vw, 2.8rem); /* largest scale everywhere */
  color: #fff;
}
.page-pricing .nf-note-top {
  margin: 16px auto 32px;
  text-align: center;
  font-size: 1.4rem;   /* mobile size, now global */
  color: #f0f0f0;
  line-height: 1.55;   /* mobile line-height, now global */
  max-width: 900px;
}
.page-pricing .nf-note-top p { margin: 6px 0; }
.page-pricing .nf-note-top strong { color: #fff; font-weight: 800; font-size: 1.35rem; }

/* --- Highlighted install note (single, deduped) --- */
.page-pricing .nf-note-top .important {
  display: inline-block;
  padding: 10px 14px;
  margin-top: 8px;
  border-radius: 12px;
  font-weight: 800;
  color: #fff;
  background: rgba(255,77,77,.15);
  border: 1px solid #7a1a1a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

/* ===== Panel (loose removes chrome) ===== */
.page-pricing .nf-panel.nf-loose { background: transparent !important; border: 0 !important; box-shadow: none !important; }

/* ===== Grid (GAP RULES) =====
   - Mobile default: 30px
   - Tablet (768–1199.98px): 30px
   - Desktop (≥1200px): 25px
-------------------------------------------------------------- */
.page-pricing .nf-grid {
  display: grid;
  grid-template-columns: 1fr;  /* mobile default */
  gap: 30px;                   /* mobile gap (largest) */
  align-items: stretch;
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  .page-pricing .nf-grid { grid-template-columns: repeat(2, 1fr); /* gap stays 30px */ }
}
@media (min-width: 1200px) {
  .page-pricing .nf-grid {
    grid-template-columns: repeat(4, 1fr); /* unified to 4 columns */
    gap: 25px;                              /* desktop gap */
  }
  .page-pricing .nf-grid > .nf-card { min-width: 0; height: 100%; }
}

/* ===== Cards ===== */
.page-pricing .nf-card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 16px;
  padding: 30px 22px;     /* mobile padding promoted to all */
  display: flex; flex-direction: column;
  min-height: 100%;
  position: relative;
  font-size: 1.4rem;      /* mobile card scale promoted to all */
  text-align: center;     /* mobile alignment promoted to all */
}
@media (hover:hover){ .page-pricing .nf-card:hover { border-color: var(--edge-2); } }

/* Frames for hero/premium */
.page-pricing .nf-hero-card {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset, 0 10px 30px rgba(248,162,0,.15);
}
.page-pricing .nf-premium-card {
  border-color: var(--edge-2);
  box-shadow: 0 0 0 1px var(--edge-2) inset;
}

/* ===== Ribbons ===== */
.page-pricing .nf-ribbon{
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  font-weight:900; font-size:1.2rem; padding:.6rem 1.35rem; border-radius:999px;
  background:var(--chip); color:#f0f0f0; border:1px solid var(--edge); white-space: nowrap; z-index: 2;
}
.page-pricing .nf-ribbon.accent{ background:#2a1b00; border-color:#3a2500; color:#ffd8a3; }
.page-pricing .nf-ribbon.dark{   background:#0f0f12; border-color:var(--edge-2); color:#e8e8e8; }

/* ===== Chips ===== */
.page-pricing .nf-chip{
  font-size:1.3rem; font-weight:800; color:#ececec;
  background:var(--chip); border:1px solid var(--edge);
  padding:.46rem 1rem; border-radius:999px;
}
.page-pricing .nf-chip.accent{ color:#ffd8a3; background:#2a1b00; border-color:#3a2500; }
.page-pricing .nf-chip.dark{   color:#ececec; background:#0f0f12; border-color:var(--edge-2); }

/* ===== Head (name/price/meta) ===== */
.page-pricing .nf-head{
  text-align:center;
  min-height:125px; /* single, deduped (tighter than 150px) */
  display:flex; flex-direction:column; align-items:center;
}
.page-pricing .nf-name{
  margin:0 0 6px;
  font-weight:800;
  font-size:2rem;     /* mobile size promoted to all */
  line-height:1.15;   /* mobile line-height promoted */
  color:#fff; letter-spacing:.2px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.page-pricing .nf-price-row{
  display:flex; gap:8px; justify-content:center; align-items:center; flex-wrap:wrap; margin-bottom: 2px;
}
.page-pricing .nf-price{
  font-weight:900;
  font-size:3.8rem;   /* mobile size promoted */
  line-height:1.05;
  color:var(--accent);
}
/* Monthly equivalent directly under the main price (no symbol) */
.page-pricing .nf-price-sub{
  margin-top: 4px;
  font-size: 1.5rem;  /* mobile size promoted */
  font-weight: 800;
  color: #cfcfcf;
  text-align: center;
}

/* Meta block (connections) */
.page-pricing .nf-meta{
  display:flex; flex-direction:column; align-items:center;
  gap:6px; margin-top:auto; text-align:center; width:100%;
  font-size:1.6rem;   /* mobile size promoted */
  line-height:1.45; color:#cfcfcf;
}
.page-pricing .nf-conns{
  display:flex; align-items:center; justify-content:center; gap:8px;
  font-weight:800; color:#fff; margin-top: 6px;
}
.page-pricing .icon-conns {
  width: 20px; height: 20px; background: var(--accent); border-radius: 3px;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V20h14v-3.5C15 14.17 10.33 13 8 13zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 2.08 1.97 3.45V20h6v-3.5c0-2.33-4.67-3.5-7-3.5z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V20h14v-3.5C15 14.17 10.33 13 8 13zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 2.08 1.97 3.45V20h6v-3.5c0-2.33-4.67-3.5-7-3.5z"/></svg>') center/contain no-repeat;
}

/* ===== Features ===== */
.page-pricing .nf-features{
  list-style:none; padding:0; margin:10px 0 16px; display:grid; gap:8px;
}
.page-pricing .nf-features li{
  color:#eaeaea; display:flex; align-items:center; gap:8px; text-align:center; justify-content:center; /* mobile alignment promoted */
  font-size:1.45rem;  /* mobile size promoted */
  line-height:1.65;   /* mobile line-height promoted */
}
.page-pricing .nf-features li::before{
  content:""; width:18px; height:18px; flex:0 0 18px; background:var(--accent);
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="white" d="M16.704 5.29a1 1 0 0 1 .006 1.414l-7.25 7.333a1 1 0 0 1-1.44.015L3.29 10.04A1 1 0 1 1 4.71 8.62l3.03 3.004 6.54-6.61a1 1 0 0 1 1.424-.006z"/></svg>') center/100% no-repeat;
          mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="white" d="M16.704 5.29a1 1 0 0 1 .006 1.414l-7.25 7.333a1 1 0 0 1-1.44.015L3.29 10.04A1 1 0 1 1 4.71 8.62l3.03 3.004 6.54-6.61a1 1 0 0 1 1.424-.006z"/></svg>') center/100% no-repeat;
  border-radius:4px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}

/* ===== Buttons ===== */
.page-pricing .nf-btn{
  margin-top:auto; display:block; text-align:center; text-decoration:none;
  font-weight:800; font-size:1.5rem; /* mobile size promoted */
  padding:1.35rem 1.6rem;            /* mobile padding promoted */
  border-radius:12px;
  color:#0c0c0e; background:#f0f0f0; border:1px solid rgba(255,255,255,.15);
  white-space: nowrap; width: 100%; max-width: 280px; margin-left:auto; margin-right:auto; /* mobile layout promoted */
}
.page-pricing .nf-btn.nf-btn-accent{ background:var(--accent); color:#171717; border-color:#ffc566; }
.page-pricing .nf-btn.nf-btn-dark{ background:#e8e8e8; color:#111; }
@media (hover:hover){ .page-pricing .nf-btn:hover{ filter:brightness(.96); } }

/* ===== Footer note ===== */
.page-pricing .nf-foot{
  text-align:center; padding-top:20px; font-size:1.4rem; font-weight:600; line-height:1.5;
}
.page-pricing .nf-foot .muted{ color: var(--muted); font-size: 1.2rem; }
.page-pricing .nf-foot .break-mobile { display:block; margin-top:6px; } /* mobile behavior promoted */

/* ===== Sticky navbar dark override (optional) ===== */
#coodiv-header .navbar.fixed-header-layout.top-header-fixed { background: #0b0b10 !important; }
#coodiv-header .navbar.fixed-header-layout.top-header-fixed .navbar-nav > li > a { color: #fff !important; }
#coodiv-header .navbar.fixed-header-layout.top-header-fixed .navbar-nav > li > a:hover { color: #f8a200 !important; }

/* ===== FAQ (pricing page) ===== */
body.page-pricing .plans-faq {
  margin: 36px 0 28px;
  background: #141418;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}
body.page-pricing .plans-faq .plans-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0;
}
body.page-pricing .plans-faq .plans-faq-item:last-child { border-bottom: 0; }

body.page-pricing .plans-faq .plans-faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 22px 14px;   /* consolidated (was 18px 8px) */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  outline: none;
}
body.page-pricing .plans-faq .plans-faq-q span {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #fff;
  font-size: 17px;
}
body.page-pricing .plans-faq .plans-faq-caret {
  position: relative; width: 20px; height: 20px; flex: 0 0 20px;
}
body.page-pricing .plans-faq .plans-faq-caret::before,
body.page-pricing .plans-faq .plans-faq-caret::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 8px; height: 2px; background: #bbb;
  transform-origin: center; transition: transform .2s ease, opacity .2s ease;
}
body.page-pricing .plans-faq .plans-faq-caret::before { transform: rotate(45deg) translate(1px, 3px); }
body.page-pricing .plans-faq .plans-faq-caret::after  { transform: rotate(-45deg) translate(-1px, 3px); }
body.page-pricing .plans-faq .plans-faq-item.is-open .plans-faq-caret::before { transform: rotate(-45deg) translate(1px, -3px); }
body.page-pricing .plans-faq .plans-faq-item.is-open .plans-faq-caret::after  { transform: rotate(45deg)  translate(-1px, -3px); }

body.page-pricing .plans-faq .plans-faq-a { display: none; padding: 0 14px 24px 14px; }
body.page-pricing .plans-faq .plans-faq-item.is-open .plans-faq-a { display: block; }
body.page-pricing .plans-faq .plans-faq-a p {
  margin: 0; color: #cfcfcf; font-size: 15px; line-height: 1.6;
}
body.page-pricing .plans-faq .plans-faq-a a {
  color: #f8a200; text-decoration: none; font-weight: 700;
}
body.page-pricing .plans-faq .plans-faq-a a:hover { text-decoration: underline; }

/* FAQ small-screen tweaks retained */
@media (max-width: 768px) {
  body.page-pricing .plans-faq .plans-faq-q span { font-size: 16px; }
  body.page-pricing .plans-faq .plans-faq-a p { font-size: 14px; }
  body.page-pricing .plans-faq { padding-left: 0; padding-right: 0; }
}

/* ===== FAQ Section Header ===== */
body.page-pricing .plans-faq-title {
  text-align: center;
  margin: 40px 0 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  color: #fff;
}
