/* ===== Variables couleurs ObjectionLab ===== */
:root {
  --clr-bg: #ffffff;
  --clr-surface: #f8f9fa;
  --clr-dark: #1a1a1a;
  --clr-dark-secondary: #2d2d2d;
  --clr-muted: #6c757d;
  --clr-primary: #ff6b35;
  --clr-primary-dark: #e55a2b;
  --clr-gradient: linear-gradient(135deg, #FFD202, #FF8C02, #FF6B35, #FF4E02);
  --clr-gradient-dark: linear-gradient(135deg, #FFE055, #FFA055, #FF7B4A, #FF6B35);
  --clr-shadow: rgba(26, 26, 26, .12);
  --clr-shadow-light: rgba(26, 26, 26, .06);
  --radius: 16px;
  --transition: .3s ease;
}

/* ===== Reset & base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--clr-dark);
  background: var(--clr-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== Animations ===== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Utility ===== */
.wrapper {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--clr-gradient);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--clr-gradient-dark);
}

.btn--ghost {
  background: transparent;
  border: 2px solid var(--clr-primary);
  color: var(--clr-primary);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--clr-primary);
  color: white;
}

.btn-power {
  background: var(--clr-gradient);
  color: white;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  font-size: 1.1rem;
  padding: 18px 36px;
}

.btn-power:hover {
  transform: translateY(-3px);
  background: var(--clr-gradient-dark);
}

.power-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.gradient-text {
  background: var(--clr-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  background-size: 300% 300%;
  animation: gradientShift 4s ease-in-out infinite;
  will-change: background-position;
}

/* ===== Animations ===== */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
}

/* Pause animations when not in viewport to save performance */
@media (prefers-reduced-motion: reduce) {
  .gradient-text {
    animation: none;
    background-position: 0% 50%;
  }
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { opacity: 0 }
}

@keyframes pulse {
  0% { transform: scale(1) }
  50% { transform: scale(1.05) }
  100% { transform: scale(1) }
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px var(--clr-shadow-light);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 42px;
  width: auto;
}

/* Logo responsive - Desktop par défaut, mobile masqué */
.logo__desktop {
  display: block;
}

.logo__mobile {
  display: none;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-dark);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar__nav {
  display: flex;
  gap: 32px;
}

.navbar__nav a {
  font-weight: 500;
  color: var(--clr-muted);
  transition: var(--transition);
  position: relative;
}

.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-gradient);
  transition: width 0.3s ease;
}

.navbar__nav a:hover {
  color: var(--clr-dark);
}

.navbar__nav a:hover::after {
  width: 100%;
}

/* Hide mobile-only buttons by default on desktop */
.navbar__login-btn--mobile,
.navbar__register-btn--mobile {
  display: none;
}

.navbar__login-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  transition: var(--transition);
  background: transparent;
  border: none;
  color: var(--clr-primary);
  font-weight: 600;
  text-decoration: none;
}

.navbar__login-btn:hover {
  color: var(--clr-primary-dark);
  background-color: rgba(255, 107, 53, 0.1);
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar__burger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 101;
}

.navbar__burger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--clr-dark);
  transition: all .3s ease-in-out;
}

/* Hamburger animation when active */
.navbar__burger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.navbar__burger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__burger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.navbar__cta {
  background: var(--clr-gradient);
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__cta:hover {
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
  min-height: 500px;
}

.hero__text {
  text-align: left;
}

.hero__text h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero__text p {
  color: var(--clr-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--clr-muted);
  margin-bottom: 40px;
}

.hero::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 107, 53, .25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 107, 53, .25) 1px, transparent 1px);
  background-size: 50px 50px;
  mask: radial-gradient(circle at center, rgba(0, 0, 0, .4) 150px, transparent 300px, rgba(0, 0, 0, .2) 500px, rgba(0, 0, 0, .4) 700px, rgba(0, 0, 0, .6) 100%);
  -webkit-mask: radial-gradient(circle at center, rgba(0, 0, 0, .4) 150px, transparent 300px, rgba(0, 0, 0, .2) 500px, rgba(0, 0, 0, .4) 700px, rgba(0, 0, 0, .6) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, transparent 300px, rgba(255, 255, 255, .1) 600px, rgba(255, 255, 255, .3) 800px, rgba(255, 255, 255, .7) 100%);
  pointer-events: none;
}



.hero__imgs {
  position: relative;
  display: flex;
  align-items: center !important;
  justify-content: center;
  min-height: 100%;
  padding-top: 0;
  overflow: hidden;
}

/* ===== Chat ecosystem bubbles ===== */
.chat-ecosystem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  height: 450px;
  position: relative;
  padding: 0 20px;
}

.chat-bubble {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 18px 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  border: 1px solid rgba(0, 0, 0, .06);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
  max-width: 100%;
  position: relative !important;
  width: 100%;
  will-change: transform, opacity;
}

.chat-bubble.visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-bubble.objection {
  background: rgba(255, 255, 255, 0.98);
  border-left: 3px solid #2d2d2d;
}

.chat-bubble.user-response {
  background: rgba(248, 250, 252, 0.98);
  border-left: 3px solid #6c757d;
  transition: transform 0.3s ease;
}

.chat-bubble.user-response.shake {
  animation: shake 0.8s ease-in-out, redFlash 0.8s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0) }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px) }
  20%, 40%, 60%, 80% { transform: translateX(4px) }
}

@keyframes redFlash {
  0% {
    background: rgba(248, 250, 252, 0.95);
    border-left-color: #6c757d;
  }
  20% {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
  }
  40% {
    background: rgba(239, 68, 68, 0.15);
    border-left-color: #dc2626;
  }
  60% {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
  }
  100% {
    background: rgba(248, 250, 252, 0.95);
    border-left-color: #6c757d;
  }
}

.chat-bubble.analysis {
  background: linear-gradient(135deg, rgba(218, 112, 255, 0.03), rgba(86, 163, 255, 0.04), rgba(255, 255, 255, 0.98));
  border-left: 3px solid #DA70FF;
  position: relative;
}

.chat-bubble.analysis::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(218, 112, 255, 0.05), rgba(86, 163, 255, 0.05));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

.chat-bubble.analysis:hover::before {
  opacity: 1;
}

.chat-bubble.feedback {
  background: rgba(248, 250, 252, 0.95);
  border-left: 3px solid #6c757d;
}

.chat-bubble.best-answer {
  background: rgba(255, 255, 255, 0.98);
  border-left: 3px solid #1a1a1a;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.chat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.chat-message {
  font-size: 0.9rem;
  color: var(--clr-dark);
  line-height: 1.4;
  font-weight: 500;
}

.chat-bubble.objection .chat-message {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-dark);
}

.chat-bubble.user-response .chat-message {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-dark);
}

.chat-bubble.analysis .chat-message {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--clr-muted);
}

.chat-bubble.feedback .chat-message {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-dark);
}

.chat-bubble.best-answer .chat-message {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-dark);
}



.chat-step-indicator {
  position: absolute;
  top: -14px;
  right: 16px;
  background: var(--clr-gradient);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(255, 107, 53, .2);
}

.chat-bubble.objection .chat-step-indicator {
  background: #FF4E02;
}

.chat-bubble.user-response .chat-step-indicator {
  background: #FF8C02;
}

.chat-bubble.analysis .chat-step-indicator {
  background: linear-gradient(135deg, #DA70FF, #56A3FF);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 16px rgba(218, 112, 255, .4), 0 0 20px rgba(86, 163, 255, .2);
  z-index: 3;
}

.chat-bubble.analysis .chat-step-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #56A3FF, #DA70FF);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.chat-bubble.analysis .chat-step-indicator:hover::before {
  opacity: 1;
}

.chat-bubble.feedback .chat-step-indicator {
  background: #FF6B35;
}

.chat-bubble.best-answer .chat-step-indicator {
  background: var(--clr-gradient);
}

/* ===== Setup bubbles styles ===== */
.chat-bubble.setup-product,
.chat-bubble.setup-persona,
.chat-bubble.start-training {
  background: rgba(255, 255, 255, 0.98);
  border-left: 3px solid var(--clr-primary);
  margin: 0 auto;
  align-self: center;
}

.chat-bubble.setup-product .chat-step-indicator,
.chat-bubble.setup-persona .chat-step-indicator,
.chat-bubble.start-training .chat-step-indicator {
  background: var(--clr-primary);
}

.product-selector,
.persona-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.product-option,
.persona-option {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--clr-surface);
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.product-option.selected,
.persona-option.selected {
  background: var(--clr-primary);
  color: white;
  border-color: var(--clr-primary);
}

.product-option.custom,
.persona-option.custom {
  background: linear-gradient(135deg, #DA70FF, #56A3FF);
  color: white;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.product-option.custom::before,
.persona-option.custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #56A3FF, #DA70FF);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-option.custom:hover::before,
.persona-option.custom:hover::before {
  opacity: 1;
}

.product-option.custom .persona-name,
.product-option.custom .persona-details,
.persona-option.custom .persona-name,
.persona-option.custom .persona-details {
  position: relative;
  z-index: 2;
}

.product-option:hover,
.persona-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.persona-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.persona-details {
  font-size: 0.75rem;
  opacity: 0.8;
}

.start-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.start-training-btn {
  background: var(--clr-gradient);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  will-change: transform;
}

.start-training-btn:hover {
  transform: translateY(-1px);
}

.start-training-btn svg {
  transition: transform 0.2s ease;
}

.start-training-btn:hover svg {
  transform: translateX(1px);
}

/* ===== Status indicator ===== */
.status-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -60px;
  background: rgba(26, 26, 26, 0.95);
  color: white;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateX(-50%) translateY(5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
  max-width: 200px;
  white-space: nowrap;
  will-change: transform, opacity;
}

.status-indicator.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.status-indicator svg {
  width: 14px;
  height: 14px;
  fill: white;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.status-indicator .status-dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 4px;
}

.status-indicator .status-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.status-indicator .status-dot:nth-child(1) { animation-delay: 0s; }
.status-indicator .status-dot:nth-child(2) { animation-delay: 0.3s; }
.status-indicator .status-dot:nth-child(3) { animation-delay: 0.6s; }

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

/* ===== Sections génériques ===== */
section {
  padding: 100px 0;
}

h2.section__title {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 80px;
  font-weight: 700;
  line-height: 1.2;
}

/* ===== Media queries ===== */
@media(max-width: 992px) {
  .navbar__nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
    gap: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 107, 53, .1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
  }

  .navbar__nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Hide login button from main navbar on mobile */
  .navbar__login-btn {
    display: none;
  }

  /* Add login button inside hamburger menu */
  .navbar__nav .navbar__login-btn--mobile {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    transition: var(--transition);
    background: transparent;
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    font-weight: 600;
    text-decoration: none;
  }

  .navbar__nav .navbar__login-btn--mobile:hover {
    background: var(--clr-primary);
    color: white;
  }

  /* Add register button inside hamburger menu */
  .navbar__nav .navbar__register-btn--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    margin-top: 12px;
    padding: 14px 28px;
    border-radius: 30px;
    transition: var(--transition);
    background: var(--clr-gradient);
    color: white;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  }

  .navbar__nav .navbar__register-btn--mobile:hover {
    transform: translateY(-2px);
    background: var(--clr-gradient-dark);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  }

  .navbar__nav .navbar__register-btn--mobile svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .navbar__burger {
    display: block;
  }

  /* Switch to mobile logo on tablets and mobile */
  .logo__desktop {
    display: none;
  }

  .logo__mobile {
    display: block;
  }

  /* Make sure logo doesn't change size */
  .logo img {
    height: 42px;
    width: auto;
  }
}

@media(max-width: 768px) {
  .navbar__inner {
    flex-direction: row;
    gap: 20px;
    padding: 16px 0;
  }

  .navbar__actions {
    gap: 12px;
  }

  .navbar__cta {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .navbar__nav {
    gap: 16px;
    padding: 24px 20px;
  }

  .navbar__nav a {
    padding: 8px 0;
    font-size: 1.1rem;
  }

  /* Ensure login button is styled properly in mobile menu */
  .navbar__nav .navbar__login-btn--mobile {
    margin-top: 16px;
    padding: 14px 28px;
    font-size: 1rem;
    width: auto;
    display: inline-block;
  }

  /* Ensure register button is styled properly in mobile menu */
  .navbar__nav .navbar__register-btn--mobile {
    margin-top: 12px;
    padding: 16px 32px;
    font-size: 1rem;
    width: auto;
  }

  /* Make sure logo stays consistent */
  .logo img {
    height: 42px;
    width: auto;
  }

  .hero {
    padding: 160px 0 80px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__text {
    text-align: center;
  }

  .hero__text h1 {
    font-size: 2rem;
  }

  .hero__text p {
    font-size: 1rem;
  }

  .chat-ecosystem {
    gap: 24px;
    max-width: 100%;
    margin-top: 32px;
  }

  .chat-ecosystem {
    gap: 16px;
    max-width: 100%;
    height: 380px;
    margin-top: 16px;
    padding: 0 10px;
  }

  .chat-bubble {
    padding: 16px 14px 12px 14px;
    border-radius: 10px;
    gap: 8px;
  }

  .chat-avatar {
    width: 28px;
    height: 28px;
  }

  .chat-message {
    font-size: 0.8rem;
  }

  .chat-bubble.objection .chat-message {
    font-size: 0.85rem;
  }

  .chat-bubble.user-response .chat-message {
    font-size: 0.8rem;
  }

  .chat-bubble.analysis .chat-message {
    font-size: 0.75rem;
  }

  .chat-bubble.feedback .chat-message {
    font-size: 0.75rem;
  }

  .chat-bubble.best-answer .chat-message {
    font-size: 0.8rem;
  }

  .chat-step-indicator {
    font-size: 0.6rem;
    padding: 3px 8px;
    top: -12px;
    right: 12px;
  }

  .status-indicator {
    bottom: -50px;
    padding: 6px 12px;
    font-size: 0.65rem;
    border-radius: 12px;
    max-width: 180px;
  }

  .status-indicator svg {
    width: 12px;
    height: 12px;
  }

  .status-indicator .status-dot {
    width: 3px;
    height: 3px;
  }

  .product-option,
  .persona-option {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .persona-details {
    font-size: 0.7rem;
  }

  .start-training-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 8px 32px var(--clr-shadow-light);
  border: 1px solid rgba(255, 107, 53, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
/* Optimized hover effects - no box-shadow animations */
.feature-card {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.feature-card:hover {
  transform: translateY(-2px);
}

.testimonial {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.testimonial:hover {
  transform: translateY(-2px);
}

.plan {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.plan:hover {
  transform: translateY(-2px);
}

/* FAQ hover effects - only transform */
details {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

details:hover {
  transform: translateY(-1px);
}

/* Footer link hover effects */
footer a:hover {
  color: white !important;
  transform: translateX(5px);
}

/* Social media hover effects */
footer a[style*="border-radius: 50%"] {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

footer a[style*="border-radius: 50%"]:hover {
  background: var(--clr-gradient) !important;
  transform: translateY(-2px) !important;
}

/* Optimisation pour les bulles de chat - déjà appliqué dans .chat-bubble */

/* Optimisation pour les éléments avec backdrop-filter */
.navbar {
  contain: style layout;
}

/* Réduction des animations de gradient sur les appareils lents */
@media (prefers-reduced-motion: reduce) {
  .gradient-text {
    animation: none !important;
    background-position: 0% 50% !important;
  }
  
  /* Désactiver les animations lourdes pour les utilisateurs qui préfèrent moins de mouvement */
  .chat-bubble,
  .step-card,
  .feature-card,
  .testimonial {
    animation: none !important;
    transition: none !important;
  }
}

/* Optimisation pour les appareils avec moins de ressources */
@media (max-width: 768px) {
  /* Réduire la complexité des animations sur mobile */
  .gradient-text {
    animation-duration: 6s !important;
  }
  
  /* Simplifier les backdrop-filter sur mobile */
  .navbar {
    backdrop-filter: blur(6px) !important;
  }
  
  .chat-bubble {
    backdrop-filter: blur(4px) !important;
  }
}

/* Optimisation pour les connexions lentes */
@media (prefers-reduced-data: reduce) {
  .gradient-text {
    animation: none !important;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  footer div[style*="grid-template-columns: 2fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center !important;
  }
  
  footer h4 span {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  
  .cta-banner div[style*="padding: 60px 50px"] {
    padding: 40px 30px !important;
    margin: 0 20px !important;
  }
  
  .cta-banner h2 {
    font-size: 2rem !important;
  }
}

/* ===== Pricing Styles ===== */
.pricing-plan {
  transition: transform 0.2s ease-out;
}

.pricing-plan:hover {
  transform: translateY(-2px);
}

.pricing-btn {
  transition: transform 0.2s ease;
}

.pricing-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

/* Override any box-shadow transitions in pricing section for better performance */
#pricing .pricing-btn,
#pricing button,
#pricing a {
  transition: transform 0.2s ease !important;
}

#pricing .pricing-btn:hover,
#pricing button:hover,
#pricing a:hover {
  transform: translateY(-1px) !important;
}

/* Custom slider styling */
#members-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  outline: none;
}

#members-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--clr-gradient);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

#members-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--clr-gradient);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

#members-slider::-moz-range-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  border: none;
}

/* Simple hover effects */
.call-time-section,
.enterprise-section,
.pricing-plan-free,
.pricing-plan-custom {
  transition: transform 0.2s ease-out;
}

.call-time-section:hover,
.enterprise-section:hover,
.pricing-plan-free:hover,
.pricing-plan-custom:hover {
  transform: translateY(-2px);
}

/* ===== Optimized How It Works Animation ===== */
.step-card {
  will-change: transform, opacity;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.step-card.step-active {
  transform: scale(1.02);
  opacity: 1;
}

.step-card.step-active::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), rgba(248, 156, 18, 0.1));
  border-radius: calc(var(--radius) + 2px);
  z-index: -1;
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

.step-card::before {
  opacity: 0;
}

.step-icon {
  will-change: transform;
  transition: transform 0.3s ease-out;
}

.step-icon.icon-active {
  transform: scale(1.1) rotate(3deg);
}

/* Remove box-shadow transitions for better performance */
.step-card {
  box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
}

/* Mobile responsive pricing */
@media (max-width: 768px) {
  .pricing-plan {
    min-height: auto !important;
    padding: 24px !important;
  }

  .pricing-plan-free > div {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    text-align: center !important;
  }

  .pricing-plan-custom > div {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 30px !important;
  }

  .pricing-plan-custom > div > div:first-child {
    max-width: 100%;
    flex: 1;
  }

  .pricing-plan-custom > div {
    flex-direction: column;
  }

  .call-time-section,
  .enterprise-section {
    padding: 24px !important;
  }

  .call-time-section > div,
  .enterprise-section > div {
    flex-direction: column !important;
    gap: 16px !important;
    text-align: center !important;
  }

  .call-time-section h3,
  .enterprise-section h3 {
    font-size: 1.2rem !important;
  }
}

/* ===== PROFESSIONAL USE CASES SECTION ===== */
.professional-use-cases {
    position: relative;
}

.professional-cases-grid {
    position: relative;
}

.professional-case-card {
    position: relative;
    will-change: transform;
}

.professional-case-card:hover {
    transform: translateY(-2px);
}

.professional-case-card.expanded {
    border-color: #d1d5db !important;
}

.case-header {
    position: relative;
}

.case-content {
    position: relative;
}

/* SVG arrows remain static - no rotation */

/* Responsive adjustments for professional cases */
@media (max-width: 1024px) {
    .case-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }
    
    .case-header > div:first-child {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px;
        width: 100%;
    }
    
    .case-header > div:first-child > div:first-child {
        width: 48px !important;
        height: 48px !important;
    }
    
         .case-header > div:first-child > div:last-child h3 {
         font-size: 1.2rem !important;
         color: #101827 !important;
     }
    
    .case-header > div:last-child {
        align-self: flex-end;
        margin-top: auto;
    }
}

@media (max-width: 768px) {
    .professional-use-cases {
        padding: 80px 0 !important;
    }
    
         .professional-use-cases h2 {
         font-size: 2.2rem !important;
         line-height: 1.1 !important;
         color: #101827 !important;
     }
    
    .professional-use-cases > div > div:first-child p {
        font-size: 1rem !important;
    }
    
    .case-header {
        padding: 24px !important;
    }
    
    .case-content > div {
        padding: 24px !important;
    }
    
    .case-content > div > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .case-content > div > div:last-child h4 {
        font-size: 0.9rem !important;
    }
    
    .case-content > div > div:last-child > div {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

@media (max-width: 480px) {
         .professional-use-cases h2 {
         font-size: 1.8rem !important;
         color: #101827 !important;
     }
    
    .case-header > div:first-child {
        gap: 12px !important;
    }
    
    .case-header > div:first-child > div:first-child {
        width: 40px !important;
        height: 40px !important;
    }
    
         .case-header > div:first-child > div:last-child h3 {
         font-size: 1.1rem !important;
         line-height: 1.3 !important;
         color: #101827 !important;
     }
    
    .case-header > div:first-child > div:last-child p {
        font-size: 0.85rem !important;
    }
    
    .case-header > div:last-child span {
        padding: 4px 12px !important;
        font-size: 0.8rem !important;
    }
} 