/* ==========================================
   FEUILLE DE STYLE PREMIUM ET SCOPED (WordPress Ready)
   PrepAI Landing Page — scoped under .ec-landing-page
   ========================================== */

body.ec-landing-page-body,
body.ec-landing-page-body *,
body.ec-landing-page-body *::before,
body.ec-landing-page-body *::after {
  box-sizing: border-box;
}

.ec-landing-page {
      --primary: #2563eb;
      --secondary: #7c3aed;
      --accent: #d4af37; /* Or Institutionnel */
      --danger: #dc2626;
      --success: #10b981;
      --warning: #f59e0b;
      --gradient-ai: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
      --gradient-ai-hover: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
      --bg-dark: #050a18;
      --bg-card: #0b1329;
      --bg-light: #f8fafc;
      --bg-zinc: #f1f5f9;
      --text-dark: #0f172a;
      --text-muted: #475569;
      --glass-border: rgba(255, 255, 255, 0.08);
      --radius-lg: 24px;
      --radius-md: 14px;
      --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
      --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
      
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--text-dark);
      line-height: 1.6;
      background-color: #ffffff;
    }

    /* Structures de section */
    .ec-landing-page section {
      padding: 100px 24px;
      position: relative;
      overflow: hidden;
    }

    .ec-container {
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
    }

    .ec-landing-page p, 
    .ec-zigzag-content p, 
    .ec-problem-card p, 
    .founder-vision p,
    .step-desc {
      text-align: justify;
    }

    /* Grilles adaptatives */
    .ec-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .ec-grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }

    @media (max-width: 991px) {
      .ec-landing-page section { padding: 70px 16px; }
      .ec-grid-2, .ec-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 36px;
      }
    }

    /* BARRE OUTILS DE SIMULATION (DÉMO CONTINUE) */
    .prepai-demo-bar {
      background-color: #020617;
      border-bottom: 2px solid var(--accent);
      color: white;
      padding: 14px 20px;
      font-size: 0.85rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 15px;
      position: sticky;
      top: 80px;
      z-index: 998;
    }

    .prepai-demo-toggles {
      display: flex;
      gap: 10px;
    }

    .prepai-demo-btn {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #94a3b8;
      padding: 6px 14px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 0.78rem;
      font-weight: 700;
      transition: all 0.2s ease;
    }

    .prepai-demo-btn.active {
      background-color: var(--accent);
      color: var(--bg-dark);
      border-color: var(--accent);
    }

    /* MENU DE NAVIGATION FIXE */
    .ec-header {
      background: rgba(5, 10, 24, 0.9);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 10070;
      padding: 16px 24px;
    }

    .ec-header-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      min-width: 0;
      width: 100%;
    }

    .ec-header-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      min-width: 0;
      width: 100%;
    }

    .ec-header-menu {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 28px;
      flex: 1;
      min-width: 0;
    }

    .ec-mobile-nav,
    .ec-mobile-nav-backdrop {
      display: none;
    }

    @media (min-width: 992px) {
      .ec-header-menu {
        flex: 1;
        justify-content: flex-end;
      }
    }

    .ec-nav-toggle {
      display: none;
      flex-shrink: 0;
      width: 44px;
      height: 44px;
      padding: 10px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.06);
      cursor: pointer;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      margin-left: auto;
    }

    .ec-nav-toggle span {
      display: block;
      height: 2px;
      background: #fff;
      border-radius: 2px;
      transition: transform 0.2s, opacity 0.2s;
    }

    .ec-header.nav-open .ec-nav-toggle span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .ec-header.nav-open .ec-nav-toggle span:nth-child(2) {
      opacity: 0;
    }

    .ec-header.nav-open .ec-nav-toggle span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .ec-logo {
      font-size: 1.4rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: white;
      text-decoration: none;
    }

    .ec-nav {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
    }

    .ec-nav-link {
      color: #94a3b8;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 600;
      transition: color 0.2s ease;
    }

    .ec-nav-link:hover { color: #ffffff; }

    .header-action-group {
      display: flex;
      align-items: center;
      gap: 15px;
      flex-shrink: 0;
      flex-wrap: wrap;
    }

    .ec-btn-login {
      background: none;
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: white;
      padding: 10px 22px;
      border-radius: 50px;
      font-weight: 700;
      font-size: 0.85rem;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .ec-btn-login:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: white;
    }

    /* BOUTONS GENERIQUES */
    .ec-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--gradient-ai);
      color: #ffffff;
      text-decoration: none;
      padding: 18px 36px;
      font-size: 1.05rem;
      font-weight: 800;
      border-radius: 50px;
      box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      cursor: pointer;
      text-align: center;
      border: none;
    }

    .ec-btn:hover {
      background: var(--gradient-ai-hover);
      transform: translateY(-2px);
      box-shadow: 0 15px 30px rgba(37, 99, 235, 0.35);
    }

    /* HERO SECTION */
    .ec-hero {
      background: var(--bg-dark);
      color: #ffffff;
      padding-top: 140px !important;
      padding-bottom: 110px !important;
    }

    .ec-spotlight {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.12) 0%, rgba(0,0,0,0) 65%);
      pointer-events: none;
      z-index: 1;
    }

    .ec-hero-text {
      position: relative;
      z-index: 2;
      min-width: 0;
      max-width: 100%;
    }

    .ec-hero-badge {
      display: inline-flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      padding: 8px 18px;
      border-radius: 50px;
      font-size: 0.8rem;
      font-weight: 700;
      color: #60a5fa;
      margin-bottom: 24px;
    }

    .ec-hero h1 {
      font-size: 3.2rem;
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.03em;
      margin-bottom: 24px;
      background: linear-gradient(135deg, #ffffff 40%, #93c5fd 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .ec-hero p {
      font-size: 1.15rem;
      color: #94a3b8;
      margin-bottom: 36px;
      font-weight: 500;
    }

    @media (max-width: 767px) {
      .ec-hero h1 { font-size: 2.2rem; }
    }

    /* SECTION : LES DÉFIS DE LA SÉLECTION */
    .ec-problem {
      background: #ffffff;
      text-align: center;
    }

    .ec-section-title {
      font-size: 2.4rem;
      font-weight: 800;
      margin-bottom: 16px;
      letter-spacing: -0.02em;
    }

    .ec-section-subtitle {
      font-size: 1.1rem;
      color: var(--text-muted);
      margin-bottom: 56px;
      max-width: 750px;
    }

    .ec-problem-card {
      background: var(--bg-light);
      border: 1px solid rgba(15, 23, 42, 0.06);
      border-radius: var(--radius-lg);
      padding: 40px 32px;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      transition: all 0.3s ease;
    }

    .ec-problem-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-sm);
    }

    .ec-problem-icon-wrapper {
      font-size: 2.5rem;
      margin-bottom: 20px;
    }

    .ec-problem-card h3 {
      font-size: 1.25rem;
      font-weight: 800;
      margin-bottom: 12px;
      text-align: center;
      width: 100%;
    }

    .ec-icon-wrapper {
      width: 100%;
      max-width: 100%;
      margin: 0 0 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .ec-problem-icon-img {
      width: 100%;
      max-width: 100%;
      height: auto;
      max-height: 200px;
      object-fit: contain;
      object-position: center;
      display: block;
    }

    @media (max-width: 991px) {
      .ec-problem-card {
        padding: 28px 22px;
      }

      .ec-problem-icon-img {
        max-height: 180px;
      }
    }

    @media (max-width: 560px) {
      .ec-problem-card {
        padding: 24px 18px;
      }

      .ec-problem-icon-img {
        max-height: 150px;
      }
    }

    /* Fonctionnalités zig-zag */
    .ec-features {
      background: var(--bg-light);
    }

    .ec-zigzag-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
      margin-bottom: 80px;
      text-align: left;
    }

    .ec-zigzag-row:last-child { margin-bottom: 0; }

    .ec-zigzag-row.reverse { direction: rtl; }
    .ec-zigzag-row.reverse > * { direction: ltr; }

    @media (max-width: 991px) {
      .ec-zigzag-row,
      .ec-zigzag-row.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        direction: ltr;
        margin-bottom: 56px;
      }
    }

    .ec-solution-tag {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--primary);
      margin-bottom: 10px;
    }

    .ec-zigzag-content h3 {
      font-size: 1.65rem;
      font-weight: 800;
      margin: 0 0 14px;
      color: var(--text-dark);
    }

    .ec-zigzag-content p {
      color: var(--text-muted);
      margin: 0;
    }

    .storyset-container {
      display: flex;
      justify-content: center;
      align-items: center;
      max-width: 420px;
      margin: 0 auto;
    }

    .storyset-img {
      width: 100%;
      height: auto;
      object-fit: contain;
      animation: float-soft 6s ease-in-out infinite;
    }

    @keyframes float-soft {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }

    .ec-zigzag-row:nth-child(even) .storyset-img {
      animation-delay: 1.5s;
    }

    /* Témoignages */
    .ec-testimonials {
      background: var(--bg-zinc);
    }

    .ec-testimonials-grid {
      margin-top: 8px;
    }

    .ec-testimonial-card {
      background: #fff;
      border: 1px solid rgba(15, 23, 42, 0.06);
      border-radius: var(--radius-lg);
      padding: 28px 24px;
      text-align: left;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 100%;
      box-shadow: var(--shadow-sm);
    }

    .ec-testimonial-card p {
      margin: 0;
      color: var(--text-muted);
      font-size: 0.95rem;
      text-align: left;
    }

    .ec-testimonial-user {
      margin-top: 20px;
      padding-top: 16px;
      border-top: 1px solid var(--bg-zinc);
      font-weight: 800;
      font-size: 0.85rem;
      color: var(--text-dark);
    }

    /* Fondateur — effet ripple */
    .founder-card--ripple {
      max-width: 960px;
      margin: 0 auto;
      align-items: center;
    }

    .founder-image-container {
      position: relative;
      width: 260px;
      height: 260px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .founder-card--ripple .founder-img-wrapper {
      position: relative;
      z-index: 5;
      width: 220px;
      height: 220px;
      border: 4px solid #fff;
      box-shadow: var(--shadow-lg);
      background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    }

    .founder-image-container::before,
    .founder-image-container::after {
      content: '';
      position: absolute;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      border: 2px solid rgba(37, 99, 235, 0.35);
      animation: founder-ripple 3s infinite cubic-bezier(0.1, 0.8, 0.3, 1);
      opacity: 0;
      z-index: 1;
    }

    .founder-image-container::after {
      animation-delay: 1.5s;
      border-color: rgba(124, 58, 237, 0.35);
    }

    @keyframes founder-ripple {
      0% { transform: scale(1); opacity: 0.75; }
      100% { transform: scale(1.35); opacity: 0; }
    }

    .founder-card--ripple .founder-vision {
      text-align: left;
    }

    .founder-card--ripple .founder-vision p {
      text-align: justify;
    }

    /* Bandeau paiement au-dessus des cartes */
    .ec-pricing-trust {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 12px 16px;
      margin: 0 auto 32px;
      padding: 16px 24px;
      max-width: 640px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
    }

    .ec-pricing-trust-secure {
      font-size: 0.82rem;
      color: #94a3b8;
      font-weight: 600;
    }

    @keyframes slideInUp {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* 15 PHASES : TIMELINE D'ADMISSION */
    .ec-workflow {
      background: var(--bg-light);
    }

    .workflow-timeline {
      position: relative;
      max-width: 900px;
      margin: 50px auto 0 auto;
      padding-left: 30px;
      border-left: 2px solid rgba(37, 99, 235, 0.2);
    }

    .workflow-step {
      position: relative;
      margin-bottom: 40px;
    }

    .step-marker {
      position: absolute;
      left: -41px;
      top: 0;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: white;
      border: 4px solid var(--primary);
      z-index: 2;
    }

    .step-content {
      background: white;
      padding: 24px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      border: 1px solid rgba(0,0,0,0.04);
    }

    .step-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      flex-wrap: wrap;
      gap: 10px;
    }

    .step-number {
      font-size: 0.8rem;
      font-weight: 800;
      color: var(--primary);
      text-transform: uppercase;
    }

    .step-badge {
      background: rgba(124, 58, 237, 0.1);
      color: #7c3aed;
      padding: 4px 10px;
      border-radius: 4px;
      font-size: 0.72rem;
      font-weight: 700;
    }

    .step-title {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--text-dark);
      margin: 0 0 8px 0;
    }

    /* WORKSPACE APPLICATIF SAAS (SANDBOX INTERACTIVE) */
    .dashboard-sandbox {
      background: #090f22;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      color: white;
      margin-top: 40px;
    }

    .sandbox-topbar {
      background: #050a17;
      padding: 16px 24px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .sandbox-brand {
      font-weight: 800;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .sandbox-dot {
      width: 8px; height: 8px; border-radius: 50%; background: var(--success);
    }

    .sandbox-app-grid {
      display: grid;
      grid-template-columns: 260px 1fr;
      min-height: 580px;
    }

    @media (max-width: 991px) {
      .sandbox-app-grid { grid-template-columns: 1fr; }
      .sandbox-sidebar { display: flex; flex-direction: row; overflow-x: auto; padding: 12px; }
    }

    .sandbox-sidebar {
      background: #060b19;
      border-right: 1px solid rgba(255,255,255,0.06);
      padding: 24px 12px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .sidebar-menu-btn {
      width: 100%;
      background: none;
      border: none;
      color: #94a3b8;
      padding: 12px 16px;
      text-align: left;
      font-weight: 700;
      font-size: 0.85rem;
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .sidebar-menu-btn.active {
      background: rgba(37, 99, 235, 0.15);
      color: #60a5fa;
    }

    .sidebar-menu-btn:hover:not(.active) {
      background: rgba(255,255,255,0.03);
      color: white;
    }

    .sandbox-main {
      padding: 32px;
      background: #090f22;
      position: relative;
    }

    .sandbox-tab-content { display: none; }
    .sandbox-tab-content.active { display: block; }

    .sandbox-section-title {
      font-size: 1.4rem;
      font-weight: 800;
      margin-bottom: 8px;
    }

    .sandbox-section-desc {
      font-size: 0.9rem;
      color: #94a3b8;
      margin-bottom: 24px;
    }

    /* Renders spécifiques d'outils interactifs */
    .sandbox-form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 20px;
    }

    .sandbox-form-group label {
      font-size: 0.85rem;
      font-weight: 700;
      color: #94a3b8;
    }

    .sandbox-textarea {
      background: #0e172e;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: var(--radius-md);
      padding: 14px;
      color: white;
      font-size: 0.9rem;
      resize: none;
      height: 110px;
      outline: none;
      transition: border-color 0.2s;
    }

    .sandbox-textarea:focus { border-color: var(--primary); }

    .sandbox-btn-ai {
      background: var(--gradient-ai);
      border: none;
      color: white;
      padding: 14px 24px;
      border-radius: 8px;
      font-weight: 800;
      font-size: 0.85rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }

    .sandbox-ai-output {
      margin-top: 20px;
      background: rgba(255,255,255,0.02);
      border-left: 4px solid var(--accent);
      padding: 20px;
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      font-size: 0.85rem;
      display: none;
    }

    /* Simulateur d'écrit Belgique (Anti-Triche UI) */
    .triche-wrapper {
      background: #0d1527;
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: var(--radius-md);
      padding: 20px;
    }

    .triche-indicator-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15px;
      margin-bottom: 15px;
    }

    .triche-badge {
      background: rgba(255,255,255,0.04);
      padding: 10px;
      border-radius: 8px;
      font-size: 0.8rem;
      text-align: center;
      border: 1px solid rgba(255,255,255,0.05);
    }

    .triche-badge-alert {
      border-color: var(--danger);
      color: #fca5a5;
    }

    /* Simulateur Oral Visio (Gemini Live) */
    .visio-simulator {
      background: #050a17;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.05);
      position: relative;
    }

    .visio-screen {
      height: 380px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .visio-examiner-frame {
      width: 150px; height: 150px; border-radius: 50%;
      background: #1e293b; border: 4px solid #ffffff;
      box-shadow: 0 0 20px rgba(255,255,255,0.15);
      overflow: hidden;
      position: relative;
      z-index: 5;
    }

    .visio-examiner-frame.active-speaker {
      border-color: var(--primary);
      animation: visio-pulse-examiner 2s infinite ease-in-out;
    }

    @keyframes visio-pulse-examiner {
      0% { box-shadow: 0 0 0 0px rgba(37, 99, 235, 0.4); }
      70% { box-shadow: 0 0 0 20px rgba(37, 99, 235, 0); }
      100% { box-shadow: 0 0 0 0px rgba(37, 99, 235, 0); }
    }

    .visio-examiner-img { width: 100%; height: 100%; object-fit: cover; }

    .visio-selfie-frame {
      position: absolute;
      bottom: 20px; right: 20px;
      width: 95px; height: 95px; border-radius: 50%;
      background: #1e293b; border: 3px solid white;
      overflow: hidden;
      z-index: 10;
      box-shadow: var(--shadow-lg);
    }

    .visio-selfie-frame.active-speaker {
      border-color: var(--accent);
      animation: visio-pulse-selfie 2s infinite ease-in-out;
    }

    @keyframes visio-pulse-selfie {
      0% { box-shadow: 0 0 0 0px rgba(212, 175, 55, 0.4); }
      70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
      100% { box-shadow: 0 0 0 0px rgba(212, 175, 55, 0); }
    }

    .visio-wave-container {
      position: absolute;
      bottom: 30px; left: 50%; transform: translateX(-50%);
      display: flex; gap: 4px; height: 30px; align-items: flex-end;
      z-index: 6;
    }

    .visio-wave-bar {
      width: 3px; background-color: var(--primary);
      animation: visio-bar-dance 1.2s infinite ease-in-out;
    }

    .visio-wave-bar:nth-child(2) { height: 15px; animation-delay: 0.1s; }
    .visio-wave-bar:nth-child(3) { height: 25px; animation-delay: 0.2s; }
    .visio-wave-bar:nth-child(4) { height: 10px; animation-delay: 0.3s; }
    .visio-wave-bar:nth-child(5) { height: 20px; animation-delay: 0.4s; }

    @keyframes visio-bar-dance {
      0%, 100% { transform: scaleY(1); }
      50% { transform: scaleY(2.5); }
    }

    .visio-controls {
      background: #050a17; padding: 20px;
      display: flex; justify-content: space-between; align-items: center;
      border-top: 1px solid rgba(255,255,255,0.05);
      flex-wrap: wrap;
      gap: 15px;
    }

    /* GRILLE COMPARATIVE */
    .comparison-table-wrapper {
      max-width: 900px;
      margin: 0 auto;
      overflow-x: auto;
      border: 1px solid rgba(0,0,0,0.08);
      border-radius: var(--radius-lg);
      background: #ffffff;
      box-shadow: var(--shadow-sm);
    }

    .comparison-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }

    .comparison-table th, .comparison-table td {
      padding: 20px 24px;
      border-bottom: 1px solid rgba(0,0,0,0.08);
    }

    .comparison-table th {
      background: var(--bg-zinc);
      font-weight: 800;
      color: var(--text-dark);
      font-size: 0.95rem;
    }

    .comparison-table td {
      font-size: 0.9rem;
      font-weight: 600;
    }

    .feature-name {
      font-weight: 800;
      color: var(--text-dark);
    }

    .feature-check { color: var(--success); font-weight: 800; }
    .feature-cross { color: var(--danger); font-weight: 800; }

    /* SECTION CRÉATEUR / VISIONNAIRE */
    .founder-section {
      background: var(--bg-light);
    }

    .founder-card {
      background: white;
      border: 1px solid rgba(0,0,0,0.05);
      border-radius: var(--radius-lg);
      padding: 48px;
      box-shadow: var(--shadow-sm);
    }

    .founder-img-wrapper {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      overflow: hidden;
      border: 4px solid var(--primary);
      margin: 0 auto;
    }

    .founder-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .founder-vision h3 {
      font-size: 1.6rem;
      font-weight: 800;
      margin-bottom: 6px;
    }

    .founder-title {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 20px;
      text-transform: uppercase;
    }

    .founder-link {
      display: inline-block;
      margin-top: 15px;
      color: var(--secondary);
      font-weight: 800;
      text-decoration: none;
    }

    /* TARIFS ET PAIEMENTS CONTROLES */
    .ec-pricing {
      background: var(--bg-dark);
      color: #ffffff;
      text-align: center;
    }

    .ec-pricing-card {
      background: rgba(255, 255, 255, 0.03);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 24px;
      max-width: 480px;
      margin: 48px auto 0 auto;
      padding: 48px;
      text-align: left;
    }

    .ec-pricing-header {
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding-bottom: 24px;
      margin-bottom: 32px;
    }

    .ec-pricing-name {
      font-size: 1rem;
      font-weight: 800;
      color: #60a5fa;
      margin-bottom: 12px;
    }

    .ec-pricing-price {
      display: flex;
      align-items: baseline;
      flex-wrap: wrap;
      gap: 10px;
    }

    .ec-pricing-price--stacked {
      flex-direction: column;
      align-items: flex-start;
      gap: 4px;
    }
    .ec-price-label {
      font-size: 0.8rem;
      font-weight: 700;
      color: #94a3b8;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .ec-pricing-campus-prices {
      display: flex;
      flex-wrap: wrap;
      gap: 16px 24px;
      margin-top: 16px;
      font-size: 0.95rem;
      color: #cbd5e1;
    }
    .ec-pricing-campus-prices strong { color: #fff; }
    .ec-pricing-note {
      margin: 12px 0 0;
      font-size: 0.85rem;
      color: #94a3b8;
    }
    .landing-sandbox-notice {
      max-width: 900px;
      margin: 0 auto 24px;
      padding: 14px 18px;
      border-radius: 12px;
      background: rgba(37, 99, 235, 0.12);
      border: 1px solid rgba(96, 165, 250, 0.35);
      color: #e2e8f0;
      font-size: 0.9rem;
      text-align: center;
    }
    .landing-sandbox-notice a { color: #60a5fa; font-weight: 700; }

    .ec-price-old { font-size: 1.3rem; color: #94a3b8; text-decoration: line-through; font-weight: 700; }
    .ec-price-new { font-size: 2.8rem; font-weight: 800; color: #10b981; }
    .ec-price-badge { background: #10b981; color: #0b1329; padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 800; }

    .ec-pricing-list {
      list-style: none;
      margin-bottom: 32px;
      padding-left: 0;
    }

    .ec-pricing-list li {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      margin-bottom: 20px;
    }

    .pricing-bullet-title {
      font-weight: 800;
      color: #ffffff;
      font-size: 0.95rem;
      display: block;
      margin-bottom: 2px;
    }

    .pricing-bullet-desc {
      font-size: 0.85rem;
      color: #94a3b8;
      display: block;
    }

    /* Grille 4 forfaits + aperçu workspace */
    .ec-pricing-grid--four {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 24px;
      margin-top: 40px;
      text-align: left;
      align-items: stretch;
    }

    @media (max-width: 1200px) {
      .ec-pricing-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 640px) {
      .ec-pricing-grid--four { grid-template-columns: 1fr; }
      .ec-plan-card {
        height: auto;
      }
      .ec-plan-cta {
        margin-top: 16px;
      }
    }

    .ec-plan-card {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      padding: 24px 20px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      min-width: 0;
      height: 100%;
    }

    .ec-plan-card--featured {
      border-color: rgba(96, 165, 250, 0.45);
      box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.2);
    }

    .ec-plan-card--free {
      border-style: dashed;
    }

    .ec-plan-badge {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: #60a5fa;
      margin-bottom: 8px;
    }

    .ec-plan-badge--gold { color: #fbbf24; }

    .ec-plan-title {
      font-size: 1.15rem;
      font-weight: 800;
      color: #fff;
      margin: 0 0 8px;
    }

    .ec-plan-price {
      margin: 0;
      color: #94a3b8;
      font-size: 0.9rem;
    }

    .ec-plan-amount {
      font-size: 1.75rem;
      font-weight: 900;
      color: #fff;
    }

    .ec-plan-features {
      list-style: none;
      padding: 0;
      margin: 0;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 10px;
      font-size: 0.88rem;
      color: #cbd5e1;
    }

    .ec-plan-features li::before {
      content: "✓ ";
      color: #10b981;
      font-weight: 800;
    }

    .ec-plan-muted::before { content: "— " !important; color: #64748b !important; }
    .ec-plan-muted { color: #64748b; }

    .ec-btn--full { width: 100%; text-align: center; text-decoration: none; }
    .ec-btn--outline {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: none;
    }
    .ec-btn--ghost {
      padding: 10px 22px;
      font-size: 0.85rem;
      box-shadow: none;
      text-decoration: none;
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .ec-plan-cta {
      margin-top: auto;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      padding: 12px 14px !important;
      font-size: 0.85rem !important;
      border-radius: 12px !important;
      white-space: normal;
      line-height: 1.35;
    }

    .ec-section-subtitle--center { text-align: center; max-width: 720px; margin: 0 auto 48px; }
    .ec-section-title--center { text-align: center; }
    .ec-section-centered { text-align: center; }
    .ec-section-centered .landing-workspace-preview { text-align: left; }

    .ec-section-title--light { color: #fff; }
    .ec-section-subtitle--light { color: #94a3b8; }
    .ec-pricing-footnote {
      margin-top: 28px;
      font-size: 0.85rem;
      color: #64748b;
      text-align: center;
    }

    .landing-workspace-preview {
      display: grid;
      grid-template-columns: minmax(200px, 260px) 1fr;
      gap: 0;
      margin: 0 auto;
      max-width: 920px;
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }

    .landing-ws-main {
      padding: 32px 36px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      text-align: left;
    }

    .landing-ws-desc {
      color: var(--text-muted);
      margin: 0 0 20px;
      max-width: 480px;
      text-align: left;
    }

    .landing-ws-cta { margin-top: 4px; }

    .founder-card--centered {
      max-width: 960px;
      margin: 0 auto;
      background: #fff;
      border-radius: var(--radius-lg);
      padding: 40px;
      box-shadow: var(--shadow-sm);
      border: 1px solid rgba(15, 23, 42, 0.06);
    }

    .ec-faq .ec-section-title { margin-bottom: 32px; }

    .ec-footer-grid--four {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      margin-bottom: 48px;
      text-align: left;
    }

    @media (max-width: 991px) {
      .ec-footer-grid--four { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 560px) {
      .ec-footer-grid--four { grid-template-columns: 1fr; }
    }

    .ec-footer-about { margin-bottom: 16px; line-height: 1.6; color: #94a3b8; font-size: 0.88rem; }

    .ec-footer-tagline {
      margin: 0 0 14px;
      line-height: 1.55;
      font-size: 0.92rem;
      font-weight: 700;
      color: #e2e8f0;
    }
    .ec-footer-note { font-size: 0.78rem; color: #64748b; }

    .ec-footer-newsletter {
      display: flex;
      gap: 8px;
      margin: 12px 0 8px;
    }

    .ec-footer-newsletter input {
      flex: 1;
      min-width: 0;
      padding: 10px 12px;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      background: rgba(255, 255, 255, 0.06);
      color: #fff;
      font-size: 0.85rem;
    }

    .ec-footer-rgpd-note {
      font-size: 0.72rem;
      color: #64748b;
      line-height: 1.45;
      margin: 0 0 16px;
    }

    .ec-btn--sm {
      padding: 10px 16px !important;
      font-size: 0.82rem !important;
      border-radius: 8px !important;
      box-shadow: none;
    }

    .ec-footer-payments {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding: 24px 0;
      margin-bottom: 24px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .ec-payment-logos {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .ec-pay-badge {
      display: inline-flex;
      align-items: center;
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 0.02em;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #e2e8f0;
    }

    .ec-pay-badge--stripe { border-color: rgba(99, 102, 241, 0.4); color: #a5b4fc; }
    .ec-pay-badge--pawa { border-color: rgba(16, 185, 129, 0.4); color: #6ee7b7; }
    .ec-pay-badge--cards { font-weight: 600; color: #94a3b8; }

    .ec-footer-secure {
      margin: 0;
      font-size: 0.82rem;
      color: #94a3b8;
    }

    .ec-footer-bottom { text-align: center; }
    .ec-footer-copy {
      margin: 0;
      font-size: 0.8rem;
      color: #64748b;
      line-height: 1.6;
    }

    .ec-footer-motto {
      display: block;
      margin-top: 6px;
      font-size: 0.75rem;
      color: #475569;
    }

    .ec-footer-siret {
      display: block;
      margin-top: 6px;
      font-size: 0.75rem;
    }

    .legal-footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px 18px;
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .legal-footer-links a {
      color: #94a3b8;
      font-size: 0.78rem;
      text-decoration: none;
      transition: color 0.15s;
    }

    .legal-footer-links a:hover { color: #e2e8f0; }

    .ec-header--compact { position: relative; }
    .ec-legal-main { padding: 120px 24px 60px; min-height: 50vh; }
    .ec-legal-content {
      max-width: 760px;
      margin: 0 auto;
      text-align: left;
    }

    .ec-legal-content h1 { font-size: 2rem; margin-bottom: 8px; }
    .ec-legal-content h2 { font-size: 1.15rem; margin: 28px 0 10px; }
    .ec-legal-content p, .ec-legal-content li { color: var(--text-muted); text-align: left; }

    .ec-contact-wrap { max-width: 900px; margin: 0 auto; text-align: left; }
    .ec-contact-lead { margin-bottom: 24px; }
    .ec-contact-grid {
      display: grid;
      grid-template-columns: 1fr 280px;
      gap: 32px;
      align-items: start;
    }

    @media (max-width: 768px) {
      .ec-contact-grid { grid-template-columns: 1fr; }
      .ec-legal-main { padding: 96px 16px 48px; }
      .ec-legal-content h1 { font-size: 1.55rem; }
      .ec-legal-content h2 { font-size: 1.05rem; margin-top: 22px; }
      .ec-legal-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }
    }

    .ec-contact-form {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .ec-contact-form label {
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-weight: 600;
      font-size: 0.9rem;
    }

    .ec-contact-form input,
    .ec-contact-form select,
    .ec-contact-form textarea {
      padding: 12px;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      font: inherit;
    }

    .ec-contact-aside {
      background: var(--bg-light);
      border-radius: 12px;
      padding: 20px;
    }

    .ec-contact-alert {
      padding: 12px 16px;
      border-radius: 8px;
      margin-bottom: 20px;
      font-size: 14px;
    }

    .ec-contact-alert.success,
    p.success.ec-contact-alert {
      background: #ecfdf5;
      color: #047857;
      border: 1px solid #a7f3d0;
    }

    .ec-contact-alert.error,
    p.error.ec-contact-alert {
      background: #fef2f2;
      color: #b91c1c;
      border: 1px solid #fecaca;
    }

    .ec-footer-flash {
      padding: 10px 12px;
      border-radius: 8px;
      font-size: 13px;
      margin-bottom: 12px;
    }

    .ec-footer-flash--success {
      background: #ecfdf5;
      color: #047857;
      border: 1px solid #a7f3d0;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      border: 0;
    }

    @media (max-width: 768px) {
      .landing-workspace-preview { grid-template-columns: 1fr; }
      .landing-ws-sidebar {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 16px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
      }
      .landing-ws-brand { width: 100%; margin-bottom: 4px; }
      .landing-ws-group {
        width: 100%;
        margin: 8px 0 4px;
      }
      .landing-ws-item {
        flex: 0 0 auto;
        font-size: 0.72rem;
        padding: 6px 10px;
        white-space: nowrap;
      }
      .landing-ws-main { padding: 24px 20px; }
    }

    .landing-ws-sidebar {
      background: #0e172e;
      padding: 20px 16px;
      border-right: 1px solid rgba(255, 255, 255, 0.06);
    }

    .landing-ws-brand {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
      margin-bottom: 16px;
    }

    .landing-ws-tier {
      font-size: 0.65rem;
      font-weight: 700;
      color: #60a5fa;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .landing-ws-group {
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #64748b;
      margin: 12px 0 6px;
      font-weight: 700;
    }

    .landing-ws-item {
      font-size: 0.8rem;
      padding: 8px 10px;
      border-radius: 8px;
      margin-bottom: 4px;
      color: #94a3b8;
    }

    .landing-ws-item.is-open {
      background: rgba(96, 165, 250, 0.12);
      color: #e2e8f0;
    }

    .landing-ws-item.is-locked { opacity: 0.55; }

    .landing-ws-main h3 {
      margin: 0 0 12px;
      color: var(--text-dark);
    }

    .ec-hero-visual img {
      max-width: 100%;
      height: auto;
      border-radius: var(--radius-lg);
    }

    .prepai-cta-group {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
      width: 100%;
      max-width: 100%;
    }

    .modal-auth-forgot {
      text-align: right;
      margin: -4px 0 12px;
      font-size: 0.85rem;
    }

    .modal-auth-forgot a { color: #60a5fa; }

    .prepai-modal-backdrop.open {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    body.modal-open { overflow: hidden; }

    .profile-free-banner {
      background: rgba(245, 158, 11, 0.12);
      border: 1px solid rgba(245, 158, 11, 0.35);
      border-radius: 12px;
      padding: 16px 20px;
      margin-bottom: 24px;
      color: #fde68a;
      font-size: 0.92rem;
    }

    .profile-free-banner a { color: #93c5fd; font-weight: 700; }

    .bullet-check-icon {
      color: #10b981;
      font-size: 1.1rem;
      font-weight: 900;
    }

    .payment-partners {
      margin-top: 28px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .payment-partner-text {
      font-size: 0.78rem;
      color: #94a3b8;
      font-weight: 600;
    }

    .chariow-logo-wrapper {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.10);
      border-radius: var(--radius-md);
      padding: 8px 24px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      max-width: 240px;
      height: 52px;
    }

    .chariow-logo-img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }

    /* MODALES AUTH ET LOGIQUE FLUIDE */
    .prepai-modal-backdrop {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background-color: rgba(7, 13, 30, 0.85);
      backdrop-filter: blur(8px);
      z-index: 9999;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
      box-sizing: border-box;
    }

    .prepai-modal {
      background-color: white;
      border-radius: var(--radius-lg);
      width: min(100%, 500px);
      max-width: 500px;
      margin: 0 auto;
      padding: 32px 20px 24px;
      position: relative;
      box-shadow: var(--shadow-lg);
      color: var(--text-dark);
      max-height: calc(100dvh - 32px);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .prepai-modal-close {
      position: absolute; top: 14px; right: 14px;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem; background: none; border: none;
      cursor: pointer; color: var(--text-muted);
      border-radius: 8px;
    }

    .modal-auth-tabs {
      display: flex;
      border-bottom: 2px solid rgba(0, 0, 0, 0.05);
      margin: 0 0 24px;
      padding-right: 36px;
    }

    .modal-auth-tab-btn {
      flex: 1;
      min-width: 0;
      padding: 10px 8px;
      border: none;
      background: none;
      font-weight: 800;
      font-size: 0.88rem;
      color: var(--text-muted);
      cursor: pointer;
      text-align: center;
      border-bottom: 2px solid transparent;
      margin-bottom: -2px;
      transition: all 0.2s ease;
      line-height: 1.25;
      white-space: normal;
    }

    .modal-auth-tab-btn.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }

    .modal-form-view { display: none; }
    .modal-form-view.active { display: block; }

    .modal-form-group {
      display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px;
    }

    .modal-form-group label {
      font-size: 0.85rem; font-weight: 700; color: var(--text-muted);
    }

    .modal-input {
      width: 100%; padding: 12px;
      border: 2px solid rgba(15, 23, 42, 0.08);
      border-radius: var(--radius-md);
      font-size: 0.95rem; font-weight: 600; outline: none;
    }

    .modal-input:focus { border-color: var(--primary); }

    .modal-partner-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 15px;
    }

    .modal-partner-card {
      border: 2px solid rgba(0,0,0,0.06);
      border-radius: var(--radius-md); padding: 12px;
      text-align: center; cursor: pointer; font-weight: 800; font-size: 0.85rem;
    }

    .modal-partner-card.active {
      border-color: var(--primary); background: rgba(37,99,235,0.04);
    }

    /* LIVE TICKER */
    .ec-live-ticker {
      position: fixed;
      bottom: 24px;
      left: 24px;
      background: rgba(255, 255, 255, 0.98);
      border: 1px solid rgba(15, 23, 42, 0.1);
      border-radius: var(--radius-md);
      padding: 16px 20px;
      box-shadow: var(--shadow-lg);
      z-index: 9999;
      display: flex;
      align-items: center;
      gap: 12px;
      max-width: 360px;
      animation: slideInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .ticker-pulse {
      width: 10px; height: 10px; border-radius: 50%; background: #10b981; position: relative;
    }

    .ticker-pulse::after {
      content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%;
      background: #10b981; animation: ripple 1.5s infinite; top: 0; left: 0;
    }

    @keyframes ripple {
      0% { transform: scale(1); opacity: 0.8; }
      100% { transform: scale(2.5); opacity: 0; }
    }

    .ticker-text { font-size: 0.8rem; font-weight: 700; color: var(--text-dark); }

    /* FAQ */
    .ec-faq { background: #ffffff; }
    .ec-faq-container { max-width: 850px; margin: 0 auto; }
    .ec-faq-item { border-bottom: 1px solid var(--bg-zinc); padding: 24px 0; }
    .ec-faq-trigger { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; font-weight: 800; cursor: pointer; }
    .ec-faq-icon { font-size: 1.4rem; color: var(--primary); transition: transform 0.3s ease; }
    .ec-faq-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
    .ec-faq-item.active .ec-faq-panel { max-height: 280px; }
    .ec-faq-panel p { padding-top: 16px; font-size: 0.95rem; color: var(--text-muted); text-align: left; }
    .ec-faq-item.active .ec-faq-icon { transform: rotate(45deg); }

    /* FOOTER */
    .ec-footer {
      background: #060a16;
      color: #94a3b8;
      padding: 80px 24px 40px 24px;
      font-size: 0.9rem;
    }

    .ec-footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 60px;
    }

    @media (max-width: 767px) {
      .ec-footer-grid { grid-template-columns: 1fr; gap: 36px; }
    }

    .ec-footer-column h4 { color: #ffffff; font-weight: 800; font-size: 1rem; margin-bottom: 20px; }
    .ec-footer-links { list-style: none; padding-left: 0; }
    .ec-footer-links li { margin-bottom: 12px; }
    .ec-footer-links a { color: #94a3b8; text-decoration: none; }

    .ec-footer-socials {
      display: flex;
      gap: 12px;
      margin-top: 20px;
    }

    .ec-social-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #94a3b8;
      text-decoration: none;
    }

    /* --- Responsive mobile landing --- */
    html:has(body.ec-landing-page-body) {
      overflow-x: hidden;
      max-width: 100%;
    }

    body.ec-landing-page-body {
      overflow-x: hidden;
      max-width: 100%;
      position: relative;
    }

    .ec-landing-page {
      max-width: 100%;
      overflow-x: hidden;
    }

    body.ec-nav-open .ec-landing-page {
      pointer-events: none;
      user-select: none;
    }

    @media (max-width: 991px) {
      .ec-landing-page section { overflow: hidden; }

      .ec-section-title { font-size: 1.85rem; }
      .ec-section-subtitle { font-size: 1rem; margin-bottom: 40px; }

      .ec-hero {
        padding-top: 128px !important;
        padding-bottom: 70px !important;
      }

      .ec-hero-badge {
        margin-top: 8px;
      }

      .ec-hero h1 { font-size: 2rem; }
      .ec-hero p { font-size: 1rem; }

      .ec-btn, .ec-btn-login {
        padding: 14px 24px;
        font-size: 0.95rem;
      }

      .prepai-cta-group {
        flex-direction: column;
        align-items: stretch;
      }

      .prepai-cta-group .ec-btn,
      .prepai-cta-group .ec-btn-login {
        width: 100%;
        max-width: 100%;
      }

      .ec-hero {
        padding-left: 16px !important;
        padding-right: 16px !important;
      }

      .ec-container {
        min-width: 0;
      }

      .landing-workspace-preview {
        grid-template-columns: 1fr;
      }

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

      .ec-header-menu--desktop {
        display: none !important;
      }

      .ec-mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10050;
        background: rgba(2, 6, 23, 0.72);
        border: none;
        padding: 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
      }

      .ec-mobile-nav-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
      }

      .ec-mobile-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        z-index: 10060;
        padding: 88px 20px 28px;
        box-sizing: border-box;
        background: #050a18;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.22s ease, visibility 0.22s ease;
      }

      .ec-mobile-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
      }

      .ec-mobile-nav .ec-nav-link {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        color: #cbd5e1;
        text-decoration: none;
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      }

      .ec-mobile-nav .ec-nav-link:hover {
        color: #ffffff;
      }

      body.ec-nav-open { overflow: hidden; }

      .header-action-group--mobile {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-top: 20px;
        gap: 12px;
        padding: 0;
        box-sizing: border-box;
      }

      .header-action-group--mobile .ec-btn,
      .header-action-group--mobile .ec-btn-login {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 14px 18px;
        font-size: 0.92rem;
        line-height: 1.35;
        white-space: normal;
        text-align: center;
      }

      .header-action-group--mobile .ec-btn-login {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.28);
        color: #ffffff;
        box-shadow: none;
      }

      .header-action-group--mobile .ec-btn {
        background: var(--gradient-ai);
        color: #ffffff;
        border: none;
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
      }

      .header-action-group--mobile .ec-btn:hover,
      .header-action-group--mobile .ec-btn-login:hover {
        transform: none;
      }

      .prepai-modal { padding: 28px 16px 22px; }
      .modal-auth-tabs { padding-right: 32px; }
      .modal-auth-tab-btn { font-size: 0.8rem; padding: 8px 4px; }
      .prepai-modal-close { top: 10px; right: 10px; }
    }

    @media (max-width: 480px) {
      .ec-header { padding: 12px 16px; }
      .ec-hero {
        padding-top: 118px !important;
        padding-bottom: 56px !important;
      }
      .ec-hero h1 { font-size: 1.65rem; }
      .ec-section-title { font-size: 1.55rem; }
      .ec-problem-card { padding: 20px 16px; }
      .ec-plan-amount { font-size: 1.45rem; }
      .ec-plan-card {
        height: auto;
        padding: 20px 16px;
      }
      .ec-plan-cta {
        margin-top: 16px;
        position: static;
      }
      .ec-pricing-grid--four {
        gap: 20px;
      }
      .ec-legal-main { padding: 88px 14px 40px; }
      .ec-legal-content h1 { font-size: 1.35rem; }
      .ec-legal-content p,
      .ec-legal-content li { font-size: 0.92rem; }
    }
