/* P2P-IPTV.store — ZON style (owner 2026-12-03: "le style de zonplayer"): black, neon red #E50914, white. */
:root {
  --bg: #050506; --bg2: #0c0c0f; --panel: #111114; --panel2: #18181d; --line: #26262d; --text: #ececf1; --muted: #9a9aa6;
  --red: #e50914; --red2: #ff2d3a; --red-dim: rgba(229, 9, 20, .14); --ok: #22c55e; --warn: #f5a623; --bad: #ff4d4d;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--red2); }
a:hover { color: #fff; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.preview-bar { background: var(--warn); color: #111; text-align: center; font-size: 13px; padding: 3px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(5, 5, 6, .88); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(229, 9, 20, .25); }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.brand img { height: 40px; width: auto; display: block; }
.brand span { font-size: 15px; letter-spacing: .3px; color: #d9d9e0; }
.brand b { color: var(--red2); }
.menu { display: flex; gap: 2px; flex-wrap: wrap; flex: 1; }
.menu a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: 15px; font-weight: 500; }
.menu a:hover { color: #fff; }
.menu a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }

/* buttons */
.btn { display: inline-block; background: var(--red); color: #fff; border: 0; padding: 12px 22px; font: inherit; font-weight: 700; border-radius: 8px;
  cursor: pointer; text-decoration: none; box-shadow: 0 0 0 1px rgba(255, 45, 58, .4), 0 8px 26px rgba(229, 9, 20, .35); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { background: var(--red2); color: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 45, 58, .6), 0 10px 34px rgba(229, 9, 20, .5); }
.btn:disabled { background: #3a3a42; box-shadow: none; cursor: default; transform: none; }
.btn.ghost, .btn.alt { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #4a4a55; }
.btn.ghost:hover, .btn.alt:hover { box-shadow: inset 0 0 0 1px var(--red2); background: var(--red-dim); }
.btn.small { padding: 7px 14px; font-size: 14px; }

/* content pages */
main.wrap { padding-top: 10px; padding-bottom: 50px; }
h1 { font-size: 36px; line-height: 1.2; margin: 18px 0 12px; color: #fff; letter-spacing: -.3px; }
h2 { font-size: 24px; margin: 42px 0 12px; color: #fff; letter-spacing: -.2px; }
main.wrap h2::before { content: ""; display: inline-block; width: 4px; height: .9em; background: var(--red); margin-right: 10px; vertical-align: -2px; border-radius: 2px; box-shadow: 0 0 10px var(--red); }
h3 { font-size: 18px; color: #fff; margin: 0 0 6px; }
.lead { font-size: 19px; color: #c9c9d3; max-width: 820px; }
.note { font-size: 14px; color: var(--muted); }
.crumbs { font-size: 13px; color: var(--muted); margin-top: 16px; }
.crumbs a { color: var(--muted); }
.crumbs i { font-style: normal; opacity: .5; padding: 0 4px; }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.toc a { color: #ddd; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.diagram { margin: 18px 0 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.diagram svg { width: 100%; height: auto; display: block; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

table { border-collapse: collapse; width: 100%; }
.data, .list { background: var(--panel); border: 1px solid var(--line); margin: 12px 0; font-size: 15px; border-radius: var(--radius); overflow: hidden; }
.data th, .data td, .list td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.data tr:last-child > *, .list tr:last-child > * { border-bottom: 0; }
.data thead th { background: #1c0a0c; color: #fff; font-weight: 700; border-bottom: 1px solid rgba(229, 9, 20, .4); }
.data tbody th { color: #d4d4dc; font-weight: 600; width: 32%; }
.list td:first-child { width: 34%; font-weight: 600; }
.wide { display: block; overflow-x: auto; }
.wide tbody th { width: auto; min-width: 140px; }

.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; color: #fff; list-style: none; position: relative; padding-right: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 22px; color: var(--red2); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 16px 8px; color: #c9c9d3; }

/* tools */
.tool { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 16px 0; }
.st-head { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.st-status { color: var(--muted); font-size: 14px; }
.st-results td { font-variant-numeric: tabular-nums; color: #fff; font-weight: 800; font-size: 22px; text-shadow: 0 0 14px rgba(229, 9, 20, .55); }
.ok { color: var(--ok); font-weight: 700; } .warn { color: var(--warn); font-weight: 700; } .bad { color: var(--bad); font-weight: 700; }
.calc fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 12px; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 12px 20px; }
.calc legend { color: #fff; font-weight: 700; padding: 0 6px; }
.calc label { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.calc label:has(input[type=checkbox]) { flex-direction: row; gap: 6px; align-items: center; color: var(--text); }
input, select { background: #0a0a0c; color: var(--text); border: 1px solid #33333b; padding: 8px 10px; font: inherit; border-radius: 6px; }
input:focus, select:focus { outline: 2px solid var(--red); outline-offset: 1px; }
input[type=number] { width: 120px; }
input[type=checkbox], input[type=range] { accent-color: var(--red); }
#c-out td { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.sim canvas { width: 100%; height: auto; background: #000; border: 1px solid var(--line); border-radius: 8px; display: block; }
.sim-bar { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: 14px; margin-top: 10px; }
#sim-stats { color: #fff; font-variant-numeric: tabular-nums; }
.ts .q { font-weight: 700; color: #fff; margin: 0 0 12px; font-size: 18px; }
.ts .choices { display: flex; flex-wrap: wrap; gap: 10px; }
.ts ol { padding-left: 22px; } .ts li { margin: 8px 0; }
.ts .path { font-size: 13px; color: var(--muted); margin-bottom: 8px; }

/* ===== home ===== */
main.full { padding: 0; }
.hero { position: relative; overflow: hidden; padding: 64px 0 70px;
  background: radial-gradient(ellipse 60% 70% at 78% 40%, rgba(229, 9, 20, .22), transparent 65%), radial-gradient(ellipse 50% 60% at 10% 0%, rgba(229, 9, 20, .10), transparent 60%), #050506; }
.hero canvas.net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--red2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red2); box-shadow: 0 0 10px var(--red2); }
.hero h1 { font-size: 54px; line-height: 1.05; margin: 14px 0 16px; letter-spacing: -1px; }
.hero h1 em { font-style: normal; color: var(--red2); text-shadow: 0 0 28px rgba(229, 9, 20, .6); }
.hero .lead { font-size: 20px; margin: 0 0 26px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; color: #c9c9d3; font-size: 14px; }
.hero-points span::before { content: "✓"; color: var(--red2); font-weight: 800; margin-right: 6px; }

/* devices */
.devices { position: relative; min-height: 360px; }
.tv { position: relative; width: 92%; margin-right: auto; border-radius: 12px; padding: 10px; background: linear-gradient(#1b1b20, #0b0b0e);
  box-shadow: 0 0 0 1px #2c2c33, 0 30px 80px rgba(0, 0, 0, .8), 0 0 70px rgba(229, 9, 20, .25); }
.tv .screen { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
.tv .screen img { position: absolute; top: 0; left: 2%; width: 74%; height: 88%; object-fit: contain; mix-blend-mode: lighten; animation: breathe 6s ease-in-out infinite; }
.tv .ui { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); display: flex; align-items: center; gap: 10px; font-size: 12px; color: #ddd; }
.tv .bar { flex: 1; height: 4px; background: #333; border-radius: 2px; overflow: hidden; }
.tv .bar i { display: block; height: 100%; width: 62%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.tv .p2p-tag { background: rgba(229, 9, 20, .2); border: 1px solid rgba(229, 9, 20, .6); color: #fff; padding: 1px 7px; border-radius: 4px; font-weight: 700; }
.tv::after { content: ""; position: absolute; left: 38%; right: 38%; bottom: -26px; height: 26px; background: linear-gradient(#1b1b20, #0e0e12); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.phone { position: absolute; right: 0; bottom: -40px; width: 30%; min-width: 130px; border-radius: 22px; padding: 8px; background: #121216;
  box-shadow: 0 0 0 1px #33333b, 0 24px 60px rgba(0, 0, 0, .85), 0 0 40px rgba(229, 9, 20, .25); }
.phone .screen { border-radius: 16px; background: radial-gradient(circle at 50% 35%, #2a0508, #050506 70%); aspect-ratio: 9 / 17; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; }
.phone svg { width: 82%; }
.phone b { font-size: 22px; text-shadow: 0 0 12px rgba(229, 9, 20, .7); }
.phone small { color: var(--muted); font-size: 11px; }
@keyframes breathe { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.18) drop-shadow(0 0 18px rgba(229, 9, 20, .5)); } }

/* platform strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.strip .wrap { display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap; padding: 16px 20px; color: var(--muted); font-size: 15px; }
.strip b { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.strip svg { width: 22px; height: 22px; stroke: var(--red2); fill: none; stroke-width: 1.8; }

/* sections */
.section { padding: 70px 0; }
.section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.section-head h2 { font-size: 34px; margin: 8px 0 10px; }
.section-head p { color: #b9b9c4; font-size: 17px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: linear-gradient(180deg, #141418, #0e0e11); border: 1px solid var(--line); border-radius: 14px; padding: 24px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: rgba(229, 9, 20, .6); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(229, 9, 20, .15); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--red-dim); border: 1px solid rgba(229, 9, 20, .45); margin-bottom: 14px; box-shadow: 0 0 22px rgba(229, 9, 20, .25); }
.card .ico svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: #b9b9c4; margin: 0; font-size: 15px; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card .more { display: inline-block; margin-top: 12px; color: var(--red2); font-weight: 700; font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 22px 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 800; box-shadow: 0 0 18px rgba(229, 9, 20, .7); }
.step p { color: #b9b9c4; margin: 0; font-size: 15px; }
.photo-band { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.photo-band figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 24px 70px rgba(0, 0, 0, .7); }
.photo-band figure img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.photo-band figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(229, 9, 20, .25), transparent 45%); mix-blend-mode: screen; }
.photo-band ul { padding: 0; list-style: none; margin: 18px 0 0; }
.photo-band li { padding: 8px 0 8px 30px; position: relative; color: #d0d0d8; }
.photo-band li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--red-dim); border: 2px solid var(--red2); }
.pricing { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.price { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 16px; text-align: center; }
.price.best { border-color: var(--red); box-shadow: 0 0 30px rgba(229, 9, 20, .3); }
.price b { display: block; font-size: 32px; color: #fff; margin: 8px 0; text-shadow: 0 0 16px rgba(229, 9, 20, .5); }
.price small { color: var(--muted); display: block; min-height: 2.6em; }
.price .btn { margin-top: 12px; width: 100%; }
.cta-band { text-align: center; padding: 60px 20px; background: radial-gradient(ellipse 50% 90% at 50% 100%, rgba(229, 9, 20, .3), transparent 70%), #08080a; border-top: 1px solid rgba(229, 9, 20, .3); }
.cta-band h2 { font-size: 32px; margin: 0 0 10px; }
.cta-band p { color: #c9c9d3; margin: 0 0 22px; }
.home .faq { padding: 20px 0 60px; }
.home .faq h2 { text-align: center; font-size: 30px; }

/* footer */
.foot { border-top: 1px solid rgba(229, 9, 20, .25); background: #030304; padding: 40px 0 22px; font-size: 14px; }
.foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 22px; }
.foot-brand img { height: 40px; width: auto; }
.foot-brand p { color: var(--muted); margin: 10px 0 14px; }
.foot h3 { margin: 0 0 8px; font-size: 14px; color: #fff; }
.foot .cols > div:not(.foot-brand) a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.foot .cols > div:not(.foot-brand) a:hover { color: #fff; }
.foot .legal { color: #7a7a86; font-size: 13px; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 14px; }

@media (max-width: 980px) {
  .hero .wrap, .photo-band { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .devices { margin-top: 10px; min-height: 0; padding-bottom: 50px; }
  .cards, .cards.four, .steps { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: repeat(3, 1fr); }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  h1 { font-size: 28px; }
  .hero { padding: 40px 0 50px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 17px; }
  .brand span { display: none; }
  .chat-btn { display: none; }
  .top .wrap { gap: 4px 12px; padding-top: 6px; }
  .menu { order: 3; flex: 0 0 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .menu a { white-space: nowrap; padding: 6px 10px; }
  .section { padding: 50px 0; }
  .section-head h2 { font-size: 27px; }
  .split, .cards, .cards.four, .steps, .pricing, .foot .cols { grid-template-columns: 1fr; }
  .steps { gap: 30px; }
  .data tbody th { width: 45%; }
  .data { font-size: 13.5px; }
  .data th, .data td { padding: 7px 7px; overflow-wrap: break-word; hyphens: auto; }
  .data:has(thead th:nth-child(4)) tbody th { width: 24%; }
  .list td { display: block; width: auto !important; border: 0; padding: 4px 12px; }
  .list tr { display: block; border-bottom: 1px solid var(--line); padding: 6px 0; }
  .phone { width: 34%; bottom: -30px; }
  .phone b { font-size: 15px; }
  .phone small { font-size: 9px; text-align: center; }
  .strip .wrap { gap: 10px 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
