/* Keyif TV — keyiftv.net */
:root {
  --bg: #09090c;
  --bg2: #0f0f14;
  --card: #14141a;
  --card2: #1a1a22;
  --line: #24242e;
  --text: #f4f4f6;
  --muted: #9c9cab;
  --red: #e8141c;
  --red2: #ff3d44;
  --red-soft: rgba(232, 20, 28, .12);
  --green: #25d366;
  --r: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: linear-gradient(135deg, var(--red2), var(--red)); color: #fff; box-shadow: 0 10px 30px rgba(232, 20, 28, .35); }
.btn-red:hover { box-shadow: 0 14px 38px rgba(232, 20, 28, .5); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: #3a3a48; background: rgba(255, 255, 255, .07); }
.btn-wa { background: var(--green); color: #062b13; box-shadow: 0 10px 30px rgba(37, 211, 102, .3); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 17px 28px; font-size: 16px; border-radius: 14px; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 9, 12, .72); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.3px; }
.brand b { color: var(--red2); }
.menu { display: flex; gap: 30px; font-size: 15px; color: var(--muted); font-weight: 500; }
.menu a:hover { color: var(--text); }
.menu .menu-web { display: none; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: transparent; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, top .2s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 40px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 520px at 85% 10%, rgba(232, 20, 28, .22), transparent 60%),
    radial-gradient(600px 500px at 5% 90%, rgba(232, 20, 28, .10), transparent 60%),
    linear-gradient(180deg, transparent 70%, var(--bg));
}
.hero-bg:after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 99px;
  font-size: 13px; font-weight: 600; color: #ffd0d2; background: var(--red-soft); border: 1px solid rgba(232, 20, 28, .35);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red2); box-shadow: 0 0 0 0 rgba(255, 61, 68, .7); animation: pulse 1.8s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 68, .7); } 70% { box-shadow: 0 0 0 9px rgba(255, 61, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 61, 68, 0); } }
h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -1.8px; font-weight: 900; margin: 22px 0 20px; }
.grad { background: linear-gradient(120deg, #ff6b70, var(--red) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 18.5px; max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.stats strong { display: block; font-size: 26px; font-weight: 850; letter-spacing: -.5px; }
.stats span { color: var(--muted); font-size: 14px; }
.stats > div { padding-left: 16px; border-left: 2px solid var(--red); }

/* Hero gorseli */
.hero-art { position: relative; padding: 18px 0 18px 18px; }
.hero-photo {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 800 / 400;
  box-shadow: 0 50px 110px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 120px rgba(232, 20, 28, .25);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s ease;
}
.hero-art:hover .hero-photo { transform: perspective(1400px) rotateY(-2deg) rotateX(0); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 9, 12, .55), transparent 45%), linear-gradient(90deg, rgba(9, 9, 12, .35), transparent 30%); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 15px; border-radius: 16px;
  background: rgba(18, 18, 24, .86); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55); font-size: 13px; animation: bob 5.5s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14.5px; line-height: 1.2; }
.float-card small { display: block; color: var(--muted); font-size: 12px; }
.float-card .red { color: var(--red2); font-size: 20px; font-weight: 900; }
.fc-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; background: var(--red-soft); }
.fc-live { top: -2px; left: -10px; }
.fc-live .tag-live { position: static; }
.fc-act { bottom: -6px; left: 40px; animation-delay: -2.7s; }
.fc-4k { top: 34%; right: -14px; animation-delay: -1.3s; }
.tag-live { background: var(--red); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .6px; padding: 4px 8px; border-radius: 6px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* "Aylik ... den baslayan" */
.from-price { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 26px; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.from-price b { color: var(--text); font-size: 24px; font-weight: 900; letter-spacing: -.5px; }
.from-price span:last-child { margin-left: -4px; }

.strip {
  position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin-top: 64px;
  padding: 20px 0 0; border-top: 1px solid var(--line); color: #7d7d8c; font-weight: 600; font-size: 14.5px;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 40px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid #16161d; }
.head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.kicker { display: inline-block; color: var(--red2); font-size: 13px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -1px; font-weight: 850; margin: 10px 0 14px; }
.head p { color: var(--muted); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px;
  transition: border-color .25s, transform .25s, background .25s;
}
.feature:hover { border-color: rgba(232, 20, 28, .5); transform: translateY(-4px); background: var(--card2); }
.ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); margin-bottom: 18px; }
.ico svg, .device-list svg { width: 24px; height: 24px; fill: none; stroke: var(--red2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -.2px; }
.feature p { color: var(--muted); font-size: 15px; }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 26px; min-height: 210px;
  display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line);
  transition: transform .25s;
}
.cat:hover { transform: translateY(-4px); }
.cat:before { content: ""; position: absolute; inset: 0; z-index: 0; }
.cat > * { position: relative; z-index: 1; }
.c-sport:before { background: linear-gradient(0deg, rgba(9, 9, 12, .95) 15%, transparent), linear-gradient(140deg, #14532d, #0b2a17); }
.c-cinema:before { background: linear-gradient(0deg, rgba(9, 9, 12, .95) 15%, transparent), linear-gradient(140deg, #5b1d24, #1d0b0e); }
.c-series:before { background: linear-gradient(0deg, rgba(9, 9, 12, .95) 15%, transparent), linear-gradient(140deg, #2d2350, #0f0b1d); }
.c-doc:before { background: linear-gradient(0deg, rgba(9, 9, 12, .95) 15%, transparent), linear-gradient(140deg, #1e4257, #0b161d); }
.cat-ico { font-size: 34px; margin-bottom: auto; }
.cat h3 { font-size: 21px; margin-top: 40px; }
.cat p { color: #b7b7c4; font-size: 14.5px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px;
  display: flex; flex-direction: column; transition: transform .25s, border-color .25s;
}
.plan:hover { transform: translateY(-4px); border-color: #34343f; }
.plan-featured {
  background: linear-gradient(180deg, #1e0d10, var(--card) 55%); border: 1.5px solid rgba(232, 20, 28, .7);
  box-shadow: 0 30px 80px rgba(232, 20, 28, .18); transform: scale(1.03);
}
.plan-featured:hover { transform: scale(1.03) translateY(-4px); border-color: var(--red2); }
.ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red2), var(--red)); color: #fff; font-size: 12px; font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase; padding: 7px 16px; border-radius: 99px; box-shadow: 0 8px 22px rgba(232, 20, 28, .45);
}
.plan-tag { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.plan h3 { font-size: 30px; letter-spacing: -.6px; margin: 6px 0 14px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.plan-price .cur { font-size: 22px; font-weight: 800; color: var(--muted); }
.plan-price strong { font-size: 52px; line-height: 1; font-weight: 900; letter-spacing: -2px; }
.plan-price .per { color: var(--muted); font-size: 15px; margin-left: 4px; }
.plan-month { margin: 10px 0 22px; color: var(--muted); font-size: 14.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan-month b { color: var(--text); }
.plan-month em { font-style: normal; font-size: 12px; font-weight: 800; color: #4ade80; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .3); padding: 3px 9px; border-radius: 99px; }
.plan-month em:empty { display: none; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #d4d4dc; }
.plan li:before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3d44' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.note { text-align: center; color: #6e6e7c; font-size: 13.5px; margin-top: 30px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.steps:before { content: ""; position: absolute; top: 46px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, transparent, rgba(232, 20, 28, .5), transparent); }
.step { position: relative; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 24px; }
.step-no {
  display: grid; place-items: center; width: 50px; height: 50px; margin: -4px auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red2), var(--red)); font-weight: 900; font-size: 19px; box-shadow: 0 0 0 8px var(--bg), 0 10px 26px rgba(232, 20, 28, .4);
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Devices ---------- */
.devices { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.devices-copy p { color: var(--muted); font-size: 17px; max-width: 520px; }
.device-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 8px; }
.device-list div { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 600; font-size: 14.5px; }
.device-list svg { width: 22px; height: 22px; flex: none; }
.devices-art { position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto; width: 100%; display: grid; place-items: center; }
.ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(232, 20, 28, .35); animation: spin 40s linear infinite; }
.ring:before { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .06); background: radial-gradient(circle, rgba(232, 20, 28, .18), transparent 65%); }
@keyframes spin { to { transform: rotate(360deg); } }
.big-mark { width: 38%; height: auto; filter: drop-shadow(0 20px 50px rgba(232, 20, 28, .45)); }
.chip { position: absolute; padding: 9px 15px; border-radius: 99px; background: var(--card2); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); animation: bob 6s ease-in-out infinite; }
.ch-1 { top: 10%; left: 12%; } .ch-2 { top: 18%; right: 6%; animation-delay: -1.5s; } .ch-3 { bottom: 16%; left: 4%; animation-delay: -3s; } .ch-4 { bottom: 9%; right: 16%; animation-delay: -4.5s; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(232, 20, 28, .45); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red2); font-size: 20px; font-weight: 600; transition: transform .2s; }
.faq details[open] summary:after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: 56px;
  display: grid; grid-template-columns: 1.2fr auto; gap: 30px; align-items: center;
  background: linear-gradient(135deg, #2a0a0e, #15121a 55%, #1f0a0d); border: 1px solid rgba(232, 20, 28, .35);
}
.cta:after { content: ""; position: absolute; right: -140px; top: -180px; width: 480px; height: 480px; background: radial-gradient(closest-side, rgba(232, 20, 28, .35), transparent); pointer-events: none; }
.cta h2 { margin-top: 8px; }
.cta p { color: #cbb9bb; font-size: 17px; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid #16161d; padding: 48px 0 110px; color: var(--muted); font-size: 14.5px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer .brand { margin-bottom: 12px; color: var(--text); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid #16161d; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; }

/* ---------- Floating WA + buy bar ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); box-shadow: 0 12px 32px rgba(37, 211, 102, .45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float:before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.buybar { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.plan-featured.reveal.in { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-art { max-width: 620px; margin: 0 auto; width: 100%; }
  .features { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 30px; }
  .plan-featured, .plan-featured:hover, .plan-featured.reveal.in { transform: none; }
  .devices { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 40px 30px; }
}
@media (max-width: 860px) {
  .menu {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 22px 22px;
    background: rgba(9, 9, 12, .97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s;
  }
  .menu.open { transform: none; }
  .menu a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .menu .menu-web { display: block; color: var(--red2); }
  .burger { display: block; }
  .hide-sm { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 44px; }
  .lead { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .stats { gap: 20px; }
  .stats strong { font-size: 22px; }
  .hero-art { padding: 10px 0 30px; }
  .hero-photo { transform: none; border-radius: 20px; }
  .fc-4k { display: none; }
  .fc-live { left: 8px; top: 0; }
  .fc-act { display: none; }
  .fc-live { padding: 8px 12px; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stats > div { padding-left: 10px; }
  .stats strong { font-size: 19px; }
  .stats span { font-size: 12.5px; }
  .section { padding: 72px 0; }
  .features, .cats, .steps, .device-list { grid-template-columns: 1fr; }
  .steps:before { display: none; }
  .cat { min-height: 170px; }
  .nav-right .btn-red { display: none; }
  .wa-float { bottom: 92px; right: 16px; width: 54px; height: 54px; }
  .buybar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 16px; border-radius: 16px; background: rgba(20, 20, 26, .94); border: 1px solid rgba(232, 20, 28, .45);
    backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
    transform: translateY(140%); transition: transform .35s ease;
  }
  .buybar.show { transform: none; }
  .buybar-txt small { display: block; color: var(--muted); font-size: 12px; }
  .buybar-txt b { font-size: 16px; }
  .buybar .btn { padding: 12px 18px; }
}
