/* ============================================
   FlexeTV — Design DNA Stylesheet
   Cloned from doubleclicktv.com
   Palette: White + Navy Blue (Corporate/Clean)
   Fonts: Roboto + Roboto Slab
   ============================================ */

:root {
  --fx-primary: #2B6CB0;
  --fx-primary-dark: #215387;
  --fx-primary-light: #3B82C4;
  --fx-navy: #000080;
  --fx-bg: #ffffff;
  --fx-bg-alt: #F7FAFC;
  --fx-bg-card: #EDF2F7;
  --fx-text: #1A202C;
  --fx-text-body: #2D3748;
  --fx-text-muted: #4A5568;
  --fx-text-light: #718096;
  --fx-border: #CBD5E0;
  --fx-border-light: #E2E8F0;
  --fx-dark: #0D1117;
  --fx-dark-card: #1A202C;
  --fx-success: #38A169;
  --fx-warning: #D69E2E;
  --fx-error: #E53E3E;
  --fx-white: #ffffff;
  --fx-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --fx-shadow-lg: 0 15px 25px -7px rgba(0,0,0,.1);
  --fx-radius: 8px;
  --fx-radius-sm: 4px;
  --fx-max-w: 1140px;
  --fx-font: 'Roboto', sans-serif;
  --fx-font-heading: 'Roboto Slab', serif;
  --fx-transition: all .2s ease-in-out;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--fx-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fx-text-body);
  background: var(--fx-bg);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--fx-primary); text-decoration: none; transition: var(--fx-transition); }
a:hover { color: var(--fx-primary-dark); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fx-font-heading);
  color: var(--fx-text);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 1.6rem + 1vw, 2.75rem); }
h2 { font-size: clamp(1.75rem, 1.5rem + .75vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
p { margin-bottom: 1rem; }

/* ── Container ── */
.container {
  max-width: var(--fx-max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: .65em 1.5em;
  font-family: var(--fx-font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--fx-radius-sm);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: var(--fx-transition);
  line-height: 1.6;
}
.btn-primary {
  background: var(--fx-primary);
  color: var(--fx-white);
}
.btn-primary:hover {
  background: var(--fx-primary-dark);
  color: var(--fx-white);
  box-shadow: var(--fx-shadow-lg);
}
.btn-outline {
  background: transparent;
  color: var(--fx-primary);
  border: 2px solid var(--fx-primary);
}
.btn-outline:hover {
  background: var(--fx-primary);
  color: var(--fx-white);
}
.btn-white {
  background: var(--fx-white);
  color: var(--fx-primary);
}
.btn-white:hover {
  background: var(--fx-bg-card);
  color: var(--fx-primary-dark);
}
.btn-lg { padding: .8em 2em; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; }

/* ── Navigation ── */
.site-header {
  background: var(--fx-white);
  border-bottom: 1px solid var(--fx-border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.logo {
  font-family: var(--fx-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fx-text);
  text-decoration: none;
}
.logo span {
  color: var(--fx-primary);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-menu a {
  padding: .5em .75em;
  color: var(--fx-text-muted);
  font-size: .9rem;
  font-weight: 500;
  border-radius: var(--fx-radius-sm);
  transition: var(--fx-transition);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--fx-primary);
  background: rgba(43,108,176,.06);
}
.nav-cta {
  background: var(--fx-primary) !important;
  color: var(--fx-white) !important;
  padding: .5em 1.25em !important;
  border-radius: var(--fx-radius-sm) !important;
}
.nav-cta:hover {
  background: var(--fx-primary-dark) !important;
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--fx-white);
  border: 1px solid var(--fx-border-light);
  border-radius: var(--fx-radius);
  box-shadow: var(--fx-shadow);
  min-width: 200px;
  padding: .5rem 0;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}
.nav-dropdown-content a {
  display: block;
  padding: .5em 1.25em;
  white-space: nowrap;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fx-text);
  transition: var(--fx-transition);
}
@media (max-width: 991px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--fx-white);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--fx-border-light);
    box-shadow: 0 4px 8px rgba(0,0,0,.08);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: .75em 1em; width: 100%; }
  .nav-dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }
  .nav-dropdown:hover .nav-dropdown-content,
  .nav-dropdown .nav-dropdown-content { display: block; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--fx-navy) 0%, var(--fx-primary) 50%, var(--fx-primary-dark) 100%);
  color: var(--fx-white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-streaming.webp') center/cover no-repeat;
  opacity: .15;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--fx-white); margin-bottom: .75rem; }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.9);
  max-width: 700px;
  margin: 0 auto 2rem;
}
.hero-badges {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-size: .9rem;
  color: rgba(255,255,255,.8);
}
.hero-badges span {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Sections ── */
.section {
  padding: 4.5rem 0;
}
.section-alt {
  background: var(--fx-bg-alt);
}
.section-dark {
  background: var(--fx-dark);
  color: var(--fx-white);
}
.section-dark h2,
.section-dark h3 {
  color: var(--fx-white);
}
.section-dark p {
  color: rgba(255,255,255,.8);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--fx-text-muted); }
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--fx-primary);
  margin-bottom: .5rem;
}

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── Cards ── */
.card {
  background: var(--fx-white);
  border: 1px solid var(--fx-border-light);
  border-radius: var(--fx-radius);
  padding: 2rem;
  transition: var(--fx-transition);
}
.card:hover {
  box-shadow: var(--fx-shadow-lg);
  transform: translateY(-2px);
}

/* ── Pricing Cards ── */
.pricing-card {
  background: var(--fx-white);
  border: 1px solid var(--fx-border-light);
  border-radius: var(--fx-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--fx-transition);
  position: relative;
}
.pricing-card:hover {
  box-shadow: var(--fx-shadow-lg);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--fx-primary);
  box-shadow: 0 0 0 2px var(--fx-primary);
}
.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fx-primary);
  color: var(--fx-white);
  font-size: .75rem;
  font-weight: 700;
  padding: .3em 1.2em;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.pricing-card__duration {
  font-family: var(--fx-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fx-text);
  margin-bottom: .5rem;
}
.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fx-primary);
  line-height: 1.1;
  margin-bottom: .5rem;
}
.pricing-card__price small {
  font-size: .9rem;
  font-weight: 400;
  color: var(--fx-text-muted);
}
.pricing-card__features {
  text-align: left;
  margin: 1.5rem 0;
  font-size: .9rem;
}
.pricing-card__features li {
  padding: .4em 0;
  padding-left: 1.5em;
  position: relative;
  color: var(--fx-text-body);
}
.pricing-card__features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--fx-success);
  font-weight: 700;
}

/* ── Stats ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item h3 {
  font-size: 2rem;
  color: var(--fx-primary);
  margin-bottom: .25rem;
}
.stat-item p {
  font-size: .9rem;
  color: var(--fx-text-muted);
  margin: 0;
}
@media (max-width: 575px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ── Feature box (icon-box) ── */
.feature-box {
  text-align: center;
  padding: 2rem;
}
.feature-box__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: rgba(43,108,176,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--fx-primary);
}
.feature-box h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.feature-box p { color: var(--fx-text-muted); font-size: .9rem; margin: 0; }

/* ── Testimonials ── */
.testimonial-card {
  background: var(--fx-white);
  border: 1px solid var(--fx-border-light);
  border-radius: var(--fx-radius);
  padding: 2rem;
}
.testimonial-card__stars {
  color: var(--fx-warning);
  font-size: 1.1rem;
  margin-bottom: .75rem;
}
.testimonial-card p {
  font-style: italic;
  color: var(--fx-text-body);
  margin-bottom: 1rem;
}
.testimonial-card__author {
  font-weight: 600;
  color: var(--fx-text);
  font-size: .9rem;
}
.testimonial-card__location {
  color: var(--fx-text-light);
  font-size: .8rem;
}

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--fx-border-light);
  border-radius: var(--fx-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fx-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--fx-primary);
  font-weight: 700;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item__body {
  padding: 0 1.5rem 1.25rem;
  color: var(--fx-text-body);
  font-size: .95rem;
  line-height: 1.7;
}

/* ── Forms ── */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
  color: var(--fx-text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .65em .85em;
  font-family: var(--fx-font);
  font-size: 1rem;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  background: var(--fx-white);
  color: var(--fx-text);
  transition: var(--fx-transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--fx-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(43,108,176,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-message {
  padding: .75em 1em;
  border-radius: var(--fx-radius-sm);
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 500;
}
.form-message--success {
  background: #f0fff4;
  color: var(--fx-success);
  border: 1px solid #c6f6d5;
}
.form-message--error {
  background: #fff5f5;
  color: var(--fx-error);
  border: 1px solid #fed7d7;
}
.trust-signals {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: .75rem;
  font-size: .8rem;
  color: var(--fx-text-light);
}
.trust-signals span {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ── Footer ── */
.site-footer {
  background: var(--fx-dark);
  color: rgba(255,255,255,.7);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  color: var(--fx-white);
  font-family: var(--fx-font);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.6);
  padding: .25em 0;
  font-size: .9rem;
}
.footer-col a:hover { color: var(--fx-white); }
.footer-brand {
  font-family: var(--fx-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fx-white);
  margin-bottom: .75rem;
}
.footer-brand span { color: var(--fx-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--fx-white); }
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Breadcrumbs ── */
.breadcrumbs {
  padding: 1rem 0;
  font-size: .85rem;
  color: var(--fx-text-light);
}
.breadcrumbs a { color: var(--fx-primary); }
.breadcrumbs span { margin: 0 .4rem; }

/* ── Page header (inner pages) ── */
.page-header {
  background: linear-gradient(135deg, var(--fx-navy) 0%, var(--fx-primary) 100%);
  color: var(--fx-white);
  padding: 3rem 0;
  text-align: center;
}
.page-header h1 { color: var(--fx-white); margin-bottom: .5rem; }
.page-header p { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto; }

/* ── Content pages ── */
.content-page {
  padding: 3rem 0;
}
.content-page h2 {
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}
.content-page h3 {
  margin: 1.5rem 0 .75rem;
}
.content-page ul, .content-page ol {
  margin: 1rem 0;
  padding-left: 1.5em;
}
.content-page ul { list-style: disc; }
.content-page ol { list-style: decimal; }
.content-page li { margin-bottom: .5rem; }
.content-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.content-page table th,
.content-page table td {
  padding: .75rem 1rem;
  border: 1px solid var(--fx-border-light);
  text-align: left;
}
.content-page table th {
  background: var(--fx-bg-card);
  font-weight: 600;
}

/* ── Channel list ── */
.channel-category {
  margin-bottom: 2rem;
}
.channel-category h3 {
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--fx-primary);
  margin-bottom: 1rem;
}
.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.channel-tag {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border-light);
  padding: .3em .75em;
  border-radius: 20px;
  font-size: .85rem;
  color: var(--fx-text-body);
}

/* ── Setup guide ── */
.setup-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: start;
}
.setup-step__num {
  width: 48px;
  height: 48px;
  background: var(--fx-primary);
  color: var(--fx-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.setup-step img {
  border-radius: var(--fx-radius);
  margin-top: 1rem;
  border: 1px solid var(--fx-border-light);
}

/* ── Two-col layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 767px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-primary { color: var(--fx-primary); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
