/* LocalCinema · landing. Colores del logo y de la web del add-on (web/style.css). */
@font-face { font-family: "Source Sans"; font-weight: 400; font-display: swap; src: url("fonts/source-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans"; font-weight: 700; font-display: swap; src: url("fonts/source-sans-700.woff2") format("woff2"); }

:root {
  --bg: #0b1219; --panel: #141e27; --panel-2: #0d1218; --line: rgba(255, 255, 255, .08);
  --sky: #2aa6ff; --accent: #127bd5; --indigo: #2b3fc7; --gold: #ffc53d;
  --text: #fff; --soft: #c9d1d9; --muted: #8a96a3;
  --grad: linear-gradient(135deg, var(--sky), var(--accent) 55%, var(--indigo));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--soft); font: 400 1.0625rem/1.55 "Source Sans", "Segoe UI", Roboto, sans-serif; }
a { color: var(--sky); }
img { max-width: 100%; height: auto; }
code { padding: .1em .4em; border-radius: 4px; background: var(--panel); color: var(--text); font-size: .92em; }
h1, h2, h3 { color: var(--text); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .95rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 18, 25, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand-accent { color: var(--gold); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--soft); text-decoration: none; font-size: .98rem; }
.nav a:hover { color: var(--text); }
@media (max-width: 820px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--panel); color: var(--text); font-weight: 700; text-decoration: none; border: 1px solid var(--line); }
.btn:hover { border-color: rgba(255, 255, 255, .25); }
.btn-primary { background: var(--grad); border: 0; box-shadow: 0 10px 30px -10px rgba(42, 166, 255, .7); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-small { padding: 8px 16px; font-size: .95rem; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Portada */
.hero { padding: 72px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.badge { display: inline-block; margin-bottom: 18px; padding: 5px 14px; border-radius: 999px; background: var(--panel); color: var(--gold); font-size: .9rem; font-weight: 700; }
.lead { font-size: 1.25rem; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.facts li::before { content: "✓ "; color: var(--sky); font-weight: 700; }

/* Maqueta de la tele y el móvil (todo CSS: sin capturas con carátulas reales) */
.devices { position: relative; padding: 10px 0 40px; }
.glow { position: absolute; inset: 0 5% 10%; background: radial-gradient(closest-side, rgba(42, 166, 255, .35), transparent); filter: blur(30px); z-index: -1; }
.tv { position: relative; }
.screen { border-radius: 14px; padding: 9px; background: #05080b; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.stand { width: 30%; height: 14px; margin: 0 auto; border-radius: 0 0 10px 10px; background: linear-gradient(#1a232d, #0a0f14); }
.urlbar { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; padding: 4px 10px; border-radius: 999px; background: #1a232d; color: var(--soft); font-size: .72rem; }
.lock { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.ui { border-radius: 6px; overflow: hidden; background: #121b24; font-size: 10px; color: #fff; }
.ui-top { display: flex; align-items: center; gap: 10px; padding: 7px 10px; background: rgba(0, 0, 0, .35); }
.ui-top b { margin-right: 6px; letter-spacing: .04em; }
.ui-top i { font-style: normal; color: var(--soft); }
.ui-hero { height: 128px; display: flex; align-items: flex-end; padding: 12px; background:
    linear-gradient(90deg, rgba(18, 27, 36, .95) 20%, transparent 70%),
    radial-gradient(circle at 78% 35%, #ffb36b 0 8%, transparent 9%),
    linear-gradient(180deg, #1f3c5c 0%, #c4693f 62%, #2a1d2b 63%, #120f18 100%); }
.ui-hero-text { display: flex; flex-direction: column; gap: 3px; }
.ui-hero-text b { font-size: 16px; }
.ui-hero-text small { color: var(--soft); }
.ui-play { align-self: flex-start; margin-top: 4px; padding: 3px 9px; border-radius: 3px; background: var(--accent); font-weight: 700; }
.ui-row { margin: 8px 10px 5px; font-weight: 700; font-size: 11px; }
.ui-posters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 0 10px 12px; }
.p { position: relative; aspect-ratio: 2 / 3; border-radius: 4px; display: flex; align-items: flex-end; padding: 4px 4px 7px; overflow: hidden; }
.p b { font-size: 8.5px; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.p em { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: var(--accent); }
.p1 { background: linear-gradient(160deg, #1b6ca8, #0b2e4a); }
.p2 { background: linear-gradient(160deg, #f0b44c, #6a2c1e); }
.p3 { background: linear-gradient(160deg, #9fc6d8, #22405a); }
.p4 { background: linear-gradient(160deg, #5b8f4e, #1d2f1a); }
.p5 { background: linear-gradient(160deg, #e0418f, #3a1166); }
.p6 { background: linear-gradient(160deg, #a8744f, #3b2416); }
.mobile { position: absolute; right: -10px; bottom: 0; width: 132px; border-radius: 22px; padding: 6px; background: #05080b; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); transform: rotate(4deg); }
.mobile-screen { display: flex; flex-direction: column; gap: 4px; min-height: 236px; padding: 0 0 12px; border-radius: 17px; overflow: hidden; background: #121b24; font-size: 9px; color: #fff; }
.mobile-screen > :not(.m-art) { margin: 0 9px; }
.m-art { height: 92px; margin-bottom: 4px; background: linear-gradient(0deg, #121b24, transparent 60%), linear-gradient(160deg, #1b6ca8, #0b2e4a); }
.mobile-screen b { font-size: 13px; }
.mobile-screen small { color: var(--soft); }
.m-bar { height: 3px; border-radius: 2px; background: #2a3644; }
.m-bar em { display: block; width: 62%; height: 100%; border-radius: 2px; background: var(--accent); }
.m-resume { margin-top: 4px !important; padding: 5px; border-radius: 4px; background: var(--accent); text-align: center; font-weight: 700; }
.m-line { height: 5px; margin-top: 3px !important; border-radius: 3px; background: #26313d; }
.m-line.short { width: 60%; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .mobile { right: 0; width: 110px; }
  .mobile-screen { min-height: 200px; }
  .m-art { height: 70px; }
}
@media (max-width: 480px) { .ui-posters { grid-template-columns: repeat(4, 1fr); } .p5, .p6 { display: none; } .mobile { display: none; } }

/* Secciones */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 44em; margin-bottom: 32px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { padding: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.card p { margin: 0; color: var(--soft); }
.icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 12px; background: var(--grad); }
.icon svg { width: 24px; height: 24px; fill: #fff; }
.icon-img { background: none; }
.icon-img img { width: 42px; height: 42px; border-radius: 10px; }

/* Así de fácil */
.flow { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: start; }
.flow-step { text-align: center; padding: 0 8px; }
.flow-step p { color: var(--soft); }
.flow-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 16px 40px -20px rgba(42, 166, 255, .6); }
.flow-icon svg { width: 36px; height: 36px; fill: var(--sky); }
.flow-arrow { position: relative; height: 76px; }
.flow-arrow::before { content: ""; position: absolute; left: 0; right: 10px; top: 37px; border-top: 2px dashed rgba(42, 166, 255, .5); }
.flow-arrow::after { content: ""; position: absolute; right: 2px; top: 32px; border: 6px solid transparent; border-left-color: var(--sky); }
.flow-arrow span { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); white-space: nowrap; color: var(--muted); font-size: .8rem; }
@media (max-width: 820px) {
  .flow { grid-template-columns: 1fr; gap: 6px; }
  .flow-arrow { height: 34px; }
  .flow-arrow::before { left: 50%; right: auto; top: 0; bottom: 8px; border-top: 0; border-left: 2px dashed rgba(42, 166, 255, .5); }
  .flow-arrow::after { left: calc(50% - 5px); right: auto; top: auto; bottom: -4px; border-left-color: transparent; border-top-color: var(--sky); }
  .flow-arrow span { left: calc(50% + 14px); top: 8px; transform: none; }
}

/* DLNA comparado */
.compare { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 16px; }
.compare-row { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; }
.compare-row > span { padding: 14px 18px; border-top: 1px solid var(--line); }
.compare-row > span[role="rowheader"] { color: var(--text); font-weight: 700; }
.compare-row > span:nth-child(2) { color: var(--muted); }
.compare-row > span:nth-child(2)::before { content: "✕ "; color: #e5737a; font-weight: 700; }
.compare-row > .us { background: rgba(18, 123, 213, .1); color: var(--text); }
.compare-row > .us:not([role="columnheader"])::before { content: "✓ "; color: var(--sky); font-weight: 700; }
.compare-head > span { border-top: 0; color: var(--text); font-weight: 700; }
.compare-head > span:nth-child(2)::before { content: none; }
.compare-head .us { display: flex; align-items: center; gap: 8px; background: rgba(18, 123, 213, .25); }
@media (max-width: 680px) {
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-row > span[role="rowheader"] { grid-column: 1 / -1; padding-bottom: 0; }
  .compare-row > span[role="rowheader"] + span, .compare-row > span[role="rowheader"] + span + span { border-top: 0; }
  .compare-head > span:first-child { display: none; }
}

/* Instalar */
.steps { counter-reset: paso; list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; max-width: 46em; }
.steps li { counter-increment: paso; position: relative; padding: 14px 18px 14px 60px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.steps li::before { content: counter(paso); position: absolute; left: 16px; top: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; }
.steps b { color: var(--text); }
.download { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.download p { margin: 0; max-width: 30em; }

/* Preguntas */
details { max-width: 50em; border-bottom: 1px solid var(--line); }
summary { padding: 16px 0; color: var(--text); font-weight: 700; cursor: pointer; }
details p { color: var(--soft); }

/* Pie */
.foot { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; text-align: center; }
.foot p { margin: 0 auto 8px; max-width: 46em; }
.credit { color: var(--soft); font-size: 1rem; }
.credit a { color: var(--text); font-weight: 700; text-decoration: none; }
.credit a:hover { text-decoration: underline; }
.heart { color: #e53935; }
