/* =========================================================
   OPTV HD — Custom Homepage (Lagom 2 / WHMCS)   v1.2
   File: templates/lagom2/optv/optv-home.css
   Everything is scoped under .ox so Lagom/Bootstrap styles
   outside the homepage are not affected.
   ========================================================= */

/* ---------- Tokens ---------- */
.ox {
  --ox-accent: #0369A1;
  --ox-accent-dark: #075985;
  --ox-accent-bright: #0284C7;
  --ox-ink: #0B2239;
  --ox-text: #1E3247;
  --ox-muted: #41566E;
  --ox-sky: #E0F2FE;
  --ox-sky-2: #BAE6FD;
  --ox-light: #7DD3FC;
  --ox-line: #DCEAF5;
  --ox-bg: #F7FBFF;
  --ox-radius: 28px;

  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ox-ink);
  background: var(--ox-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;

  /* full-bleed: break out of Lagom's .container */
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
}
body:has(.ox) { overflow-x: hidden; }

/* ---------- Reset inside .ox (beats Lagom heading/paragraph styles) ---------- */
.ox *, .ox *::before, .ox *::after { box-sizing: border-box; }
body .ox h1, body .ox h2, body .ox h3, body .ox h4, body .ox h5, body .ox h6 {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-transform: none;
}
body .ox p { margin: 0; color: inherit; font-family: inherit; }
body .ox ul { margin: 0; padding: 0; list-style: none; }
body .ox a { color: var(--ox-accent); text-decoration: none; }
body .ox a:hover { color: var(--ox-accent-dark); text-decoration: none; }
.ox svg { flex-shrink: 0; }
.ox button { font-family: inherit; }
.ox :focus-visible { outline: 3px solid var(--ox-light); outline-offset: 2px; }
.ox img { max-width: 100%; }

/* ---------- Layout ---------- */
.ox-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.ox-sec { padding-top: 96px; padding-bottom: 96px; }
.ox-h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.02em !important; }
.ox-lead { font-size: 17px; color: var(--ox-muted) !important; }
.ox-head { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; margin-bottom: 32px; }
.ox-head--split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; text-align: left; margin-bottom: 28px; }
.ox-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--ox-accent); text-transform: uppercase; }

/* ---------- Buttons ---------- */
.ox .ox-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ox .ox-btn:hover { transform: translateY(-1px); }
body .ox a.ox-btn--primary, .ox button.ox-btn--primary { background: var(--ox-accent); color: #fff; box-shadow: 0 14px 28px -14px rgba(3,105,161,.7); }
body .ox a.ox-btn--primary:hover { background: var(--ox-accent-dark); color: #fff; }
body .ox a.ox-btn--dark { background: var(--ox-ink); color: #fff; }
body .ox a.ox-btn--dark:hover { background: #13314F; color: #fff; }
body .ox a.ox-btn--white { background: #fff; color: var(--ox-ink); }
body .ox a.ox-btn--white:hover { color: var(--ox-ink); box-shadow: 0 12px 24px -12px rgba(11,34,57,.35); }
body .ox a.ox-btn--outline { background: #fff; border-color: #CFE2F0; color: var(--ox-ink); }
body .ox a.ox-btn--outline:hover { border-color: var(--ox-accent); color: var(--ox-ink); }
body .ox a.ox-btn--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); color: #fff; }
body .ox a.ox-btn--ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
body .ox a.ox-btn--light { background: var(--ox-light); color: var(--ox-ink); font-weight: 800; }
body .ox a.ox-btn--light:hover { color: var(--ox-ink); background: #A5E2FD; }
.ox .ox-btn--block { width: 100%; margin-top: auto; padding: 14px; }
.ox-play { width: 26px; height: 26px; border-radius: 50%; background: var(--ox-sky); color: var(--ox-accent); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Announcement ---------- */
.ox-announce { background: var(--ox-ink); color: var(--ox-sky); font-size: 14px; font-weight: 600; text-align: center; padding: 10px 16px; }
body .ox .ox-announce a { color: var(--ox-light); text-decoration: underline; }

/* ---------- Optional custom nav ---------- */
.ox-nav { position: sticky; top: 0; z-index: 50; background: rgba(247,251,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid #E3EEF7; }
.ox-nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
body .ox a.ox-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--ox-ink); }
.ox-logo__icon { width: 38px; height: 38px; border-radius: 12px; background: var(--ox-sky); color: var(--ox-accent); display: flex; align-items: center; justify-content: center; }
.ox-logo img { max-height: 40px; width: auto; }
.ox-nav__links { display: flex; gap: 4px; font-weight: 600; font-size: 15px; }
body .ox .ox-nav__links a { padding: 10px 16px; border-radius: 999px; color: var(--ox-muted); }
body .ox .ox-nav__links a.is-active, body .ox .ox-nav__links a:hover { background: var(--ox-sky); color: var(--ox-ink); }
.ox-nav__cta { display: flex; gap: 8px; }
.ox .ox-nav__cta .ox-btn { padding: 12px 20px; font-size: 15px; }
.ox-burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--ox-line); background: #fff; color: var(--ox-ink); align-items: center; justify-content: center; cursor: pointer; }
.ox-mmenu { display: none; padding: 8px 16px 18px; border-top: 1px solid #E3EEF7; flex-direction: column; gap: 6px; }
.ox-mmenu.is-open { display: flex; }
body .ox .ox-mmenu > a { padding: 14px 16px; border-radius: 14px; color: var(--ox-ink); font-weight: 600; }
body .ox .ox-mmenu > a:hover { background: var(--ox-sky); }
.ox-mmenu__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 6px; }
.ox .ox-mmenu__btns .ox-btn { padding: 14px; font-size: 15px; }

/* =========================================================
   HERO
   ========================================================= */
.ox-hero { padding-top: 24px; }
.ox-hero__box {
  border-radius: 36px;
  background:
    radial-gradient(circle at 90% 10%, rgba(125,211,252,.55), transparent 45%),
    linear-gradient(160deg, #E8F6FF 0%, #D3EEFE 100%);
  padding: 64px 48px 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; align-items: end;
  overflow: hidden;
}
.ox-hero__copy { display: flex; flex-direction: column; gap: 22px; padding-bottom: 56px; }
.ox-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; color: var(--ox-ink); }
.ox-dot { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; display: inline-block; box-shadow: 0 0 0 4px rgba(22,163,74,.15); }
body .ox .ox-hero h1 { font-size: clamp(36px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -.03em; color: var(--ox-ink); }
.ox-hero h1 em { font-style: normal; color: var(--ox-accent); }
.ox-hero__lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.65; color: var(--ox-muted) !important; max-width: 480px; }
.ox-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ox .ox-hero__btns .ox-btn { flex: 1 1 auto; }
.ox-ticks { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; font-weight: 700; color: #0B3A57; }
.ox-ticks span { display: inline-flex; align-items: center; gap: 6px; }
.ox-ticks svg { color: var(--ox-accent); }

/* --- Hero illustration --- */
.ox-hero__art { position: relative; min-height: 440px; display: flex; align-items: flex-end; justify-content: center; }
.ox-tv { position: relative; width: 92%; max-width: 470px; height: 290px; margin-bottom: 64px; border-radius: 24px; background: var(--ox-ink); padding: 12px; box-shadow: 0 34px 60px -24px rgba(3,105,161,.55); }
.ox-tv::after { content: ""; position: absolute; left: 50%; bottom: -22px; width: 110px; height: 10px; margin-left: -55px; border-radius: 0 0 10px 10px; background: var(--ox-ink); }
.ox-tv__screen { position: relative; height: 100%; border-radius: 15px; overflow: hidden; background: #0C4A6E; background-size: cover; background-position: center; }
.ox-pitch { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ox-tv__ui { position: absolute; inset: 0; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.ox-score { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: rgba(11,34,57,.82); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); }
.ox-score b { font-weight: 800; letter-spacing: .02em; }
.ox-score .ox-score__time { color: var(--ox-light); }
.ox-live { padding: 3px 7px; border-radius: 6px; background: #DC2626; color: #fff; font-weight: 800; font-size: 10px; letter-spacing: .05em; }
.ox-tv__bottom { display: flex; flex-direction: column; gap: 8px; }
.ox-chiprow { display: flex; gap: 6px; }
.ox-chiprow span { padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.16); color: #E0F2FE; font-size: 11px; font-weight: 700; }
.ox-chiprow span:first-child { background: var(--ox-light); color: var(--ox-ink); }
.ox-progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,.22); }
.ox-progress span { display: block; width: 64%; height: 4px; border-radius: 4px; background: var(--ox-light); }

.ox-phone { position: absolute; right: 1%; bottom: 0; width: 136px; height: 262px; border-radius: 28px 28px 0 0; background: var(--ox-ink); padding: 8px 8px 0; box-shadow: 0 20px 40px -15px rgba(3,105,161,.55); }
.ox-phone__screen { height: 100%; border-radius: 21px 21px 0 0; background: #0A3352; background-size: cover; background-position: center; overflow: hidden; padding: 10px 8px; display: flex; flex-direction: column; gap: 7px; }
.ox-app__bar { display: flex; justify-content: space-between; align-items: center; }
.ox-app__bar i { display: block; width: 26px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.5); }
.ox-app__bar b { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--ox-light); }
.ox-app__hero { height: 62px; border-radius: 10px; background: linear-gradient(135deg, #0284C7, #7DD3FC); display: flex; align-items: center; justify-content: center; }
.ox-app__hero span { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; color: var(--ox-accent); }
.ox-app__line { height: 5px; width: 60%; border-radius: 4px; background: rgba(255,255,255,.45); }
.ox-app__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.ox-app__row i { display: block; height: 40px; border-radius: 6px; background: #0C4A6E; }
.ox-app__row i:nth-child(2) { background: #075985; }
.ox-app__row i:nth-child(3) { background: #0369A1; }
.ox-app__row--b i:nth-child(1) { background: #0369A1; }
.ox-app__row--b i:nth-child(3) { background: #0C4A6E; }

.ox-float { position: absolute; padding: 11px 14px; border-radius: 16px; background: #fff; display: flex; align-items: center; gap: 10px; box-shadow: 0 14px 30px -14px rgba(11,34,57,.35); font-size: 13px; line-height: 1.3; color: var(--ox-ink); animation: oxFloat 4.5s ease-in-out infinite; z-index: 2; }
.ox-float--1 { left: 0; top: 18px; }
.ox-float--2 { left: 6%; bottom: 18px; animation-delay: -2s; }
.ox-float__icon { width: 34px; height: 34px; border-radius: 10px; background: var(--ox-sky); color: var(--ox-accent); display: flex; align-items: center; justify-content: center; }
.ox-float b { display: block; font-weight: 800; }
@keyframes oxFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- Devices ---------- */
.ox-devices { padding-top: 32px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.ox-devices .ox-eyebrow { color: var(--ox-muted); }
.ox-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ox-chip { padding: 11px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--ox-line); font-weight: 700; font-size: 14px; color: var(--ox-text); }
body .ox a.ox-chip { color: var(--ox-text); transition: border-color .15s, color .15s; }
body .ox a.ox-chip:hover, body .ox a.ox-chip:focus-visible { border-color: var(--ox-accent); color: var(--ox-accent-dark); }

/* ---------- Stats ---------- */
.ox-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ox-stat { padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--ox-line); }
.ox-stat__num { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--ox-ink); letter-spacing: -.02em; }
.ox-stat__num span { color: var(--ox-accent); }
.ox-stat__label { font-size: 14px; font-weight: 600; color: var(--ox-muted); }

/* =========================================================
   CATEGORIES (with CSS/SVG illustrations)
   ========================================================= */
.ox-sec--cats { padding-top: 88px; padding-bottom: 40px; }
.ox-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body .ox a.ox-cat {
  height: 240px; border-radius: 26px; padding: 20px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background-size: cover; background-position: center;
  position: relative; overflow: hidden; color: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
body .ox a.ox-cat:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(3,105,161,.7); }
.ox-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,34,57,.85) 0%, rgba(11,34,57,0) 55%); z-index: 1; }
.ox-cat > * { position: relative; z-index: 2; }
.ox-cat__art { position: absolute !important; top: 0; left: 0; right: 0; height: 72%; z-index: 0 !important; display: flex; align-items: center; justify-content: center; transition: transform .35s ease; }
.ox-cat__art svg { width: 82%; height: auto; max-height: 100%; }
.ox-cat:hover .ox-cat__art { transform: scale(1.06); }
.ox-cat.has-img .ox-cat__art { display: none; }
.ox-cat__name { font-size: 21px; font-weight: 800; }
.ox-cat__sub { font-size: 13px; color: #CFE6F7; font-weight: 600; }
.ox-cat--1 { background-color: #0C4A6E; background-image: radial-gradient(circle at 70% 25%, #1A6A96, #0C4A6E 70%); }
.ox-cat--2 { background-color: #0369A1; background-image: radial-gradient(circle at 70% 25%, #1A8BC9, #0369A1 70%); }
.ox-cat--3 { background-color: #075985; background-image: radial-gradient(circle at 70% 25%, #1677AA, #075985 70%); }
.ox-cat--4 { background-color: #0B2239; background-image: radial-gradient(circle at 70% 25%, #1D3D5E, #0B2239 70%); }
.ox-cat.has-img { background-image: none; }
.ox-link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Bento ---------- */
.ox-sec--bento { padding-top: 56px; padding-bottom: 96px; }
.ox-bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.ox-tile { min-height: 220px; padding: 28px; border-radius: var(--ox-radius); background: #fff; border: 1px solid var(--ox-line); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; color: var(--ox-ink); }
.ox-tile--wide { grid-column: span 2; padding: 32px; }
.ox-tile--dark { background: var(--ox-ink); border-color: var(--ox-ink); color: #fff; }
.ox-tile--sky { background: var(--ox-sky-2); border-color: var(--ox-sky-2); color: var(--ox-ink); }
body .ox .ox-tile h3 { font-size: 20px; margin-bottom: 6px; color: var(--ox-ink); }
body .ox .ox-tile--wide h3 { font-size: 26px; margin-bottom: 8px; }
body .ox .ox-tile--dark h3 { color: #FFFFFF; }
body .ox .ox-tile p { color: var(--ox-muted); line-height: 1.55; max-width: 460px; }
body .ox .ox-tile--dark p { color: #C9DCEC; }
body .ox .ox-tile--sky p { color: #0B3A57; }
.ox-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--ox-sky); color: var(--ox-accent); display: flex; align-items: center; justify-content: center; }
.ox-tile--dark .ox-ico { background: rgba(255,255,255,.1); color: var(--ox-light); }
.ox-tile--sky .ox-ico { background: #fff; }

/* =========================================================
   PLANS
   ========================================================= */
.ox-plans { background: #fff; border-top: 1px solid var(--ox-line); border-bottom: 1px solid var(--ox-line); scroll-margin-top: 80px; }
.ox-tabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: #F0F7FD; border: 1px solid var(--ox-line); margin: 0 auto 32px; width: max-content; max-width: 100%; }
.ox-tab { flex: 1 0 auto; padding: 11px 20px; border-radius: 999px; border: none; background: transparent; color: var(--ox-muted); font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.ox-tab:hover { color: var(--ox-ink); }
.ox-tab.is-active { background: var(--ox-ink); color: #fff; }
.ox-tab__short { display: none; }
.ox-panel { display: none; }
.ox-panel.is-active { display: block; animation: oxFade .25s ease; }
@keyframes oxFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.ox-tag { display: inline-block; font-size: 11px; padding: 5px 10px; border-radius: 999px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.ox-tag--feat { background: #FDE68A; color: #713F12; }
.ox-tag--green { background: #DCFCE7; color: #166534; }
.ox-tag--sky { background: var(--ox-sky); color: var(--ox-accent-dark); }
.ox-tag--glass { background: rgba(255,255,255,.2); color: #fff; }

/* ---------- Plan cards (Pick your plan): the same .pg-plan cards as
   iptv-subscription/trial/reseller.php, styled by optv-pages.css (linked in homepage.tpl).
   Only homepage extras live here. ---------- */
/* optv-pages.css sizes .pg as a full-width page block (width/margins/padding); inside the
   homepage it just fills the plans column */
.ox .pg--embed { width: auto; max-width: none; margin: 0; padding: 0; gap: 0; }
/* reseller cards: credit cost per line (homepage only) */
.ox-ptable { border-radius: 16px; border: 1px solid var(--ox-line); overflow: hidden; }
.ox-ptable div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; font-size: 13.5px; font-weight: 600; color: var(--ox-muted); }
.ox-ptable div:nth-child(odd) { background: var(--ox-bg); }
.ox-ptable b { color: var(--ox-ink); font-weight: 800; white-space: nowrap; }
.pg-plan--featured .ox-ptable { border-color: rgba(255,255,255,.22); }
.pg-plan--featured .ox-ptable div { color: #D6EEFC; }
.pg-plan--featured .ox-ptable div:nth-child(odd) { background: rgba(255,255,255,.07); }
.pg-plan--featured .ox-ptable b { color: #fff; }

.ox-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; font-size: 14px; font-weight: 700; color: var(--ox-text); margin-top: 18px; }
.ox-perks span { display: inline-flex; gap: 6px; align-items: center; }
.ox-perks svg { color: var(--ox-accent); }
body .ox .ox-secure { text-align: center; font-size: 13px; font-weight: 600; color: var(--ox-muted); margin-top: 24px; }

/* ---------- Steps + reseller promo ---------- */
.ox-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; align-items: stretch; scroll-margin-top: 80px; }
.ox-steps { display: flex; flex-direction: column; gap: 14px; color: var(--ox-ink); }
body .ox .ox-steps .ox-h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 8px; }
.ox-step { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--ox-line); }
.ox-step__num { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; background: var(--ox-sky); color: var(--ox-accent); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ox-step__txt b { display: block; color: var(--ox-ink); }
.ox-step__txt span { font-size: 14px; color: var(--ox-muted); }
.ox-promo { position: relative; overflow: hidden; border-radius: 36px; background: radial-gradient(circle at 100% 0%, rgba(125,211,252,.25), transparent 50%), var(--ox-ink); color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
body .ox .ox-promo h2 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.02em; color: #FFFFFF; }
body .ox .ox-promo p { color: #C9DCEC; font-size: 16px; line-height: 1.6; }
.ox-promo__tag { padding: 6px 12px; border-radius: 999px; background: rgba(125,211,252,.15); color: var(--ox-light); font-size: 13px; font-weight: 800; letter-spacing: .04em; }

/* =========================================================
   TRUSTPILOT / REVIEWS
   ========================================================= */
.ox-tp { background: #fff; border-top: 1px solid var(--ox-line); border-bottom: 1px solid var(--ox-line); }
.ox-tp__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
.ox-tp__brand { display: flex; flex-direction: column; gap: 10px; }
.ox-tp__logo { height: 34px; width: auto; display: block; }
.ox-tp__logotext { font-size: 26px; font-weight: 800; color: var(--ox-ink); letter-spacing: -.02em; }
.ox-tp__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ox-muted); }
.ox-tp__rating b { color: var(--ox-ink); font-size: 18px; }
.ox-tp__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ox-stars { display: inline-flex; gap: 3px; color: #F59E0B; }
.ox-stars svg { width: 18px; height: 18px; }

.ox-tp__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.ox-review { padding: 24px; border-radius: 24px; background: var(--ox-bg); border: 1px solid var(--ox-line); display: flex; flex-direction: column; gap: 12px; color: var(--ox-ink); }
.ox-review__title { font-weight: 800; font-size: 16px; color: var(--ox-ink); }
body .ox .ox-review p { line-height: 1.6; color: var(--ox-text); font-size: 15px; }
.ox-review__foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--ox-line); }
.ox-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ox-sky); color: var(--ox-accent); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.ox-review__name { font-size: 14px; font-weight: 700; color: var(--ox-ink); line-height: 1.2; }
.ox-review__name span { display: block; font-size: 12px; font-weight: 600; color: var(--ox-muted); }

.ox-tp__ask { margin-top: 24px; border-radius: 26px; background: var(--ox-sky); padding: 26px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.ox-tp__ask-txt { display: flex; flex-direction: column; gap: 4px; max-width: 640px; }
.ox-tp__ask-txt b { font-size: 19px; font-weight: 800; color: var(--ox-ink); }
.ox-tp__ask-txt span { font-size: 15px; color: #0B3A57; }
.ox-tp__widget { margin-top: 24px; }

/* ---------- FAQ ---------- */
.ox-faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 80px; }
body .ox .ox-faq .ox-h2 { text-align: center; margin-bottom: 16px; color: var(--ox-ink); }
.ox-faq details { background: #fff; border: 1px solid var(--ox-line); border-radius: 20px; padding: 20px 22px; }
.ox-faq details[open] { border-color: #B9D9EF; }
.ox-faq summary { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 16px; color: var(--ox-ink); cursor: pointer; list-style: none; }
.ox-faq summary::-webkit-details-marker { display: none; }
.ox-faq summary::after { content: "+"; flex: 0 0 auto; color: var(--ox-accent); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.ox-faq details[open] summary::after { transform: rotate(45deg); }
body .ox .ox-faq details p { margin-top: 12px; color: var(--ox-muted); line-height: 1.6; }

/* =========================================================
   CTA (gradient)
   ========================================================= */
.ox-cta-wrap { padding-bottom: 88px; }
.ox-cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 36px; color: #fff; padding: 60px 52px;
  background:
    radial-gradient(circle at 88% 18%, rgba(125,211,252,.55) 0%, rgba(125,211,252,0) 38%),
    radial-gradient(circle at 8% 110%, rgba(2,132,199,.7) 0%, rgba(2,132,199,0) 45%),
    linear-gradient(125deg, #0B2239 0%, #075985 45%, #0369A1 70%, #0284C7 100%);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 36px; align-items: center;
  box-shadow: 0 40px 70px -40px rgba(3,105,161,.8);
}
.ox-cta::before, .ox-cta::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); z-index: -1; }
.ox-cta::before { width: 520px; height: 520px; right: -160px; top: -220px; }
.ox-cta::after { width: 340px; height: 340px; right: -70px; top: -130px; }
.ox-cta__text { display: flex; flex-direction: column; gap: 16px; }
.ox-cta__eyebrow { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); color: #E0F2FE; font-size: 13px; font-weight: 800; letter-spacing: .05em; }
body .ox .ox-cta h2 { font-size: clamp(28px, 3.8vw, 44px); letter-spacing: -.02em; line-height: 1.1; color: #FFFFFF; }
body .ox .ox-cta p { color: #D6EEFC; font-size: 17px; line-height: 1.6; }
.ox-cta__ticks { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; font-weight: 700; color: #F0F9FF; }
.ox-cta__ticks span { display: inline-flex; align-items: center; gap: 6px; }
.ox-cta__ticks svg { color: var(--ox-light); }
.ox-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ox-ticket { justify-self: end; width: 100%; max-width: 340px; border-radius: 26px; padding: 26px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 50px -30px rgba(0,0,0,.5); transform: rotate(-2deg); }
.ox-ticket__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: #E0F2FE; }
.ox-ticket__price { font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; }
.ox-ticket__price span { font-size: 15px; font-weight: 700; color: #BAE6FD; letter-spacing: 0; }
.ox-ticket__cut { height: 0; border-top: 2px dashed rgba(255,255,255,.3); margin: 4px -26px; }
.ox-ticket__rows { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: #E0F2FE; }
.ox-ticket__rows span { display: flex; justify-content: space-between; }
.ox-ticket__rows b { color: #fff; }

/* ---------- Optional custom footer ---------- */
.ox-footer { background: var(--ox-ink); color: #BFD3E6; }
.ox-footer__inner { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 36px; }
.ox-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 32px; font-size: 15px; }
.ox-footer__col { display: flex; flex-direction: column; gap: 10px; }
.ox-footer__title { color: #fff; font-weight: 700; }
.ox-footer__brand { color: #fff; font-weight: 800; font-size: 20px; }
body .ox .ox-footer a { color: #BFD3E6; }
body .ox .ox-footer a:hover { color: #fff; }
.ox-footer__copy { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: 13px; }

/* ---------- Mobile sticky bar ---------- */
.ox-mbar { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; padding: 10px; border-radius: 999px; background: var(--ox-ink); align-items: center; justify-content: space-between; gap: 10px; box-shadow: 0 16px 30px -10px rgba(11,34,57,.5); transition: transform .25s ease, opacity .25s ease; }
.ox-mbar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.ox-mbar__text { padding-left: 12px; color: #fff; font-size: 14px; font-weight: 800; line-height: 1.2; }
.ox-mbar__text span { display: block; font-size: 12px; font-weight: 600; color: #BFD3E6; }
.ox .ox-mbar .ox-btn { padding: 13px 20px; font-size: 15px; }

/* ---------- Plan helpers ---------- */
body .ox a.ox-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 22px auto 0; font-weight: 700; font-size: 15px; color: var(--ox-accent); }
.ox-tp__btns--center { justify-content: center; margin-top: 8px; }
.ox-tp__widget:empty { display: none; }
.ox-tp__widget { margin: 0 auto 28px; max-width: 1100px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .ox-nav__links, .ox-nav__cta { display: none; }
  .ox-burger { display: flex; }
  .ox-mbar { display: flex; }
  .ox { padding-bottom: 90px; }
  .ox-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ox-ticket { justify-self: start; transform: none; }
}

@media (max-width: 700px) {
  .ox-wrap { padding-left: 16px; padding-right: 16px; }
  .ox-sec { padding-top: 56px; padding-bottom: 56px; }
  .ox-sec--cats { padding-top: 56px; padding-bottom: 24px; }
  .ox-sec--bento { padding-top: 32px; padding-bottom: 56px; }

  /* hero */
  .ox-hero { padding-top: 12px; }
  .ox-hero__box { padding: 30px 18px 0; border-radius: 26px; gap: 0; }
  .ox-hero__copy { padding-bottom: 4px; gap: 16px; }
  .ox-hero__lead { font-size: 15.5px; }
  .ox-hero__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ox .ox-hero__btns .ox-btn { padding: 13px 10px; font-size: 14.5px; gap: 7px; min-width: 0; }
  .ox-hero__btns .ox-play { width: 20px; height: 20px; }
  .ox-hero__btns .ox-play svg { width: 9px; height: 9px; }
  .ox-ticks { gap: 8px 14px; font-size: 13px; }

  /* hero illustration — scaled to fit inside the box */
  .ox-hero__art { min-height: 0; height: 250px; margin-top: 18px; width: 100%; }
  .ox-tv { position: absolute; left: 0; bottom: 42px; width: 78%; max-width: none; height: 168px; margin: 0; padding: 8px; border-radius: 16px; }
  .ox-tv::after { width: 70px; margin-left: -35px; bottom: -16px; height: 8px; }
  .ox-tv__screen { border-radius: 10px; }
  .ox-tv__ui { padding: 9px; }
  .ox-score { font-size: 10px; gap: 5px; padding: 4px 6px; border-radius: 7px; }
  .ox-live { font-size: 8px; padding: 2px 5px; }
  .ox-chiprow span { font-size: 9px; padding: 3px 7px; }
  .ox-chiprow span:nth-child(3) { display: none; }
  .ox-phone { right: 0; width: 84px; height: 172px; border-radius: 18px 18px 0 0; padding: 6px 6px 0; }
  .ox-phone__screen { border-radius: 13px 13px 0 0; padding: 7px 5px; gap: 5px; }
  .ox-app__hero { height: 38px; border-radius: 7px; }
  .ox-app__row i { height: 24px; border-radius: 4px; }
  .ox-float { padding: 7px 10px; font-size: 11px; gap: 7px; border-radius: 12px; }
  .ox-float__icon { width: 26px; height: 26px; border-radius: 8px; }
  .ox-float__icon svg { width: 14px; height: 14px; }
  .ox-float--1 { left: auto; right: 64px; top: 0; }
  .ox-float--2 { display: none; }

  .ox-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ox-stat { padding: 18px; }
  .ox a.ox-cat { height: 190px; border-radius: 22px; padding: 16px; }
  .ox-cat__name { font-size: 18px; }
  .ox-cat__sub { display: none; }

  .ox-tile--wide { grid-column: auto; }
  .ox-tile { min-height: 0; }

  /* tabs: compact, equal width, short labels */
  .ox-tabs { width: 100%; padding: 4px; margin-bottom: 24px; }
  .ox-tab { flex: 1 1 0; min-width: 0; padding: 10px 6px; font-size: 13px; }
  .ox-tab__long { display: none; }
  .ox-tab__short { display: inline; }

  .ox-promo { padding: 30px 22px; border-radius: 28px; }
  .ox-tp__btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ox .ox-tp__btns .ox-btn { padding: 13px 10px; font-size: 14px; }
  .ox-tp__ask { padding: 22px 20px; }
  .ox .ox-tp__ask .ox-btn { width: 100%; }

  .ox-cta { padding: 34px 18px 22px; border-radius: 26px; gap: 24px; }
  .ox-cta::before { width: 320px; height: 320px; right: -140px; top: -140px; }
  .ox-cta::after { width: 200px; height: 200px; right: -80px; top: -80px; }
  .ox-cta__eyebrow { font-size: 11px; }
  .ox-cta p { font-size: 15.5px; }
  .ox-cta__ticks { gap: 8px 14px; font-size: 13px; }
  .ox-cta__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .ox .ox-cta__btns .ox-btn { padding: 13px 10px; font-size: 14.5px; min-width: 0; }
  .ox-ticket { width: 100%; max-width: none; padding: 20px 18px; border-radius: 20px; gap: 12px; transform: none; justify-self: stretch; }
  .ox-ticket__price { font-size: 38px; }
  .ox-ticket__cut { margin: 2px -18px; }
  .ox-ticket__rows { font-size: 13px; }
  .ox-ticket__rows span { gap: 10px; }
  .ox-ticket__rows b { text-align: right; }
}

/* ---------- Learn-more links (to the SEO pages) ---------- */
.ox-learn { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--ox-muted); }
body .ox .ox-learn a { padding: 7px 14px; border-radius: 999px; background: var(--ox-sky); color: var(--ox-accent-dark); }
body .ox .ox-learn a:hover { background: var(--ox-sky-2); color: var(--ox-ink); }
.ox-promo__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 700px) {
  .ox-promo__btns { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 8px; }
  .ox .ox-promo__btns .ox-btn { padding: 13px 8px; font-size: 14px; }
}

@media (max-width: 360px) {
  .ox-hero__btns, .ox-cta__btns, .ox-tp__btns { grid-template-columns: 1fr; }
  .ox-tv { width: 74%; }
}

@media (prefers-reduced-motion: reduce) {
  .ox *, .ox *::before, .ox *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   OPTIONAL: hide Lagom's own header/footer on the homepage
   Only active when $ox_custom_nav = true in homepage.tpl.
   CHECK these selectors with browser Inspect on your site.
   ========================================================= */
body.ox-own-chrome .app-nav,
body.ox-own-chrome .main-header,
body.ox-own-chrome .main-footer,
body.ox-own-chrome .footer-copyright,
body.ox-own-chrome .main-body > .breadcrumb {
  display: none !important;
}
body.ox-own-chrome .main-body { padding-top: 0 !important; }

/* Shared OPTV content width */
@media (min-width: 701px) {
  .ox-wrap {
    width: calc(100% - 100px);
    max-width: none;
    box-sizing: border-box;
  }
}

/* Phones (< 768px): optv-pages.css centres the plan cards; keep the credit table rows
   left/right aligned. */
@media (max-width: 767.98px) {
  .ox-ptable div { text-align: left; }
}
