:root {
  --ink: #101013;
  --ink-2: #19191f;
  --paper: #f7f5f2;
  --white: #fff;
  --text: #232127;
  --muted: #68636d;
  --line: #ddd8d2;
  --accent: #d80070;
  --accent-dark: #ae005c;
  --green: #137a54;
  --max: 1180px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent-dark); }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 16px; background: var(--white); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.site-header { background: var(--ink); color: var(--white); border-bottom: 1px solid #2a2930; }
.header-inner { width: min(var(--max), calc(100% - 48px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.logo { color: var(--white); text-decoration: none; font-size: 28px; font-weight: 900; letter-spacing: -1.5px; line-height: 1; }
.logo span { color: var(--accent); }
.header-nav { display: flex; align-items: center; gap: 25px; font-size: 13px; font-weight: 700; }
.header-nav a { color: #d8d5dc; text-decoration: none; }
.header-nav a:hover, .header-nav a[aria-current="page"] { color: var(--white); }
.header-nav .trial-link { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--accent); color: var(--white); }
.header-nav .trial-link:hover { background: #c50068; }
.breadcrumbs { background: var(--ink); color: #aaa5af; }
.breadcrumbs ol { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 15px 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 12px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #65616a; }
.breadcrumbs a { color: #d8d5dc; text-decoration: none; }
.apps-hero { overflow: hidden; padding: 56px 24px 60px; background: radial-gradient(circle at 82% 42%, rgba(236,8,124,.09), transparent 32%), var(--ink); color: var(--white); }
.hero-inner { width: min(var(--max), 100%); margin: 0 auto; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 65px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: 1.8px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { margin-top: 0; line-height: 1.14; letter-spacing: -.035em; }
.hero h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(46px, 6.1vw, 76px); }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 670px; margin: 0; color: #c6c1cb; font-size: 19px; line-height: 1.65; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.button { min-height: 50px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 999px; background: var(--accent); color: var(--white); font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.button:hover { background: #c50068; color: var(--white); }
.button.secondary { background: transparent; border: 1px solid #4a4650; }
.button.secondary:hover { border-color: #8c8692; background: #201f25; }
.hero-note { margin-top: 22px; display: flex; align-items: flex-start; gap: 9px; color: #98929e; font-size: 12px; }
.hero-note .icon { width: 17px; height: 17px; margin-top: 1px; }
.hero-visual { position: relative; min-height: 340px; display: grid; place-items: center; }
.orbit { position: absolute; width: 330px; height: 330px; border: 1px solid #353139; border-radius: 50%; }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: 42px; border: 1px solid #2b282f; border-radius: 50%; }
.orbit::after { inset: 92px; }
.device-tv { position: relative; z-index: 1; width: 280px; padding: 12px 12px 32px; border: 1px solid #47424c; border-radius: 18px; background: #1e1d23; box-shadow: 0 30px 80px #0008; }
.device-screen { min-height: 170px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 10px; background: radial-gradient(circle at 80% 15%, #ec087c55, transparent 50%), linear-gradient(135deg, #29121f, #111116 65%); }
.device-screen .logo { font-size: 22px; }
.screen-play { width: 58px; height: 58px; display: grid; place-items: center; align-self: center; border: 1px solid #ffffff55; border-radius: 50%; color: var(--white); }
.screen-play .icon { margin-left: 3px; }
.screen-meta { display: flex; justify-content: space-between; color: #bcb6c2; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.device-tv::after { content: ""; position: absolute; bottom: 12px; left: 50%; width: 44px; height: 4px; border-radius: 4px; background: #4b4650; transform: translateX(-50%); }
.code-chip { position: absolute; z-index: 2; right: -6px; bottom: 25px; padding: 13px 17px; border: 1px solid #45404a; border-radius: 12px; background: #211f26; box-shadow: 0 14px 30px #0006; }
.code-chip span { display: block; color: #9b95a0; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.code-chip strong { color: var(--white); font-size: 21px; letter-spacing: 2px; }
.main { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 52px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 46px); }
.section-heading p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; }
.filter-wrap { margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.filter-button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #55505a; font-size: 13px; font-weight: 750; cursor: pointer; }
.filter-button:hover { border-color: #aaa2ad; }
.filter-button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.app-card { position: relative; overflow: hidden; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: var(--white); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.app-card.recommended { border-color: #dca7c2; box-shadow: 0 16px 40px #38162a0a; }
.recommendation { position: absolute; top: 18px; right: 18px; padding: 5px 10px; border-radius: 999px; background: #fce8f2; color: var(--accent-dark); font-size: 9px; font-weight: 850; letter-spacing: .8px; text-transform: uppercase; }
.app-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.app-icon { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; background: var(--ink); color: var(--white); font-size: 17px; font-weight: 900; letter-spacing: -1px; }
.app-icon.tivimate { background: #1769aa; }
.app-icon.ibo { background: #a41120; }
.app-icon.smart { background: #6b42a5; font-size: 13px; }
.app-icon.vlc { background: #e56d17; }
.app-icon .icon { width: 31px; height: 31px; }
.app-title h3 { margin: 0 0 3px; font-size: 25px; }
.app-title span { color: var(--muted); font-size: 12px; }
.app-card > p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.platforms { margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 7px; }
.platforms span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 6px; color: #5d5761; font-size: 10px; font-weight: 700; }
.download-box { margin-top: auto; padding: 18px; border-radius: 12px; background: #f3f0ec; }
.download-box.store { background: #f0f4f7; }
.download-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--green); letter-spacing: 0; text-transform: none; }
.verified .icon { width: 14px; height: 14px; }
.code-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.download-code { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 28px; font-weight: 850; letter-spacing: 2px; line-height: 1.2; }
.copy-button { min-width: 82px; min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #cec7d0; border-radius: 8px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 800; cursor: pointer; }
.copy-button:hover { border-color: var(--accent); color: var(--accent-dark); }
.copy-button .icon { width: 15px; height: 15px; }
.direct-link { margin-top: 12px; display: inline-block; color: var(--accent-dark); font-size: 12px; font-weight: 750; overflow-wrap: anywhere; }
.store-text { color: #46414b; font-size: 13px; line-height: 1.6; }
.card-note { margin: 14px 0 0 !important; font-size: 11px !important; line-height: 1.6; }
.empty-state { padding: 35px; border: 1px dashed #c8c0ca; border-radius: 16px; text-align: center; color: var(--muted); }
.notice { margin-top: 24px; padding: 20px 22px; display: flex; align-items: flex-start; gap: 13px; border: 1px solid #dfd2b8; border-radius: 13px; background: #fff9eb; color: #5f5137; font-size: 13px; }
.notice .icon { margin-top: 2px; color: #8a691d; }
.notice strong { color: #433821; }
.package-groups { display: grid; gap: 14px; }
details.package-group { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color .2s ease, box-shadow .2s ease; }
.package-group summary { padding: 22px 58px 22px 24px; font-size: 19px; }
.package-group summary::after { top: 20px; right: 23px; }
.package-group summary small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; }
.package-content { padding: 0 24px 8px; border-top: 1px solid var(--line); }
.package-row { padding: 21px 0; display: grid; grid-template-columns: minmax(0, 1fr) 205px; align-items: center; gap: 24px; border-bottom: 1px solid #e9e4df; }
.package-row:last-child { border-bottom: 0; }
.package-row h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.02em; }
.package-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.package-meta { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 6px; }
.package-meta span { padding: 3px 7px; border-radius: 5px; background: #f0ede9; color: #625c66; font-size: 9px; font-weight: 750; }
.package-action { text-align: right; }
.package-action .download-code { display: block; margin-bottom: 9px; font-size: 24px; }
.package-action .copy-button { min-width: 90px; }
.package-link { display: inline-block; margin-top: 9px; color: var(--accent-dark); font-size: 11px; font-weight: 750; overflow-wrap: anywhere; }
.package-button { min-height: 40px; padding: 0 15px; display: inline-flex; align-items: center; gap: 7px; border-radius: 8px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 800; text-decoration: none; }
.package-button:hover { background: #302d35; color: var(--white); }
.package-button .icon { width: 15px; height: 15px; }
.package-status { display: inline-block; padding: 8px 11px; border-radius: 7px; background: #eee9e4; color: #6b6269; font-size: 11px; font-weight: 750; }
.package-status.unavailable { background: #f8e8e6; color: #8e3434; }
.mirror-note { margin-top: 7px; display: block; color: #746d76; font-size: 9px; line-height: 1.45; }
.install-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 65px; align-items: start; }
.install-intro { position: sticky; top: 25px; }
.install-intro h2 { margin-bottom: 18px; font-size: 42px; }
.install-intro p { color: var(--muted); font-size: 14px; }
.guide-links { margin: 22px 0 10px; display: grid; gap: 8px; }
.guide-links a { width: fit-content; color: var(--accent-dark); font-size: 13px; font-weight: 800; }
.install-intro .button { margin-top: 12px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: install; }
.steps li { position: relative; padding: 0 0 28px 68px; counter-increment: install; }
.steps li:not(:last-child)::before { content: ""; position: absolute; top: 42px; bottom: 0; left: 21px; width: 1px; background: #d5cfd7; }
.steps li::after { content: counter(install, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 800; }
.steps h3 { margin: 5px 0 7px; font-size: 20px; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }
.steps code { padding: 2px 5px; border-radius: 4px; background: #eae5e0; color: var(--accent-dark); font-weight: 800; }
.device-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.55; }
th, td { padding: 17px 19px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--ink); color: var(--white); font-size: 11px; letter-spacing: .5px; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 800; white-space: nowrap; }
td a { color: var(--accent-dark); font-weight: 750; }
.activation { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.activation article { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.activation .icon { margin-bottom: 17px; color: var(--accent-dark); }
.activation h3 { margin-bottom: 10px; font-size: 20px; }
.activation p { margin: 0; color: var(--muted); font-size: 13px; }
.faq-list { max-width: 850px; }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 22px 42px 22px 0; list-style: none; font-size: 17px; font-weight: 800; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; top: 19px; right: 5px; color: var(--accent-dark); font-size: 25px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: -4px 0 22px; padding-right: 40px; color: var(--muted); font-size: 14px; }
.final-cta { margin: 12px 0 56px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 35px; border-radius: 20px; background: var(--ink); color: var(--white); }
.final-cta h2 { margin-bottom: 9px; font-size: 32px; }
.final-cta p { margin: 0; color: #aaa4b0; font-size: 14px; }
.site-footer { background: var(--ink); color: var(--white); }
.footer-inner { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 40px 0; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-inner p { margin: 8px 0 0; color: #918b96; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 23px; font-size: 13px; }
.footer-links a { color: #d8d5dc; }
.toast { position: fixed; z-index: 50; right: 24px; bottom: 24px; max-width: calc(100% - 48px); padding: 13px 18px; border-radius: 10px; background: var(--ink); color: var(--white); box-shadow: 0 15px 45px #0004; font-size: 13px; font-weight: 700; }
@media (hover: hover) {
  .app-card:hover { transform: translateY(-4px); border-color: #cec5cf; box-shadow: 0 16px 38px rgba(56,22,42,.09); }
  details.package-group:hover { border-color: #c9c0cb; box-shadow: 0 8px 24px rgba(56,22,42,.05); }
  .button:hover { transform: translateY(-2px); }
}
@media (max-width: 960px) {
  .header-nav { gap: 17px; }
  .hero-inner { grid-template-columns: 1fr .65fr; gap: 35px; }
  .device-tv { width: 230px; }
  .orbit { width: 275px; height: 275px; }
  .code-chip { right: -15px; }
  .install-layout { gap: 40px; }
  .activation { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 740px) {
  .header-inner { width: calc(100% - 32px); min-height: 70px; }
  .logo { font-size: 25px; }
  .header-nav > a:not(.trial-link) { display: none; }
  .header-nav .trial-link { min-height: 38px; padding: 0 14px; font-size: 12px; }
  .breadcrumbs ol { width: calc(100% - 32px); }
  .apps-hero { padding: 40px 20px 42px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 45px; }
  .hero-lead { font-size: 17px; }
  .hero-visual { min-height: 290px; margin-top: 5px; }
  .device-tv { width: 270px; }
  .orbit { width: 290px; height: 290px; }
  .code-chip { right: calc(50% - 165px); }
  .main { width: calc(100% - 32px); }
  .section { padding: 40px 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 12px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { padding: 24px; }
  .recommendation { top: 14px; right: 14px; }
  .install-layout { grid-template-columns: 1fr; gap: 32px; }
  .install-intro { position: static; }
  .install-intro h2 { font-size: 35px; }
  .activation { grid-template-columns: 1fr; }
  .final-cta { margin-bottom: 40px; padding: 28px; display: block; }
  .final-cta .button { margin-top: 23px; }
  .package-group summary { padding: 19px 48px 19px 19px; font-size: 17px; }
  .package-group summary::after { right: 17px; top: 17px; }
  .package-content { padding: 0 19px 6px; }
  .package-row { grid-template-columns: 1fr; gap: 15px; }
  .package-action { text-align: left; }
  .package-action .download-code { display: inline-block; margin: 0 12px 0 0; vertical-align: middle; }
  .package-action .copy-button { vertical-align: middle; }
  .footer-inner { width: calc(100% - 32px); display: block; }
  .footer-links { justify-content: flex-start; margin-top: 22px; }
  th, td { min-width: 140px; padding: 14px; }
  th:first-child, td:first-child { min-width: 125px; }
}
@media (max-width: 390px) {
  .app-title h3 { font-size: 22px; }
  .app-icon { width: 50px; height: 50px; }
  .download-code { font-size: 25px; }
  .copy-button { min-width: 72px; }
  .steps li { padding-left: 57px; }
}
@media print {
  .site-header, .breadcrumbs, .hero-visual, .hero-actions, .filter-wrap, .copy-button, .final-cta, .site-footer, .toast { display: none !important; }
  body, .apps-hero { background: white; color: black; }
  .apps-hero { padding: 20px 0; }
  .hero-inner, .install-layout { display: block; }
  .hero-lead, .section-heading p { color: #333; }
  .main { width: 100%; }
  .app-card { break-inside: avoid; }
}
