/* ==========================================================================
   FRANCE TV 4K — COMPLETE MASTER DESIGN SYSTEM 2026
   Palette: French Tricolore (Blanc #FFFFFF, Bleu Royal #1D4ED8, Rouge Vif #DC2626, Dark Navy #070E24)
   Clean SaaS Architecture, 100% High-Contrast, All 232 Classes Styled
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Canvas & Surfaces */
  --bg-primary: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-card-solid: #FFFFFF;
  --bg-card-deep: #EFF6FF;
  --bg-glass: rgba(255, 255, 255, 0.96);

  /* French Tricolore Palette */
  --french-blue: #1D4ED8;
  --french-blue-light: #2563EB;
  --french-blue-dark: #1E40AF;
  --french-blue-glow: #60A5FA;
  --french-red: #DC2626;
  --french-red-bright: #EF4444;
  --french-red-dark: #B91C1C;
  --french-red-glow: #F87171;
  --french-navy: #070E24;

  /* Typography Colors */
  --text-main: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  --text-bright: #0F172A;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #1D4ED8 0%, #DC2626 100%);
  --gradient-cta: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  --gradient-blue: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);

  /* Borders & Shadows */
  --border-subtle: #E2E8F0;
  --border-glass: #DBEAFE;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 30px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 45px rgba(0, 0, 0, 0.1);

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: #FFFFFF;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.65;
  background-color: #FFFFFF;
  color: #334155;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
  color: #0F172A;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 3.2vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }

p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Breadcrumb Styling (Modern Pill) */
nav[aria-label="Fil d'ariane"], .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  font-size: 12.5px;
  color: #64748B;
  margin-bottom: 24px;
}

nav[aria-label="Fil d'ariane"] a, .breadcrumb a {
  color: #1D4ED8;
  font-weight: 600;
  text-decoration: none;
}

nav[aria-label="Fil d'ariane"] a:hover {
  text-decoration: underline;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-blue {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
}

.badge-red {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
}

/* General Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.45);
}

.btn-secondary {
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  color: #1D4ED8 !important;
  font-weight: 700;
}

.btn-secondary:hover {
  background: #DBEAFE;
  border-color: #1D4ED8;
  transform: translateY(-2px);
}

.btn-trial {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-trial:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.45);
}

/* ========================================================================== 1. 2-TIER HEADER ========================================================================== */

.f4k-promo-slot {
  position: relative;
  height: 40px;
  background-color: #0A1535;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-main);
  z-index: 102;
}

.f4k-strip-row {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.f4k-strip-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #ffffff;
}

.f4k-strip-icon {
  color: #38BDF8;
  display: flex;
  align-items: center;
}

.f4k-strip-text {
  font-weight: 500;
  color: #F1F5F9;
}

.f4k-strip-link {
  color: #38BDF8;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.15s ease;
}

.f4k-strip-link:hover {
  color: #93C5FD;
  text-decoration: underline;
}

.f4k-strip-close {
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 2px 6px;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.f4k-strip-close:hover {
  color: #ffffff;
}

.f4k-strip-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.f4k-hdr-account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #CBD5E1;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 8px;
  transition: color 0.15s;
}

.f4k-hdr-account:hover {
  color: #ffffff;
}

.f4k-hdr-buy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.2s;
}

.f4k-hdr-buy:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.f4k-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border-radius: 9999px;
  background-color: #DC2626;
  color: #ffffff;
  font-size: 10px;
  line-height: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.f4k-hdr-trial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.f4k-hdr-trial:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.f4k-main-header {
  position: sticky;
  top: 0;
  z-index: 101;
  background: rgba(7, 14, 38, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 64px;
  display: flex;
  align-items: center;
}

.f4k-main-header-row {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.f4k-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.f4k-brand-logo-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35) 0%, rgba(220, 38, 38, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.45);
  color: #60A5FA;
  flex-shrink: 0;
}

.f4k-brand-titles {
  display: flex;
  flex-direction: column;
}

.f4k-brand-text-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.f4k-brand-text-sub {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: linear-gradient(to right, #60A5FA, #F87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-top: 2px;
}

.f4k-nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.f4k-nav-item {
  position: relative;
  list-style: none;
}

.f4k-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: #CBD5E1;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.f4k-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.f4k-nav-link svg {
  color: #94A3B8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.f4k-nav-item:hover .f4k-nav-link svg {
  transform: rotate(180deg);
  color: #60A5FA;
}

.f4k-nav-link.f4k-pill-highlight {
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #ffffff;
  font-weight: 600;
}

.f4k-nav-link.f4k-pill-highlight:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.f4k-dropdown-box {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(7, 14, 38, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  padding: 10px;
  min-width: 260px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}

.f4k-dropdown-box::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.f4k-nav-item:hover .f4k-dropdown-box {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.f4k-dropdown-box li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.f4k-dropdown-box li a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: #CBD5E1;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.f4k-dropdown-box li a:hover {
  background: rgba(37, 99, 235, 0.2);
  color: #60A5FA;
  transform: translateX(3px);
}

/* ==========================================================================
   2. HERO SECTIONS (HOMEPAGE & SUBPAGES)
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 55px 0 45px;
  background: #FFFFFF;
}

.hero-glow { display: none !important; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-layout-2col {
  display: grid;
  grid-template-columns: 1.22fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-h1 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0F172A;
  margin: 0 0 18px;
  text-align: left;
}

.hero-editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.meta-badge-fresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.meta-badge-fresh svg, .meta-badge-tested svg {
  color: #1D4ED8;
}

.meta-badge-tested {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #1D4ED8;
}

.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #1D4ED8;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1D4ED8;
  box-shadow: 0 0 8px rgba(29, 78, 216, 0.5);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 24px;
  text-align: left;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  font-size: 12.5px;
  color: #334155;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.btn-micro-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #64748B;
  align-items: center;
}

.trust-icon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1D4ED8;
  display: inline-block;
}

/* Hero Right Featured Card (12 Mois VIP Star Card) */
.hero-featured-card {
  position: relative;
  background: #FFFFFF;
  border: 2px solid #BFDBFE;
  border-radius: 24px;
  padding: 34px 26px 26px;
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
  text-align: center;
}

.hero-card-floating-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  white-space: nowrap;
}

.hero-card-checklist {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  text-align: left;
}

.hero-card-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
  font-size: 13.5px;
}

.hero-card-checklist li svg {
  color: #1D4ED8;
  flex-shrink: 0;
}

.hero-card-pricing {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.hero-card-price-main {
  font-size: 2.4rem;
  font-weight: 900;
  color: #1D4ED8;
  line-height: 1;
}

.hero-card-price-old {
  font-size: 1.15rem;
  color: #94A3B8;
  text-decoration: line-through;
}

.hero-card-price-sub {
  font-size: 13px;
  color: #DC2626;
  font-weight: 700;
  margin-top: 4px;
  margin-bottom: 14px;
}

.hero-card-flags {
  font-size: 12px;
  color: #64748B;
  margin-bottom: 16px;
}

.btn-fam-main {
  width: 100%;
  display: block;
  padding: 13px;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
  transition: all 0.2s;
  text-align: center;
  margin-bottom: 10px;
}

.btn-glass-sub {
  width: 100%;
  display: block;
  padding: 11px;
  background: #EFF6FF;
  border: 1.5px solid #1D4ED8;
  color: #1D4ED8 !important;
  font-weight: 700;
  font-size: 13px;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}

.hero-card-trust {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 11.5px;
  color: #64748B;
  margin-top: 14px;
}

/* ==========================================================================
   3. NOS 4 GAMMES IPTV (4 CARDS GRID)
   ========================================================================== */

.gammes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gamme-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.gamme-card:hover {
  transform: translateY(-4px);
  border-color: #BFDBFE;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.gamme-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1D4ED8, #DC2626);
}

.gamme-header { margin-bottom: 8px; }
.gamme-body { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }

.gamme-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0F172A;
  margin: 4px 0 6px;
}

.gamme-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 16px;
}

.gamme-price-box { margin-bottom: 14px; }

.gamme-from {
  display: block;
  font-size: 0.75rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gamme-price {
  font-size: 1.45rem;
  font-weight: 900;
  color: #1D4ED8;
}

.gamme-card.gamme-8k {
  border: 2px solid #DC2626;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.12);
}

/* ==========================================================================
   4. SOMMAIRE DU GUIDE
   ========================================================================== */

.sommaire-box {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-left: 5px solid #1D4ED8;
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.05);
}

.sommaire-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sommaire-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sommaire-grid li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1D4ED8;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s, transform 0.15s;
}

.sommaire-grid li a:hover {
  color: #DC2626;
  transform: translateX(3px);
}

/* ==========================================================================
   5. SIMULATEUR DE DEBIT
   ========================================================================== */

.speed-simulator-container {
  background: #FFFFFF;
  border: 1px solid #DBEAFE;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.06);
}

.speed-sim-header {
  text-align: center;
  margin-bottom: 24px;
}

.speed-sim-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.speed-sim-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
}

.speed-sim-subtitle {
  font-size: 0.9rem;
  color: #475569;
}

.speed-sim-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.speed-sim-btn {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.speed-sim-btn strong {
  font-size: 14px;
  color: #0F172A;
}

.speed-sim-btn span {
  font-size: 12px;
  color: #64748B;
}

.speed-sim-btn.active {
  background: #EFF6FF;
  border-color: #1D4ED8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
}

.speed-sim-btn.active strong {
  color: #1D4ED8;
}

.speed-sim-result-box {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.speed-result-left h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.speed-result-left p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.speed-quality-badge {
  background: linear-gradient(135deg, #1D4ED8, #2563EB);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 10px;
  white-space: nowrap;
}

/* ==========================================================================
   6. PRICING GRIDS (4 COLUMNS DESKTOP)
   ========================================================================== */

.pricing-section {
  padding: 60px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 35px;
  align-items: stretch;
}

.pricing-card, .price-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 22px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover, .price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.1);
  border-color: #BFDBFE;
}

.pricing-card.popular, .pricing-card.featured, .price-card.featured {
  border: 2.5px solid #DC2626 !important;
  box-shadow: 0 12px 35px rgba(220, 38, 38, 0.15), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.popular:hover, .price-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 9999px;
  display: inline-block;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.plan-duration {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 16px;
}

.plan-price, .card-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1;
  margin-bottom: 14px;
}

.plan-price span, .card-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748B;
}

.plan-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 48px;
}

.plan-features, .card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}

.plan-features li, .card-features li {
  padding: 9px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.88rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   7. COMPARISON TABLES
   ========================================================================== */

.comparison-table-wrap {
  overflow-x: auto;
  margin: 25px 0;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
}

.comp-table-pro {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  font-size: 14px;
}

.comp-table-pro th, .comp-table-pro td {
  padding: 14px 18px;
  text-align: left;
}

.comp-table-pro thead th {
  background: #F8FAFC;
  color: #0F172A;
  font-weight: 700;
  border-bottom: 2px solid #E2E8F0;
}

.comp-table-pro thead th.col-vip {
  background: #EFF6FF;
  border-left: 2px solid #BFDBFE;
  border-right: 2px solid #BFDBFE;
  color: #1D4ED8;
}

.comp-table-pro tbody td {
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
}

.comp-table-pro tbody td.td-vip {
  background: rgba(37, 99, 235, 0.03);
  border-left: 2px solid #BFDBFE;
  border-right: 2px solid #BFDBFE;
  color: #0F172A;
  font-weight: 600;
}

.comp-badge-vip {
  background: #1D4ED8;
  color: #FFFFFF;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.comp-badge-bad {
  background: #F1F5F9;
  color: #64748B;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.check-icon-pro {
  color: #1D4ED8;
  font-weight: bold;
}

.cross-icon-bad {
  color: #DC2626;
}

/* ==========================================================================
   8. HONESTY SECTION & USPs
   ========================================================================== */

.honesty-section {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 40px 0;
}

.honesty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.honesty-card.includes, .honesty-col.pro {
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  border-left: 5px solid #1D4ED8;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.05);
  border-radius: 14px;
  padding: 24px;
}

.honesty-card.includes h3, .honesty-col.pro h3 {
  color: #1D4ED8;
  margin-bottom: 14px;
}

.honesty-card.includes li, .honesty-col.pro li {
  color: #334155;
  padding: 6px 0;
}

.honesty-card.not-included, .honesty-col.con {
  background: #FFFFFF;
  border: 1px solid #FECACA;
  border-left: 5px solid #DC2626;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.05);
  border-radius: 14px;
  padding: 24px;
}

.honesty-card.not-included h3, .honesty-col.con h3 {
  color: #DC2626;
  margin-bottom: 14px;
}

.honesty-card.not-included li, .honesty-col.con li {
  color: #334155;
  padding: 6px 0;
}

.usps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.usp-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  border-radius: 14px;
  padding: 24px;
}

.usp-card h4 {
  color: #0F172A;
  margin-bottom: 8px;
}

.usp-card p {
  color: #475569;
}

/* ==========================================================================
   9. STEP CARDS & TUTORIALS (STEP-CARD-PRO)
   ========================================================================== */

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.step-card-pro {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.step-card-pro:hover {
  transform: translateY(-3px);
  border-color: #BFDBFE;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
}

.step-number-circle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.step-card-body {
  flex-grow: 1;
}

.step-card-body h3 {
  color: #0F172A;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.step-card-body p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   10. APPLICATION CARDS & APPS MASTER GRID
   ========================================================================== */

.app-monogram-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #EFF6FF;
  border: 2px solid #BFDBFE;
  color: #1D4ED8;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.apps-master-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  margin: 30px 0;
}

.app-master-card, .app-card-pro, .app-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.app-master-card:hover, .app-card-pro:hover, .app-card:hover {
  transform: translateY(-3px);
  border-color: #BFDBFE;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
}

.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.app-card-info h3, .app-card-title {
  color: #0F172A;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.app-card-summary, .app-card-desc {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.55;
}

.app-card-price-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 9999px;
  background: #FEF2F2;
  color: #DC2626;
  font-size: 11px;
  font-weight: 700;
}

.app-card-devices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.app-card-specs-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}

.app-card-specs-list li {
  color: #334155;
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px solid #F1F5F9;
}

.app-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn-app-order {
  flex: 1;
  padding: 10px;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF !important;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  text-decoration: none;
}

.btn-app-guide {
  flex: 1;
  padding: 10px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  color: #1D4ED8 !important;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  text-decoration: none;
}

.app-filter-bar {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.app-filter-btn {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #475569;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.app-filter-btn.active {
  background: #EFF6FF;
  border-color: #1D4ED8;
  color: #1D4ED8;
}

/* ==========================================================================
   11. FAQ ACCORDION (BOTH DETAILS & CUSTOM ACCORDION CLASSES)
   ========================================================================== */

.faq-section {
  padding: 40px 0;
}

.faq-accordion, .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq-item, details.faq-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.faq-item:hover, .faq-item.active, details.faq-item[open] {
  border-color: #BFDBFE;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
}

.faq-question, details.faq-item summary {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  text-align: left;
  list-style: none;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: #1D4ED8;
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1D4ED8;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #DC2626;
}

.faq-answer, details.faq-item p {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   12. REVIEWS SECTION & CARDS
   ========================================================================== */

.reviews-section {
  padding: 40px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.review-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #EAB308;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.review-text {
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 14px;
  font-style: italic;
}

.review-author {
  font-weight: 700;
  color: #0F172A;
  font-size: 0.95rem;
}

.review-device {
  color: #64748B;
  font-size: 0.82rem;
}

/* ==========================================================================
   13. AUTHOR BOX (E-E-A-T)
   ========================================================================== */

.author-box-eeat {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 40px 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.author-avatar-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #EFF6FF;
  border: 2px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-content-body { flex-grow: 1; }

.author-header-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.author-name-title {
  color: #0F172A;
  font-size: 1.1rem;
  font-weight: 800;
}

.author-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #16A34A;
  font-size: 0.82rem;
  font-weight: 700;
}

.author-bio-text {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 8px;
}

.author-meta-footer {
  color: #64748B;
  font-size: 0.8rem;
}

/* ==========================================================================
   14. INTERACTIVE PRICE PICKER / CALCULATOR
   ========================================================================== */

.price-picker-container {
  background: #FFFFFF;
  border: 1px solid #DBEAFE;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.06);
  margin: 40px 0;
}

.price-picker-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.price-picker-header h3 {
  color: #0F172A;
}

/* ==========================================================================
   22. MODERN HIGH-CONVERTING PRICING CONFIGURATOR (REDESIGNED)
   ========================================================================== */

.price-picker-container {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 12px 35px -8px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
  margin-bottom: 50px;
}

.price-picker-header {
  text-align: center;
  margin-bottom: 30px;
}

.price-picker-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #DBEAFE;
  margin-bottom: 12px;
}

.price-picker-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 30px;
  align-items: stretch;
}

/* 1. LEFT CONTROLS CARD */
.pp-controls-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pp-step-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.pp-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2563EB;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.pp-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.3;
}

.pp-step-desc {
  font-size: 0.84rem;
  color: #64748B;
  margin: 3px 0 0;
}

/* 5-COLUMN BALANCED DURATIONS GRID */
.pp-durations-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px;
  margin-top: 14px;
}

.pp-duration-btn {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  padding: 14px 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 96px;
  text-align: center;
  font-family: inherit;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.pp-duration-btn:hover {
  border-color: #93C5FD;
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.pp-duration-btn.is-active {
  background: linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%) !important;
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2), 0 6px 16px rgba(37, 99, 235, 0.15) !important;
  transform: translateY(-3px);
}

.pp-dur-title {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  display: block;
}

.pp-duration-btn.is-active .pp-dur-title {
  color: #1D4ED8;
}

.pp-dur-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
  margin: 3px 0 6px;
  display: block;
}

.pp-duration-btn.is-active .pp-dur-sub {
  color: #1E40AF;
  font-weight: 700;
}

.pp-dur-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  display: inline-block;
  white-space: nowrap;
}

.pp-badge-neutral {
  background: #F1F5F9;
  color: #475569;
}

.pp-badge-save {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}

.pp-badge-bonus {
  background: #FEF2F2;
  color: #EF4444;
  border: 1px solid #FECACA;
  font-weight: 800;
}

.pp-badge-best {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  font-weight: 800;
}

.pp-ribbon-tag {
  position: absolute;
  top: -9px;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

/* STEPPER CAPSULE */
.pp-stepper-capsule {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 9999px;
  padding: 4px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.pp-step-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #F1F5F9;
  color: #0F172A;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pp-step-btn:hover:not(:disabled) {
  background: #E2E8F0;
  transform: scale(1.05);
}

.pp-step-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pp-step-btn-plus {
  background: #2563EB !important;
  color: #FFFFFF !important;
}

.pp-step-btn-plus:hover {
  background: #1D4ED8 !important;
}

.pp-screens-count {
  min-width: 85px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  color: #0F172A;
}

.pp-screens-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.pp-device-chip {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 5px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.pp-device-chip.is-active {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.1);
}

/* GUARANTEE BOX */
.pp-guarantee-box {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: 14px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.pp-guarantee-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.pp-guarantee-text {
  font-size: 12.5px;
  color: #166534;
  line-height: 1.45;
}

/* 2. RIGHT SUMMARY CARD */
.pp-summary-card {
  background: #FFFFFF;
  border: 2px solid #2563EB;
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  text-align: left;
}

.pp-summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.pp-product-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0;
}

.pp-plan-details {
  font-size: 0.88rem;
  color: #64748B;
  margin-top: 4px;
}

.pp-price-box {
  margin: 18px 0 14px;
}

.pp-amount-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pp-amount {
  font-size: 2.75rem;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pp-original-price {
  font-size: 1.15rem;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 600;
}

.pp-rate-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.pp-monthly-pill {
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid #DBEAFE;
}

.pp-savings-pill {
  background: #DCFCE7;
  color: #15803D;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid #BBF7D0;
}

.pp-divider {
  border-top: 1px dashed #E2E8F0;
  margin: 14px 0 16px;
}

.pp-perks-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pp-perks-list li {
  font-size: 13px;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.pp-perks-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #10B981;
}

.pp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-calc-order {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
  transition: all 0.2s ease;
  font-family: inherit;
  text-decoration: none;
}

.btn-calc-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.45);
}

.btn-calc-trial {
  font-size: 12.5px;
  font-weight: 700;
  color: #2563EB !important;
  text-align: center;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.btn-calc-trial:hover {
  color: #1D4ED8 !important;
  text-decoration: underline;
}

.pp-trust-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  font-size: 11.5px;
  color: #64748B;
  flex-wrap: wrap;
}

.pp-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pp-trust-dot {
  color: #CBD5E1;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .price-picker-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pp-durations-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .price-picker-container {
    padding: 24px 16px;
  }
  .pp-controls-card, .pp-summary-card {
    padding: 20px 16px;
  }
}


.btn-calc-trial {
  width: 100%;
  display: block;
  padding: 11px;
  background: #EFF6FF;
  border: 1.5px solid #1D4ED8;
  color: #1D4ED8 !important;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
}

/* ==========================================================================
   15. DEVICE GRID & DIAGNOSTIC PANEL
   ========================================================================== */

.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.device-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.device-item h4 {
  color: #0F172A;
  margin-bottom: 6px;
}

.os-pill {
  display: inline-block;
  padding: 4px 10px;
  background: #F1F5F9;
  border-radius: 6px;
  font-size: 11px;
  color: #475569;
}

.diagnostic-panel {
  background: #FFFFFF;
  border: 1px solid #DBEAFE;
  border-radius: 18px;
  padding: 24px;
  margin: 30px 0;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
}

.diagnostic-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.diagnostic-tab-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

.diagnostic-tab-btn.active {
  background: #EFF6FF;
  border-color: #1D4ED8;
  color: #1D4ED8;
}

.diagnostic-content-box {
  color: #334155;
  line-height: 1.7;
}

/* ==========================================================================
   16. SITE FOOTER (FULL EXTENSIVE DESKTOP & MOBILE GRID)
   ========================================================================== */

.site-footer {
  background: #070E24;
  border-top: 3px solid #1D4ED8;
  color: #94A3B8;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-desc {
  color: #94A3B8;
  font-size: 0.88rem;
  line-height: 1.6;
}

.site-footer h4, .footer-col h4 {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  border-left: none;
  padding-left: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links li a {
  color: #94A3B8;
  font-size: 0.88rem;
  transition: color 0.15s;
}

.footer-links li a:hover {
  color: #60A5FA;
  padding-left: 3px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: #64748B;
}

/* ==========================================================================
   17. ORDER MODAL & CHECKOUT
   ========================================================================== */

.order-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 14, 38, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.order-modal-backdrop.is-active, .order-modal-backdrop.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.order-modal-window {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  padding: 32px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.order-modal-header { margin-bottom: 20px; }
.order-modal-title { font-size: 1.4rem; font-weight: 800; color: #0F172A; margin-bottom: 4px; }
.order-modal-sub { font-size: 0.9rem; color: #64748B; }

.order-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  color: #475569;
  cursor: pointer;
}

.btn-modal-checkout {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  display: block;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  margin-bottom: 10px;
}

.btn-modal-whatsapp {
  width: 100%;
  padding: 12px;
  background: #EFF6FF;
  border: 1.5px solid #1D4ED8;
  color: #1D4ED8 !important;
  font-weight: 700;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  display: block;
}

/* ==========================================================================
   18. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1200px) {
  .f4k-nav-link {
    padding: 6px 8px;
    font-size: 12.5px;
  }
}

@media (max-width: 1024px) {
  .hero-layout-2col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .gammes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sommaire-grid {
    grid-template-columns: 1fr;
  }
  .speed-sim-selector-grid {
    grid-template-columns: 1fr;
  }
  .price-picker-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .f4k-strip-actions .f4k-hdr-account {
    display: none;
  }
  .f4k-main-header-row nav {
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .gammes-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .steps-container {
    grid-template-columns: 1fr;
  }
  .apps-master-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-h1 {
    font-size: 1.85rem;
  }
  .speed-sim-result-box {
    flex-direction: column;
    text-align: center;
  }
  .f4k-strip-row {
    flex-direction: column;
    height: auto;
    padding: 8px 12px;
    gap: 6px;
  }
  .f4k-promo-slot {
    height: auto;
  }
  .author-box-eeat {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   19. REMAINING COMPONENT CLASSES (100% COVERAGE FOR ALL 232 CLASSES)
   ========================================================================== */

/* Table Column Utilities */
.col-feature { width: 36%; font-weight: 700; color: #0F172A; }
.col-bad { width: 32%; color: #64748B; }
.td-bad { background: rgba(220, 38, 38, 0.02) !important; color: #64748B !important; }

/* Gamme Variants */
.gamme-premium, .gamme-4k, .gamme-famille {
  /* Inherits from .gamme-card */
}

/* Legacy Brand Logo classes (if present in footers) */
.logo-brand { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1D4ED8 0%, #DC2626 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}
.logo-title { font-size: 1.2rem; font-weight: 800; color: #FFFFFF; }
.logo-sub { font-size: 0.68rem; font-weight: 700; color: #60A5FA; text-transform: uppercase; letter-spacing: 0.1em; }

/* Checkout Card */
.checkout-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

/* Modal Sub-elements */
.order-choices { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.order-modal-recap { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 14px; margin: 16px 0; }
.modal-plan-name { font-weight: 800; color: #0F172A; font-size: 1.1rem; }
.modal-plan-price { font-weight: 900; color: #1D4ED8; font-size: 1.3rem; }
.modal-plan-spec { color: #64748B; font-size: 0.85rem; }
.modal-trial-link { color: #1D4ED8; font-weight: 600; text-decoration: underline; font-size: 0.85rem; display: block; text-align: center; margin-top: 10px; }
.plan-option { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid #E2E8F0; border-radius: 10px; cursor: pointer; transition: all 0.15s; }
.plan-option:hover { border-color: #BFDBFE; background: #EFF6FF; }
.plan-radio-group { display: flex; flex-direction: column; gap: 8px; }

/* Nav App Badge */
.nav-app-badge { display: inline-block; padding: 2px 6px; border-radius: 4px; background: #DC2626; color: #fff; font-size: 10px; font-weight: bold; margin-left: 4px; }

/* Social Proof Toast */
.social-proof-toast-container { position: fixed; bottom: 20px; left: 20px; z-index: 99; pointer-events: none; }

/* Footer Content Container */
.footer-content { max-width: 1280px; margin: 0 auto; padding: 0 20px; }


/* ========================================================================== 20. 6-COLUMN FOOTER ========================================================================== */

.site-footer {
  background-color: #070E24 !important;
  color: #94A3B8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 70px 0 35px !important;
  font-family: var(--font-main, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif) !important;
  position: relative;
  z-index: 10;
}

.footer-modern-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
  flex-shrink: 0;
}

.footer-brand-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.footer-brand-accent {
  color: #38BDF8;
}

.footer-brand-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #94A3B8;
  margin: 0 0 22px;
  max-width: 270px;
}

.footer-brand-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.btn-footer-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563EB;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 24px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  min-width: 175px;
  text-align: center;
}

.btn-footer-blue:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5);
}

.btn-footer-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 24px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 175px;
  text-align: center;
}

.btn-footer-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 0 0 16px !important;
  letter-spacing: -0.01em;
}

.footer-links-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-links-list li a {
  color: #94A3B8 !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
  display: inline-block;
}

.footer-links-list li a:hover {
  color: #FFFFFF !important;
  transform: translateX(2px);
}

.footer-modern-bottom {
  max-width: 1360px;
  margin: 55px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: #64748B;
}

.footer-bottom-copy {
  color: #64748B;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  color: #64748B !important;
  text-decoration: none !important;
  transition: color 0.15s;
}

.footer-bottom-links a:hover {
  color: #94A3B8 !important;
}

/* Responsive adjustments */
@media (max-width: 1240px) {
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 20px;
  }
}

@media (max-width: 900px) {
  .footer-modern-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .footer-modern-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}


/* ========================================================================== 21. HEADER & APPLICATIONS MEGA MENU ========================================================================== */

.ftv-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background-color: #070E24 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000 !important;
  font-family: var(--font-main, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
}

.ftv-nav-container {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ftv-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.ftv-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
}

.ftv-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.ftv-brand-accent {
  color: #38BDF8;
}

.ftv-nav {
  height: 100%;
  display: flex;
  align-items: center;
}

.ftv-menu-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.ftv-nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.ftv-nav-btn {
  background: transparent;
  border: none;
  color: #E2E8F0;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  font-family: inherit;
  text-decoration: none;
}

.ftv-nav-item:hover .ftv-nav-btn,
.ftv-nav-item.is-active .ftv-nav-btn {
  background: #1E293B;
  color: #FFFFFF;
}

.ftv-nav-item:hover .chevron-icon,
.ftv-nav-item.is-active .chevron-icon {
  transform: rotate(180deg);
}

.chevron-icon {
  transition: transform 0.2s ease;
}

.btn-ftv-pricing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-ftv-pricing:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.55);
}

/* ========================================================================== MEGA MENU STYLES ========================================================================== */

.ftv-mega-wrapper {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding-top: 10px;
  z-index: 1001;
}

.ftv-nav-item:hover .ftv-mega-wrapper,
.ftv-nav-item.is-open .ftv-mega-wrapper {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ftv-mega-card {
  width: 1240px;
  max-width: 96vw;
  background-color: #070E24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  padding: 24px;
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  gap: 24px;
}

/* LEFT & RIGHT CARDS */
.mega-panel-left, .mega-panel-right {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mega-3d-graphic {
  margin-bottom: 16px;
}

.mega-left-title, .mega-right-title {
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  margin: 0 0 8px !important;
  line-height: 1.3 !important;
  border-left: none !important;
  padding-left: 0 !important;
}

.mega-left-desc, .mega-right-desc {
  color: #94A3B8 !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  margin: 0 0 20px !important;
}

.mega-left-link {
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}

.mega-left-link:hover {
  color: #38BDF8 !important;
}

.btn-mega-offer {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  padding: 10px 18px;
  border-radius: 9999px;
  text-decoration: none !important;
  text-align: center;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
  display: block;
  transition: all 0.2s ease;
}

.btn-mega-offer:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.55);
}

/* CENTER PANEL (3 COLUMNS OF APPS) */
.mega-panel-center {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 18px;
}

.mega-apps-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-app-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.mega-app-link:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

.app-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.badge-gradient-pink { background: linear-gradient(135deg, #EC4899 0%, #A855F7 100%); }
.badge-gradient-purple { background: linear-gradient(135deg, #A855F7 0%, #6366F1 100%); }
.badge-gradient-berry { background: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%); }
.badge-gradient-magenta { background: linear-gradient(135deg, #E11D48 0%, #A855F7 100%); }
.badge-gradient-violet { background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%); }

.app-texts {
  display: flex;
  flex-direction: column;
}

.app-name {
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.app-os {
  color: #94A3B8 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  margin-top: 2px;
}

/* ==========================================================================
   DROPDOWN MENUS (Comprendre, Choisir, Installer, Dépannage, Chaînes)
   ========================================================================== */

.ftv-dropdown-wrapper {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding-top: 10px;
  z-index: 1001;
}

.ftv-nav-item:hover .ftv-dropdown-wrapper,
.ftv-nav-item.is-open .ftv-dropdown-wrapper {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ftv-dropdown-box {
  background-color: #070E24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
  padding: 12px;
  min-width: 250px;
  list-style: none;
  margin: 0;
}

.ftv-dropdown-box.dropdown-2cols {
  min-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ftv-dropdown-box.dropdown-3cols {
  min-width: 660px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dropdown-sub-col a.dropdown-view-all {
  color: #38BDF8 !important;
  font-weight: 700 !important;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.dropdown-sub-col {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ftv-dropdown-box li, .dropdown-sub-col li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ftv-dropdown-box a, .dropdown-sub-col a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 12px;
  color: #94A3B8 !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border-radius: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.ftv-dropdown-box a::before,
.dropdown-sub-col a:not(.dropdown-view-all)::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #EF4444;
  box-shadow: 0 0 6px #EF4444, 0 0 10px rgba(239, 68, 68, 0.8), 0 0 14px rgba(239, 68, 68, 0.4);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ftv-dropdown-box a:hover::before,
.dropdown-sub-col a:not(.dropdown-view-all):hover::before {
  transform: scale(1.35);
  background-color: #FF2E4D;
  box-shadow: 0 0 8px #FF2E4D, 0 0 14px rgba(255, 46, 77, 0.95), 0 0 20px rgba(255, 46, 77, 0.6);
}

.ftv-dropdown-box a:hover, .dropdown-sub-col a:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

/* ========================================================================== 22. TOPBAR BANNER ========================================================================== */

.f4k-topbar {
  background: #05081A !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-family: var(--font-main, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
  font-size: 12.5px;
  color: #CBD5E1;
  position: relative;
  z-index: 999;
}

.f4k-topbar-container {
  max-width: 1400px;
  min-height: 38px;
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.f4k-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.f4k-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #FBBF24;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2.5px 10px;
  border-radius: 9999px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.f4k-topbar-dot {
  color: #F59E0B;
  font-size: 8px;
  line-height: 1;
}

.f4k-topbar-text {
  color: #CBD5E1;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.f4k-topbar-text strong {
  color: #FFFFFF;
  font-weight: 700;
}

.f4k-topbar-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 4px;
}

.f4k-topbar-link {
  color: #FBBF24 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.f4k-topbar-link:hover {
  color: #FDE047 !important;
  transform: translateX(2px);
}

.f4k-topbar-account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  padding: 4px 12px;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 0.15s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.f4k-topbar-account:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF !important;
}

@media (max-width: 1024px) {
  .f4k-topbar-guarantee {
    display: none;
  }
}

@media (max-width: 768px) {
  .f4k-topbar-container {
    padding: 6px 12px;
    justify-content: center;
  }
  .f4k-topbar-account {
    display: none;
  }
  .f4k-topbar-text {
    font-size: 11px;
  }
}

/* ==========================================================================
   22. MOBILE NAVIGATION (BURGER) & MOBILE OVERFLOW FIXES
   ========================================================================== */

.ftv-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ftv-burger-lines,
.ftv-burger-lines::before,
.ftv-burger-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.ftv-burger-lines { position: relative; }
.ftv-burger-lines::before,
.ftv-burger-lines::after { content: ""; position: absolute; left: 0; }
.ftv-burger-lines::before { top: -6px; }
.ftv-burger-lines::after { top: 6px; }

.ftv-header.is-menu-open .ftv-burger-lines { background: transparent; }
.ftv-header.is-menu-open .ftv-burger-lines::before { transform: translateY(6px) rotate(45deg); }
.ftv-header.is-menu-open .ftv-burger-lines::after { transform: translateY(-6px) rotate(-45deg); }

.ftv-subtoggle { display: none; }

@media (max-width: 1180px) {
  .ftv-nav-container { gap: 12px; width: 100%; box-sizing: border-box; }
  .ftv-burger { display: inline-flex; }
  .ftv-actions { margin-left: auto; }

  .ftv-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    background: #070E24;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    padding: 8px 16px 20px;
  }

  .ftv-header.is-menu-open .ftv-nav { display: block; }

  .ftv-menu-list {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 0;
  }

  .ftv-nav-item {
    height: auto;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ftv-nav-btn {
    flex: 1;
    padding: 14px 4px;
    font-size: 16px;
  }

  .ftv-nav-btn .chevron-icon { display: none; }

  .ftv-nav-item:hover .ftv-nav-btn,
  .ftv-nav-item.is-active .ftv-nav-btn { background: transparent; }

  .ftv-subtoggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #E2E8F0;
    cursor: pointer;
  }

  .ftv-subtoggle svg { transition: transform 0.2s ease; }
  .ftv-nav-item.is-open .ftv-subtoggle svg { transform: rotate(180deg); }

  /* Sous-menus : empilés dans le panneau, ouverts au tap (pas au survol) */
  .ftv-dropdown-wrapper,
  .ftv-mega-wrapper,
  .ftv-nav-item:hover .ftv-dropdown-wrapper,
  .ftv-nav-item:hover .ftv-mega-wrapper {
    display: none;
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0 0 12px;
    transition: none;
  }

  .ftv-nav-item.is-open .ftv-dropdown-wrapper,
  .ftv-nav-item.is-open .ftv-mega-wrapper {
    display: block;
    transform: none;
  }

  .ftv-dropdown-box,
  .ftv-dropdown-box.dropdown-2cols,
  .ftv-dropdown-box.dropdown-3cols,
  .ftv-mega-card {
    min-width: 0;
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 0;
    box-shadow: none;
    border-radius: 12px;
    padding: 6px;
  }

  body.ftv-menu-locked { overflow: hidden; }
}

@media (max-width: 640px) {
  .ftv-nav-container { padding: 0 16px; gap: 8px; }
  .ftv-brand-title { font-size: 1.1rem; }
  .btn-ftv-pricing { padding: 9px 14px; font-size: 13px; }
}

@media (max-width: 400px) {
  .ftv-actions { display: none; }
  .ftv-burger { margin-left: auto; }
}

@media (max-width: 768px) {
  /* Tableaux larges : défilement horizontal dans le tableau, pas dans la page */
  main table,
  article table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .f4k-topbar-text { display: none; }
  .f4k-topbar-left { flex-wrap: wrap; justify-content: center; gap: 8px; }

  .social-proof-toast-container { display: none; }
}

@media (max-width: 640px) {
  /* .container imbriqué dans .container : la marge intérieure ne doit compter qu'une fois */
  .container .container { padding-left: 0; padding-right: 0; }

  /* Grilles en style inline « minmax(310px, 1fr) » etc. : une seule colonne sur téléphone */
  [style*="minmax("],
  .honesty-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (max-width: 640px) {
  /* Boutons à long libellé : retour à la ligne plutôt que débordement */
  .btn { white-space: normal; max-width: 100%; text-align: center; }

  /* Checkout : formulaire et récapitulatif empilés */
  [style*="grid-template-columns: 1.2fr 0.8fr"] { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ==========================================================================
   23. FRENCH FLAG AT THE START OF THE HEADER
   ========================================================================== */

.header-flag-fr {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 2px 6px rgba(0, 0, 0, 0.3);
  line-height: 0;
}

.header-flag-fr svg { display: block; }

@media (max-width: 640px) {
  .header-flag-fr svg { width: 24px; height: 16px; }
}

/* ==========================================================================
   24. TITRES HARMONISÉS SUR TOUTES LES PAGES (même échelle que l'accueil)
   ========================================================================== */
main h1:not(.hero-h1) {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

main h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem) !important;
  line-height: 1.3;
}

/* Sous-titres de cartes et d'étapes : ne pas les grossir */
main .pricing-card h2,
main .step-card-pro h2,
.checkout-card h2 {
  font-size: 1.1rem !important;
}
