/* Kaydee TV – www.kaydeetv.com (dark showcase, same look as the app). */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 800; font-display: swap; src: url(../fonts/inter-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 900; font-display: swap; src: url(../fonts/inter-latin-900-normal.woff2) format('woff2'); }

:root {
  --bg: #080808; --panel: #121212; --panel2: #1A1A1A; --line: #242424;
  --text: #F5F5F5; --muted: #A3A3A3; --dim: #8C8C8C;
  --accent: #E8783B; --accent-ink: #141414;
  --gut: clamp(16px, 5vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Logo ---------- */
.logo.brand { display: inline-flex; align-items: center; text-decoration: none; font-size: 24px; line-height: 1; color: var(--text); }
.brand .br-row { display: flex; align-items: center; }
.brand .br-w { font-weight: 900; letter-spacing: .12em; }
.brand .br-tv { margin-left: .32em; color: #B3B3B3; font-weight: 700; font-size: .38em; letter-spacing: .15em; padding: .28em .5em .24em .62em; border: .12em solid #5A5A5A; border-radius: .45em; line-height: 1; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 10px; border: 0; font: inherit; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; background: rgba(255,255,255,.08); color: #F5F5F5; transition: background .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: rgba(255,255,255,.14); }
.btn.ghost { border: 1px solid rgba(255,255,255,.16); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #F08A50; }
.btn.small { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.btn.big { height: 54px; padding: 0 26px; font-size: 16px; }
.btn.wide { width: 100%; height: 54px; font-size: 16px; margin-top: 8px; }
.btn:disabled { opacity: .6; cursor: default; }
.btn:focus-visible, input:focus-visible, summary:focus-visible, .nav-links a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.eb { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.eb.c { text-align: center; }
h2 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 900; letter-spacing: -.025em; line-height: 1.08; margin: 12px 0 0; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { position: relative; padding-left: 32px; margin-top: 12px; font-size: 15px; color: #D4D4D4; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(232,120,59,.16); color: var(--accent); font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }

/* ---------- Header (other pages) ---------- */
.top { position: absolute; z-index: 10; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 24px var(--gut); }
.top + main { padding-top: 76px; }

/* ---------- Header (home) ---------- */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px var(--gut); transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(8,8,8,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: #1C1C1C; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 600; color: #B3B3B3; text-decoration: none; }
.nav-links a:hover { color: #fff; }
.nav-r { display: flex; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -73px; padding: 130px var(--gut) 0; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(232,120,59,.22), transparent 55%); pointer-events: none; }
.hero-body { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.hero h1 { font-size: clamp(46px, 8vw, 84px); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin: 20px 0 0; }
.hero h1 .acc { color: var(--accent); }
.lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); line-height: 1.55; margin: 22px auto 0; max-width: 720px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.fine { font-size: 13px; color: var(--dim); margin: 16px 0 0; }

.wall { position: relative; height: clamp(260px, 38vw, 480px); margin-top: 56px; overflow: hidden; }
.wall::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, var(--bg) 97%); pointer-events: none; }
.wall-in { position: absolute; left: 50%; top: 0; display: grid; grid-template-columns: repeat(3, clamp(240px, 34vw, 440px)); gap: clamp(10px, 1.6vw, 22px); transform: translateX(-50%) perspective(1600px) rotateX(18deg); transform-origin: 50% 0; }
.wall-in img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); opacity: .72; }
.wall-in img.main { opacity: 1; }

.appbar { display: flex; align-items: center; gap: 14px; margin: 0 auto 28px; max-width: 560px; padding: 14px; border-radius: 14px; background: rgba(28,28,28,.92); border: 1px solid #333; text-align: left; }
.appbar .ab-ic { flex: none; width: 46px; height: 46px; border-radius: 11px; overflow: hidden; background: #141414; }
.appbar .ab-ic img { width: 100%; height: 100%; display: block; }
.appbar .ab-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.appbar .ab-tx b { font-size: 15px; }
.appbar .ab-tx span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.appbar .btn { flex: none; }

/* ---------- Devices ---------- */
.devices { padding: 8px var(--gut) 40px; text-align: center; }
.pills { list-style: none; padding: 0; margin: 18px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; max-width: 900px; }
.pills li { padding: 9px 16px; border-radius: 999px; background: var(--panel2); border: 1px solid #2A2A2A; color: #D4D4D4; font-size: 13px; font-weight: 700; }
.dev-note { max-width: 620px; margin: 18px auto 0; font-size: 14px; color: var(--dim); }

/* ---------- Features ---------- */
.features { max-width: 1200px; margin: 0 auto; padding: 56px var(--gut); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fcard { border-radius: 16px; background: var(--panel); border: 1px solid #222; padding: 24px; }
.fcard svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fcard h3 { font-size: 18px; font-weight: 800; margin: 14px 0 0; }
.fcard p { font-size: 14px; color: var(--muted); margin: 8px 0 0; line-height: 1.55; }

.split { max-width: 1200px; margin: 0 auto; padding: 64px var(--gut); display: flex; gap: 56px; align-items: center; }
.split.rev { flex-direction: row-reverse; }
.split-txt { flex: 0 0 420px; }
.split-txt p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 14px 0 0; }
.split-vis { flex: 1; min-width: 0; display: flex; justify-content: center; }
.tv { width: 100%; max-width: 620px; border-radius: 14px; background: #0A0A0A; padding: 10px; box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px #2A2A2A; position: relative; }
.tv img { display: block; width: 100%; border-radius: 6px; }
.tv::after { content: ''; position: absolute; left: 41%; right: 41%; bottom: -16px; height: 16px; background: linear-gradient(#1A1A1A, #0E0E0E); border-radius: 0 0 6px 6px; }

/* ---------- Add playlist ---------- */
.add { padding: 80px var(--gut); background: #0C0C0C; border-top: 1px solid #161616; border-bottom: 1px solid #161616; margin-top: 40px; }
.add h2 { text-align: center; }
.steps { list-style: none; padding: 0; margin: 36px auto 40px; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: #D4D4D4; line-height: 1.55; }
.steps b { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-weight: 900; }
.steps em { font-style: normal; font-weight: 700; color: #fff; }
.card { max-width: 640px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 36px); }
.lbl { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 16px 0 6px; }
.card input:not([type=file]) { width: 100%; height: 50px; padding: 0 14px; border-radius: 8px; border: 1px solid #333; background: #0A0A0A; color: #fff; font: inherit; font-size: 16px; }
.card input:focus { border-color: var(--accent); outline: none; }
.card input.code { height: 60px; font-size: 24px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.tabs { display: flex; gap: 6px; margin: 22px 0 4px; padding: 4px; background: #0A0A0A; border-radius: 10px; }
.tab { flex: 1; height: 40px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.tab.sel { background: #2A2A2A; color: #fff; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.drop { margin-top: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 130px; border: 2px dashed #333; border-radius: 12px; cursor: pointer; text-align: center; padding: 16px; }
.drop.over { border-color: var(--accent); background: rgba(232,120,59,.06); }
.drop input { display: none; }
.drop-t { font-weight: 700; }
.drop-s { font-size: 13px; color: var(--dim); }
.msg { min-height: 24px; margin: 16px 0 4px; font-size: 15px; }
.msg.ok { color: #7BE3A8; } .msg.err { color: #FF8A8A; }
.bar { height: 6px; border-radius: 3px; background: #2E2E2E; overflow: hidden; margin-bottom: 8px; }
.bar div { height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.note { margin: 16px 0 0; font-size: 13px; color: var(--dim); text-align: center; }

/* ---------- Pricing ---------- */
.pricing { padding: 96px var(--gut); display: flex; gap: 70px; align-items: center; justify-content: center; background: radial-gradient(ellipse at 30% 50%, rgba(232,120,59,.12), transparent 60%); }
.pr-txt { max-width: 420px; }
.pr-txt p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 14px 0 0; }
.pr-txt a { color: var(--accent); text-decoration: none; font-weight: 700; }
.price { width: 400px; max-width: 100%; border-radius: 22px; padding: 34px; background: linear-gradient(160deg, #1E1E1E, #141414); border: 1px solid #2E2E2E; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.price .tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(232,120,59,.16); color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.price .amt { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.price .amt b { font-size: 56px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.price .amt span { font-size: 16px; color: var(--muted); }
.price .vat { font-size: 13px; color: var(--dim); margin-top: 6px; }
.price .btn { margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; padding: 72px var(--gut) 88px; }
.faq h2 { text-align: center; margin-bottom: 30px; }
.faq details { border-bottom: 1px solid #262626; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--accent); transition: transform .2s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details p { margin: 0; padding: 0 4px 20px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.faq details a { color: var(--accent); text-decoration: none; font-weight: 700; }

/* ---------- Footer ---------- */
.foot { padding: 44px var(--gut) 40px; border-top: 1px solid #1F1F1F; color: var(--dim); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 60px; }
.foot .logo.brand { font-size: 20px; }
.foot-brand p { max-width: 340px; line-height: 1.6; margin: 12px 0 0; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-cols div { display: flex; flex-direction: column; gap: 6px; }
.foot-cols b { color: var(--text); margin-bottom: 4px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: #fff; }
.foot .copy { flex-basis: 100%; margin: 0; color: #6B6B6B; }
/* Other pages use a simple footer. */
.foot > p { font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split.rev { flex-direction: column; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .split-txt { flex: none; max-width: 620px; }
  .pricing { flex-direction: column; gap: 36px; text-align: center; }
  .pricing .price { text-align: left; }
}
@media (max-width: 640px) {
  .hide-s { display: none; }
  .br-l { display: none; }
  .logo.brand { font-size: 20px; }
  .hero { padding-top: 110px; }
  .cta .btn { width: 100%; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .appbar { flex-wrap: wrap; }
  .appbar .btn { width: 100%; }
  .price { padding: 26px; }
  .price .amt b { font-size: 46px; }
  .foot-cols { gap: 36px; }
}
