/* Hoides — styles shared by the home page and every product page. Loaded after style.css (the base design system:
   colours, buttons, cards, FAQ, footer). */

.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand .word { letter-spacing: .14em; }
.nav-links .btn { padding: .55em 1.1em; font-size: .9rem; }

/* product bar: every product, one click away */
.product-bar { border-bottom: 1px solid var(--border); background: rgba(17, 14, 26, .92); }
.product-bar .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.product-bar .wrap::-webkit-scrollbar { display: none; }
.product-bar a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  color: var(--muted); font-size: .86rem; font-weight: 500; border: 1px solid transparent; }
.product-bar a img { width: 20px; height: 20px; object-fit: contain; }
.product-bar a:hover { color: var(--text); background: var(--surface); }
.product-bar a[aria-current="page"] { color: var(--text); background: var(--surface-2); border-color: var(--border); }

/* product page hero */
.p-hero { position: relative; overflow: hidden; padding: 76px 0 84px; }
.p-hero::before { content: ""; position: absolute; inset: -30% 0 auto 0; height: 720px; pointer-events: none;
  background: radial-gradient(55% 60% at 50% 0%, rgba(138, 92, 255, .26), transparent 70%); }
.p-hero .hero-grid { grid-template-columns: .95fr 1.05fr; }
.p-hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.p-logo { width: 64px; height: 64px; object-fit: contain; margin-bottom: 18px; filter: drop-shadow(0 12px 28px rgba(106, 47, 224, .35)); }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.platforms span { font-size: .78rem; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: .25em .8em; background: var(--surface); }
@media (max-width: 900px) { .p-hero .hero-grid { grid-template-columns: 1fr; } }

.sec-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } .split.flip > :first-child { order: 0; } }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-4 { grid-template-columns: 1fr; } }
.card .ico svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.limits { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.limits li { color: var(--muted); font-size: .95rem; padding-left: 1.8em; position: relative; }
.limits li::before { content: "!"; position: absolute; left: 0; top: .15em; width: 1.15em; height: 1.15em; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #1a1300; background: #ffc46b; }
table.plain { width: 100%; border-collapse: collapse; font-size: .94rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
table.plain th, table.plain td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.plain th { background: var(--bg-2); color: var(--muted); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
table.plain td { color: var(--muted); }
table.plain td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
table.plain tr:last-child td { border-bottom: none; }
.note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.shot.window { border-radius: 12px; }
code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: .1em .4em; font-size: .88em; }

/* ============================================================ home page */
.home-hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; inset: -35% -10% auto -10%; height: 820px; pointer-events: none;
  background: radial-gradient(45% 55% at 30% 10%, rgba(138, 92, 255, .30), transparent 70%),
              radial-gradient(35% 45% at 80% 20%, rgba(90, 169, 255, .12), transparent 70%); }
.home-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); max-width: 15ch; letter-spacing: -.035em; }
.home-hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mosaic a { aspect-ratio: 1; border-radius: 20px; border: 1px solid var(--border); display: grid; place-items: center; position: relative;
  background: radial-gradient(90% 90% at 30% 0%, rgba(138, 92, 255, .18), transparent 65%), var(--surface);
  transition: transform .15s ease, border-color .2s ease; }
.mosaic a:hover { transform: translateY(-3px); border-color: var(--brand); }
.mosaic img, .mosaic svg { width: 50%; height: 50%; object-fit: contain; margin-bottom: 14px; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .45)); }
.mosaic span { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: .78rem; color: var(--muted); }
.group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 56px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.group-title:first-of-type { margin-top: 0; }
.group-title h3 { margin: 0; font-size: 1.05rem; letter-spacing: .02em; }
.group-title p { margin: 0; color: var(--muted); font-size: .9rem; }
.pcard { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px;
  transition: border-color .2s ease, transform .12s ease; }
.pcard:hover { border-color: var(--brand); transform: translateY(-2px); }
.pcard .top { display: flex; align-items: center; gap: 14px; }
.pcard .top img, .pcard .top svg { width: 52px; height: 52px; object-fit: contain; flex: none; }
.pcard .cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--brand); }
.pcard h3 { font-size: 1.3rem; margin: 2px 0 0; }
.pcard p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.pcard .more { font-weight: 600; font-size: .92rem; color: var(--text); }
.pcard .more::after { content: " \2192"; color: var(--brand); }
.icon-filter { stroke: #80d5bd; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================ TV mock-ups
   HTML recreations of the Android TV screens (16:9), scaled with container units. */
.tvframe { container-type: inline-size; position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 34px 80px -34px #000; background: #0a0b0d; font-family: Roboto, "Segoe UI", sans-serif; }
figure.mock { margin: 0; }
figure.mock figcaption { font-size: .8rem; color: var(--muted); padding: 10px 2px 0; }

/* Hoides TV home */
.tvl { position: absolute; inset: 0; background: url("assets/tv-wallpaper.jpg") center / cover; color: #fff; }
.tvl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 6, 14, .5), rgba(5, 6, 14, .08) 38%, rgba(5, 6, 14, .8) 80%); }
.tvl > * { position: relative; z-index: 1; }
.tvl .bar { display: flex; align-items: center; gap: 1.6cqw; padding: 2.6cqw 4.6cqw 0; font-size: 1.6cqw; }
.tvl .bar .logo { display: flex; align-items: center; gap: 1cqw; font-weight: 600; font-size: 2.1cqw; margin-right: auto; }
.tvl .bar .logo img { width: 2.8cqw; height: 2.8cqw; }
.tvl .tab { padding: .6cqw 1.6cqw; border-radius: 99px; color: rgba(255, 255, 255, .88); }
.tvl .tab.on { background: rgba(120, 90, 220, .35); border: 1px solid rgba(196, 160, 255, .7); }
.tvl .clock { margin-left: 2cqw; text-align: right; font-size: 2cqw; line-height: 1.1; }
.tvl .clock small { display: block; font-size: 1.1cqw; color: rgba(255, 255, 255, .7); }
.tvl .hello { padding: 4.6cqw 4.6cqw 0; }
.tvl .hello b { display: block; font-size: 4.8cqw; font-weight: 700; letter-spacing: -.02em; }
.tvl .hello span { font-size: 1.6cqw; color: rgba(255, 255, 255, .78); }
.tvl .row-t { padding: 2.4cqw 4.6cqw .9cqw; font-size: 1.7cqw; font-weight: 600; }
.tvl .tiles { display: flex; gap: 1.3cqw; padding: 0 4.6cqw; }
.tvl .tile { flex: 1; aspect-ratio: 16 / 9; border-radius: .9cqw; display: grid; place-items: center; align-content: center; gap: .4cqw;
  font-size: 1.1cqw; font-weight: 600; border: 1px solid rgba(255, 255, 255, .1); }
.tvl .tile svg { width: 3cqw; height: 3cqw; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tvl .tile.focus { outline: .3cqw solid #fff; outline-offset: .25cqw; transform: scale(1.06); box-shadow: 0 0 3cqw rgba(167, 139, 250, .55); }
.tvl .cw { display: flex; gap: 1.3cqw; padding: 0 4.6cqw; }
.tvl .cw div { flex: 1; aspect-ratio: 2.1; border-radius: .9cqw; position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); }
.tvl .cw div::after { content: ""; position: absolute; left: 0; bottom: 0; height: .35cqw; width: var(--p); background: #a78bfa; }

/* Hoides Filter overview */
.tvf { position: absolute; inset: 0; background: #0a0b0d; color: #fff; display: grid; grid-template-columns: 24cqw 1fr; grid-template-rows: auto 1fr; }
.tvf .head { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.6cqw; padding: 3.4cqw 3.8cqw 0; font-size: 2.6cqw; font-weight: 600; }
.tvf .head svg { width: 2.8cqw; height: 2.8cqw; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.tvf nav { padding: 3.2cqw 0 0 3.4cqw; display: grid; align-content: start; gap: 1cqw; font-size: 1.8cqw; font-weight: 500; }
.tvf nav span { padding: 1.3cqw 2cqw; border-radius: .7cqw; }
.tvf nav span.on { background: #1f1c2c; box-shadow: inset .35cqw 0 0 #8b7aff; }
.tvf main { padding: 3cqw 4cqw 0 2.6cqw; }
.tvf h4 { margin: 0; font-size: 4.6cqw; font-weight: 700; letter-spacing: -.01em; }
.tvf .sub { color: #b9b6c4; font-size: 1.8cqw; margin: .8cqw 0 2.4cqw; letter-spacing: .02em; }
.tvf .btnf { display: inline-block; padding: 1.5cqw 4.6cqw; border-radius: .7cqw; background: #f4f4f7; color: #111; font-weight: 600; font-size: 1.6cqw;
  box-shadow: 0 0 0 .35cqw #8b7aff; }
.tvf .fine { color: #a4a1b0; font-size: 1.35cqw; margin: 2cqw 0 0; line-height: 1.6; }
.tvf hr { border: 0; border-top: 1px solid #2a2833; margin: 2.4cqw 0 2cqw; }
.tvf .stats { display: flex; gap: 5cqw; }
.tvf .stats b { display: block; font-size: 3.6cqw; font-weight: 600; line-height: 1.2; }
.tvf .stats span { color: #a4a1b0; font-size: 1.5cqw; }

/* Hoides Streamer on Android TV */
.tvs { position: absolute; inset: 0; background: radial-gradient(70% 90% at 80% 10%, #2b2d3a, #0b0c10 70%); color: #fff; display: grid; grid-template-columns: 7.5cqw 1fr; }
.tvs .rail { background: #08090c; display: grid; align-content: start; justify-items: center; gap: 3.4cqw; padding-top: 3cqw; }
.tvs .rail b { font-size: 2.6cqw; font-weight: 500; margin-bottom: 2cqw; }
.tvs .rail svg { width: 2.6cqw; height: 2.6cqw; fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tvs .rail .on { padding: 1.1cqw; margin: -1.1cqw; border-radius: .9cqw; background: rgba(255, 255, 255, .1); }
.tvs main { padding: 5.2cqw 4.6cqw 0; }
.tvs h4 { margin: 0; font-size: 4.4cqw; font-weight: 700; }
.tvs .meta { color: #c9c8d3; font-size: 1.5cqw; margin: .8cqw 0 1.2cqw; }
.tvs .meta em { font-style: normal; border: 1px solid #8a8996; border-radius: .3cqw; padding: 0 .5cqw; margin-left: .6cqw; font-size: 1.15cqw; }
.tvs p { color: #b8b7c2; font-size: 1.45cqw; max-width: 52cqw; line-height: 1.55; margin: 0; }
.tvs .row-t { font-size: 1.9cqw; font-weight: 600; margin: 3.4cqw 0 1.3cqw; }
.tvs .cards { display: flex; gap: 1.4cqw; }
.tvs .cards div { flex: 1; aspect-ratio: 1.8; border-radius: .9cqw; position: relative; overflow: hidden; padding: 1.4cqw; font-weight: 600; font-size: 1.7cqw; line-height: 1.15; }
.tvs .cards div.focus { outline: .35cqw solid #fff; outline-offset: .3cqw; }
.tvs .cards div::after { content: ""; position: absolute; left: 1.4cqw; right: 1.4cqw; bottom: 1.2cqw; height: .3cqw; background: rgba(255, 255, 255, .25);
  background-image: linear-gradient(#8b7aff, #8b7aff); background-size: var(--p) 100%; background-repeat: no-repeat; }

/* tick lists: allow bold lead-ins inside an item (style.css lays items out as flex) */
.ticks li { display: block; position: relative; padding-left: 1.7em; }
.ticks li::before { position: absolute; left: 0; top: 0; }
.ticks li b { color: var(--text); }

/* home: a product card with a picture beside the text */
.pcard.wide { display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; align-items: center; padding: 30px; }
.pcard.wide > div { display: flex; flex-direction: column; gap: 14px; }
.pcard.wide .pic { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.pcard.wide .pic img { width: 100%; display: block; }
@media (max-width: 860px) { .pcard.wide { grid-template-columns: 1fr; } }
