/**
 * LynxoTV — global design system (shared)
 * Tokens, reset, header/footer, shared cards/buttons/typography, inner-page hero (.page-hero), pricing, FAQ accordion.
 * Page-specific overrides: home.css, formules.css, tutoriels.css, faq.css (stub), contact.css — loaded after this file.
 */

:root {
    /* —— Brand & color —— */
    --heading-gradient: linear-gradient(135deg, #93c5fd 0%, #3b82f6 48%, #60a5fa 100%);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 60%, #60a5fa 100%);
    --gradient-badge: linear-gradient(135deg, #3b82f6, #60a5fa);
    --gradient-logo-mark: linear-gradient(145deg, #1e40af 0%, #3b82f6 52%, #5b9cf8 100%);
    --gradient-page-hero:
      radial-gradient(ellipse 100% 85% at 50% -10%, rgba(59, 130, 246, 0.12), transparent 52%),
      radial-gradient(ellipse 70% 55% at 85% 40%, rgba(37, 99, 235, 0.06), transparent 50%),
      radial-gradient(ellipse 95% 80% at 70% 35%, rgba(59, 130, 246, 0.06), transparent 58%);
    --bg: #060d18;
    --bg-2: #0a1524;
    --bg-stats: #0f1b2e;
    --bg-stats-deep: #0a1422;
    --panel: rgba(10, 18, 40, 0.72);
    --line: rgba(255, 255, 255, 0.08);
    --text: #f5f7fb;
    --muted: #aeb8cc;
    --blue: #3b82f6;
    --blue-2: #5fd3ff;
    --green: #32d583;
    --green-accent: #5ee9b5;
    --text-secondary: #c5d0e0;
    --text-subtitle: #97a4bb;
    --text-subtle: #8b96ab;
    --color-border-card: rgba(255, 255, 255, 0.08);
    --color-border-strong: rgba(255, 255, 255, 0.12);

    /* —— Semantic color aliases (single source via mapping) —— */
    --color-bg-main: var(--bg);
    --color-bg-secondary: var(--bg-2);
    --color-bg-canvas: #020617;
    --color-card: rgba(255, 255, 255, 0.045);
    --color-card-hover: rgba(255, 255, 255, 0.065);
    --color-text-primary: var(--text);
    --color-text-muted: var(--text-subtle);
    --color-primary: var(--blue);
    --color-primary-light: #60a5fa;
    --color-accent-green: var(--green);
    --color-border: var(--color-border-card);
    --color-glow-blue: rgba(59, 130, 246, 0.35);

    /* —— Typography —— */
    --font-sans: Arial, Helvetica, sans-serif;
    --fs-body: 1rem;
    --fs-small: 0.8125rem;
    --fs-caption: 0.75rem;
    --fs-nav: 0.875rem;
    --fs-logo-wordmark: 1.25rem;
    --fs-h1: clamp(1.75rem, 4vw + 0.75rem, 2rem);
    --fs-h1-md: clamp(2.25rem, 2.8vw + 0.5rem, 2.5rem);
    --fs-h1-lg: clamp(3.25rem, 1.2vw + 2.2rem, 3.5rem);
    /* Inner-page hero (Formules, Tutoriels, FAQ, Contact) — centered, narrow */
    --fs-h1-formules: clamp(1.5rem, 2.5vw + 0.65rem, 2rem);
    --fs-h1-formules-md: clamp(1.625rem, 2vw + 0.75rem, 1.875rem);
    --fs-h1-formules-lg: clamp(1.75rem, 1.2vw + 1rem, 2rem);
    --fs-formules-hero-desc: clamp(0.9375rem, 0.35vw + 0.82rem, 1rem);
    --fs-page-hero-h1: var(--fs-h1-formules);
    --fs-page-hero-h1-md: var(--fs-h1-formules-md);
    --fs-page-hero-h1-lg: var(--fs-h1-formules-lg);
    --fs-page-hero-desc: var(--fs-formules-hero-desc);
    --fs-h2: clamp(1.75rem, 1.1vw + 1.35rem, 2.25rem);
    /* Hero-style section headings (slightly different mid breakpoint than --fs-h2; keeps legacy CTA look) */
    --fs-h2-emphasis: clamp(1.75rem, 1.5vw + 1.25rem, 2.25rem);
    --fs-h3: clamp(1.125rem, 0.4vw + 1rem, 1.375rem);
    --fs-formules-help-title: clamp(1.25rem, 1vw + 1rem, 1.5rem);
    --fs-lead: clamp(1rem, 0.35vw + 0.88rem, 1.125rem);
    --fs-price-xl: 2.375rem;
    --leading-body: 1.6;
    --leading-relaxed: 1.65;
    --leading-heading: 1.15;
    --leading-h2: 1.25;
    --font-weight-heading: 700;
    --text-measure: 36rem;
    --text-measure-sm: 31.25rem;

    /* —— Layout —— */
    --container-max-width: 1320px;
    --container-narrow: 1100px;

    /* —— Spacing scale —— */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --section-y: var(--space-4);
    --section-y-tight: var(--space-3);
    --section-y-compact: 1.75rem;
    --section-padding: var(--section-y);
    --grid-gap: var(--space-3);
    --card-padding: var(--space-3);
    --card-padding-featured: calc(var(--space-4) + 4px);

    /* —— Buttons —— */
    --btn-padding-y: 12px;
    --btn-padding-x: 20px;
    --btn-padding-x-secondary: 18px;
    --btn-font-size: 0.9375rem;

    /* —— Radius —— */
    --radius-sm: 10px;
    --radius-btn: 10px;
    --radius-pill: 12px;
    --radius-card: 16px;
    --radius-card-sm: 14px;
    --radius-badge: 999px;

    /* —— Shadows & glow —— */
    --shadow-header: 0 12px 32px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.28);
    --shadow-card-hover: 0 16px 40px rgba(0, 0, 0, 0.36);
    --shadow-btn: 0 8px 22px rgba(37, 99, 235, 0.32);
    --shadow-btn-hover: 0 10px 28px rgba(37, 99, 235, 0.42), 0 0 24px rgba(59, 130, 246, 0.22);
    --glow-blue-soft: 0 0 40px rgba(37, 99, 235, 0.18);
    --shadow-hero-cta: 0 10px 28px rgba(0, 0, 0, 0.18);
    --shadow-hero-cta-hover: 0 12px 32px rgba(0, 0, 0, 0.24), 0 0 28px rgba(255, 255, 255, 0.12);
    --shadow-featured-ring: 0 0 0 1px rgba(59, 130, 246, 0.22), 0 0 64px rgba(59, 130, 246, 0.2), 0 16px 44px rgba(0, 0, 0, 0.36);
    --shadow-mobile-menu: 0 18px 40px rgba(0, 0, 0, 0.35);
    --shadow-device-card: 0 8px 28px rgba(0, 0, 0, 0.22);
    --shadow-plan-badge: 0 4px 20px rgba(37, 99, 235, 0.35);
    --shadow-price-secondary-hover: 0 6px 22px rgba(37, 99, 235, 0.18);
    --shadow-price-featured-btn: 0 8px 24px rgba(37, 99, 235, 0.35);
    --shadow-price-featured-btn-hover: 0 10px 32px rgba(37, 99, 235, 0.45), 0 0 28px rgba(96, 165, 250, 0.2);
    --shadow-featured-card-hover: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 0 72px rgba(59, 130, 246, 0.28), 0 20px 48px rgba(0, 0, 0, 0.4);
    --shadow-final-cta-box: 0 16px 40px rgba(0, 0, 0, 0.2);
    --shadow-final-cta-btn: 0 8px 22px rgba(0, 0, 0, 0.12);
    --shadow-final-cta-btn-hover: 0 10px 28px rgba(0, 0, 0, 0.18);
    --shadow-formules-why: 0 4px 20px rgba(0, 0, 0, 0.18);
    --shadow-formules-why-hover: 0 10px 28px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(59, 130, 246, 0.1), 0 0 28px rgba(37, 99, 235, 0.1);
    --shadow-formules-help: 0 10px 32px rgba(0, 0, 0, 0.18);
    --shadow-wa: 0 2px 10px rgba(37, 211, 102, 0.22);
    --shadow-wa-hover: 0 4px 14px rgba(37, 211, 102, 0.3);
    --shadow-wa-lg: 0 4px 16px rgba(37, 211, 102, 0.22);
    --shadow-wa-strong-hover: 0 6px 22px rgba(37, 211, 102, 0.32);
    --shadow-card-soft: var(--shadow-card);
    --shadow-hover-premium: 0 16px 40px rgba(0, 0, 0, 0.32), 0 0 28px rgba(59, 130, 246, 0.14);
    --glow-green-soft: 0 0 18px rgba(50, 213, 131, 0.2);
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
  }

  * {
    box-sizing: border-box;
  }

  /* Page canvas: solid dark base (overscroll / bounce) + fixed decorative layer on body::before */
  html,
  body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overscroll-behavior: none;
    background: #020617;
  }

  html {
    height: 100%;
    scroll-behavior: smooth;
    background: #020617;
    color-scheme: dark;
  }

  /* Design system — reusable utilities */
  .section {
    margin: 0;
    max-width: none;
    padding-block: var(--section-y);
  }

  .small-text {
    font-size: var(--fs-small);
    line-height: 1.45;
    color: rgba(139, 150, 171, 0.9);
  }

  .card {
    padding: var(--card-padding);
    border-radius: var(--radius-card);
    border: 1px solid var(--color-border-card);
    box-shadow: var(--shadow-card);
  }

  /* Inline / card-top pill label (pricing “Populaire”, labels, etc.) */
  .badge,
  .plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: var(--radius-badge);
    background: var(--gradient-badge);
    color: #fff;
    font-size: var(--fs-small);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    box-shadow: var(--shadow-plan-badge);
    white-space: nowrap;
  }

  .badge {
    position: relative;
  }

  .container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(var(--space-2), 3vw, var(--space-3));
    padding-right: clamp(var(--space-2), 3vw, var(--space-3));
  }

  /* —— Layout utilities —— */
  .section-tight {
    padding-block: var(--section-y-tight);
  }

  .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--grid-gap);
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--grid-gap);
  }

  .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--grid-gap);
  }

  @media (max-width: 900px) {
    .grid-3 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-4 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 640px) {
    .grid-2,
    .grid-3,
    .grid-4 {
      grid-template-columns: 1fr;
    }
  }

  /* —— Typography utilities (homepage scale) —— */
  .page-title {
    margin: 0;
    font-size: var(--fs-h1);
    line-height: var(--leading-heading);
    font-weight: var(--font-weight-heading);
    letter-spacing: -0.035em;
    color: var(--color-text-primary);
  }

  .text-gradient {
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .card-title {
    margin: 0;
    font-size: var(--fs-h3);
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #f1f5f9;
  }

  .card-text {
    margin: 0;
    font-size: 15px;
    line-height: var(--leading-body);
    font-weight: 500;
    color: rgba(151, 164, 187, 0.92);
  }

  /* —— Card shell (glass, matches catalogue / device cards) —— */
  .card-glow {
    box-shadow: var(--shadow-card);
  }

  @media (hover: hover) {
    .card-hover:hover {
      transform: translateY(-3px);
      border-color: rgba(59, 130, 246, 0.35);
      background: var(--color-card-hover);
      box-shadow: var(--shadow-hover-premium);
    }
  }

  .app-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--card-padding);
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--color-card);
    border: 1px solid rgba(59, 130, 246, 0.18);
    box-shadow: var(--shadow-card-soft);
    backdrop-filter: blur(14px);
    transition:
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.35s ease,
      border-color 0.35s ease,
      background 0.35s ease;
  }

  @media (hover: hover) {
    .app-card:hover {
      transform: translateY(-4px);
      border-color: rgba(96, 165, 250, 0.42);
      background: var(--color-card-hover);
      box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(59, 130, 246, 0.12),
        var(--glow-blue-soft);
    }
  }

  .guide-card {
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.14);
    box-shadow: var(--shadow-card-soft);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  @media (hover: hover) {
    .guide-card:hover {
      border-color: rgba(59, 130, 246, 0.28);
      box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.26),
        0 0 0 1px rgba(59, 130, 246, 0.08);
    }
  }

  .tip-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: var(--space-3) var(--space-3) calc(var(--space-3) + 4px);
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--color-card);
    border: 1px solid rgba(59, 130, 246, 0.18);
    box-shadow: var(--shadow-card-soft);
    backdrop-filter: blur(14px);
    transition:
      transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.38s ease,
      border-color 0.38s ease,
      background 0.38s ease;
  }

  @media (hover: hover) {
    .tip-card:hover {
      transform: translateY(-3px);
      border-color: rgba(59, 130, 246, 0.35);
      background: var(--color-card-hover);
      box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(59, 130, 246, 0.12),
        0 0 36px rgba(37, 99, 235, 0.12);
    }
  }

  /* App / guide / tip — shared structure (Tutoriels + reuse) */
  .app-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-gap);
  }

  @media (min-width: 640px) {
    .app-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 1100px) {
    .app-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  .app-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 var(--space-2);
    padding: var(--space-2);
    min-height: 100px;
    border-radius: var(--radius-card-sm);
    background: linear-gradient(160deg, rgba(30, 58, 138, 0.25), rgba(15, 23, 42, 0.65));
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .app-card-media img {
    display: block;
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
  }

  .app-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }

  .app-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-2);
  }

  .app-card-title {
    margin: 0;
    font-size: clamp(0.8125rem, 0.2vw + 0.75rem, 0.9375rem);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #f1f5f9;
    line-height: 1.3;
  }

  .app-rating {
    flex-shrink: 0;
    font-size: var(--fs-caption);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.02em;
    color: rgba(251, 191, 36, 0.95);
    white-space: nowrap;
  }

  .app-card-desc {
    margin: var(--space-2) 0 0;
    font-size: var(--fs-small);
    line-height: 1.55;
    font-weight: 500;
    color: rgba(151, 164, 187, 0.95);
    flex-grow: 1;
  }

  .app-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--space-2);
  }

  .platform-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(186, 210, 255, 0.88);
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(59, 130, 246, 0.22);
  }

  .guide-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: var(--container-max-width);
    margin-inline: auto;
  }

  .guide-card-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding: var(--card-padding-featured);
    align-items: start;
  }

  @media (min-width: 768px) {
    .guide-card-inner {
      grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
      gap: var(--space-4);
    }
  }

  .guide-card-title {
    margin: 0;
    font-size: var(--fs-h3);
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #f1f5f9;
  }

  .guide-card-lead {
    margin: var(--space-2) 0 var(--space-3);
    font-size: var(--fs-small);
    line-height: 1.55;
    font-weight: 500;
    color: rgba(139, 150, 171, 0.95);
    max-width: 52ch;
  }

  .guide-steps {
    margin: 0;
    padding-left: 1.35rem;
    color: rgba(197, 208, 224, 0.96);
    font-size: var(--fs-small);
    line-height: 1.65;
    list-style-position: outside;
  }

  .guide-steps li {
    margin-bottom: 0.65rem;
    padding-left: 0.2rem;
  }

  .guide-steps li:last-child {
    margin-bottom: 0;
  }

  .guide-aside {
    padding: var(--space-3);
    border-radius: var(--radius-card-sm);
    background: linear-gradient(145deg, rgba(24, 48, 118, 0.35), rgba(10, 22, 48, 0.55));
    border: 1px solid rgba(255, 255, 255, 0.07);
  }

  @media (min-width: 768px) {
    .guide-aside {
      position: sticky;
      top: 96px;
    }
  }

  .guide-aside-label {
    margin: 0 0 var(--space-2);
    font-size: var(--fs-caption);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(138, 180, 255, 0.95);
  }

  .guide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: var(--radius-badge);
    font-size: var(--fs-caption);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.02em;
    color: rgba(186, 210, 255, 0.95);
    background: rgba(37, 99, 235, 0.22);
    border: 1px solid rgba(59, 130, 246, 0.32);
  }

  .tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-gap);
  }

  @media (min-width: 640px) {
    .tips-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 1024px) {
    .tips-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  .tip-card-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #8ab4ff;
  }

  .tip-card-icon svg {
    width: 16px;
    height: 16px;
    display: block;
  }

  .tip-card-title {
    margin: 0;
    font-size: var(--fs-h3);
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #f1f5f9;
  }

  .tip-card-text {
    margin: 10px 0 0;
    max-width: 28ch;
    font-size: 15px;
    line-height: var(--leading-body);
    font-weight: 500;
    color: rgba(151, 164, 187, 0.92);
  }

  .cta-panel--wide {
    max-width: 36rem;
  }

  /* —— Badges —— */
  .badge-primary {
    background: var(--gradient-badge);
    color: #fff;
    box-shadow: var(--shadow-plan-badge);
  }

  .badge-highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(96, 165, 250, 0.25));
    border: 1px solid rgba(147, 197, 253, 0.35);
    color: #e8f0fe;
  }

  /* —— Buttons —— */
  .btn-pill {
    border-radius: var(--radius-pill);
  }

  /* —— Inner-page hero (narrow, centered; same on Formules / Tutoriels / FAQ / Contact) —— */
  .hero.page-hero {
    padding: var(--space-4) 0 var(--space-3);
    background: var(--gradient-page-hero);
  }

  .page-hero-inner {
    display: block;
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
  }

  .page-hero .hero-text {
    max-width: 100%;
    margin: 0 auto;
  }

  .page-hero .hero-text h1 {
    font-size: var(--fs-page-hero-h1);
    line-height: 1.2;
    letter-spacing: -0.032em;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero .desc {
    margin-top: 0.875rem;
    font-size: var(--fs-page-hero-desc);
    line-height: 1.58;
    max-width: min(100%, 32rem);
    margin-left: auto;
    margin-right: auto;
    color: var(--text-subtitle);
  }

  .page-hero .hero-trust {
    margin-top: var(--space-2);
    font-size: var(--fs-caption);
    letter-spacing: 0.05em;
    line-height: 1.45;
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
    color: rgba(139, 150, 171, 0.88);
  }

  .page-hero .cta-row {
    justify-content: center;
    margin-top: var(--space-2);
  }

  @media (min-width: 821px) and (max-width: 1100px) {
    .page-hero .hero-text h1 {
      font-size: var(--fs-page-hero-h1-md);
    }
  }

  @media (min-width: 1101px) {
    .page-hero .hero-text h1 {
      font-size: var(--fs-page-hero-h1-lg);
    }
  }

  /* —— CTA panel (gradient card; FAQ / Contact bottom strip) —— */
  .cta-panel {
    text-align: center;
    max-width: 32rem;
    margin: 0 auto;
    padding: var(--space-3) var(--space-2);
    border-radius: var(--radius-card-sm);
    background: linear-gradient(135deg, rgba(24, 48, 118, 0.72), rgba(16, 30, 72, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow-formules-help);
  }

  .cta-panel-title {
    margin: 0;
    font-size: var(--fs-formules-help-title);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.028em;
    line-height: 1.25;
    color: #fff;
  }

  .cta-panel-text {
    margin: var(--space-2) 0 var(--space-2);
    font-size: var(--btn-font-size);
    line-height: 1.55;
    color: rgba(213, 222, 239, 0.88);
  }

  .cta-panel .btn-primary,
  .cta-panel .btn-secondary {
    margin-top: var(--space-2);
  }

  .btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--btn-padding-y) var(--btn-padding-x);
    border-radius: var(--radius-pill);
    background: #25d366;
    color: #f8fafc;
    font-size: var(--btn-font-size);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    line-height: 1.3;
    box-shadow: var(--shadow-wa-lg);
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      filter 0.22s ease;
  }

  .btn-wa:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
    box-shadow: var(--shadow-wa-strong-hover);
  }

  .btn-wa-icon {
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
    flex-shrink: 0;
    display: block;
  }

  .btn-wa svg {
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
    flex-shrink: 0;
    display: block;
  }

  .btn-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--btn-padding-y) var(--btn-padding-x);
    border-radius: var(--radius-pill);
    background: #229ed9;
    color: #f8fafc;
    font-size: var(--btn-font-size);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    line-height: 1.3;
    box-shadow: 0 8px 22px rgba(34, 158, 217, 0.32);
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      filter 0.22s ease;
  }

  .btn-telegram:hover {
    transform: scale(1.02);
    filter: brightness(1.06);
    box-shadow: 0 10px 28px rgba(34, 158, 217, 0.42), 0 0 20px rgba(34, 158, 217, 0.18);
  }

  .btn-telegram-icon {
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
    flex-shrink: 0;
    display: block;
  }

  .btn-telegram svg {
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
    flex-shrink: 0;
    display: block;
  }

  /* Section head: optional narrow title wrap (Formules “Pourquoi…”) */
  .section-head--center-narrow .section-title.section-title--inline {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.15em 0.35em;
    white-space: normal;
    line-height: 1.22;
    max-width: 22rem;
    margin: 0 auto;
  }

  .section-head--center-narrow .section-title-line2 {
    margin-top: 0;
  }

  @media (min-width: 821px) {
    .section-head--center-narrow .section-title.section-title--inline {
      white-space: normal;
    }
  }

  @media (max-width: 600px) {
    .section-head--center-narrow .section-title.section-title--inline {
      max-width: 19rem;
    }
  }
  
  @keyframes sectionFadeUp {
    from {
      opacity: 0;
      transform: translateY(28px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .section-reveal {
    opacity: 0;
    animation: sectionFadeUp 0.88s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .hero.section-reveal {
    animation-delay: 0.06s;
  }

  .catalogue.section-reveal {
    animation-delay: 0.24s;
  }

  .devices.section-reveal {
    animation-delay: 0.33s;
  }

  .pricing.section-reveal {
    animation-delay: 0.42s;
  }

  .faq-mini.section-reveal {
    animation-delay: 0.51s;
  }

  .footer.section-reveal {
    animation-delay: 0.6s;
  }

  @media (prefers-reduced-motion: reduce) {
    .section-reveal {
      animation: none;
      opacity: 1;
      transform: none;
    }

    .catalogue-card,
    .price-card,
    .device-card,
    .faq-panel,
    .faq-chevron,
    .faq-item {
      transition: none;
    }

    .catalogue-card:hover,
    .price-card:hover,
    .price-card.featured:hover,
    .device-card:hover,
    .formules-why-item:hover,
    .feature-card:hover,
    .app-card:hover,
    .guide-card:hover,
    .tip-card:hover {
      transform: none;
    }

    .price-card.featured {
      transform: none;
    }

    .price-btn:hover,
    .btn-secondary:hover,
    .price-card.featured .price-btn:hover,
    .price-card.featured .btn-secondary:hover,
    .btn:hover,
    .btn-primary:hover,
    .cta:hover,
    .final-cta-btn:hover,
    .btn-wa:hover,
    .btn-telegram:hover {
      transform: none;
      filter: none;
    }

    .tag::before {
      animation: none;
      transform: none;
      opacity: 1;
      box-shadow: 0 0 12px rgba(50, 213, 131, 0.6), 0 0 5px rgba(50, 213, 131, 0.92);
    }

    .tag::after {
      animation: none;
      opacity: 0;
    }

    .formules-trust-item,
    .formules-trust-check,
    .formules-trust-check + span {
      transition: none;
    }

    .formules-trust-item:hover,
    .formules-trust-item:hover .formules-trust-check,
    .formules-trust-item:hover .formules-trust-check + span {
      transform: none;
    }
  }

  body {
    position: relative;
    z-index: 0;
    margin: 0;
    padding: 0;
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: var(--leading-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text);
    background: transparent;
  }

  /* Fixed full-viewport layer: stays dark during rubber-band; html keeps #020617 underneath */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(ellipse 130% 65% at 50% -18%, rgba(59, 130, 246, 0.26), transparent 58%),
      radial-gradient(ellipse 70% 48% at 5% 35%, rgba(37, 99, 235, 0.18), transparent 52%),
      radial-gradient(ellipse 65% 42% at 96% 28%, rgba(14, 165, 233, 0.16), transparent 50%),
      radial-gradient(ellipse 90% 55% at 50% 108%, rgba(30, 58, 138, 0.2), transparent 58%),
      radial-gradient(circle at 50% 52%, rgba(15, 27, 46, 0.5), transparent 72%),
      linear-gradient(180deg, #030711 0%, #061018 22%, #0a1628 48%, #07121f 72%, #040a14 100%),
      radial-gradient(circle at top, rgba(15, 35, 80, 0.95), rgba(2, 6, 23, 1) 70%);
  }
  
  /* HEADER */
  .header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 0;
    backdrop-filter: blur(14px);
    background: linear-gradient(180deg, rgba(8, 16, 30, 0.92) 0%, rgba(5, 10, 20, 0.82) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow-header);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
    gap: var(--space-2);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }
  
  a.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
  }

  .logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    flex-shrink: 0;
    color: #f0f9ff;
    background: var(--gradient-logo-mark);
    box-shadow:
      0 2px 8px rgba(37, 99, 235, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.07) inset,
      0 0 12px rgba(59, 130, 246, 0.1);
  }

  .logo-mark svg {
    display: block;
    width: 13px;
    height: 13px;
    margin: 0;
    opacity: 0.93;
  }

  .logo-wordmark {
    display: inline-flex;
    align-items: center;
    font-size: var(--fs-logo-wordmark);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #f8fafc;
  }

  .logo-wordmark-accent {
    font-weight: 800;
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 45%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .nav {
    display: flex;
    gap: 26px;
  }
  
  .nav a {
    color: #d4dbeb;
    text-decoration: none;
    font-size: var(--fs-nav);
    font-weight: 500;
    transition: 0.2s ease;
  }
  
  .nav a:hover {
    color: white;
  }

  .nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .nav-toggle:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.85);
    outline-offset: 2px;
  }

  .nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: #e8eef8;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 30;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 0.28s ease,
      transform 0.28s ease,
      visibility 0.28s;
    background: rgba(6, 12, 22, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-mobile-menu);
  }

  .mobile-menu.is-open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu-inner {
    padding-top: 12px;
    padding-bottom: 24px;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mobile-nav a {
    display: block;
    padding: 16px 12px;
    border-radius: 12px;
    color: #e2e9f4;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }

  .mobile-menu-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: var(--space-2);
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
  }

  body.nav-open {
    overflow: hidden;
  }

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

    .nav-toggle {
      display: inline-flex;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-menu {
      transition: opacity 0.2s ease, visibility 0.2s;
    }

    .nav-toggle-bar,
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1),
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
      transition: none;
    }
  }
  
  .btn,
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    border-radius: var(--radius-btn);
    font-size: var(--btn-font-size);
    font-weight: 600;
    line-height: 1.3;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-btn);
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      filter 0.22s ease;
  }
  
  .btn:hover,
  .btn-primary:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-btn-hover);
    filter: brightness(1.06);
  }

  .btn:active,
  .btn-primary:active {
    transform: scale(0.99);
  }
  
  /* HERO */
  .hero {
    margin: 0;
    max-width: none;
    padding: var(--space-4) 0 var(--space-3);
    background: radial-gradient(ellipse 95% 80% at 70% 35%, rgba(59, 130, 246, 0.08), transparent 58%);
  }

  .hero-text {
    max-width: min(100%, var(--text-measure));
  }
  
  @keyframes tag-halo-pulse {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.92;
    }
    100% {
      transform: translate(-50%, -50%) scale(2.75);
      opacity: 0;
    }
  }

  .tag {
    position: relative;
    z-index: 0;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 var(--space-2);
    color: #71f0aa;
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .tag::before {
    content: "";
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--green);
    box-shadow:
      0 0 14px rgba(50, 213, 131, 0.58),
      0 0 6px rgba(50, 213, 131, 0.88);
  }

  .tag::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    z-index: -1;
    box-sizing: border-box;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    pointer-events: none;
    border: 2px solid rgba(90, 235, 175, 0.82);
    background: transparent;
    box-shadow: 0 0 18px rgba(50, 213, 131, 0.5);
    transform: translate(-50%, -50%);
    transform-origin: center;
    will-change: transform, opacity;
    animation: tag-halo-pulse 1.6s ease-out infinite;
  }
  
  .hero-text h1 {
    margin: 0;
    font-size: var(--fs-h1);
    line-height: var(--leading-heading);
    font-weight: var(--font-weight-heading);
    letter-spacing: -0.035em;
    max-width: min(100%, var(--text-measure));
  }
  
  .hero-text h1 .accent {
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  @media (min-width: 821px) and (max-width: 1100px) {
    .hero-text h1 {
      font-size: var(--fs-h1-md);
      line-height: 1.18;
    }
  }

  @media (min-width: 1101px) {
    .hero-text h1 {
      font-size: var(--fs-h1-lg);
      line-height: 1.12;
    }
  }
  
  .hero-text p.desc {
    margin: var(--space-3) 0 0;
    color: var(--text-subtitle);
    font-size: var(--fs-lead);
    line-height: var(--leading-relaxed);
    max-width: min(100%, var(--text-measure-sm));
  }

  .hero-text .hero-kw {
    color: #e2e9f8;
    font-weight: 600;
  }

  .hero-trust {
    margin: var(--space-2) 0 0;
    max-width: min(100%, var(--text-measure-sm));
    font-size: var(--fs-small);
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(139, 150, 171, 0.92);
  }
  
  .cta-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    flex-wrap: wrap;
  }
  
  .cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: #f1f5f9;
    color: #091224;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: var(--fs-body);
    line-height: 1.3;
    box-shadow: var(--shadow-hero-cta);
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      filter 0.22s ease;
  }

  .cta:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hero-cta-hover);
    filter: brightness(1.03);
  }

  .cta:active {
    transform: scale(0.99);
  }
  
  .cta-play {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #07132c;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-body);
  }
  
  @media (max-width: 820px) {
    .header-inner {
      padding-top: 16px;
      padding-bottom: 16px;
    }

    .hero {
      padding: var(--space-3) 0 var(--space-3);
    }

    .hero-text h1 {
      letter-spacing: -0.03em;
    }

    .hero-text p.desc {
      font-size: 1rem;
    }

    .hero-trust {
      font-size: 13px;
    }

    .cta {
      font-size: var(--btn-font-size);
      padding: var(--btn-padding-y) var(--btn-padding-x-secondary);
    }
  }

  /* Shared premium section headings (devices, catalogue, pricing, FAQ, CTA) */
  .section-title {
    margin: 0;
    font-size: var(--fs-h2);
    font-weight: var(--font-weight-heading);
    letter-spacing: -0.03em;
    line-height: var(--leading-h2);
  }

  .section-title-line1 {
    display: block;
    color: #f8fafc;
  }

  .section-title-line2 {
    display: block;
    margin-top: 6px;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Catalogue, pricing, FAQ: one line on desktop; white + gradient keyword */
  .section-head .section-title--inline {
    line-height: 1.14;
    letter-spacing: -0.038em;
  }

  .section-head .section-title--inline .section-title-line1,
  .section-head .section-title--inline .section-title-line2 {
    display: inline;
  }

  .section-head .section-title--inline .section-title-line2 {
    margin-top: 0;
  }

  @media (min-width: 821px) {
    .section-head .section-title--inline {
      white-space: nowrap;
    }
  }

  .section-head {
    text-align: center;
    margin-bottom: var(--space-3);
  }
  
  .section-head p,
  .section-subtitle {
    margin: var(--space-2) auto 0;
    max-width: min(100%, var(--text-measure-sm));
    color: var(--text-subtitle);
    font-size: var(--fs-lead);
    line-height: var(--leading-relaxed);
  }
  
  /* CATALOGUE — feature cards (no images); grid layout on homepage: home.css */
  .catalogue-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-3) var(--space-3) calc(var(--space-3) + 4px);
    border-radius: var(--radius-card);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(59, 130, 246, 0.18);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
    transition:
      transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.38s ease,
      border-color 0.38s ease,
      background 0.38s ease;
  }

  .catalogue-card-icon {
    width: 52px;
    height: 52px;
    margin: 0 0 var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8ab4ff;
  }

  .catalogue-card-icon svg {
    width: 32px;
    height: 32px;
    display: block;
  }

  .catalogue-card-title {
    margin: 0;
    font-size: var(--fs-h3);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #f1f5f9;
  }

  .catalogue-card-text {
    margin: 10px 0 0;
    max-width: 28ch;
    font-size: 15px;
    line-height: var(--leading-body);
    font-weight: 500;
    color: rgba(151, 164, 187, 0.92);
  }

  @media (hover: hover) and (min-width: 821px) {
    .catalogue-card:hover {
      transform: translateY(-3px) scale(1.02);
      background: rgba(255, 255, 255, 0.07);
      border-color: rgba(96, 165, 250, 0.4);
      box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(59, 130, 246, 0.16),
        0 0 32px rgba(37, 99, 235, 0.14);
    }
  }
  
  @media (max-width: 820px) {
    .section-head .section-title,
    .devices-head .section-title {
      font-size: clamp(1.625rem, 4vw + 0.65rem, 2rem);
    }

    .catalogue-card {
      padding: var(--space-3) var(--space-2) var(--space-3);
      border-radius: var(--radius-card);
    }

    .catalogue-card-title {
      font-size: 1.125rem;
    }

    .catalogue-card-text {
      font-size: 15px;
      max-width: 36ch;
    }
  }

  /* PRICING */
.pricing {
  max-width: none;
  margin: 0;
  padding: var(--space-4) 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 20, 0.5) 0%, transparent 22%),
    radial-gradient(ellipse 100% 65% at 50% 0%, rgba(30, 64, 175, 0.14), transparent 55%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, 1fr);
  gap: var(--space-3);
  align-items: stretch;
  padding-top: var(--space-2);
  box-sizing: border-box;
}

.price-card {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    165deg,
    rgba(5, 10, 24, 0.97) 0%,
    rgba(14, 26, 52, 0.88) 48%,
    rgba(8, 16, 36, 0.96) 100%
  );
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

@media (hover: hover) {
  .price-card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-card-hover), var(--glow-blue-soft);
    border-color: rgba(255, 255, 255, 0.18);
  }
}

.price-card.featured {
  z-index: 2;
  padding: var(--card-padding-featured) var(--space-3) var(--space-3);
  border: 1px solid rgba(96, 165, 250, 0.5);
  transform: scale(1.02);
  box-shadow: var(--shadow-featured-ring);
}

@media (hover: hover) {
  .price-card.featured:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(186, 230, 253, 0.75);
    box-shadow: var(--shadow-featured-card-hover);
  }
}

.plan-badge {
  position: absolute;
  z-index: 3;
  left: 50%;
  right: auto;
  top: 0;
  transform: translate(-50%, -50%);
  max-width: calc(100% - 32px);
}

.plan-badge-text {
  line-height: 1.2;
}

.plan-badge-icon {
  flex-shrink: 0;
  display: block;
  width: 15px;
  height: 15px;
  color: #ffd700;
}

.plan-badge--star {
  padding: 8px 18px;
}

@media (max-width: 520px) {
  .plan-badge--star {
    padding: 7px 14px;
    gap: 6px;
    max-width: calc(100% - 24px);
  }

  .plan-badge-icon {
    width: 14px;
    height: 14px;
  }
}

.plan-name {
  color: rgba(205, 214, 230, 0.92);
  font-size: var(--btn-font-size);
  font-weight: 500;
  margin-bottom: 0.625rem;
  text-align: center;
}

.plan-price-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.125rem;
  margin-bottom: var(--space-3);
  width: 100%;
}

.plan-price {
  font-size: var(--fs-price-xl);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
  color: #f8fafc;
}

.plan-price-note {
  margin: 0;
  padding: 0;
  font-size: var(--fs-caption);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-align: center;
  color: rgba(148, 163, 184, 0.88);
}

.plan-price-note--empty {
  min-height: 1.3em;
  visibility: hidden;
  user-select: none;
}

.plan-price-note-prefix {
  color: rgba(148, 163, 184, 0.75);
  font-weight: 500;
  font-size: 11px;
}

.plan-price-note-value {
  color: var(--green-accent);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
}

.plan-price span {
  font-size: var(--fs-body);
  color: #94a3b8;
  font-weight: 500;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
  flex: 1 1 auto;
}

.price-card ul li {
  color: #dbe4f3;
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
  font-size: var(--btn-font-size);
  line-height: 1.55;
}

.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #57e49f;
}

.price-btn,
.btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: auto;
  padding: var(--btn-padding-y) var(--btn-padding-x-secondary);
  border-radius: var(--radius-pill);
  font-size: var(--btn-font-size);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-strong);
  color: rgba(245, 247, 251, 0.95);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.22s ease,
    filter 0.22s ease;
}

@media (hover: hover) {
  .price-btn:hover,
  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(147, 197, 253, 0.32);
    box-shadow: var(--shadow-price-secondary-hover);
    transform: scale(1.02);
    filter: brightness(1.05);
  }
}

.price-card.featured .price-btn,
.price-card.featured .btn-secondary {
  background: linear-gradient(135deg, #2563eb, #4f8cff);
  border: none;
  color: #fff;
  box-shadow: var(--shadow-price-featured-btn);
}

@media (hover: hover) {
  .price-card.featured .price-btn:hover,
  .price-card.featured .btn-secondary:hover {
    box-shadow: var(--shadow-price-featured-btn-hover);
    transform: scale(1.02);
    filter: brightness(1.06);
  }
}

/* FAQ MINI */
.faq-list {
  max-width: min(100%, 52rem);
  margin: 0 auto;
  display: grid;
  gap: var(--space-2);
}

.faq-item {
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: #edf2fb;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item.is-open {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.045);
}

.faq-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2) var(--space-3);
  margin: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: #ffffff;
}

.faq-trigger:focus-visible {
  outline: 2px solid rgba(96,165,250,0.75);
  outline-offset: 2px;
}

.faq-question-text {
  flex: 1;
  font-size: var(--btn-font-size);
  font-weight: 600;
  line-height: 1.45;
}

.faq-chevron {
  flex-shrink: 0;
  font-size: 18px;
  color: #8b9ab8;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: #a8c4ff;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-panel-inner p {
  margin: 0;
  padding: 0 var(--space-3) var(--space-2);
  color: rgba(174, 184, 204, 0.92);
  font-size: var(--btn-font-size);
  line-height: var(--leading-relaxed);
}

.faq-panel-inner a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-panel-inner a:hover {
  color: #bfdbfe;
}

/* FOOTER */
.footer {
  max-width: none;
  margin: 0;
  padding: var(--space-3) 0 var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--space-3);
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

a.footer-logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.footer p {
  color: rgba(152, 165, 187, 0.92);
  font-size: var(--fs-nav);
  line-height: 1.65;
  margin: 0;
  max-width: min(100%, var(--text-measure-sm));
}

.footer h4 {
  margin: 0 0 var(--space-2);
  font-size: var(--btn-font-size);
  font-weight: 600;
}

.footer a {
  display: block;
  color: #b9c3d7;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-contact-col .footer-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d9e4f5;
}

.footer-contact-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.8;
  color: #c8d8f0;
}

.footer-contact-col .footer-contact-link.footer-contact-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  background: #25d366;
  color: #f8fafc;
  padding: 6px 11px;
  border-radius: 10px;
  font-size: var(--fs-nav);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: var(--shadow-wa);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.footer-contact-col .footer-contact-link.footer-contact-wa:hover {
  background: #20bd5a;
  color: #fff;
  box-shadow: var(--shadow-wa-hover);
}

.footer-contact-col .footer-contact-link.footer-contact-wa .footer-contact-icon--wa {
  opacity: 1;
  color: #fff;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-contact-col .footer-contact-link.footer-contact-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  background: #229ed9;
  color: #f8fafc;
  padding: 6px 11px;
  border-radius: 10px;
  font-size: var(--fs-nav);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.footer-contact-col .footer-contact-link.footer-contact-tg:hover {
  background: #1e8bc4;
  color: #fff;
  box-shadow: 0 6px 18px rgba(34, 158, 217, 0.45);
}

.footer-contact-col .footer-contact-link.footer-contact-tg .footer-contact-icon--tg {
  opacity: 1;
  color: #fff;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  color: #8694ab;
  font-size: var(--fs-nav);
}

.footer-copyright {
  flex-shrink: 0;
}

.footer-payment {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: flex-end;
}

.footer-payment-label {
  color: #8694ab;
  font-size: 14px;
  white-space: nowrap;
}

.footer-payment-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-payment-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #c5cedd;
  line-height: 1;
}

.footer-payment-badge--visa {
  background: rgba(59, 130, 246, 0.09);
  color: #aabdd4;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.11) inset;
}

.footer-payment-badge--mc {
  background: rgba(220, 95, 70, 0.07);
  color: #cbc4bf;
  box-shadow: 0 0 0 1px rgba(200, 110, 85, 0.1) inset;
}

.footer-payment-badge--paypal {
  background: linear-gradient(145deg, #2563eb 0%, #3b82f6 55%, #60a5fa 100%);
  color: #eff6ff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 2px 14px rgba(59, 130, 246, 0.42),
    0 0 24px rgba(59, 130, 246, 0.22);
}

@media (max-width: 1100px) {
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    padding-top: var(--space-3);
    gap: var(--space-3);
  }

  .pricing-grid .price-card.featured {
    order: -1;
  }

  .price-card.featured {
    transform: scale(1.02);
  }
}

@media (max-width: 820px) {
  .plan-price {
    font-size: 32px;
  }

  .plan-price-note:not(.plan-price-note--empty) {
    font-size: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-payment {
    justify-content: flex-start;
    width: 100%;
  }
}
