/* ============================================================
   YESTUBERS 2026 — Premium Redesign
   Direction: "Premium SaaS minimaliste" (Linear / Stripe / Vercel)
   - Fond blanc propre, accents subtils
   - Typographie Inter, hiérarchie forte
   - Couleur primaire: indigo profond
   - Cards douces, micro-interactions
   - Zéro emoji — SVG trait fin partout
   - Pricing orienté VALEUR (pas rareté agressive)
   ============================================================ */

:root {
  /* Palette premium */
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --primary: #4f46e5;          /* indigo profond */
  --primary-hover: #4338ca;
  --primary-soft: #eef2ff;
  --primary-border: #c7d2fe;
  --accent: #0ea5e9;
  --success: #10b981;
  --danger: #ef4444;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
  --shadow: 0 4px 20px rgba(15,23,42,0.07);
  --shadow-lg: 0 20px 50px rgba(15,23,42,0.12);
  --max-width: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --transition: all .2s cubic-bezier(.4,0,.2,1);
  --gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --gradient-soft: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-container { height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo-icon { width: 30px; height: 30px; }
.nav-links a { font-weight: 500; font-size: 0.92rem; }
.nav-links .btn-primary {
  background: var(--text);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
}
.nav-links .btn-primary:hover { background: var(--primary); transform: translateY(-1px); }
.nav-links .btn-login { color: var(--text); font-weight: 600; }

/* ===== HERO ===== */
.hero {
  padding: 72px 0 56px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(79,70,229,0.08), transparent),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}
.hero-badge {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  font-weight: 600;
}
.hero-badge .pulse { background: var(--success); }
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 760px;
}
.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; }

/* ===== CONVERTER CARD ===== */
.converter-card {
  max-width: 640px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(15,23,42,0.10);
  background: #fff;
}
.converter-tabs { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.tab-btn {
  flex: 1;
  padding: 14px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.tab-btn.active { color: var(--text); background: #fff; }
.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.converter-body { padding: 28px; }
.input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 6px 6px 14px;
  transition: var(--transition);
}
.input-wrapper:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,0.10); }
.input-wrapper input { flex: 1; border: none; background: transparent; padding: 12px 4px; font-size: 1rem; outline: none; color: var(--text); }
.paste-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.paste-btn:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.btn-download {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(79,70,229,0.25);
}
.btn-download:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(79,70,229,0.35); }

/* ===== TRUST BAR ===== */
.trust-bar { gap: 28px; color: var(--text-muted); font-size: 0.84rem; }
.trust-bar svg { color: var(--success); }

/* ===== SOCIAL PROOF ===== */
.social-proof-strip { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.social-proof-grid .stat { font-size: 1.6rem; font-weight: 800; color: var(--text); }
.social-proof-grid .stat span { color: var(--text-muted); }

/* ===== FEATURES ===== */
.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-border); }
.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--primary);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* ===== PLATFORMS ===== */
.platform-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.platform-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.platform-icon { width: 40px; height: 40px; color: var(--primary); }
.platform-name { font-weight: 700; font-size: 0.92rem; }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.faq-question { font-weight: 600; font-size: 1rem; }
.faq-question span { color: var(--primary); font-weight: 700; }

/* ===== FOOTER ===== */
.main-footer { background: #0f172a; color: #e2e8f0; border-top: none; padding: 56px 0 32px; }
.main-footer .logo span { color: #fff; }
.main-footer p { color: #94a3b8; }
.footer-links h4 { color: #64748b; }
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); color: #64748b; }

/* ===== BUTTONS ===== */
.btn-primary, .btn-cta {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79,70,229,0.2);
}
.btn-primary:hover, .btn-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(79,70,229,0.3); }
.btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--surface); border-color: var(--border-strong); }

/* ===== SECTION HEADERS ===== */
.section-header h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.02em; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ===== PRICING — orienté valeur, pas rareté ===== */
.pricing-hero { background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); }
.pricing-hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.pricing-hero h1 .accent { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pricing-hero p.sub { color: var(--text-muted); font-size: 1.05rem; }
.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 12px 40px rgba(79,70,229,0.15);
  transform: scale(1.02);
}
.popular-tag {
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.btn-plan.primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 14px rgba(79,70,229,0.2); }
.btn-plan.primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-plan.secondary { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-plan.secondary:hover { background: var(--surface); }

/* Masquer les éléments de rareté agressifs */
.top-urgency { display: none !important; }
.scarcity-row { display: none !important; }

/* Sticky CTA — discret et pro */
#yt-sticky-cta {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(15,23,42,0.06);
}
#yt-sticky-cta .yt-sticky-btn {
  background: var(--text);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 11px 20px;
}
#yt-sticky-cta .yt-sticky-btn:hover { background: var(--primary); }

/* Sticky CTA mobile — pilule flottante compacte */
@media (max-width: 640px) {
  #yt-sticky-cta {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 14px;
    width: auto;
    max-width: calc(100% - 28px);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 8px 8px 18px;
    box-shadow: 0 8px 30px rgba(15,23,42,0.15);
  }
  #yt-sticky-cta .yt-sticky-content {
    flex-direction: row;
    text-align: left;
    gap: 10px;
    white-space: nowrap;
  }
  #yt-sticky-cta .yt-sticky-text { font-size: 0.82rem; }
  #yt-sticky-cta .yt-sticky-btn {
    width: auto;
    padding: 9px 16px;
    font-size: 0.82rem;
    border-radius: 999px;
  }
  body { padding-bottom: 76px; }
}

/* ===== AUTH ===== */
.auth-card { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.6rem; letter-spacing: -0.02em; }
.auth-form .btn-primary { background: var(--gradient); }

/* ===== HERO TRUST CHIPS ===== */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px 0 6px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.trust-chip svg { width: 15px; height: 15px; color: var(--primary); flex-shrink: 0; }

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-num {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.2rem;
}
.step-card h3 { font-size: 1.05rem; margin: 0 0 8px; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ===== TESTIMONIALS ===== */
.tcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tstars { color: #f59e0b; font-size: 0.95rem; letter-spacing: 2px; }
.ttext { font-size: 0.92rem; line-height: 1.55; color: var(--text); margin: 0; }
.tauthor { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.tavatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.tname { font-weight: 700; font-size: 0.9rem; }
.trole { font-size: 0.78rem; color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: clamp(1.8rem, 6.5vw, 2.4rem); }
  .section { padding: 44px 0; }
  .pricing-card.popular { transform: none; }
  /* Comparatif mobile visible */
  .compare-section { display: block !important; }
  .compare-card { display: none !important; }
  .compare-mobile { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 520px; margin: 0 auto; }
  .compare-mobile-card { border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: #fff; box-shadow: var(--shadow-sm); }
  .compare-mobile-card.popular { border-color: var(--primary); background: var(--primary-soft); position: relative; }
  .compare-mobile-card h4 { font-size: 1rem; font-weight: 800; margin: 0 0 10px; text-align: center; }
  .compare-mobile-card ul { list-style: none; margin: 0; padding: 0; font-size: 0.82rem; display: flex; flex-direction: column; gap: 6px; }
  .compare-mobile-card li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); }
  .compare-mobile-card li:last-child { border-bottom: none; }
  .compare-mobile-card li span:first-child { color: var(--text-muted); }
  .compare-mobile-card .yes { color: var(--success); font-weight: 700; }
  .compare-mobile-card .no { color: var(--text-light); }
}
@media (max-width: 640px) {
  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: clamp(1.6rem, 7.5vw, 2rem); }
  .hero-subtitle { font-size: 0.98rem; }
  .converter-body { padding: 20px; }
  .feature-card { padding: 20px 16px; }
  .pricing-card { padding: 22px 18px; }
  .compare-mobile { grid-template-columns: 1fr; }
}
