/* ============================================================
   FILMERTV — Design DNA from kingiptv-4k.fr
   Dark/Bold: #000 bg, #113784 blue, #f00 red, #ff6900 orange
   Fonts: Roboto + Roboto Slab
   ============================================================ */

:root {
  --ft-bg: #000000;
  --ft-bg-alt: #0a0a0a;
  --ft-card: #113784;
  --ft-card-dark: #0d2a5e;
  --ft-accent: #ff0000;
  --ft-accent-hover: #cc0000;
  --ft-orange: #ff6900;
  --ft-orange-hover: #e05e00;
  --ft-text: #ffffff;
  --ft-text-muted: #b0b0b0;
  --ft-text-dark: #808285;
  --ft-border: #222222;
  --ft-footer-bg: #050505;
  --ft-success: #22c55e;
  --ft-error: #ef4444;
  --ft-radius: 8px;
  --ft-radius-lg: 16px;
  --ft-shadow: 0 4px 24px rgba(0,0,0,.5);
  --ft-gradient: linear-gradient(135deg, #ff6900, #cf2e2e);
  --ft-gradient-blue: linear-gradient(135deg, #113784, #245cd3);
  --ft-font: 'Roboto', sans-serif;
  --ft-font-heading: 'Roboto Slab', serif;
  --ft-max-w: 1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ft-font);
  background: var(--ft-bg);
  color: var(--ft-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ft-orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ft-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-family: var(--ft-font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--ft-text-muted); }

/* ── Container ── */
.ft-container { width: 100%; max-width: var(--ft-max-w); margin: 0 auto; padding: 0 1.25rem; }
.ft-section { padding: 5rem 0; }
.ft-section--alt { background: var(--ft-bg-alt); }
.ft-section-title { text-align: center; margin-bottom: 3rem; }
.ft-section-title h2 { margin-bottom: .75rem; color: var(--ft-text); }
.ft-section-title p { max-width: 650px; margin: 0 auto; }

/* ── Top Banner ── */
.ft-banner {
  background: var(--ft-gradient);
  color: #000;
  text-align: center;
  padding: .6rem 1rem;
  font-weight: 700;
  font-size: .9rem;
}
.ft-banner a { color: #000; text-decoration: underline; }

/* ── Navbar ── */
.ft-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0,0,0,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ft-border);
}
.ft-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.25rem;
  max-width: var(--ft-max-w);
  margin: 0 auto;
}
.ft-nav__logo {
  font-family: var(--ft-font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ft-text);
  text-decoration: none;
}
.ft-nav__logo span { color: var(--ft-accent); }
.ft-nav__links { display: flex; gap: 1.5rem; align-items: center; }
.ft-nav__links a {
  color: var(--ft-text-muted);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.ft-nav__links a:hover,
.ft-nav__links a.active { color: var(--ft-accent); }
.ft-nav__cta {
  background: var(--ft-accent);
  color: #000 !important;
  padding: .5rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
}
.ft-nav__cta:hover { background: var(--ft-accent-hover); color: #000 !important; }
.ft-nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ft-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Hero ── */
.ft-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.9)),
              url('../images/king-iptv-img3.webp') center/cover no-repeat;
  padding: 6rem 1.25rem;
}
.ft-hero__content { max-width: 800px; }
.ft-hero__badge {
  display: inline-block;
  background: var(--ft-gradient);
  color: #000;
  padding: .4rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.ft-hero h1 { margin-bottom: 1.5rem; }
.ft-hero h1 span { color: var(--ft-accent); }
.ft-hero p { font-size: 1.15rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.ft-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.ft-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all .25s;
  text-transform: uppercase;
  text-decoration: none;
}
.ft-btn--primary {
  background: var(--ft-accent);
  color: #000;
}
.ft-btn--primary:hover { background: var(--ft-accent-hover); color: #000; }
.ft-btn--orange {
  background: var(--ft-orange);
  color: #000;
}
.ft-btn--orange:hover { background: var(--ft-orange-hover); color: #000; }
.ft-btn--outline {
  background: transparent;
  color: var(--ft-text);
  border: 2px solid var(--ft-text);
}
.ft-btn--outline:hover { background: var(--ft-text); color: #000; }
.ft-btn--blue {
  background: var(--ft-card);
  color: var(--ft-text);
}
.ft-btn--blue:hover { background: var(--ft-card-dark); color: var(--ft-text); }
.ft-btn--sm { padding: .6rem 1.5rem; font-size: .85rem; }
.ft-btn--full { width: 100%; justify-content: center; }

/* ── Stats Bar ── */
.ft-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding: 3rem 0;
}
.ft-stats__item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ft-accent);
  font-family: var(--ft-font-heading);
}
.ft-stats__item p { font-size: .95rem; margin: .25rem 0 0; }

/* ── Cards ── */
.ft-card {
  background: var(--ft-card);
  border-radius: var(--ft-radius);
  padding: 2rem;
  box-shadow: var(--ft-shadow);
  transition: transform .3s;
}
.ft-card:hover { transform: translateY(-4px); }
.ft-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ft-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.ft-card h3 { margin-bottom: .75rem; }
.ft-card p { font-size: .95rem; }

/* ── Grid Layouts ── */
.ft-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.ft-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.ft-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Pricing ── */
.ft-pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.ft-pricing__card {
  background: var(--ft-card);
  border-radius: var(--ft-radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  border: 1px solid transparent;
}
.ft-pricing__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255,0,0,.15);
}
.ft-pricing__card--popular {
  border-color: var(--ft-accent);
  background: linear-gradient(180deg, #1a3f8f, #0d2a5e);
}
.ft-pricing__badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--ft-accent);
  color: #000;
  font-weight: 700;
  font-size: .75rem;
  padding: .4rem;
  text-transform: uppercase;
}
.ft-pricing__name {
  font-family: var(--ft-font-heading);
  font-size: 1.1rem;
  margin-bottom: .5rem;
  margin-top: 1rem;
}
.ft-pricing__old {
  text-decoration: line-through;
  color: var(--ft-text-dark);
  font-size: .9rem;
}
.ft-pricing__price {
  font-family: var(--ft-font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--ft-text);
  margin: .5rem 0;
}
.ft-pricing__price small { font-size: .5em; color: var(--ft-text-muted); }
.ft-pricing__features {
  text-align: left;
  margin: 1.5rem 0;
  font-size: .9rem;
}
.ft-pricing__features li {
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--ft-text-muted);
}
.ft-pricing__features li::before {
  content: "\2713";
  color: var(--ft-accent);
  margin-right: .5rem;
  font-weight: 700;
}

/* ── Steps ── */
.ft-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.ft-steps__item { padding: 2rem; }
.ft-steps__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ft-gradient);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 auto 1.25rem;
  font-family: var(--ft-font-heading);
}
.ft-steps__item h4 { margin-bottom: .5rem; }
.ft-steps__item p { font-size: .9rem; }

/* ── Testimonials ── */
.ft-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.ft-testimonial {
  background: var(--ft-bg-alt);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: 2rem;
}
.ft-testimonial__stars { color: #ffc107; font-size: 1.1rem; margin-bottom: .75rem; }
.ft-testimonial__text { font-style: italic; margin-bottom: 1rem; font-size: .95rem; }
.ft-testimonial__author { font-weight: 700; color: var(--ft-text); font-size: .9rem; }
.ft-testimonial__location { color: var(--ft-text-dark); font-size: .8rem; }

/* ── Devices ── */
.ft-devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.ft-device {
  background: var(--ft-bg-alt);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: 2rem 1rem;
  transition: border-color .3s;
}
.ft-device:hover { border-color: var(--ft-accent); }
.ft-device img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 1rem;
}
.ft-device__name { font-weight: 700; font-size: .95rem; }

/* ── Payment Logos ── */
.ft-payment {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}
.ft-payment img { height: 40px; width: auto; opacity: .7; transition: opacity .3s; }
.ft-payment img:hover { opacity: 1; }

/* ── FAQ ── */
.ft-faq { max-width: 800px; margin: 0 auto; }
.ft-faq__item {
  border-bottom: 1px solid var(--ft-border);
  padding: 1.25rem 0;
}
.ft-faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ft-text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  font-family: var(--ft-font);
}
.ft-faq__q::after { content: "+"; font-size: 1.5rem; color: var(--ft-accent); transition: transform .3s; }
.ft-faq__q.active::after { content: "\2212"; }
.ft-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  color: var(--ft-text-muted);
  font-size: .95rem;
  line-height: 1.7;
}
.ft-faq__a.open { max-height: 500px; padding-top: 1rem; }

/* ── Forms ── */
.ft-form { max-width: 560px; margin: 0 auto; }
.ft-form-group { margin-bottom: 1.25rem; }
.ft-form-group label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ft-text);
}
.ft-form-group input,
.ft-form-group textarea,
.ft-form-group select {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--ft-bg-alt);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  color: var(--ft-text);
  font-size: 1rem;
  transition: border-color .2s;
}
.ft-form-group input:focus,
.ft-form-group textarea:focus,
.ft-form-group select:focus {
  outline: none;
  border-color: var(--ft-accent);
}
.ft-form-group textarea { min-height: 120px; resize: vertical; }
.ft-form .form-message {
  padding: .75rem 1rem;
  border-radius: var(--ft-radius);
  margin-top: 1rem;
  font-weight: 600;
  text-align: center;
}
.ft-form .form-message--success { background: rgba(34,197,94,.15); color: var(--ft-success); }
.ft-form .form-message--error { background: rgba(239,68,68,.15); color: var(--ft-error); }
.ft-form__trust {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
  font-size: .8rem;
  color: var(--ft-text-dark);
}
.ft-form__trust svg { width: 16px; height: 16px; fill: var(--ft-success); }

/* ── Channels Page ── */
.ft-channels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ft-channel-cat {
  background: var(--ft-bg-alt);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: 1.5rem;
}
.ft-channel-cat h3 { color: var(--ft-accent); margin-bottom: .75rem; font-size: 1.1rem; }
.ft-channel-cat ul li {
  padding: .3rem 0;
  color: var(--ft-text-muted);
  font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

/* ── About / Content Sections ── */
.ft-content { max-width: 850px; margin: 0 auto; }
.ft-content h2 { margin-bottom: 1.5rem; }
.ft-content h3 { margin: 2rem 0 1rem; color: var(--ft-orange); }
.ft-content p { margin-bottom: 1rem; }
.ft-content ul { margin: 1rem 0 1rem 1.5rem; }
.ft-content ul li { margin-bottom: .5rem; color: var(--ft-text-muted); list-style: disc; }
.ft-content img { border-radius: var(--ft-radius); margin: 1.5rem 0; }

/* ── Team Grid ── */
.ft-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.ft-team__member {
  text-align: center;
  background: var(--ft-bg-alt);
  border-radius: var(--ft-radius);
  padding: 1.5rem;
  border: 1px solid var(--ft-border);
}
.ft-team__member img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--ft-radius);
  margin-bottom: 1rem;
}
.ft-team__member h4 { margin-bottom: .25rem; }
.ft-team__member p { font-size: .85rem; }

/* ── Legal Pages ── */
.ft-legal { max-width: 800px; margin: 0 auto; padding: 3rem 1.25rem; }
.ft-legal h1 { margin-bottom: .5rem; }
.ft-legal .ft-legal__date { color: var(--ft-text-dark); margin-bottom: 2rem; font-size: .9rem; }
.ft-legal h2 { margin: 2rem 0 1rem; font-size: 1.5rem; color: var(--ft-orange); }
.ft-legal h3 { margin: 1.5rem 0 .75rem; font-size: 1.2rem; }
.ft-legal p { margin-bottom: 1rem; }
.ft-legal ul { margin: .75rem 0 1rem 1.5rem; }
.ft-legal ul li { list-style: disc; margin-bottom: .4rem; color: var(--ft-text-muted); }
.ft-legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.ft-legal table th,
.ft-legal table td {
  padding: .75rem 1rem;
  border: 1px solid var(--ft-border);
  text-align: left;
  font-size: .9rem;
}
.ft-legal table th { background: var(--ft-card); color: var(--ft-text); font-weight: 700; }
.ft-legal table td { color: var(--ft-text-muted); }

/* ── Breadcrumbs ── */
.ft-breadcrumb {
  padding: 1rem 0;
  font-size: .85rem;
  color: var(--ft-text-dark);
}
.ft-breadcrumb a { color: var(--ft-text-muted); }
.ft-breadcrumb span { color: var(--ft-text-dark); }

/* ── Footer ── */
.ft-footer {
  background: var(--ft-footer-bg);
  border-top: 1px solid var(--ft-border);
  padding: 4rem 0 2rem;
}
.ft-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.ft-footer__brand { font-family: var(--ft-font-heading); font-size: 1.5rem; font-weight: 900; margin-bottom: 1rem; }
.ft-footer__brand span { color: var(--ft-accent); }
.ft-footer__desc { font-size: .9rem; margin-bottom: 1rem; }
.ft-footer h4 { margin-bottom: 1rem; font-size: 1rem; color: var(--ft-text); }
.ft-footer ul li { margin-bottom: .5rem; }
.ft-footer ul a { color: var(--ft-text-muted); font-size: .9rem; }
.ft-footer ul a:hover { color: var(--ft-accent); }
.ft-footer__bottom {
  border-top: 1px solid var(--ft-border);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: var(--ft-text-dark);
  flex-wrap: wrap;
  gap: 1rem;
}
.ft-footer__address { font-size: .85rem; color: var(--ft-text-dark); margin-top: .5rem; }

/* ── Honeypot ── */
.ft-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ── Page Header ── */
.ft-page-header {
  background: linear-gradient(180deg, rgba(17,55,132,.6), rgba(0,0,0,.95));
  text-align: center;
  padding: 6rem 1.25rem 3rem;
}
.ft-page-header h1 { margin-bottom: .75rem; }
.ft-page-header p { max-width: 600px; margin: 0 auto; }

/* ── Setup Guide ── */
.ft-guide { max-width: 850px; margin: 0 auto; }
.ft-guide__step {
  background: var(--ft-bg-alt);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.ft-guide__step h3 { color: var(--ft-orange); margin-bottom: 1rem; }
.ft-guide__step img {
  border-radius: var(--ft-radius);
  margin: 1rem 0;
}
.ft-guide__toc {
  background: var(--ft-card);
  border-radius: var(--ft-radius);
  padding: 2rem;
  margin-bottom: 2rem;
}
.ft-guide__toc h3 { margin-bottom: 1rem; }
.ft-guide__toc ul { margin-left: 1rem; }
.ft-guide__toc ul li { margin-bottom: .4rem; }
.ft-guide__toc ul a { color: var(--ft-text-muted); font-size: .95rem; }
.ft-guide__toc ul a:hover { color: var(--ft-accent); }

/* ── Reseller ── */
.ft-reseller-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ft-reseller-tier {
  background: var(--ft-bg-alt);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: 2rem;
  text-align: center;
}
.ft-reseller-tier h3 { color: var(--ft-orange); margin-bottom: .75rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ft-pricing { grid-template-columns: repeat(2, 1fr); }
  .ft-grid-4, .ft-devices, .ft-team { grid-template-columns: repeat(2, 1fr); }
  .ft-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .ft-nav__links { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,.98); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; z-index: 999; }
  .ft-nav__links.open { display: flex; }
  .ft-nav__toggle { display: block; z-index: 1001; }
  .ft-hero { min-height: 70vh; padding: 4rem 1.25rem; }
  .ft-stats { grid-template-columns: 1fr; gap: 1rem; }
  .ft-grid-2, .ft-grid-3, .ft-channels-grid,
  .ft-steps, .ft-testimonials,
  .ft-reseller-tiers { grid-template-columns: 1fr; }
  .ft-pricing { grid-template-columns: 1fr; }
  .ft-devices, .ft-team { grid-template-columns: 1fr 1fr; }
  .ft-footer__grid { grid-template-columns: 1fr; }
  .ft-footer__bottom { flex-direction: column; text-align: center; }
}

/* ── FAQ JS Toggle (inline) ── */
.ft-faq__q { transition: color .2s; }
.ft-faq__q:hover { color: var(--ft-accent); }

/* ── Utility ── */
.ft-text-center { text-align: center; }
.ft-text-accent { color: var(--ft-accent); }
.ft-text-orange { color: var(--ft-orange); }
.ft-mt-2 { margin-top: 2rem; }
.ft-mb-2 { margin-bottom: 2rem; }
.ft-hidden { display: none !important; }
