* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

:root {
  --bg: #06070b;
  --bg-soft: #0f111a;
  --line: #262c3b;
  --text: #f4f6fb;
  --muted: #a7afc2;
  --red: #dc2626;
  --red-2: #991b1b;
  --card-bg: rgba(15, 20, 31, 0.9);
  --card-border: #2f3749;
}

html {
  scroll-behavior: smooth;
  /* Évite les décalages horizontaux quand la scrollbar apparaît/disparaît */
  scrollbar-gutter: stable;
}

@keyframes aurora-drift {
  0% {
    transform: translate(-4%, -3%) scale(1) rotate(0deg);
    opacity: 0.55;
  }
  50% {
    opacity: 0.75;
  }
  100% {
    transform: translate(5%, 4%) scale(1.08) rotate(2deg);
    opacity: 0.6;
  }
}

@keyframes grid-pan {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 0 0, 24px 24px, 24px 24px;
  }
}

@keyframes hero-item-in {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes pill-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.2);
  }
  50% {
    box-shadow: 0 0 24px 2px rgba(239, 68, 68, 0.18);
  }
}

@keyframes trust-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes btn-shine-sweep {
  from {
    background-position: 120% 50%;
  }
  to {
    background-position: -20% 50%;
  }
}

@keyframes msg-slide-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logo-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(239, 68, 68, 0.55));
  }
}

body {
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background-color: #000;
  /* Dégradé très progressif : évite une « ligne » nette au passage au transparent */
  background-image:
    radial-gradient(
      ellipse 115% 90% at 50% 36%,
      rgba(75, 12, 12, 0.5) 0%,
      rgba(45, 8, 8, 0.22) 42%,
      rgba(20, 4, 4, 0.08) 62%,
      rgba(0, 0, 0, 0) 78%
    ),
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px, 24px 24px;
  background-position: 0 0, 0 0, 0 0;
  color: var(--text);
  line-height: 1.45;
  position: relative;
  overflow-x: hidden;
  /* Réserve toujours l’espace scrollbar (Windows) pour éviter que “tout bouge” */
  overflow-y: scroll;
  /* Cache l’UI jusqu’au boot (évite voir “la page avant”) */
  opacity: 1;
  transition: opacity 0.18s ease;
}

body:not(.page-legal):not(.page-subscription):not(.app-chat) {
  opacity: 1;
}

body.ui-ready {
  opacity: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.75;
  background:
    radial-gradient(ellipse 85% 70% at 48% 36%, rgba(220, 60, 60, 0.12) 0%, rgba(120, 20, 20, 0.04) 55%, transparent 72%),
    radial-gradient(ellipse 50% 45% at 18% 58%, rgba(140, 30, 30, 0.06) 0%, transparent 58%),
    radial-gradient(ellipse 45% 40% at 88% 32%, rgba(180, 50, 50, 0.05) 0%, transparent 58%);
  animation: aurora-drift 22s ease-in-out infinite alternate;
}

body.page-ready {
  animation: grid-pan 120s linear infinite;
}

/* Mode app (demo) : fond bordeaux → noir, halo rouge un peu plus présent */
body.app-chat {
  padding: 0;
  min-height: 100vh;
  background: radial-gradient(
    ellipse 130% 88% at 50% 0%,
    #4a1a1c 0%,
    #381416 10%,
    #2b1012 20%,
    #1a0c0d 36%,
    #100a0a 52%,
    #0a0a0a 72%,
    #060606 100%
  );
}

body.app-chat::before {
  display: none;
}

body.app-chat.page-ready {
  animation: none;
}

.page-home .nav-action--link {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0 10px;
  min-height: auto;
}

.page-home .nav-action--link:hover {
  color: #fff;
  border: none;
}

.page-home .nav-cta {
  background-image:
    linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.22) 45%, transparent 75%),
    linear-gradient(90deg, #ef4444, #b91c1c);
  border-color: rgba(255, 120, 120, 0.5);
  box-shadow:
    0 0 28px rgba(239, 68, 68, 0.45),
    0 10px 24px rgba(0, 0, 0, 0.38);
}

.page-home .nav-cta:hover {
  box-shadow:
    0 0 36px rgba(239, 68, 68, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.42);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  margin: 0;
  width: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-width: 0 0 1px;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.34);
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.topbar.topbar-scrolled {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  background: rgba(0, 0, 0, 0.82);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 22px;
}

.logo {
  font-weight: 800;
  font-size: 36px;
  letter-spacing: 0.2px;
  line-height: 1;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: #ef4444;
  display: inline-block;
  transition: transform 0.25s ease;
}

.page-ready .logo:hover span {
  transform: scale(1.04);
}

.page-ready .logo span {
  animation: logo-pulse 4s ease-in-out infinite;
}

.topnav {
  display: flex;
  gap: 18px;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  position: relative;
}

.topnav a:hover {
  color: #dbe4f8;
  transform: translateY(-1px);
}

.topnav a.active {
  color: #eef2ff;
}

.topnav a.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 5px;
  background: linear-gradient(90deg, #ef4444, #f87171);
  border-radius: 999px;
}

.link-btn {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-action {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
  color: #f3f4f6;
  font-size: 13px;
  font-weight: 600;
}

.nav-action:hover {
  border-color: rgba(226, 77, 77, 0.55);
}

.nav-action.lang {
  display: none;
}

.hero {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  padding: 108px 0 40px;
}

.page-home .hero {
  min-height: 88vh;
  padding-top: 72px;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles::before {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  left: -20%;
  top: -20%;
  opacity: 0.65;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 60, 60, 0.7), transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(255, 200, 200, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 48% 28%, rgba(255, 80, 80, 0.55), transparent),
    radial-gradient(1px 1px at 63% 88%, rgba(200, 40, 40, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 78% 22%, rgba(255, 120, 120, 0.4), transparent),
    radial-gradient(1px 1px at 91% 65%, rgba(255, 180, 180, 0.3), transparent),
    radial-gradient(1px 1px at 35% 48%, rgba(255, 100, 100, 0.25), transparent),
    radial-gradient(1.5px 1.5px at 55% 12%, rgba(220, 50, 50, 0.5), transparent),
    radial-gradient(1px 1px at 18% 92%, rgba(255, 160, 160, 0.28), transparent),
    radial-gradient(1px 1px at 85% 40%, rgba(255, 90, 90, 0.35), transparent);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  animation: particles-drift 50s ease-in-out infinite alternate;
}

@keyframes particles-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(2%, -1.5%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(220, 38, 38, 0.2), transparent 58%),
    radial-gradient(circle at 50% 30%, rgba(225, 29, 72, 0.1), transparent 42%);
  animation: hero-overlay-pulse 10s ease-in-out infinite alternate;
}

.page-home .hero-overlay {
  background:
    radial-gradient(ellipse 85% 65% at 50% 42%, rgba(220, 0, 0, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 50% 38%, rgba(255, 50, 50, 0.12) 0%, transparent 48%);
}

@keyframes hero-overlay-pulse {
  from {
    opacity: 0.85;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.03);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.pill {
  margin: 0 auto 18px;
  width: fit-content;
  font-size: 12px;
  color: #ffd4d4;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(239, 68, 68, 0.12);
}

.page-ready .hero-content .pill {
  animation:
    hero-item-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both,
    pill-glow 4s ease-in-out 0.8s infinite;
}

.page-ready .hero-content h1 {
  animation: hero-item-in 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.page-ready .hero-content .subtitle {
  animation: hero-item-in 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.page-ready .hero-content .hero-actions {
  animation: hero-item-in 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

.page-ready .hero-content .hero-metrics {
  animation: hero-item-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(40px, 8vw, 78px);
  line-height: 0.98;
  letter-spacing: -1px;
}

h1 span {
  color: #ef4444;
  text-shadow: 0 0 28px rgba(239, 68, 68, 0.5);
  display: inline-block;
}

h1.hero-title > .hero-title__brand {
  color: #ffffff;
  text-shadow: none;
  display: block;
}

h1.hero-title > .hero-title__accent {
  display: block;
}

.page-ready .hero-content .hero-title__accent {
  animation: h1-accent 5s ease-in-out infinite alternate;
}

@keyframes h1-accent {
  from {
    text-shadow:
      0 0 24px rgba(255, 0, 0, 0.5),
      0 0 48px rgba(200, 0, 0, 0.35);
  }
  to {
    text-shadow:
      0 0 36px rgba(255, 40, 40, 0.75),
      0 0 72px rgba(180, 0, 0, 0.45);
  }
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12em;
  margin: 0 0 18px;
}

.hero-title__brand {
  color: #ffffff;
  font-size: clamp(44px, 10vw, 92px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: none;
}

.hero-title__accent {
  color: #ff2e2e;
  font-size: clamp(26px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-shadow:
    0 0 32px rgba(255, 0, 0, 0.55),
    0 0 64px rgba(160, 0, 0, 0.35);
}

.subtitle {
  margin: 0 auto;
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
  opacity: 0.95;
  line-height: 1.65;
}

.subtitle--hero {
  max-width: 520px;
  font-size: clamp(16px, 2.2vw, 20px);
  color: #b4bccf;
  font-weight: 500;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions--landing {
  margin-top: 28px;
  gap: 16px;
}

.pill--stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pill-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.88);
  color: #fff;
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #fff;
  filter: brightness(1.05);
}

.btn-play-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.page-home .btn-hero-cta {
  padding: 14px 26px;
  font-size: 15px;
  box-shadow:
    0 0 32px rgba(220, 0, 0, 0.45),
    0 10px 28px rgba(0, 0, 0, 0.45);
}

.page-home .btn-hero-cta:hover {
  box-shadow:
    0 0 40px rgba(255, 40, 40, 0.5),
    0 12px 32px rgba(0, 0, 0, 0.5);
}

.page-home .btn-hero-demo {
  padding: 14px 22px;
  font-size: 15px;
}

.hero-metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-card {
  border: 1px solid #2e374a;
  border-radius: 12px;
  background: linear-gradient(170deg, rgba(18, 24, 37, 0.92), rgba(12, 16, 26, 0.88));
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.35s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.35);
}

.metric-value {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.metric-label {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid #344056;
  border-radius: 12px;
  background: #151a28;
  color: #f3f4f6;
  padding: 11px 20px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.18s ease,
    box-shadow 0.22s ease,
    border-color 0.2s ease,
    background 0.2s ease;
  letter-spacing: 0.02em;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 2px solid rgba(248, 113, 113, 0.65);
  outline-offset: 3px;
}

.btn:active:not(:disabled) {
  transform: translateY(0) scale(0.985);
  transition-duration: 0.08s;
}

.section {
  padding: 52px 0;
}

.section-tight {
  padding-top: 20px;
  padding-bottom: 20px;
}

.page-hero {
  padding-top: 120px;
  padding-bottom: 40px;
}

.page-hero-small {
  padding-bottom: 20px;
}

.page-hero .container {
  animation: fade-in-up 0.55s ease both;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.trust-strip span {
  border: 1px solid #2f3648;
  background: #111626;
  color: #b8c0d4;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  letter-spacing: 0.8px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.trust-strip.is-visible span {
  animation: trust-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.trust-strip.is-visible span:nth-child(1) {
  animation-delay: 0.05s;
}
.trust-strip.is-visible span:nth-child(2) {
  animation-delay: 0.1s;
}
.trust-strip.is-visible span:nth-child(3) {
  animation-delay: 0.15s;
}
.trust-strip.is-visible span:nth-child(4) {
  animation-delay: 0.2s;
}
.trust-strip.is-visible span:nth-child(5) {
  animation-delay: 0.25s;
}
.trust-strip.is-visible span:nth-child(6) {
  animation-delay: 0.3s;
}

.trust-strip span:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 68, 68, 0.35);
  background: #151a28;
}

.section-grid-bg {
  background: radial-gradient(circle at 50% 0, rgba(220, 38, 38, 0.09), transparent 70%);
}

.narrow {
  max-width: 760px;
}

.eyebrow {
  text-align: center;
  color: #9ca3af;
  letter-spacing: 1.6px;
  font-size: 12px;
  margin: 0 0 8px;
}

h2 {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(30px, 5vw, 52px);
}

h2 span,
.center-title span {
  color: #ef4444;
}

.center-title {
  text-align: center;
}

.center-muted {
  text-align: center;
  color: var(--muted);
}

.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  background-image:
    linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.22) 42%, transparent 72%),
    linear-gradient(135deg, #ef4444 0%, var(--red) 45%, var(--red-2) 100%);
  background-size: 200% 100%, 100% 100%;
  background-position: 100% 0, 0 0;
  background-repeat: no-repeat;
  border-color: rgba(248, 113, 113, 0.45);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 12px 32px rgba(185, 28, 28, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.2s ease,
    box-shadow 0.28s ease,
    background-position 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 65%
  );
  background-size: 220% 100%;
  background-position: 120% 50%;
  pointer-events: none;
  opacity: 0;
}

.btn-primary:hover {
  background-position: -5% 0, 0 0;
  filter: brightness(1.07);
  border-color: rgba(254, 202, 202, 0.55);
  box-shadow:
    0 0 0 1px rgba(254, 202, 202, 0.12),
    0 16px 40px rgba(185, 28, 28, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover::after {
  opacity: 1;
  animation: btn-shine-sweep 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.btn-outline {
  background: rgba(15, 18, 28, 0.65);
  border-color: rgba(148, 163, 184, 0.28);
  color: #e8ecf5;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(239, 68, 68, 0.08);
  color: #fff;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(239, 68, 68, 0.12);
}

.btn-small {
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 10px;
}

.demo {
  margin-top: -40px;
  padding-bottom: 22px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.benefit-card {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(14, 20, 32, 0.92), rgba(10, 14, 22, 0.9));
  padding: 16px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-color: #3b465d;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.window-card {
  border: 1px solid #2f3749;
  border-radius: 14px;
  overflow: hidden;
  background: #101520;
}

.window-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid #2c3446;
}

.window-head p {
  margin: 0;
  color: #9facbf;
  font-size: 13px;
}

.dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}

.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #f59e0b; }
.dots span:nth-child(3) { background: #22c55e; }

.window-body {
  padding: 14px;
}

.bubble {
  width: fit-content;
  max-width: 82%;
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.bubble.left {
  background: #1a1f2c;
  border: 1px solid #30384b;
}

.bubble.right {
  margin-left: auto;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.45);
}

.chat-shell {
  border: 1px solid #374056;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #101524, #0d1320 40%);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.42);
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chat-shell:hover {
  border-color: #465372;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.44);
}

.chat-topbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #293143;
  color: #dce2ef;
}

.chat-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
}

.auth-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #3a4358;
  background: #1a2030;
}

.auth-on {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.16);
  color: #9bf5ba;
}

.auth-off {
  border-color: rgba(244, 63, 94, 0.42);
  background: rgba(244, 63, 94, 0.14);
  color: #ffb2c4;
}

.title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

.chat {
  min-height: 280px;
  max-height: 54vh;
  overflow-y: auto;
  padding: 12px;
  background: #0d1628;
}

/* ——— App (demo) : layout type ChatGPT ——— */
.app-chat .topbar {
  display: none;
}

.app-shell {
  min-height: 100vh;
  height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  width: 100%;
  align-items: stretch;
}

.app-shell--gpt {
  grid-template-columns: 320px 1fr;
  width: 100vw;
  height: 100vh;
}

.app-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 16px 14px;
  border-right: 1px solid rgba(239, 68, 68, 0.22);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.10) 0%, rgba(0, 0, 0, 0.62) 65%);
  backdrop-filter: blur(14px);
}

/* Nouveau rail minimal (style ChatGPT) */
.app-rail {
  display: none;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-right: 1px solid rgba(239, 68, 68, 0.18);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
}

/* Sidebar : voile sombre pour densifier la colonne ; le dégradé du body reste visible derrière */
.gpt-sidebar {
  position: relative;
  height: 100vh;
  padding: 16px 12px 18px;
  border-right: 1px solid rgba(239, 68, 68, 0.22);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0%, rgba(10, 4, 5, 0.22) 100%);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.35);
  backdrop-filter: none;
  overflow: hidden;
}

.gpt-sidebar > * {
  position: relative;
  z-index: 1;
}

.gpt-sidebar__top {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 0;
}

.gpt-sidebar__brand {
  font-weight: 900;
  font-size: clamp(22px, 4.2vw, 28px);
  letter-spacing: -0.03em;
  color: #fafafa;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  line-height: 1.1;
}

.gpt-sidebar__brand-gpt {
  color: #ff5c5c;
  text-shadow: 0 0 18px rgba(239, 68, 68, 0.4);
}

.gpt-newchat {
  width: 100%;
  text-align: left;
  border-radius: 11px;
  padding: 13px 14px;
  border: 1px solid rgba(185, 28, 28, 0.55);
  background: linear-gradient(180deg, rgba(90, 12, 16, 0.72) 0%, rgba(10, 4, 5, 0.92) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 10px 26px rgba(0, 0, 0, 0.45),
    0 0 36px rgba(220, 38, 38, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.22s ease;
}

.gpt-newchat:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  border-color: rgba(248, 113, 113, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 14px 34px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(220, 38, 38, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.gpt-sidebar__tools {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.gpt-tool {
  width: 100%;
  text-align: left;
  border-radius: 11px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(22, 22, 26, 0.88) 0%, rgba(10, 10, 12, 0.95) 100%);
  color: #f4f4f5;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.gpt-tool:hover {
  border-color: rgba(239, 68, 68, 0.28);
  background: linear-gradient(180deg, rgba(32, 18, 20, 0.9) 0%, rgba(12, 8, 10, 0.96) 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 24px rgba(220, 38, 38, 0.08);
}

.gpt-sidebar__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  margin-bottom: 14px;
}

.gpt-sidebar__title {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(220, 38, 38, 0.72);
  font-weight: 800;
}

.gpt-icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.gpt-icon-btn__svg {
  display: block;
}

.gpt-icon-btn:hover {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #fff;
}

.gpt-history {
  display: grid;
  gap: 8px;
  overflow: auto;
  max-height: calc(100vh - 300px);
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(220, 38, 38, 0.35) rgba(0, 0, 0, 0.2);
}

.gpt-history::-webkit-scrollbar {
  width: 6px;
}

.gpt-history::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 99px;
}

.gpt-history::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.45), rgba(127, 29, 29, 0.5));
  border-radius: 99px;
}

.gpt-history__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  border-radius: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(145deg, rgba(14, 14, 18, 0.75) 0%, rgba(6, 6, 8, 0.88) 100%);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.gpt-history__item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.gpt-history__item.is-active {
  border-color: rgba(239, 68, 68, 0.55);
  background: linear-gradient(145deg, rgba(55, 12, 14, 0.82) 0%, rgba(10, 12, 14, 0.95) 100%);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(185, 28, 28, 0.25),
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(220, 38, 38, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gpt-history__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.gpt-history__del {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  color: rgba(254, 202, 202, 0.88);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.15s ease;
}

.gpt-history__del-icon {
  display: block;
}

.gpt-history__del:hover {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
  color: #fff;
  transform: scale(1.05);
}

/* Menu bas : même fond que la sidebar (aucune ligne ni second dégradé) */
.gpt-sidebar__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px 14px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

a.gpt-side-link,
button.gpt-side-link {
  margin: 0;
  border: none;
  background: transparent;
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.gpt-side-link--row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 4px;
  border-radius: 6px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  border: none;
  transition: background 0.15s ease;
}

.gpt-side-link__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #ffffff;
  opacity: 1;
}

.gpt-side-link--row:hover .gpt-side-link__icon {
  color: #ffffff;
}

.gpt-side-link__label {
  flex: 1;
  min-width: 0;
}

.gpt-side-link--row:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.gpt-side-link--row:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.gpt-side-link--danger .gpt-side-link__icon {
  color: #ffffff;
}

.gpt-side-link--danger:not(.hidden) {
  color: #ffffff;
}

.gpt-side-link--danger:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.gpt-side-link--danger:hover .gpt-side-link__icon {
  color: #ffffff;
}

.rail-spacer {
  flex: 1;
}

.rail-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

.rail-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.06);
}

.rail-btn--primary {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.10);
  box-shadow: 0 0 22px rgba(239, 68, 68, 0.22);
}

.rail-btn--danger {
  color: rgba(255, 180, 180, 0.95);
}

.app-sidebar__top {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.app-brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
}

.app-brand__gpt {
  color: #ef4444;
  text-shadow: 0 0 22px rgba(239, 68, 68, 0.5);
}

.app-newchat {
  width: 100%;
  text-align: left;
  border-radius: 12px;
  padding: 12px 12px;
  border: 1px solid rgba(239, 68, 68, 0.18);
  background: rgba(0, 0, 0, 0.42);
  color: #f3f4f6;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.app-newchat:hover {
  border-color: rgba(239, 68, 68, 0.65);
  background: rgba(239, 68, 68, 0.10);
  transform: translateY(-1px);
}

.app-sidebar__section {
  margin-top: 10px;
}

.app-sidebar__title {
  margin: 10px 10px 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 800;
}

.app-history {
  display: grid;
  gap: 8px;
}

.app-history__item {
  text-align: left;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.app-history__item.is-active {
  border-color: rgba(239, 68, 68, 0.55);
  background: rgba(239, 68, 68, 0.12);
}

.app-sidebar__bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  display: grid;
  gap: 10px;
}

.app-side-link {
  text-decoration: none;
  text-align: left;
  border-radius: 12px;
  padding: 10px 10px;
  border: 1px solid rgba(239, 68, 68, 0.10);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.app-side-link:hover {
  border-color: rgba(239, 68, 68, 0.55);
  color: #fff;
}

.app-side-link--danger {
  color: rgba(255, 180, 180, 0.9);
}

.app-main {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  background: radial-gradient(ellipse 70% 55% at 50% 20%, rgba(239, 68, 68, 0.20) 0%, transparent 55%);
  background-color: rgba(0, 0, 0, 0.45);
}

.app-main--gpt {
  min-height: 100vh;
  min-width: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 22%, rgba(90, 28, 32, 0.14) 0%, transparent 58%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.04) 55%, rgba(0, 0, 0, 0.1) 100%);
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(239, 68, 68, 0.18);
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(14px);
}

.app-topbar--gpt {
  border-bottom-color: rgba(239, 68, 68, 0.22);
  background: linear-gradient(180deg, rgba(32, 18, 20, 0.55) 0%, rgba(8, 8, 8, 0.78) 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 -1px 0 rgba(239, 68, 68, 0.08);
}

.app-model-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.28);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(239, 68, 68, 0.1);
}

.app-model-pill__brand {
  color: #fff;
}

.app-model-pill__model {
  color: #f87171;
  font-weight: 700;
}

.app-model-pill__caret {
  color: rgba(248, 113, 113, 0.55);
}

.app-model-pill__status {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(34, 197, 94, 0.55);
  animation: model-status-breathe 2.4s ease-in-out infinite;
}

.app-model-pill__status.is-online {
  background: #22c55e;
}

.app-model-pill__status.is-degraded {
  background: #f59e0b;
  animation: none;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 14px rgba(245, 158, 11, 0.65);
}

.app-model-pill__status.is-offline {
  background: #ef4444;
  animation: none;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 14px rgba(239, 68, 68, 0.55);
}

@keyframes model-status-breathe {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.35),
      0 0 12px rgba(34, 197, 94, 0.55);
  }
  50% {
    opacity: 0.92;
    transform: scale(1.12);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.35),
      0 0 18px rgba(34, 197, 94, 0.75);
  }
}

.app-login--gpt {
  border: 1px solid rgba(239, 68, 68, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.app-login--gpt:hover {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(239, 68, 68, 0.06);
}

.app-stage {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 22px 18px 18px;
}

.app-empty {
  text-align: center;
  margin: 0 auto;
  max-width: 680px;
  padding: 60px 0 10px;
}

.app-empty.is-hidden {
  display: none;
}

.app-empty__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 0 48px rgba(239, 68, 68, 0.18);
}

.app-empty__title--intro {
  animation: app-empty-title-intro 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes app-empty-title-intro {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.app-empty__sub {
  margin: 0;
  color: #b8b8b8;
  font-weight: 400;
  line-height: 1.6;
}

.app-empty__brand {
  color: #ef4444;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(239, 68, 68, 0.35);
}

.accent {
  color: #fca5a5;
}

.app-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-model {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-model__label {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.app-model__btn {
  border: 1px solid rgba(239, 68, 68, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 700;
}

.app-login {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 800;
}

.app-chat {
  position: relative;
  min-height: 0;
  height: 100%;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-chat__center {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 40px 0 10px;
}

.app-chat__center.is-hidden {
  display: none;
}

.app-chat__prompt {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 40px);
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(239, 68, 68, 0.18);
}

.chat--app {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 6px;
  background: rgba(0, 0, 0, 0.10);
}

.chat--gpt {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 6px;
  background: transparent;
}

/* Messages style ChatGPT : DarkGPT à gauche, Vous à droite */
.chat--gpt .msg {
  max-width: 900px;
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat--gpt .msg.user {
  align-items: flex-end;
  background: transparent;
  border: none;
  box-shadow: none;
}

.chat--gpt .msg.assistant {
  align-items: flex-start;
  background: transparent;
  border: none;
  box-shadow: none;
}

.chat--gpt .msg-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  padding: 0 10px;
}

.chat--gpt .msg.user .msg-label {
  color: rgba(255, 255, 255, 0.5);
}

.chat--gpt .msg.assistant .msg-label {
  color: rgba(239, 68, 68, 0.75);
}

.chat--gpt .msg-bubble {
  max-width: min(720px, 92%);
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.5;
  white-space: pre-wrap;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.92);
}

.chat--gpt .msg.user .msg-bubble {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.55);
}

.chat--gpt .msg.assistant .msg-bubble {
  border-color: rgba(239, 68, 68, 0.28);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.08);
}

.chat--gpt .msg-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(720px, 92%);
  margin-top: 4px;
  padding: 0 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.2s ease;
}

.chat--gpt .msg:hover .msg-meta {
  color: rgba(255, 255, 255, 0.58);
}

.chat--gpt .msg.user .msg-meta {
  align-self: flex-end;
  justify-content: flex-end;
}

.chat--gpt .msg-time {
  font-variant-numeric: tabular-nums;
}

.chat--gpt .msg-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.chat--gpt .msg-copy:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #fff;
}

.chat--gpt .msg-copy.is-copied {
  background: rgba(34, 197, 94, 0.18);
  color: #bbf7d0;
}

.chat--gpt .msg-copy__icon {
  display: block;
}

.chat--gpt .msg-bubble--thinking {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.chat--gpt .msg-bubble--streaming {
  min-height: 1.5em;
  white-space: pre-wrap;
}

.thinking-text {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

/* Neutralise les anciens styles bleus .user/.assistant dans l'app */
.chat--gpt .user,
.chat--gpt .assistant {
  background: transparent !important;
  border: none !important;
  border-left: none !important;
}

.composer-wrap--gpt {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 20;
  overflow: visible;
}

.composer-mode-dropdown {
  position: relative;
  flex-shrink: 0;
  z-index: 30;
}

.composer-mode-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 118px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.composer-mode-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 124px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 98, 120, 0.3);
  background: linear-gradient(180deg, rgba(20, 12, 16, 0.96), rgba(10, 10, 12, 0.98));
  color: rgba(246, 248, 255, 0.94);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.composer-mode-trigger:hover {
  border-color: rgba(255, 116, 136, 0.45);
  background: linear-gradient(180deg, rgba(30, 14, 18, 0.98), rgba(12, 10, 12, 0.99));
}

.composer-mode-dropdown.is-open .composer-mode-trigger {
  border-color: rgba(255, 120, 140, 0.58);
  box-shadow: 0 0 18px rgba(226, 58, 86, 0.2);
}

.composer-mode-trigger__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.composer-mode-trigger__caret {
  flex-shrink: 0;
  font-size: 9px;
  opacity: 0.75;
}

.composer-mode-menu {
  position: absolute;
  right: 0;
  top: auto;
  bottom: calc(100% + 8px);
  min-width: 136px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 98, 120, 0.28);
  background: linear-gradient(180deg, rgba(20, 12, 16, 0.98), rgba(10, 10, 12, 0.98));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  z-index: 50;
}

.composer-mode-menu[hidden] {
  display: none !important;
}

.composer-mode-menu li {
  margin: 0;
  padding: 0;
}

.composer-mode-option {
  display: block;
  width: 100%;
  text-align: left;
  min-height: 34px;
  padding: 0 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(232, 236, 246, 0.86);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background 0.12s ease, color 0.12s ease;
}

.composer-mode-option:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #fff;
}

.composer-mode-option.is-selected {
  background: rgba(239, 68, 68, 0.2);
  color: #fff;
}

.composer--gpt {
  position: relative;
  overflow: visible;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.22);
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  padding: 10px 12px;
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.4),
    0 0 36px rgba(239, 68, 68, 0.07);
}

.composer-field {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.composer-hint {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(248, 113, 113, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 2;
}

.composer--gpt:hover .composer-hint,
.composer--gpt:focus-within .composer-hint {
  opacity: 1;
}

@media (max-width: 520px) {
  .composer-hint {
    white-space: normal;
    max-width: min(280px, 92vw);
    text-align: center;
    line-height: 1.35;
    font-size: 10px;
  }
}

.composer-count--warn {
  color: #fb923c !important;
}

.composer-count--danger {
  color: #f87171 !important;
  font-weight: 700;
}

.settings-modal-panel .settings-modal__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 113, 113, 0.75);
  font-weight: 800;
}

.settings-modal-panel .settings-modal__title {
  margin: 0 0 18px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #f3f4f6;
}

.settings-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  cursor: pointer;
  font-size: 14px;
  color: #e5e7eb;
  line-height: 1.45;
}

.settings-row input {
  margin-top: 3px;
  accent-color: #ef4444;
}

.settings-export__label {
  margin: 0 0 10px;
  font-size: 13px;
  color: #9ca3af;
}

.settings-export__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.composer-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 900;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.composer-btn:hover {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(239, 68, 68, 0.08);
}

.composer-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  resize: none;
  min-height: 22px;
  max-height: 180px;
  line-height: 1.5;
}

.composer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.composer-count {
  color: rgba(248, 113, 113, 0.5);
  font-size: 12px;
}

.composer-send {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.55);
  background: linear-gradient(180deg, #f87171, #b91c1c);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 32px rgba(239, 68, 68, 0.5);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.composer-send:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.55);
}

.chat-lock--gpt {
  position: static;
  margin: 0 auto;
  max-width: 900px;
}

.chat--app .msg {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.chat--app .msg.user {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-left: 3px solid rgba(255, 255, 255, 0.20);
  color: rgba(255, 255, 255, 0.9);
}

.chat--app .msg.assistant {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(239, 68, 68, 0.22);
  border-left: 3px solid rgba(239, 68, 68, 0.45);
  color: rgba(255, 255, 255, 0.88);
}

.chat--app .msg.thinking {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  margin: 16px auto;
  width: fit-content;
}

.thinking-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.thinking-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  opacity: 0.25;
  animation: thinking-bounce 1.1s ease-in-out infinite;
}

.thinking-dots span:nth-child(2) {
  animation-delay: 0.12s;
}
.thinking-dots span:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes thinking-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.22;
  }
  50% {
    transform: translateY(-3px);
    opacity: 0.9;
  }
}

.thinking-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 6px;
}

.chat-lock--app {
  position: static;
  margin: 0 auto;
  max-width: 860px;
}

.app-composer {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: rgba(0, 0, 0, 0.50);
  backdrop-filter: blur(14px);
  padding: 10px 12px;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.10), 0 10px 26px rgba(0, 0, 0, 0.35);
}

.app-composer__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  resize: none;
  min-height: 24px;
  max-height: 180px;
  line-height: 1.5;
}

.app-composer__actions {
  display: grid;
  gap: 8px;
  align-items: end;
  justify-items: end;
}

.app-composer__count {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.app-send {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 120, 120, 0.55);
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.52);
}

.status--app {
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 920px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }
}

.chat::-webkit-scrollbar {
  width: 10px;
}

.chat::-webkit-scrollbar-thumb {
  background: #2a3244;
  border-radius: 20px;
}

.msg {
  padding: 12px 14px;
  border-radius: 10px;
  margin: 8px 0;
  line-height: 1.4;
  white-space: pre-wrap;
  animation: msg-slide-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.user {
  background: #1a2638;
  border: 1px solid #2d3a51;
  border-left: 3px solid #475569;
}

.assistant {
  background: #122a47;
  border: 1px solid #274a75;
  border-left: 3px solid #3b82f6;
}

.chat-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid #2a3345;
}

.chat-form.locked {
  opacity: 0.45;
  pointer-events: none;
}

/* demo.html : le formulaire utilise .composer--gpt (pas .chat-form) */
.composer--gpt.locked {
  opacity: 0.45;
  pointer-events: none;
}

.chat-lock {
  position: absolute;
  inset: auto 12px 76px 12px;
  border: 1px solid #3b4358;
  background: rgba(15, 20, 31, 0.95);
  border-radius: 12px;
  padding: 14px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chat-lock p {
  margin: 0;
  color: #c7d1e7;
}

.chat-lock.show {
  display: flex;
}

textarea {
  width: 100%;
  resize: vertical;
  border-radius: 8px;
  border: 1px solid #38445c;
  background: #12192a;
  color: var(--text);
  padding: 10px;
  font: inherit;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

textarea:focus {
  outline: none;
  border-color: #4f5e7c;
  box-shadow: 0 0 0 3px rgba(79, 94, 124, 0.2);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-row small {
  color: var(--muted);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.status {
  margin: 0;
  color: #9ec5ff;
  padding: 0 12px 8px;
  font-weight: 600;
}

.runtime-info {
  margin: 0;
  color: var(--muted);
  padding: 0 12px 14px;
  font-size: 13px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-card {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(15, 20, 32, 0.93), rgba(11, 15, 24, 0.9));
  padding: 16px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #3b465d;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.compare-card {
  border: 1px solid #2c3447;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(12, 16, 25, 0.92), rgba(10, 14, 22, 0.86));
}

/* ——— Page comparatif : direction artistique dédiée ——— */
body.page-compare {
  --cmp-red: #e24d4d;
  --cmp-red-deep: #b83838;
  --cmp-red-soft: rgba(226, 77, 77, 0.16);
  --cmp-red-tint: rgba(226, 77, 77, 0.1);
  --cmp-red-tint-strong: rgba(226, 77, 77, 0.16);
  --cmp-glow: 0 0 26px rgba(226, 77, 77, 0.28);
  --cmp-glow-hover: 0 0 34px rgba(226, 77, 77, 0.36);
  --cmp-text: #e8ecf4;
  --cmp-muted: #9ca8bc;
  --cmp-dim: #8899b0;
  --cmp-line: rgba(255, 255, 255, 0.07);
}

.page-compare .topnav a.active {
  color: var(--cmp-text);
}

.page-compare .topnav a.active::after {
  background: linear-gradient(90deg, var(--cmp-red), #f87171);
}

.compare-page-hero {
  position: relative;
  padding-top: 104px;
  padding-bottom: 36px;
  text-align: center;
}

.compare-page-hero::after {
  content: "";
  display: block;
  width: min(200px, 40vw);
  height: 3px;
  margin: 28px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cmp-red-soft), var(--cmp-red), var(--cmp-red-soft), transparent);
  opacity: 0.95;
}

.compare-page-kicker {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cmp-dim);
}

.compare-page-title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.2em 0.55em;
  font-size: clamp(36px, 7vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
}

.compare-page-title__line {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.compare-page-title__line--rival {
  gap: 0.35em;
}

.compare-page-title__dark {
  color: #f8fafc;
}

.compare-page-title__gpt {
  color: var(--cmp-red);
  text-shadow: 0 0 36px var(--cmp-red-soft);
}

.compare-page-title__versus {
  font-size: 0.38em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cmp-dim);
  vertical-align: middle;
}

.compare-page-title__rival {
  color: var(--cmp-muted);
  font-weight: 700;
}

.compare-page-lead {
  max-width: 520px;
  margin: 22px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--cmp-muted);
  font-weight: 500;
}

.compare-matrix-section {
  padding-top: 4px;
  padding-bottom: 56px;
  background: transparent;
}

.compare-matrix-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(
    145deg,
    var(--cmp-red-soft) 0%,
    rgba(38, 40, 50, 0.75) 38%,
    rgba(12, 12, 18, 0.95) 58%,
    var(--cmp-red-tint) 100%
  );
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 28px 56px rgba(0, 0, 0, 0.5),
    0 0 72px rgba(226, 77, 77, 0.08);
}

.compare-matrix-card__accent {
  position: absolute;
  top: 1px;
  left: 15%;
  right: 15%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
  z-index: 2;
}

.compare-matrix-card > table {
  position: relative;
  z-index: 1;
  border-radius: 21px;
  overflow: hidden;
  background: linear-gradient(168deg, rgba(14, 14, 20, 0.97) 0%, rgba(6, 6, 10, 0.99) 100%);
}

table.compare-matrix {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-th-main {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.compare-th-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--cmp-dim);
  letter-spacing: 0.02em;
}

.compare-matrix thead th {
  padding: 22px 16px 20px;
  text-align: center;
  vertical-align: top;
  border-bottom: 1px solid var(--cmp-line);
  background: rgba(0, 0, 0, 0.35);
}

.compare-matrix thead th.compare-th-label {
  width: 32%;
  text-align: left;
  border-right: 1px solid var(--cmp-line);
}

.compare-th-label .compare-th-main {
  color: var(--cmp-muted);
}

.compare-th-label .compare-th-sub {
  color: var(--cmp-dim);
}

.compare-matrix .compare-col-rivals {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(15, 18, 28, 0.35) 100%);
}

.compare-matrix .compare-col-rivals .compare-th-main {
  color: var(--cmp-muted);
}

.compare-matrix .compare-col-rivals .compare-th-sub {
  color: var(--cmp-dim);
}

.compare-matrix .compare-col-dark {
  position: relative;
  background: linear-gradient(180deg, var(--cmp-red-tint-strong) 0%, var(--cmp-red-tint) 100%);
  box-shadow: inset 1px 0 0 var(--cmp-red-soft);
}

.compare-matrix .compare-col-dark .compare-th-main {
  color: var(--cmp-red);
  text-shadow: 0 0 20px var(--cmp-red-soft);
}

.compare-matrix .compare-col-dark .compare-th-sub {
  color: #b89898;
}

.compare-matrix tbody th[scope="row"] {
  text-align: left;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cmp-text);
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--cmp-line);
  border-right: 1px solid var(--cmp-line);
  background: rgba(0, 0, 0, 0.2);
  transition:
    color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.compare-matrix tbody td {
  text-align: center;
  vertical-align: middle;
  padding: 16px 12px;
  border-bottom: 1px solid var(--cmp-line);
  font-size: 14px;
  transition: background 0.2s ease;
}

.compare-matrix tbody td:nth-child(2) {
  background: rgba(0, 0, 0, 0.12);
  color: var(--cmp-muted);
}

.compare-matrix tbody td:last-child {
  background: var(--cmp-red-tint);
  box-shadow: inset 1px 0 0 var(--cmp-red-soft);
}

.compare-matrix tbody tr {
  transition: background 0.22s ease;
}

.compare-matrix tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.compare-matrix tbody tr:hover th[scope="row"] {
  color: #fff;
  box-shadow: inset 3px 0 0 var(--cmp-red);
  background: var(--cmp-red-tint);
}

.compare-matrix tbody tr:hover td:nth-child(2) {
  background: rgba(0, 0, 0, 0.18);
}

.compare-matrix tbody tr:hover td:last-child {
  background: var(--cmp-red-tint-strong);
}

.compare-matrix tbody tr.compare-row-price:hover {
  background: rgba(0, 0, 0, 0.42) !important;
}

.compare-matrix tbody tr:last-child th,
.compare-matrix tbody tr:last-child td {
  border-bottom: none;
}

.compare-row-price {
  background: rgba(0, 0, 0, 0.35) !important;
}

.compare-row-price th[scope="row"] {
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cmp-muted);
}

.compare-row-price td {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

.compare-matrix .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.compare-matrix tbody tr:hover .mark {
  transform: scale(1.06);
}

.compare-matrix .mark--bad {
  color: #fecaca;
  background: var(--cmp-red-tint);
  border: 1px solid var(--cmp-red-soft);
  box-shadow: 0 0 16px rgba(226, 77, 77, 0.12);
}

.compare-matrix .mark--ok {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow:
    0 0 18px rgba(16, 185, 129, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.compare-matrix .price-rivals {
  color: var(--cmp-dim);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

.compare-matrix .price-dark {
  text-align: center;
}

.price-dark__main {
  display: block;
  color: var(--cmp-red);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.35;
  text-shadow: 0 0 18px var(--cmp-red-soft);
}

.price-dark__alt {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cmp-muted);
  letter-spacing: 0.02em;
}

.compare-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}

.compare-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  border-radius: 999px;
  padding: 17px 36px 17px 40px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #f08080 0%, var(--cmp-red) 42%, var(--cmp-red-deep) 100%);
  border: 1px solid rgba(255, 200, 200, 0.35);
  color: #fff;
  text-decoration: none;
  box-shadow:
    var(--cmp-glow),
    0 10px 28px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    filter 0.2s ease;
}

.compare-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.18) 48%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.compare-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    var(--cmp-glow-hover),
    0 14px 36px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  filter: brightness(1.04);
}

.compare-cta-btn:hover::before {
  transform: translateX(100%);
}

.compare-cta-arrow {
  flex-shrink: 0;
  opacity: 0.95;
  transition: transform 0.25s ease;
}

.compare-cta-btn:hover .compare-cta-arrow {
  transform: translateX(4px);
}

.compare-cta-note {
  margin: 0;
  max-width: 380px;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
  color: var(--cmp-muted);
  font-weight: 500;
}

@keyframes compare-row-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes compare-mark-pop {
  0% {
    transform: scale(0) rotate(-12deg);
    opacity: 0;
  }
  65% {
    transform: scale(1.08) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.page-ready .compare-matrix tbody tr {
  opacity: 0;
  animation: compare-row-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-ready .compare-matrix tbody tr:nth-child(1) {
  animation-delay: 0.05s;
}
.page-ready .compare-matrix tbody tr:nth-child(2) {
  animation-delay: 0.11s;
}
.page-ready .compare-matrix tbody tr:nth-child(3) {
  animation-delay: 0.17s;
}
.page-ready .compare-matrix tbody tr:nth-child(4) {
  animation-delay: 0.23s;
}
.page-ready .compare-matrix tbody tr:nth-child(5) {
  animation-delay: 0.29s;
}
.page-ready .compare-matrix tbody tr:nth-child(6) {
  animation-delay: 0.35s;
}

.page-ready .compare-matrix tbody tr:nth-child(1) .mark--ok {
  animation: compare-mark-pop 0.48s cubic-bezier(0.34, 1.45, 0.64, 1) 0.26s backwards;
}
.page-ready .compare-matrix tbody tr:nth-child(2) .mark--ok {
  animation: compare-mark-pop 0.48s cubic-bezier(0.34, 1.45, 0.64, 1) 0.32s backwards;
}
.page-ready .compare-matrix tbody tr:nth-child(3) .mark--ok {
  animation: compare-mark-pop 0.48s cubic-bezier(0.34, 1.45, 0.64, 1) 0.38s backwards;
}
.page-ready .compare-matrix tbody tr:nth-child(4) .mark--ok {
  animation: compare-mark-pop 0.48s cubic-bezier(0.34, 1.45, 0.64, 1) 0.44s backwards;
}
.page-ready .compare-matrix tbody tr:nth-child(5) .mark--ok {
  animation: compare-mark-pop 0.48s cubic-bezier(0.34, 1.45, 0.64, 1) 0.5s backwards;
}

@media (max-width: 720px) {
  .compare-page-title {
    flex-direction: column;
    align-items: center;
    gap: 0.15em;
  }

  .compare-page-title__line--rival {
    flex-direction: row;
    gap: 0.5em;
  }

  .compare-matrix thead th.compare-th-label {
    width: 40%;
  }

  .compare-th-main {
    font-size: 11px;
  }

  .compare-th-sub {
    font-size: 10px;
  }

  .compare-matrix .compare-col-rivals .compare-th-sub,
  .compare-matrix .compare-col-dark .compare-th-sub {
    display: none;
  }

  .compare-matrix thead th {
    padding: 16px 8px 14px;
  }

  .compare-matrix tbody th[scope="row"] {
    font-size: 12px;
    padding: 14px 10px;
  }

  .compare-matrix tbody td {
    font-size: 12px;
    padding: 12px 6px;
  }

  .compare-matrix .mark {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .price-dark__main {
    font-size: 13px;
  }
}

/* ——— Comparatif : grille avantages + suite ——— */
/* Aucun fond de section : tout vient du body → zéro « coupe » horizontale entre blocs */
.page-compare .section-grid-bg {
  position: relative;
  padding-top: 56px;
  padding-bottom: 48px;
  background: none;
}

.page-compare .section-grid-bg::before {
  display: none;
}

.page-compare .section-grid-bg .container {
  position: relative;
  z-index: 1;
  max-width: 1040px;
}

.page-compare .benefit-grid {
  gap: 14px;
}

.page-compare .benefit-card {
  position: relative;
  border-radius: 16px;
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 36px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.page-compare .benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--cmp-red-soft);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px var(--cmp-red-tint),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-compare .benefit-card h3 {
  margin: 0 0 12px;
  padding-bottom: 12px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
}

.page-compare .benefit-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cmp-red), var(--cmp-red-tint));
}

.page-compare .benefit-card p {
  color: var(--cmp-muted);
  line-height: 1.55;
  font-size: 14px;
}

.page-compare .compare-next-section {
  padding-top: 8px;
  padding-bottom: 72px;
  background: transparent;
}

.page-compare .compare-next {
  max-width: 560px;
  margin: 0 auto;
  padding-top: 48px;
  text-align: center;
  border-top: none;
}

.page-compare .compare-next__kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cmp-dim);
}

.page-compare .compare-next__text {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--cmp-muted);
}

.page-compare .compare-next__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.page-compare .compare-next__actions .btn-outline {
  min-width: 168px;
  padding: 12px 22px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  font-weight: 700;
}

.page-compare .compare-next__actions .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.page-compare .compare-next__actions .btn-primary {
  min-width: 188px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 800;
  box-shadow:
    var(--cmp-glow),
    0 10px 26px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-compare .compare-next__actions .btn-primary:hover {
  box-shadow:
    var(--cmp-glow-hover),
    0 12px 30px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

@keyframes compare-benefit-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-ready .page-compare .benefit-card {
  opacity: 0;
  animation: compare-benefit-in 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-ready .page-compare .benefit-card:nth-child(1) {
  animation-delay: 0.04s;
}
.page-ready .page-compare .benefit-card:nth-child(2) {
  animation-delay: 0.1s;
}
.page-ready .page-compare .benefit-card:nth-child(3) {
  animation-delay: 0.16s;
}
.page-ready .page-compare .benefit-card:nth-child(4) {
  animation-delay: 0.22s;
}

@media (max-width: 560px) {
  .page-compare .compare-next__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-compare .compare-next__actions .btn-outline,
  .page-compare .compare-next__actions .btn-primary {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid #263042;
  padding: 12px;
  text-align: left;
}

th {
  color: #d3daeb;
}

.compare-card table td:nth-child(3) {
  color: #22c55e;
  font-weight: 600;
}

.pricing {
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(168deg, rgba(18, 22, 34, 0.96) 0%, rgba(10, 12, 20, 0.94) 100%) padding-box,
    linear-gradient(160deg, rgba(55, 65, 81, 0.35), rgba(15, 17, 24, 0.2)) border-box;
  background-origin: padding-box, border-box;
  padding: clamp(22px, 3vw, 28px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 20px 48px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.32s ease;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(239, 68, 68, 0.12), transparent 65%);
  transition: opacity 0.3s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(248, 113, 113, 0.22);
  box-shadow:
    0 0 0 1px rgba(239, 68, 68, 0.1),
    0 26px 56px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(220, 38, 38, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.price-card:hover::before {
  opacity: 1;
}

.price-card.featured {
  border-color: transparent;
  background:
    linear-gradient(168deg, rgba(22, 14, 18, 0.97) 0%, rgba(10, 11, 18, 0.95) 100%) padding-box,
    linear-gradient(135deg, rgba(248, 113, 113, 0.45), rgba(185, 28, 28, 0.5), rgba(239, 68, 68, 0.35))
      border-box;
  box-shadow:
    0 0 0 1px rgba(185, 28, 28, 0.25),
    0 22px 56px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(220, 38, 38, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.price-card.featured:hover {
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(254, 202, 202, 0.2),
    0 28px 64px rgba(0, 0, 0, 0.52),
    0 0 90px rgba(220, 38, 38, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.price-badge {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.35);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.12);
}

.price-badge--centered {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 2;
  background: linear-gradient(180deg, #ff3f50 0%, #db1f33 100%) !important;
  border: 1px solid rgba(255, 120, 136, 0.9) !important;
  color: #ffffff !important;
  text-shadow: none !important;
  box-shadow:
    0 8px 18px rgba(219, 31, 51, 0.42),
    0 0 0 1px rgba(255, 63, 80, 0.3) !important;
}

.price-card.featured {
  padding-top: clamp(30px, 3.6vw, 38px);
}

/* Keep featured pricing card border always red */
body.page-pricing .price-card.featured {
  border: 1px solid rgba(255, 66, 86, 0.62) !important;
  box-shadow:
    0 0 0 1px rgba(255, 66, 86, 0.18),
    0 22px 56px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(255, 52, 72, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body.page-pricing .price-card.featured:hover {
  border: 1px solid rgba(255, 84, 102, 0.82) !important;
  box-shadow:
    0 0 0 1px rgba(255, 84, 102, 0.24),
    0 28px 64px rgba(0, 0, 0, 0.52),
    0 0 36px rgba(255, 52, 72, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Navbar login link: text only, no button frame */
.topbar .nav-action--link {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: auto !important;
  border-radius: 0 !important;
  color: #eaf0ff !important;
  font-weight: 700 !important;
}

.topbar .nav-action--link:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  text-decoration: underline;
}

/* Force "Se connecter" as plain text everywhere */
#login-open.nav-action--link,
.app-login#login-open,
.app-topbar #login-open {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: auto !important;
  border-radius: 0 !important;
  color: #eaf0ff !important;
  font-weight: 700 !important;
}

#login-open.nav-action--link:hover,
.app-login#login-open:hover,
.app-topbar #login-open:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Contact page */
.page-contact .contact-hub {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.page-contact .contact-panel {
  border: 1px solid rgba(255, 84, 103, 0.22);
  border-radius: 14px;
  padding: 14px;
  background:
    linear-gradient(168deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%) padding-box,
    linear-gradient(160deg, rgba(55, 65, 81, 0.35), rgba(15, 17, 24, 0.2)) border-box;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-contact .contact-panel--discord {
  border-color: rgba(255, 96, 115, 0.34);
}

.page-contact .contact-panel--session {
  border-color: rgba(120, 139, 174, 0.3);
}

.page-contact .contact-panel--col2 {
  grid-column: 2;
}

.page-contact .contact-panel--col3 {
  grid-column: 3;
}

.page-contact .contact-panel--wide-left {
  grid-column: 1 / 3;
}

.page-contact .contact-panel--wide-right {
  grid-column: 3;
}

.page-contact .contact-panel--tips {
  grid-column: span 1;
}

.page-contact .contact-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.page-contact .contact-panel__head h3 {
  margin: 0;
  font-size: 1.06rem;
}

.page-contact .contact-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 109, 0.34);
  background: rgba(255, 84, 103, 0.12);
  color: #ffdbe1;
  font-size: 11px;
  font-weight: 700;
}

.page-contact .contact-panel__text {
  margin: 0 0 12px;
  color: rgba(213, 223, 243, 0.88);
  line-height: 1.5;
  font-size: 0.92rem;
}

.page-contact .contact-info-list,
.page-contact .contact-bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-contact .contact-info-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(208, 219, 241, 0.9);
  font-size: 0.9rem;
}

.page-contact .contact-info-list li:last-child {
  border-bottom: none;
}

.page-contact .contact-info-list strong {
  color: #eef3ff;
}

.page-contact .contact-bullet-list li {
  position: relative;
  padding-left: 16px;
  margin: 7px 0;
  color: rgba(208, 219, 241, 0.88);
  font-size: 0.9rem;
  line-height: 1.45;
}

.page-contact .contact-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5d74;
  box-shadow: 0 0 10px rgba(255, 93, 116, 0.65);
}

.page-contact .contact-panel .btn {
  width: 100%;
  justify-content: center;
}

.page-contact .contact-panel .btn {
  background: linear-gradient(180deg, #ff5165 0%, #c21e34 100%) !important;
  border-color: rgba(255, 104, 121, 0.72) !important;
  color: #fff7fa !important;
  box-shadow:
    0 12px 28px rgba(194, 30, 52, 0.38),
    0 0 24px rgba(255, 81, 101, 0.22) !important;
}

.page-contact .contact-session-id {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(120, 139, 174, 0.28);
  background: rgba(8, 12, 21, 0.8);
  color: #eaf0ff;
  font-size: 0.86rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 980px) {
  .page-contact .contact-hub {
    grid-template-columns: 1fr 1fr;
  }

  .page-contact .contact-panel--col2,
  .page-contact .contact-panel--col3,
  .page-contact .contact-panel--wide-left,
  .page-contact .contact-panel--wide-right {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .page-contact .contact-hub {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 84, 103, 0.2);
  background:
    linear-gradient(168deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(160deg, rgba(55, 65, 81, 0.35), rgba(15, 17, 24, 0.2)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 26px 0 18px;
}

.site-footer__brand {
  display: inline-flex;
  margin-bottom: 8px;
}

.site-footer__text {
  margin: 0;
  color: rgba(198, 209, 231, 0.76);
  font-size: 0.9rem;
}

.site-footer h4 {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #f2f5ff;
}

.site-footer a {
  display: block;
  margin: 6px 0;
  color: rgba(209, 220, 242, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
}

.site-footer a:hover {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 84, 103, 0.24);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 84, 103, 0.14);
  padding: 10px 0 14px;
}

.site-footer__bottom p {
  margin: 0;
  text-align: center;
  color: rgba(175, 187, 212, 0.72);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .site-footer {
    margin-bottom: 14px;
  }

  .site-footer .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
}

/* Legal pages: same dark/red site palette */
.page-legal .page-hero {
  padding-top: clamp(96px, 13vh, 126px);
  padding-bottom: 40px;
}

.page-legal .page-hero .eyebrow {
  color: rgba(255, 110, 128, 0.9) !important;
}

.page-legal .page-hero .subtitle {
  color: rgba(202, 213, 236, 0.86) !important;
}

.page-legal .compare-card,
.page-legal .legal-card {
  border: 1px solid rgba(255, 84, 103, 0.24) !important;
  background:
    linear-gradient(168deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%) padding-box,
    linear-gradient(160deg, rgba(55, 65, 81, 0.35), rgba(15, 17, 24, 0.2)) border-box !important;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.page-legal .compare-card p,
.page-legal .legal-card p {
  color: rgba(214, 224, 245, 0.9) !important;
}

.page-legal .legal-card h2 {
  color: #f3f6ff !important;
}

.price-title {
  margin: 0;
  color: #e2e8f0;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.price-value {
  margin: 10px 0 16px;
  font-size: clamp(32px, 4.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.price-value span {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  margin-left: 6px;
  letter-spacing: 0;
  vertical-align: middle;
}

.price-list {
  flex: 1;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: #d0d8ea;
  line-height: 1.5;
}

.price-list li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.price-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath stroke='%23fecaca' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2 6.4 11l6.1-6.5'/%3E%3C/svg%3E")
      center / 12px no-repeat,
    rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.35);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.1);
}

.price-card .btn-primary {
  width: 100%;
  margin-top: auto;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 14px;
}

body.page-pricing .page-hero {
  position: relative;
  padding-top: clamp(100px, 14vh, 132px);
  padding-bottom: 48px;
}

body.page-pricing .page-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(520px, 88vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 113, 113, 0.35), transparent);
  pointer-events: none;
}

body.page-pricing .page-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

body.page-pricing .page-hero .eyebrow {
  color: rgba(248, 113, 113, 0.85);
  letter-spacing: 0.2em;
  font-weight: 800;
}

body.page-pricing .page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

body.page-pricing .page-hero .subtitle {
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.65;
  color: #b8c2d6;
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
}

body.page-pricing .section:has(.pricing-grid) {
  padding-top: 28px;
}


body.page-pricing .faq-list {
  gap: 12px;
}

body.page-pricing .faq-list details {
  border-radius: 14px;
  padding: 14px 16px;
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(10, 12, 20, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

body.page-pricing .faq-list details:hover {
  border-color: rgba(248, 113, 113, 0.2);
}

body.page-pricing .faq-list details[open] {
  border-color: rgba(248, 113, 113, 0.32);
  background: rgba(16, 18, 28, 0.88);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.page-pricing .faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  font-size: 15px;
  letter-spacing: -0.01em;
}

body.page-pricing .faq-list summary::-webkit-details-marker {
  display: none;
}

body.page-pricing .faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(248, 113, 113, 0.75);
  border-bottom: 2px solid rgba(248, 113, 113, 0.75);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-pricing .faq-list details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

body.page-pricing .faq-list p {
  font-size: 14px;
  line-height: 1.6;
}


.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.testimonial-card {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(15, 20, 31, 0.94), rgba(10, 14, 22, 0.9));
  padding: 16px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: #3b465d;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.testimonial-card p {
  margin: 0 0 10px;
  color: #d8dfef;
  line-height: 1.45;
}

.testimonial-card strong {
  color: #9fb5d7;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: rgba(13, 18, 28, 0.9);
  padding: 10px 12px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.faq-list details[open] {
  border-color: #3f4a63;
  background: rgba(16, 22, 34, 0.94);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.final-cta {
  padding-top: 10px;
}

.cta-card {
  border: 1px solid #374057;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(28, 12, 15, 0.88), rgba(13, 17, 26, 0.9));
  padding: 22px;
  text-align: center;
}

.cta-card h2 {
  margin: 0 0 8px;
}

.cta-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.ticker {
  border-top: 1px solid #2f1114;
  border-bottom: 1px solid #2f1114;
  background: #0a0c11;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  min-width: 100%;
  padding: 11px 0;
  animation: ticker-move 24s linear infinite;
}

.ticker-track span {
  margin: 0 16px;
  font-size: 11px;
  letter-spacing: 1.4px;
  color: #aeb6c7;
}

.ticker-track span::after {
  content: "  \2022";
  color: #b91c1c;
}

@keyframes ticker-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.65);
  display: grid;
  place-items: center;
  padding: 14px;
}

.hidden {
  display: none !important;
}

.modal-panel {
  position: relative;
  width: min(420px, 100%);
  border: 1px solid #374056;
  border-radius: 14px;
  background: #0f1420;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.modal-panel h3 {
  margin: 0 0 6px;
  font-size: 28px;
}

.modal-panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid #394359;
  background: #161d2b;
  color: #dde4f1;
  border-radius: 8px;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

.login-form {
  display: grid;
  gap: 10px;
}

.login-form input {
  width: 100%;
  border: 1px solid #38445c;
  background: #12192a;
  color: #f2f6ff;
  border-radius: 8px;
  padding: 11px;
}

/* ——— Modale activation licence (style DarkGPT rouge) ——— */
.modal--license {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}

.modal--license:not(.hidden) .license-modal {
  animation: license-modal-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes license-modal-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(18px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.license-modal {
  position: relative;
  width: min(400px, 100%);
  padding: 32px 28px 26px;
  border-radius: 20px;
  border: 1px solid #2a2a2a;
  background: linear-gradient(165deg, #1a1a1a 0%, #121212 45%, #0d0d0d 100%);
  box-shadow:
    0 0 0 1px rgba(255, 0, 0, 0.06),
    0 24px 64px rgba(0, 0, 0, 0.75),
    0 0 80px rgba(180, 0, 0, 0.12);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  text-align: center;
}

.license-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #888;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.license-close:hover {
  color: #fff;
  border-color: #c00;
  background: #221010;
  transform: scale(1.05);
}

.license-brand {
  margin: 8px 0 10px;
  font-size: clamp(1.85rem, 5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.license-brand-dark {
  color: #ffffff;
}

.license-brand-gpt {
  color: #ff1a1a;
  text-shadow:
    0 0 20px rgba(255, 0, 0, 0.55),
    0 0 40px rgba(255, 0, 0, 0.25);
  animation: license-gpt-pulse 2.4s ease-in-out infinite;
}

@keyframes license-gpt-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(255, 30, 30, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(255, 40, 40, 0.95));
  }
}

.license-subtitle {
  margin: 0 0 22px !important;
  font-size: 14px;
  font-weight: 500;
  color: #888888 !important;
}

.license-form {
  display: grid;
  gap: 14px;
  margin: 0;
}

.license-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #2f2f2f;
  background: #0a0a0a;
  color: #f5f5f5;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-align: center;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.license-input::placeholder {
  color: #555;
  letter-spacing: 0.1em;
}

.license-input:focus {
  outline: none;
  border-color: rgba(255, 0, 0, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.12);
}

.license-btn-activate {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff2222 0%, #cc0000 100%);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 4px 20px rgba(255, 0, 0, 0.45),
    0 0 28px rgba(255, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  animation: license-btn-glow 2.8s ease-in-out infinite;
}

@keyframes license-btn-glow {
  0%,
  100% {
    box-shadow:
      0 4px 20px rgba(255, 0, 0, 0.45),
      0 0 28px rgba(255, 0, 0, 0.22);
  }
  50% {
    box-shadow:
      0 4px 26px rgba(255, 0, 0, 0.65),
      0 0 40px rgba(255, 0, 0, 0.38);
  }
}

.license-btn-activate:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.license-btn-activate:active {
  transform: translateY(0);
}

.license-status {
  min-height: 1.25em;
  margin: 12px 0 0 !important;
  font-size: 13px;
  color: #a8a8a8 !important;
}

.license-status.is-error {
  color: #ff6b6b !important;
}

.license-status.is-ok {
  color: #4ade80 !important;
}

.license-divider {
  height: 1px;
  margin: 22px 0 18px;
  background: linear-gradient(90deg, transparent, #2a2a2a 15%, #2a2a2a 85%, transparent);
}

.license-btn-outline {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 30, 30, 0.65);
  background: transparent;
  color: #ff3333;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.license-btn-outline:hover {
  background: rgba(255, 0, 0, 0.12);
  border-color: #ff4444;
  color: #ff5555;
  box-shadow: 0 0 24px rgba(255, 0, 0, 0.2);
  transform: translateY(-1px);
}

.license-legal {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.license-legal:hover {
  color: #888;
}

/* ——— Console admin (/admin.html) ——— */
.admin-app {
  min-height: 100vh;
  margin: 0;
  background: #0c0e12;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #e8eaef;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(12, 14, 18, 0.92);
  backdrop-filter: blur(10px);
}

.admin-topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-topbar-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.admin-topbar-logo-dark {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.admin-topbar-logo-gpt {
  font-size: 1.35rem;
  font-weight: 800;
  color: #e11d48;
  letter-spacing: -0.02em;
}

.admin-topbar-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-topbar-link {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-topbar-link:hover {
  color: #f8fafc;
}

.admin-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 22px 56px;
}

.admin-login-screen {
  display: flex;
  justify-content: center;
  padding: 48px 0;
  animation: admin-fade-up 0.55s ease both;
}

@keyframes admin-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-login-card {
  width: min(420px, 100%);
  padding: 36px 32px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, #141820 0%, #0f1218 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.admin-login-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.admin-login-title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.admin-login-lead {
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-form-stack {
  gap: 10px;
}

.admin-label {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.admin-field {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0c10;
  color: #f1f5f9;
  font-size: 14px;
  font-family: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.admin-field:focus {
  outline: none;
  border-color: rgba(225, 29, 72, 0.45);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.admin-field::placeholder {
  color: #475569;
}

.admin-btn-primary {
  margin-top: 8px;
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #e11d48 0%, #be123c 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    filter 0.15s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.35);
}

.admin-btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.admin-btn-secondary {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.admin-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
}

.admin-feedback {
  min-height: 1.3em;
  margin: 16px 0 0;
  font-size: 13px;
  color: #94a3b8;
}

.admin-feedback.is-error {
  color: #f87171;
}

.admin-feedback.is-ok {
  color: #4ade80;
}

.admin-feedback-dash {
  margin: 0 0 16px;
}

.admin-dashboard {
  animation: admin-fade-up 0.45s ease both;
}

.admin-dashboard-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.admin-dashboard-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.admin-dashboard-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: 24px;
  margin-top: 20px;
}

@media (max-width: 840px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

.admin-sidebar {
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #11141a;
  align-self: start;
}

.admin-content {
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #11141a;
  min-height: 280px;
}

.admin-panel-title {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.admin-keys-pro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(520px, 70vh);
  overflow-y: auto;
  padding-right: 4px;
}

.admin-empty {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.admin-key-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0c0e12;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.admin-key-row:hover {
  border-color: rgba(225, 29, 72, 0.2);
  background: #0e1016;
}

.admin-key-main {
  flex: 1;
  min-width: 0;
}

.admin-key-display {
  margin: 0 0 6px;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: 0.05em;
  word-break: break-all;
}

.admin-key-meta {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

.admin-key-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-btn-ghost {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.admin-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.admin-btn-danger {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.2);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.admin-btn-danger:hover:not(:disabled) {
  background: rgba(127, 29, 29, 0.35);
}

.admin-btn-danger:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::before {
    animation: none;
    opacity: 0.5;
    transform: none;
  }

  body.page-ready {
    animation: none;
  }

  .topbar.topbar-scrolled {
    transform: none;
  }

  .page-ready .hero-content .pill,
  .page-ready .hero-content h1,
  .page-ready .hero-content .subtitle,
  .page-ready .hero-content .hero-actions,
  .page-ready .hero-content .hero-metrics {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .page-ready .hero-content .pill {
    box-shadow: none;
  }

  .page-ready .hero-content .hero-title__accent {
    animation: none;
  }

  .hero-particles::before {
    animation: none;
  }

  .page-ready .logo span {
    animation: none;
  }

  .hero-overlay {
    animation: none;
    transform: none;
    opacity: 1;
  }

  .trust-strip.is-visible span {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .metric-card:hover {
    transform: none;
  }

  .btn-primary {
    transition: none;
  }

  .btn-primary:hover {
    background-position: 100% 0, 0 0;
  }

  .btn-primary:hover::after {
    animation: none;
    opacity: 0;
  }

  .gpt-newchat:hover,
  .gpt-history__del:hover {
    transform: none;
  }

  .app-model-pill__status {
    animation: none;
  }

  .app-empty__title--intro {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .msg {
    animation: none;
  }

  body {
    transition: none;
  }

  .reveal {
    filter: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal.in-view {
    filter: none;
  }

  .page-ready .compare-matrix tbody tr {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .page-ready .compare-matrix .mark--ok {
    animation: none;
  }

  .compare-cta-btn::before {
    display: none;
  }

  .compare-cta-btn:hover .compare-cta-arrow {
    transform: none;
  }

  .page-ready .page-compare .benefit-card {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

@media (max-width: 900px) {
  .topnav {
    display: none;
  }

  .top-actions .nav-action {
    display: none;
  }

  .topbar {
    border-radius: 12px;
  }

  .logo {
    font-size: 30px;
  }

  .subtitle {
    font-size: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .chat-lock {
    position: static;
    margin: 8px 12px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Thème clair (espace client) */
html[data-theme="light"] {
  --bg: #f4f4f8;
  --bg-soft: #ececf2;
  --line: #d4d7e3;
  --text: #111827;
  --muted: #4b5563;
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-border: #e2e5ef;
}

html[data-theme="light"] .app-shell--gpt,
html[data-theme="light"] .gpt-sidebar {
  background: linear-gradient(180deg, #f8f9fc 0%, #eef0f6 100%);
}

html[data-theme="light"] .msg-bubble {
  background: rgba(255, 255, 255, 0.95);
  color: #111827;
  border-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .msg.user .msg-bubble {
  background: rgba(239, 68, 68, 0.12);
}

.theme-toggle {
  margin-right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

html[data-theme="light"] .theme-toggle {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

.gpt-sidebar__tools--col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gpt-history-filter {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

html[data-theme="light"] .gpt-history-filter {
  border-color: rgba(0, 0, 0, 0.12);
  background: #fff;
}

.composer-stop {
  min-width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.15);
  color: #fecaca;
  font-size: 12px;
  cursor: pointer;
}

.composer-stop.hidden {
  display: none !important;
}

.msg-bubble--md {
  line-height: 1.55;
}

.msg-bubble--md p {
  margin: 0 0 0.65em;
}

.msg-bubble--md p:last-child {
  margin-bottom: 0;
}

.msg-bubble--md pre {
  margin: 0.6em 0;
  padding: 12px 14px;
  border-radius: 10px;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.45);
  font-size: 13px;
}

.msg-bubble--md .msg-code-wrap {
  position: relative;
  margin: 0.6em 0;
  border: 1px solid rgba(255, 92, 114, 0.22);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 10, 13, 0.96), rgba(9, 9, 11, 0.98));
}

.msg-bubble--md .msg-code-head {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 8px 0 10px;
  border-bottom: 1px solid rgba(255, 112, 130, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.msg-bubble--md .msg-code-lang {
  color: rgba(242, 245, 252, 0.86);
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.msg-bubble--md .msg-code-wrap pre {
  margin: 0;
  padding-top: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.msg-bubble--md .msg-code-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid rgba(255, 98, 120, 0.34);
  background: rgba(17, 16, 20, 0.92);
  color: #f5f7ff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.msg-bubble--md .msg-code-copy__icon {
  font-size: 12px;
  line-height: 1;
}

.msg-bubble--md .msg-code-copy.is-copied {
  border-color: rgba(74, 222, 128, 0.44);
  color: #dcfce7;
}

html[data-theme="light"] .msg-bubble--md pre {
  background: rgba(0, 0, 0, 0.06);
}

.msg-bubble--md code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

.msg-bubble--md :not(pre) > code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .msg-bubble--md :not(pre) > code {
  background: rgba(0, 0, 0, 0.06);
}

.msg-bubble--md a {
  color: #f87171;
  text-decoration: underline;
}

html[data-theme="light"] .msg-bubble--md a {
  color: #b91c1c;
}

.msg-bubble--md ul,
.msg-bubble--md ol {
  margin: 0.4em 0 0.6em 1.2em;
  padding: 0;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: rgba(12, 12, 18, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  max-width: 640px;
  margin: 0 auto;
}

.cookie-banner.hidden {
  display: none !important;
}

.cookie-banner__text {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

.cookie-banner__btn {
  padding: 8px 18px;
  border-radius: 10px;
  border: none;
  background: #ef4444;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.license-legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  margin-top: 8px;
}

.legal-card {
  text-align: left;
}

.legal-card h2 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}

.legal-muted a {
  color: #f87171;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.admin-stat-card {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.admin-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.admin-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

/* =========================================================
   Professional refresh (global UI pass)
   Keeps existing HTML/JS and refines visual system.
   ========================================================= */

:root {
  --bg: #070a12;
  --bg-soft: #0f1523;
  --line: #2a3448;
  --text: #f3f6ff;
  --muted: #a7b3ca;
  --card-bg: rgba(15, 21, 35, 0.84);
  --card-border: rgba(121, 140, 175, 0.22);
}

body {
  background-color: #05070d;
  background-image:
    radial-gradient(ellipse 95% 85% at 50% -12%, rgba(214, 48, 64, 0.2), rgba(214, 48, 64, 0.03) 48%, transparent 72%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 28px 28px;
}

body::before {
  opacity: 0.45;
}

.container {
  max-width: 1160px;
}

.topbar {
  border: 1px solid rgba(124, 142, 174, 0.2);
  background: rgba(8, 11, 20, 0.78);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.33);
  backdrop-filter: blur(14px);
}

.logo {
  font-size: 31px;
  letter-spacing: -0.03em;
}

.logo span {
  color: #ff6b75;
}

.topnav a {
  color: #d7dff0;
  font-size: 14px;
  font-weight: 600;
}

.topnav a.active {
  color: #ffffff;
}

.btn {
  border-radius: 12px;
  font-weight: 700;
}

.btn-primary {
  border-color: rgba(255, 107, 117, 0.65);
  background: linear-gradient(180deg, #ff6b75 0%, #d63b48 100%);
  box-shadow: 0 10px 28px rgba(214, 59, 72, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(214, 59, 72, 0.34);
}

.btn-outline {
  border-color: rgba(124, 142, 174, 0.34);
  background: rgba(14, 20, 32, 0.65);
}

.btn-outline:hover {
  border-color: rgba(159, 178, 212, 0.5);
  background: rgba(22, 29, 45, 0.74);
}

.page-home .hero {
  padding-top: clamp(118px, 16vh, 168px);
  padding-bottom: clamp(86px, 14vh, 126px);
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(4, 6, 12, 0.08) 0%, rgba(4, 6, 12, 0.68) 100%);
}

.pill {
  border-color: rgba(124, 142, 174, 0.34);
  background: rgba(12, 18, 30, 0.78);
  color: #dbe4f8;
}

.pill-icon {
  color: #ff8a92;
}

.hero-title {
  font-size: clamp(2rem, 5.7vw, 4rem);
  line-height: 1.05;
}

.hero-title__brand {
  color: #ffffff;
}

.hero-title__accent {
  color: #ff8992;
  text-shadow: none;
}

.subtitle--hero {
  color: #c0cbe0;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

.trust-strip {
  border: 1px solid rgba(121, 140, 175, 0.2);
  background: rgba(10, 15, 26, 0.68);
}

.trust-strip span {
  color: #c6d0e5;
  letter-spacing: 0.11em;
}

.section {
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(56px, 8vw, 88px);
}

.center-title {
  letter-spacing: -0.03em;
}

.center-title span {
  color: #ff8a92;
}

.benefit-card,
.feature-card,
.compare-card,
.price-card,
.faq-list details,
.cta-card,
.legal-card {
  border: 1px solid var(--card-border);
  background: linear-gradient(168deg, rgba(13, 18, 30, 0.9) 0%, rgba(10, 14, 24, 0.86) 100%);
  box-shadow:
    0 0 0 1px rgba(4, 7, 14, 0.5),
    0 18px 44px rgba(0, 0, 0, 0.3);
}

.benefit-card:hover,
.feature-card:hover,
.price-card:hover {
  border-color: rgba(255, 138, 146, 0.4);
}

.price-card.featured {
  border-color: rgba(255, 138, 146, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 138, 146, 0.22),
    0 20px 56px rgba(0, 0, 0, 0.38);
}

.price-badge {
  color: #ffd7db;
  background: rgba(255, 107, 117, 0.12);
}

.faq-list details[open] {
  border-color: rgba(255, 138, 146, 0.34);
}

.final-cta {
  padding-top: 0;
}

.cta-card h2 {
  letter-spacing: -0.02em;
}

.ticker {
  border-color: rgba(121, 140, 175, 0.22);
  background: rgba(8, 11, 19, 0.92);
}

.ticker-track span {
  color: #c7d2e7;
}

.ticker-track span::after {
  color: #ff8a92;
}

.page-hero h1,
.compare-page-title {
  letter-spacing: -0.03em;
}

.compare-page-lead,
.center-muted,
.subtitle,
.benefit-card p,
.feature-card p,
.faq-list p,
.runtime-info {
  color: var(--muted);
}

.compare-matrix-card,
.compare-matrix tbody tr,
.compare-matrix thead th {
  border-color: rgba(121, 140, 175, 0.2);
}

.compare-matrix .mark--ok {
  color: #7ce39b;
}

.compare-matrix .mark--bad {
  color: #ff9fa7;
}

.modal {
  background: rgba(2, 4, 8, 0.75);
}

.license-modal {
  border-color: rgba(122, 142, 177, 0.26);
  background: linear-gradient(165deg, #121926 0%, #0e1420 100%);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.52);
}

.license-brand-gpt {
  color: #ff7f89;
  text-shadow: none;
  animation: none;
}

.license-subtitle {
  color: #9ba8c2 !important;
}

.license-input {
  border-color: rgba(122, 142, 177, 0.3);
  background: rgba(7, 11, 19, 0.86);
}

.license-btn-activate {
  background: linear-gradient(180deg, #ff6b75 0%, #d63b48 100%);
  animation: none;
}

.license-btn-outline {
  border-color: rgba(255, 127, 137, 0.55);
  color: #ff9ea5;
}

.app-shell--gpt {
  background: linear-gradient(180deg, #090d17 0%, #070a12 100%);
}

.gpt-sidebar {
  border-right: 1px solid rgba(124, 142, 174, 0.2);
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.9) 0%, rgba(7, 10, 17, 0.95) 100%);
}

.app-topbar--gpt {
  border-bottom: 1px solid rgba(124, 142, 174, 0.18);
  background: rgba(7, 10, 18, 0.74);
  backdrop-filter: blur(10px);
}

.app-model-pill,
.gpt-tool,
.gpt-history-filter,
.composer--gpt,
.chat--gpt .msg-bubble {
  border-color: rgba(124, 142, 174, 0.24);
}

.chat--gpt .msg.user .msg-bubble {
  background: rgba(255, 107, 117, 0.12);
  border-color: rgba(255, 138, 146, 0.34);
}

.chat--gpt .msg.assistant .msg-bubble {
  background: rgba(12, 18, 30, 0.84);
}

.composer-send {
  border-color: rgba(255, 138, 146, 0.5);
  background: linear-gradient(180deg, #ff6b75 0%, #d63b48 100%);
  box-shadow: 0 0 26px rgba(214, 59, 72, 0.36);
}

.cookie-banner {
  border-color: rgba(124, 142, 174, 0.26);
  background: rgba(10, 14, 24, 0.95);
}

@media (max-width: 900px) {
  .topbar {
    border-radius: 14px;
  }

  .page-home .hero {
    padding-top: 108px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8.5vw, 2.6rem);
  }
}

/* Features page: cards look less basic */
.page-features .feature-grid {
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-features .feature-card,
.page-features .benefit-card {
  position: relative;
  padding: 22px 24px 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 89, 106, 0.24);
  background:
    linear-gradient(165deg, rgba(5, 8, 16, 0.98) 0%, rgba(4, 7, 13, 0.95) 100%) padding-box,
    linear-gradient(140deg, rgba(255, 108, 121, 0.34), rgba(122, 139, 170, 0.12)) border-box;
  box-shadow:
    0 0 0 1px rgba(4, 7, 14, 0.76),
    0 24px 44px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s ease,
    box-shadow 0.24s ease;
  overflow: hidden;
}

.page-features .feature-card::before,
.page-features .benefit-card::before {
  content: "";
  position: absolute;
  left: -24%;
  top: -58%;
  width: 148%;
  height: 128%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 91, 106, 0.16), transparent 64%);
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.page-features .feature-card:hover,
.page-features .benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 134, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 123, 135, 0.2),
    0 26px 50px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(255, 89, 106, 0.1);
}

.page-features .feature-card:hover::before,
.page-features .benefit-card:hover::before {
  opacity: 1;
}

.page-features .feature-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.page-features .feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(241, 83, 99, 0.5);
  background: linear-gradient(180deg, #f24657 0%, #be1f31 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow:
    0 12px 24px rgba(203, 37, 52, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.page-features .feature-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(241, 83, 99, 0.46);
  background: linear-gradient(180deg, rgba(242, 70, 87, 0.97), rgba(190, 31, 49, 0.97));
  color: #fff4f6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-features .feature-card h3,
.page-features .benefit-card h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #f8fbff;
}

.page-features .feature-card h3 {
  font-size: 1.28rem;
}

.page-features .feature-card p,
.page-features .benefit-card p {
  margin: 0;
  color: #afbbd2;
  line-height: 1.66;
  font-size: 1.02rem;
}

.page-features .section-grid-bg .benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.page-features .benefit-card {
  padding-top: 16px;
}

.page-features .benefit-card h3 {
  font-size: 1.38rem;
}

@media (max-width: 1000px) {
  .page-features .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-features .section-grid-bg .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-features .feature-card h3 {
    font-size: 1.46rem;
  }

  .page-features .feature-card p {
    font-size: 1.05rem;
  }
}

@media (max-width: 640px) {
  .page-features .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-features .section-grid-bg .benefit-grid {
    grid-template-columns: 1fr;
  }

  .page-features .feature-card,
  .page-features .benefit-card {
    padding: 16px 16px 18px;
    border-radius: 16px;
  }

  .page-features .feature-card__icon {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .page-features .feature-card__badge {
    font-size: 11px;
  }

  .page-features .feature-card h3 {
    font-size: 1.18rem;
  }

  .page-features .feature-card p {
    font-size: 0.98rem;
  }
}

/* =========================================================
   Unified button style (requested visual direction)
   ========================================================= */
:root {
  --ui-btn-bg: linear-gradient(180deg, rgba(9, 13, 24, 0.97), rgba(7, 10, 20, 0.95));
  --ui-btn-border: rgba(227, 55, 73, 0.42);
  --ui-btn-border-hover: rgba(241, 83, 99, 0.62);
  --ui-btn-text: #eaf0ff;
  --ui-btn-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(8, 11, 19, 0.56);
  --ui-btn-shadow-hover: 0 16px 34px rgba(0, 0, 0, 0.44), 0 0 22px rgba(227, 55, 73, 0.22);
}

.btn,
.link-btn,
.gpt-newchat,
.gpt-tool,
.admin-btn-primary,
.admin-btn-secondary,
.admin-btn-ghost,
.admin-btn-danger,
.composer-send,
.composer-stop,
.license-btn-activate,
.license-btn-outline,
.cookie-banner__btn,
.compare-cta-btn {
  border-radius: 14px !important;
  border: 1px solid var(--ui-btn-border) !important;
  background: var(--ui-btn-bg) !important;
  color: var(--ui-btn-text) !important;
  box-shadow: var(--ui-btn-shadow) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.2s ease,
    filter 0.18s ease !important;
}

.btn:hover,
.link-btn:hover,
.gpt-newchat:hover,
.gpt-tool:hover,
.admin-btn-primary:hover,
.admin-btn-secondary:hover,
.admin-btn-ghost:hover,
.admin-btn-danger:hover,
.composer-send:hover,
.composer-stop:hover,
.license-btn-activate:hover,
.license-btn-outline:hover,
.cookie-banner__btn:hover,
.compare-cta-btn:hover {
  transform: translateY(-1px);
  border-color: var(--ui-btn-border-hover) !important;
  box-shadow: var(--ui-btn-shadow-hover) !important;
  filter: brightness(1.04);
}

.btn:active,
.link-btn:active,
.gpt-newchat:active,
.gpt-tool:active,
.admin-btn-primary:active,
.admin-btn-secondary:active,
.admin-btn-ghost:active,
.admin-btn-danger:active,
.composer-send:active,
.composer-stop:active,
.license-btn-activate:active,
.license-btn-outline:active,
.cookie-banner__btn:active,
.compare-cta-btn:active {
  transform: translateY(0);
}

/* Primary style in same family, slightly stronger red accent */
.btn-primary,
.admin-btn-primary,
.composer-send,
.license-btn-activate,
.cookie-banner__btn {
  background: linear-gradient(180deg, #f24657 0%, #be1f31 100%) !important;
  border-color: rgba(242, 70, 87, 0.7) !important;
  box-shadow:
    0 10px 30px rgba(190, 31, 49, 0.4),
    0 0 0 1px rgba(242, 70, 87, 0.2) !important;
}

/* Secondary / outline style */
.btn-outline,
.btn-ghost,
.link-btn,
.nav-action,
.admin-btn-secondary,
.admin-btn-ghost,
.admin-btn-danger,
.license-btn-outline {
  background: linear-gradient(180deg, rgba(11, 16, 28, 0.98), rgba(9, 13, 24, 0.96)) !important;
}

/* Card-buttons look (feature/benefit cards requested by user) */
.feature-card,
.benefit-card {
  border-radius: 18px !important;
  border: 1px solid rgba(227, 55, 73, 0.34) !important;
  background:
    linear-gradient(170deg, rgba(8, 12, 21, 0.97) 0%, rgba(6, 10, 18, 0.94) 100%) padding-box,
    linear-gradient(145deg, rgba(227, 55, 73, 0.32), rgba(122, 139, 170, 0.1)) border-box !important;
  box-shadow:
    0 0 0 1px rgba(6, 9, 17, 0.7),
    0 18px 36px rgba(0, 0, 0, 0.36) !important;
}

.feature-card:hover,
.benefit-card:hover {
  border-color: rgba(241, 83, 99, 0.62) !important;
  box-shadow:
    0 0 0 1px rgba(241, 83, 99, 0.24),
    0 24px 42px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(227, 55, 73, 0.2) !important;
}

/* Hard override: exact feature card style like reference */
.feature-card__top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}

.feature-card__icon {
  width: 48px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  border: 1px solid rgba(241, 83, 99, 0.52) !important;
  background: linear-gradient(180deg, #f24657 0%, #be1f31 100%) !important;
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 12px 24px rgba(190, 31, 49, 0.36) !important;
}

.feature-card__badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  padding: 0 11px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(241, 83, 99, 0.44) !important;
  background: linear-gradient(180deg, #f24657 0%, #be1f31 100%) !important;
  color: #fff7f8 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.page-features .feature-card {
  border: 1px solid rgba(227, 55, 73, 0.34) !important;
  background:
    linear-gradient(170deg, rgba(8, 12, 21, 0.97) 0%, rgba(6, 10, 18, 0.94) 100%) padding-box,
    linear-gradient(145deg, rgba(227, 55, 73, 0.34), rgba(122, 139, 170, 0.1)) border-box !important;
}

/* FINAL OVERRIDE requested: stronger red button-like cards */
body.page-features .feature-card {
  border: 1px solid rgba(255, 66, 86, 0.62) !important;
  border-radius: 22px !important;
  padding: 22px 24px 24px !important;
  background: #000000 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 66, 86, 0.16),
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 26px rgba(255, 52, 72, 0.14) !important;
}

body.page-features .feature-card:hover {
  border-color: rgba(255, 84, 102, 0.86) !important;
  background: #000000 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 84, 102, 0.26),
    0 20px 44px rgba(0, 0, 0, 0.5),
    0 0 38px rgba(255, 52, 72, 0.24) !important;
}

body.page-features .feature-card__top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 18px !important;
}

body.page-features .feature-card__icon {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 84, 102, 0.88) !important;
  background: linear-gradient(180deg, #ff4a5f 0%, #d11f34 100%) !important;
  box-shadow:
    0 12px 24px rgba(209, 31, 52, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body.page-features .feature-card__badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  min-height: 27px !important;
  border-radius: 9px !important;
  border: 1px solid rgba(255, 98, 114, 0.95) !important;
  background: linear-gradient(180deg, #ff4a5f 0%, #cf1f33 100%) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

/* =========================================================
   Harmony Rebrand (clean unified palette)
   ========================================================= */
:root {
  --bg: #070b14;
  --bg-soft: #0e1524;
  --line: #2a3449;
  --text: #f2f5ff;
  --muted: #9eabc4;
  --accent: #ff4d63;
  --accent-strong: #cb2138;
  --accent-soft: rgba(255, 77, 99, 0.24);
  --card-bg: rgba(9, 14, 24, 0.9);
  --card-border: rgba(120, 139, 174, 0.24);
}

body {
  background-color: var(--bg) !important;
  background-image:
    radial-gradient(ellipse 110% 85% at 50% -10%, rgba(255, 77, 99, 0.16), transparent 58%),
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px) !important;
  background-size: 100% 100%, 24px 24px, 24px 24px !important;
}

body::before {
  opacity: 0.42 !important;
}

.topbar {
  background: rgba(8, 12, 20, 0.82) !important;
  border-color: rgba(120, 139, 174, 0.2) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34) !important;
}

.topbar.topbar-scrolled {
  background: rgba(8, 12, 20, 0.9) !important;
}

.logo span,
.hero-title__accent,
.center-title span,
.gpt-sidebar__brand-gpt {
  color: var(--accent) !important;
}

.btn,
.link-btn,
.gpt-newchat,
.gpt-tool,
.composer-send,
.license-btn-activate,
.cookie-banner__btn {
  border-radius: 12px !important;
  border: 1px solid rgba(120, 139, 174, 0.28) !important;
  background: linear-gradient(180deg, rgba(14, 20, 34, 0.98), rgba(10, 15, 26, 0.95)) !important;
  color: var(--text) !important;
}

.btn-primary,
.composer-send,
.license-btn-activate,
.cookie-banner__btn {
  border-color: rgba(255, 98, 116, 0.7) !important;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%) !important;
  box-shadow: 0 10px 28px rgba(203, 33, 56, 0.34) !important;
}

.btn-outline,
.btn-ghost,
.link-btn {
  border-color: rgba(120, 139, 174, 0.34) !important;
  background: linear-gradient(180deg, rgba(13, 19, 33, 0.98), rgba(10, 14, 26, 0.96)) !important;
}

.btn:hover,
.link-btn:hover,
.gpt-newchat:hover,
.gpt-tool:hover {
  border-color: rgba(154, 173, 208, 0.52) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38) !important;
}

.benefit-card,
.feature-card,
.price-card,
.compare-card,
.compare-matrix-card,
.faq-list details,
.cta-card,
.legal-card {
  border: 1px solid var(--card-border) !important;
  background: linear-gradient(168deg, rgba(11, 16, 28, 0.94), rgba(8, 13, 23, 0.92)) !important;
  box-shadow:
    0 0 0 1px rgba(6, 9, 16, 0.55),
    0 18px 40px rgba(0, 0, 0, 0.33) !important;
}

.benefit-card:hover,
.feature-card:hover,
.price-card:hover {
  border-color: rgba(255, 96, 115, 0.42) !important;
  box-shadow:
    0 0 0 1px rgba(255, 96, 115, 0.18),
    0 24px 46px rgba(0, 0, 0, 0.4) !important;
}

.pill,
.trust-strip,
.app-model-pill,
.gpt-history-filter,
.composer--gpt,
.chat--gpt .msg-bubble {
  border-color: rgba(120, 139, 174, 0.28) !important;
  background: rgba(12, 18, 30, 0.78) !important;
}

.chat--gpt .msg.user .msg-bubble {
  border-color: rgba(255, 96, 115, 0.36) !important;
  background: rgba(255, 77, 99, 0.13) !important;
}

.gpt-sidebar {
  border-right-color: rgba(120, 139, 174, 0.2) !important;
  background: linear-gradient(180deg, rgba(9, 14, 24, 0.92) 0%, rgba(7, 11, 19, 0.95) 100%) !important;
}

.app-topbar--gpt {
  border-bottom-color: rgba(120, 139, 174, 0.2) !important;
  background: rgba(8, 12, 20, 0.75) !important;
}

.ticker {
  border-top-color: rgba(120, 139, 174, 0.24) !important;
  border-bottom-color: rgba(120, 139, 174, 0.24) !important;
  background: rgba(8, 12, 20, 0.92) !important;
}

.ticker-track span::after {
  color: var(--accent) !important;
}

/* Final navbar-only override (keep backgrounds untouched) */
.topbar,
.topbar.topbar-scrolled,
.admin-topbar,
.app-topbar,
.app-topbar--gpt {
  background: rgba(0, 0, 0, 0.94) !important;
  border-bottom: 1px solid rgba(255, 79, 99, 0.3) !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 -1px 0 rgba(255, 79, 99, 0.22) inset !important;
  backdrop-filter: blur(10px) !important;
}

/* Force identical navbar rendering on index too */
.page-home .nav-action--link,
.nav-action--link {
  background: linear-gradient(180deg, rgba(13, 19, 33, 0.98), rgba(10, 14, 26, 0.96)) !important;
  border: 1px solid rgba(120, 139, 174, 0.34) !important;
  color: var(--text) !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
}

.page-home .nav-cta,
.nav-cta {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%) !important;
  border-color: rgba(255, 98, 116, 0.7) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(203, 33, 56, 0.34) !important;
}

/* Restore original site background look */
body {
  background-color: #000 !important;
  background-image:
    radial-gradient(
      ellipse 115% 90% at 50% 36%,
      rgba(75, 12, 12, 0.5) 0%,
      rgba(45, 8, 8, 0.22) 42%,
      rgba(20, 4, 4, 0.08) 62%,
      rgba(0, 0, 0, 0) 78%
    ),
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px) !important;
  background-size: 100% 100%, 24px 24px, 24px 24px !important;
  background-position: 0 0, 0 0, 0 0 !important;
}

body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.75 !important;
  background:
    radial-gradient(ellipse 85% 70% at 48% 36%, rgba(220, 60, 60, 0.12) 0%, rgba(120, 20, 20, 0.04) 55%, transparent 72%),
    radial-gradient(ellipse 50% 45% at 18% 58%, rgba(140, 30, 30, 0.06) 0%, transparent 58%),
    radial-gradient(ellipse 45% 40% at 88% 32%, rgba(180, 50, 50, 0.05) 0%, transparent 58%) !important;
  animation: aurora-drift 22s ease-in-out infinite alternate !important;
}

body.app-chat {
  background: radial-gradient(
    ellipse 130% 88% at 50% 0%,
    #4a1a1c 0%,
    #381416 10%,
    #2b1012 20%,
    #1a0c0d 36%,
    #100a0a 52%,
    #0a0a0a 72%,
    #060606 100%
  ) !important;
}

body.app-chat::before {
  display: none !important;
}

/* Global red cinematic background */
body {
  background-color: #030304 !important;
  background-image:
    radial-gradient(
      ellipse 120% 90% at 50% 18%,
      rgba(185, 22, 40, 0.34) 0%,
      rgba(120, 14, 26, 0.18) 38%,
      rgba(0, 0, 0, 0) 72%
    ),
    radial-gradient(
      ellipse 140% 110% at 50% 115%,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0) 48%
    ),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px) !important;
  background-size: 100% 100%, 100% 100%, 24px 24px, 24px 24px !important;
  background-position: 0 0, 0 0, 0 0, 0 0 !important;
}

/* Global button/card polish: align with top premium style */
.btn,
.link-btn,
.admin-btn-primary,
.admin-btn-secondary,
.admin-btn-ghost,
.admin-btn-danger,
.composer-send,
.composer-stop,
.license-btn-activate,
.license-btn-outline,
.cookie-banner__btn,
.compare-cta-btn {
  border-radius: 12px !important;
  border: 1px solid rgba(255, 82, 102, 0.34) !important;
  background: linear-gradient(180deg, rgba(12, 18, 30, 0.98), rgba(8, 13, 23, 0.96)) !important;
  color: #f2f5ff !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.btn-primary,
.composer-send,
.license-btn-activate,
.cookie-banner__btn {
  border-color: rgba(255, 104, 121, 0.72) !important;
  background: linear-gradient(180deg, #ff5165 0%, #c21e34 100%) !important;
  box-shadow:
    0 12px 28px rgba(194, 30, 52, 0.38),
    0 0 24px rgba(255, 81, 101, 0.22) !important;
}

.btn:hover,
.link-btn:hover,
.admin-btn-primary:hover,
.admin-btn-secondary:hover,
.admin-btn-ghost:hover,
.admin-btn-danger:hover,
.composer-send:hover,
.composer-stop:hover,
.license-btn-activate:hover,
.license-btn-outline:hover,
.cookie-banner__btn:hover,
.compare-cta-btn:hover {
  border-color: rgba(255, 122, 138, 0.62) !important;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(255, 81, 101, 0.2) !important;
  transform: translateY(-1px);
}

/* Make lower feature steps look like top cards */
.benefit-card {
  border-radius: 20px !important;
  border: 1px solid rgba(255, 79, 99, 0.42) !important;
  background: linear-gradient(170deg, rgba(7, 11, 20, 0.98), rgba(4, 8, 15, 0.95)) !important;
  box-shadow:
    0 0 0 1px rgba(255, 79, 99, 0.12),
    0 18px 36px rgba(0, 0, 0, 0.38) !important;
}

.benefit-card:hover {
  border-color: rgba(255, 118, 134, 0.68) !important;
  box-shadow:
    0 0 0 1px rgba(255, 118, 134, 0.22),
    0 24px 44px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(255, 81, 101, 0.2) !important;
}

/* Mini logos on cards for a premium visual hierarchy */
.benefit-card h3,
.feature-card h3 {
  position: relative;
}

.benefit-card h3 {
  padding-left: 34px;
}

.benefit-card h3::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  border: 1px solid rgba(255, 106, 122, 0.58);
  background: linear-gradient(180deg, #ff576a 0%, #be2238 100%);
  box-shadow:
    0 8px 16px rgba(190, 34, 56, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.benefit-grid .benefit-card:nth-child(2) h3::before { content: "◆"; }
.benefit-grid .benefit-card:nth-child(3) h3::before { content: "◉"; }
.benefit-grid .benefit-card:nth-child(4) h3::before { content: "✓"; }

/* Add subtle logo feel on secondary actions too */
.btn-outline::before {
  content: "•";
  margin-right: 8px;
  color: rgba(255, 118, 134, 0.9);
  font-weight: 800;
}

/* Home story sections (censure -> solution -> features -> compare) */
.home-story .center-muted {
  text-align: center;
  margin-bottom: 18px;
  color: #c7d0e4;
}

.home-window {
  max-width: 900px;
  margin: 22px auto 14px;
  border: 1px solid rgba(255, 88, 107, 0.26);
  border-radius: 16px;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.46), 0 0 48px rgba(255, 82, 102, 0.12);
}

.home-window .window-body {
  min-height: 220px;
}

.home-note {
  text-align: center;
  margin-top: 18px;
  color: #d6deef;
  font-weight: 700;
  font-size: 1.04rem;
}

.home-note span {
  color: #ff4f65;
}

.home-window--demo .window-body {
  display: grid;
  place-items: center;
  min-height: 420px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255, 72, 92, 0.12) 0%, rgba(255, 72, 92, 0.03) 42%, rgba(0, 0, 0, 0) 74%),
    linear-gradient(180deg, rgba(10, 12, 20, 0.82), rgba(6, 8, 14, 0.9));
}

.home-story .feature-grid {
  margin-top: 18px;
}

.home-bonus-row {
  margin-top: 14px;
  display: grid;
}

/* Hover grow effect on feature "buttons/cards" */
.page-home .feature-card,
.page-home .benefit-card,
.home-ba-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  transform-origin: center;
  will-change: transform;
}

.page-home .feature-card:hover,
.page-home .benefit-card:hover,
.home-ba-card:hover {
  transform: translateY(-2px) scale(1.02);
}

/* Final typography/spacing polish for card-like buttons */
.page-home .feature-grid {
  gap: 18px !important;
}

.page-home .feature-card {
  padding: 20px 20px 18px !important;
  border-radius: 16px !important;
}

.page-home .feature-card__top {
  margin-bottom: 14px !important;
}

.page-home .feature-card__icon {
  width: 44px !important;
  height: 44px !important;
  font-size: 18px !important;
}

.page-home .feature-card__badge {
  min-height: 24px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
}

.page-home .feature-card h3 {
  margin: 0 0 8px !important;
  font-size: 1.05rem !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  font-weight: 800 !important;
}

.page-home .feature-card p {
  margin: 0 !important;
  font-size: 0.94rem !important;
  line-height: 1.55 !important;
  color: rgba(216, 226, 244, 0.88) !important;
}

.home-bonus-row .benefit-card {
  padding: 16px 18px !important;
}

.home-bonus-row .benefit-card h3 {
  margin-bottom: 6px !important;
  font-size: 1.02rem !important;
}

.home-bonus-row .benefit-card p {
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
}

/* Match reference card style (neon frame via pseudo-element) */
.feature-card,
.benefit-card {
  position: relative !important;
  border: 1px solid rgba(255, 82, 102, 0.2) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.96), rgba(7, 11, 19, 0.97)) !important;
}

.feature-card::before,
.benefit-card::before {
  content: "" !important;
  position: absolute !important;
  inset: -1px !important;
  border-radius: 20px !important;
  padding: 1px !important;
  background: linear-gradient(45deg, rgba(220, 38, 38, 0.34), rgba(220, 38, 38, 0) 58%) !important;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0) !important;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask-composite: exclude !important;
  opacity: 0 !important;
  transition: opacity 0.25s ease !important;
  pointer-events: none !important;
}

.feature-card:hover::before,
.benefit-card:hover::before {
  opacity: 1 !important;
}

.home-demo-placeholder {
  display: grid;
  justify-items: center;
  align-items: center;
  width: 100%;
}

.home-demo-video {
  width: min(100%, 980px);
  max-height: 520px;
  border-radius: 14px;
  border: 1px solid rgba(255, 88, 108, 0.28);
  background: rgba(4, 5, 8, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

.home-demo-gate {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  width: min(100%, 980px);
  min-height: 420px;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 88, 108, 0.22);
  background:
    radial-gradient(ellipse 42% 30% at 50% 48%, rgba(255, 78, 102, 0.18) 0%, rgba(8, 10, 14, 0) 82%),
    rgba(4, 5, 8, 0.82);
  color: #f5f7ff;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-demo-gate:hover {
  border-color: rgba(255, 110, 132, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35), 0 0 24px rgba(255, 72, 100, 0.1);
}

.home-demo-gate__title {
  font-weight: 800;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  text-align: center;
}

.home-demo-play {
  width: 72px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 112, 130, 0.45);
  background: radial-gradient(circle at 30% 30%, rgba(255, 126, 145, 0.25), rgba(255, 56, 84, 0.1));
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: 0 0 22px rgba(255, 82, 110, 0.3);
}

.home-demo-gate__sub {
  color: rgba(205, 216, 240, 0.82);
  font-size: 0.92rem;
  text-align: center;
}

.home-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
}

.home-demo-modal .home-demo-video {
  width: min(96vw, 1280px);
  max-height: 88vh;
}

.home-demo-modal__close {
  position: absolute;
  top: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 112, 130, 0.42);
  background: rgba(9, 10, 14, 0.82);
  color: #fff;
  cursor: pointer;
}

.home-demo-modal__fullscreen {
  position: absolute;
  top: 16px;
  right: 66px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 112, 130, 0.42);
  background: rgba(9, 10, 14, 0.82);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.home-demo-modal__close {
  right: 18px;
  width: 36px;
  height: 36px;
  font-size: 18px;
}

@media (max-width: 760px) {
  .home-demo-gate {
    min-height: 280px;
    padding: 20px 14px;
  }

  .home-demo-modal__fullscreen {
    right: 60px;
    font-size: 0.75rem;
    padding: 0 10px;
  }
}

.home-story .center-title {
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.home-story {
  padding-top: clamp(64px, 9vw, 96px) !important;
  padding-bottom: clamp(56px, 8vw, 86px) !important;
}

.home-faq .faq-list {
  max-width: 720px;
  margin: 16px auto 0;
  gap: 10px;
}

.home-faq .faq-list details {
  border-radius: 12px;
  border: 1px solid rgba(255, 82, 102, 0.22);
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.9), rgba(8, 11, 19, 0.94));
}

.home-faq .faq-list summary {
  font-weight: 700;
}

.home-faq .faq-list details[open] {
  border-color: rgba(255, 102, 122, 0.48);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 78, 101, 0.14);
}

.final-cta .cta-card {
  max-width: 560px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 86, 106, 0.28);
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.9), rgba(6, 9, 16, 0.95));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 80, 103, 0.12);
}

.final-cta .cta-card h2 span {
  color: #ff4f65;
  text-shadow: 0 0 18px rgba(255, 79, 101, 0.3);
}

/* Home refinement - push visual quality */
.page-home .home-story .eyebrow {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(221, 230, 248, 0.72);
}

.page-home .home-story .center-title {
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 8px;
}

.page-home .hero .hero-title__accent {
  text-shadow:
    0 0 18px rgba(255, 76, 98, 0.38),
    0 0 42px rgba(255, 76, 98, 0.18);
}

.page-home .home-story .center-muted {
  font-size: 15px;
  color: rgba(206, 217, 240, 0.82);
}

.page-home .home-story {
  position: relative;
}

.page-home .home-story::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 22px;
  width: min(760px, 86vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 80, 103, 0.35), transparent);
  pointer-events: none;
}

/* Red horizontal glow bar on each home block */
.page-home .home-story::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1200px, 96vw);
  height: 130px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 70, 95, 0) 0%,
    rgba(255, 70, 95, 0.18) 18%,
    rgba(255, 70, 95, 0.24) 50%,
    rgba(255, 70, 95, 0.18) 82%,
    rgba(255, 70, 95, 0) 100%
  );
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-story > .container {
  position: relative;
  z-index: 1;
}

/* Anchor offset: land lower when clicking "Fonctionnalités" */
#fonctionnalites {
  scroll-margin-top: 30px;
}

/* Same red band at start and end of homepage */
.page-home {
  position: relative;
}

.page-home::before,
.page-home::after {
  content: "";
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 96vw);
  height: 120px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 70, 95, 0) 0%,
    rgba(255, 70, 95, 0.18) 18%,
    rgba(255, 70, 95, 0.24) 50%,
    rgba(255, 70, 95, 0.18) 82%,
    rgba(255, 70, 95, 0) 100%
  );
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
}

.page-home::before {
  top: 76px;
}

.page-home::after {
  bottom: 26px;
}

.home-window {
  max-width: 980px;
  border-radius: 18px;
  overflow: hidden;
}

.home-window--square {
  width: min(560px, 92vw);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.home-window--square .window-body {
  min-height: 360px !important;
}

.home-window .window-head {
  min-height: 44px;
  border-bottom: 1px solid rgba(255, 92, 114, 0.16);
  background: linear-gradient(180deg, rgba(22, 16, 24, 0.92), rgba(14, 12, 18, 0.96));
}

.home-window .window-head p {
  font-weight: 700;
  color: #d9e2f7;
}

.home-window .bubble {
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.home-window .bubble.right {
  background: linear-gradient(180deg, #ff4f65, #c61f34);
  color: #fff;
  border: 1px solid rgba(255, 113, 128, 0.65);
}

.home-window .bubble.left {
  background: rgba(245, 247, 255, 0.06);
  border: 1px solid rgba(123, 143, 180, 0.2);
  color: #e1e9f9;
}

.bubble-row--assistant {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.home-bubble-logo {
  width: 26px;
  height: 26px;
  margin-top: 10px;
  flex-shrink: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #9ca8bf;
  border: 1px solid rgba(156, 168, 191, 0.28);
  background: rgba(12, 16, 25, 0.85);
}

.home-window--demo {
  max-width: 1080px;
}

.home-window--demo .window-body {
  min-height: 500px;
}

.home-demo-play {
  width: 84px;
  height: 84px;
}

.page-home .home-story .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-home .home-story .feature-card {
  min-height: 220px;
}

.page-home .home-story .feature-card p {
  font-size: 14px;
  line-height: 1.62;
}

.page-home .home-story .compare-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 90, 110, 0.24);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.9), rgba(7, 10, 18, 0.95));
}

.page-home .home-story .compare-card table th {
  font-size: 13px;
  font-weight: 800;
  color: #f0f4ff;
}

.page-home .home-story .compare-card table td {
  font-size: 14px;
  color: rgba(218, 227, 244, 0.92);
}

.page-home .home-story .compare-card table td:nth-child(2) {
  color: rgba(255, 95, 116, 0.9);
}

.page-home .home-story .compare-card table td:nth-child(3) {
  color: #62df8e;
}

.home-faq .faq-list {
  max-width: 760px;
}

.home-faq .faq-list summary {
  font-size: 14px;
}

.home-faq .faq-list p {
  color: rgba(203, 214, 236, 0.84);
}

.final-cta .cta-card {
  max-width: 620px;
  padding: 30px 26px;
}

.final-cta .cta-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 10px;
}

.final-cta .cta-card .btn-primary {
  min-width: 240px;
  min-height: 46px;
  font-size: 15px;
}

@media (max-width: 980px) {
  .page-home .home-story .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-window--demo .window-body {
    min-height: 360px;
  }
}

@media (max-width: 900px) {
  .home-window {
    max-width: 100%;
  }

  .home-window--demo .window-body {
    min-height: 300px;
  }

  .home-demo-play {
    width: 62px;
    height: 62px;
    font-size: 21px;
  }
}

/* Home social proof block */
.home-social-proof .testimonial-grid {
  margin-top: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-social-proof .testimonial-card {
  border: 1px solid rgba(255, 86, 106, 0.24);
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.92), rgba(7, 10, 18, 0.95));
  border-radius: 14px;
  min-height: 150px;
}

.home-social-proof .testimonial-card strong {
  color: #ff5d73;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.home-stats-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-stats-row .metric-card {
  border: 1px solid rgba(255, 90, 110, 0.26);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.94), rgba(9, 12, 22, 0.97));
  border-radius: 12px;
  padding: 14px;
}

.home-stats-row .metric-card p {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #f5f7ff;
}

.home-stats-row .metric-card small {
  color: rgba(202, 214, 238, 0.82);
}

/* Before / After section */
.home-before-after .home-ba-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.home-ba-list {
  display: grid;
  gap: 12px;
}

.home-ba-card {
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 90, 110, 0.24);
  background: linear-gradient(180deg, rgba(11, 16, 28, 0.94), rgba(8, 12, 22, 0.96));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.home-ba-card h3 {
  margin: 4px 0 10px;
  font-size: 1.1rem;
}

.home-ba-label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-ba-card--before .home-ba-label {
  color: #ffc0ca;
  border: 1px solid rgba(255, 104, 121, 0.4);
  background: rgba(255, 84, 103, 0.14);
}

.home-ba-card--after .home-ba-label {
  color: #b4ffd0;
  border: 1px solid rgba(64, 202, 128, 0.42);
  background: rgba(34, 197, 94, 0.14);
}

.home-ba-question {
  margin: 0 0 10px;
  color: #f0f5ff;
  font-weight: 600;
}

.home-ba-answer {
  margin: 0;
  color: rgba(205, 216, 238, 0.86);
  line-height: 1.6;
}

.home-ba-arrow {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 800;
  color: #ffd7dd;
  border: 1px solid rgba(255, 95, 114, 0.5);
  background: linear-gradient(180deg, rgba(255, 82, 102, 0.28), rgba(128, 18, 32, 0.35));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35), 0 0 24px rgba(255, 82, 102, 0.22);
}

@media (max-width: 900px) {
  .home-before-after .home-ba-grid {
    grid-template-columns: 1fr;
  }

  .home-ba-arrow {
    margin: 2px auto;
    transform: rotate(90deg);
  }
}

/* Trust strip redesign (cleaner and more premium) */
.section-tight {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

.trust-strip {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 90, 108, 0.2) !important;
  background: rgba(8, 12, 20, 0.56) !important;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(6px);
}

.trust-strip span {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid rgba(120, 139, 174, 0.34) !important;
  background: linear-gradient(180deg, rgba(12, 18, 30, 0.95), rgba(8, 13, 23, 0.92)) !important;
  color: #dbe4f7 !important;
  border-radius: 999px !important;
  padding: 8px 12px 8px 22px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
}

.trust-strip span::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5569;
  box-shadow: 0 0 10px rgba(255, 85, 105, 0.7);
}

.trust-strip span:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 122, 138, 0.55) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

/* Bigger page titles: add subtle red accent */
.page-hero h1,
.compare-page-title {
  color: #f7f8ff !important;
  text-shadow:
    0 2px 20px rgba(255, 62, 86, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-hero h1 span,
.compare-page-title__gpt,
.hero-title__accent {
  color: #ff4e65 !important;
  text-shadow:
    0 0 18px rgba(255, 78, 101, 0.35),
    0 2px 10px rgba(0, 0, 0, 0.45);
}

/* Final hard fix: zero visible background seam */
body {
  background-color: #040507 !important;
  background-image:
    linear-gradient(180deg, #22060c 0%, #0a0b0f 55%, #040507 100%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) !important;
  background-size: 100% 100%, 24px 24px, 24px 24px !important;
  background-position: 0 0, 0 0, 0 0 !important;
  background-attachment: fixed, fixed, fixed !important;
}

body::before,
body::after {
  content: none !important;
  display: none !important;
}

main,
section,
.section,
.section-tight,
.section-grid-bg,
.page-hero,
.compare-page-hero,
.final-cta {
  background: transparent !important;
  background-image: none !important;
}

.section-grid-bg::before,
.section-grid-bg::after,
.page-compare .section-grid-bg::before,
.page-compare .section-grid-bg::after {
  display: none !important;
  content: none !important;
}

/* Final tweak: darker buttons on all pages */
:root {
  --ui-btn-bg: linear-gradient(180deg, rgba(8, 11, 18, 0.98), rgba(4, 7, 12, 0.98)) !important;
  --ui-btn-border: rgba(169, 47, 61, 0.46) !important;
  --ui-btn-border-hover: rgba(190, 62, 77, 0.62) !important;
  --ui-btn-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(6, 8, 13, 0.72) !important;
  --ui-btn-shadow-hover: 0 14px 32px rgba(0, 0, 0, 0.6), 0 0 18px rgba(169, 47, 61, 0.24) !important;
}

.btn-primary,
.admin-btn-primary,
.composer-send,
.license-btn-activate,
.cookie-banner__btn {
  background: linear-gradient(180deg, #ca3245 0%, #7f1321 100%) !important;
  border-color: rgba(202, 50, 69, 0.62) !important;
  box-shadow:
    0 10px 24px rgba(80, 9, 21, 0.5),
    0 0 0 1px rgba(202, 50, 69, 0.2) !important;
}

.btn-primary:hover,
.admin-btn-primary:hover,
.composer-send:hover,
.license-btn-activate:hover,
.cookie-banner__btn:hover {
  background: linear-gradient(180deg, #d3394d 0%, #8b1626 100%) !important;
  border-color: rgba(211, 57, 77, 0.76) !important;
}

/* Compare CTA: force solid red style */
.compare-cta-btn {
  border-color: rgba(255, 95, 114, 0.78) !important;
  background: linear-gradient(180deg, #ff4f66 0%, #bf1e34 100%) !important;
  color: #fff7fa !important;
  box-shadow:
    0 12px 28px rgba(191, 30, 52, 0.44),
    0 0 24px rgba(255, 79, 102, 0.2) !important;
}

.compare-cta-btn:hover {
  border-color: rgba(255, 124, 141, 0.9) !important;
  background: linear-gradient(180deg, #ff5d72 0%, #d1263f 100%) !important;
  box-shadow:
    0 16px 32px rgba(191, 30, 52, 0.5),
    0 0 30px rgba(255, 93, 114, 0.26) !important;
}

/* Compare page: upgrade "Acces membre" block */
.page-compare .compare-next {
  max-width: 720px !important;
  padding: 28px 24px 22px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 82, 102, 0.24) !important;
  background:
    radial-gradient(120% 110% at 50% -20%, rgba(255, 70, 92, 0.12), transparent 58%),
    linear-gradient(170deg, rgba(8, 12, 21, 0.96), rgba(5, 8, 15, 0.96)) !important;
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.page-compare .compare-next__kicker {
  margin-bottom: 14px !important;
  color: rgba(214, 224, 245, 0.86) !important;
  letter-spacing: 0.24em !important;
}

.page-compare .compare-next__text {
  max-width: 620px !important;
  margin: 0 auto 30px !important;
  color: rgba(221, 230, 248, 0.84) !important;
  font-size: 1.04rem !important;
  line-height: 1.62 !important;
}

.page-compare .compare-next__actions {
  gap: 14px !important;
}

.page-compare .compare-next__actions .btn-outline,
.page-compare .compare-next__actions .btn-primary {
  min-height: 50px !important;
  padding: 12px 24px !important;
  border-radius: 14px !important;
  font-size: 1.02rem !important;
}

.page-compare .compare-next__actions .btn-outline {
  border-color: rgba(255, 84, 103, 0.5) !important;
  background: linear-gradient(180deg, rgba(12, 17, 29, 0.98), rgba(8, 12, 21, 0.97)) !important;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.page-compare .compare-next__actions .btn-outline:hover {
  border-color: rgba(255, 116, 133, 0.76) !important;
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(255, 72, 95, 0.17) !important;
}

/* Compare FAQ block replacement */
.page-compare .compare-faq-section {
  padding-top: 28px !important;
  padding-bottom: 96px !important;
}

.page-compare .compare-faq-title {
  margin: 0 0 26px !important;
  text-align: center !important;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  color: #f4f6ff !important;
  text-shadow:
    0 10px 36px rgba(255, 70, 92, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.page-compare .compare-faq-list {
  display: grid !important;
  gap: 14px !important;
  max-width: 640px !important;
  margin: 0 auto !important;
}

.page-compare .compare-faq-list details {
  border-radius: 16px !important;
  border: 1px solid rgba(255, 76, 98, 0.22) !important;
  background:
    linear-gradient(90deg, rgba(28, 8, 14, 0.26), rgba(13, 18, 30, 0.88) 40%, rgba(8, 12, 21, 0.96) 100%) !important;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  padding: 14px 16px !important;
}

.page-compare .compare-faq-list details[open] {
  border-color: rgba(255, 108, 127, 0.48) !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(255, 70, 92, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.page-compare .compare-faq-list summary {
  position: relative !important;
  list-style: none !important;
  padding-right: 46px !important;
  font-size: clamp(0.92rem, 1.45vw, 1.05rem) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #e9eefb !important;
  cursor: pointer !important;
}

.page-compare .compare-faq-list summary::-webkit-details-marker {
  display: none !important;
}

.page-compare .compare-faq-list summary::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 80, 103, 0.38) !important;
  background:
    linear-gradient(180deg, rgba(33, 10, 16, 0.95), rgba(14, 18, 30, 0.95)) !important;
  transform: translateY(-50%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 4px 10px rgba(0, 0, 0, 0.35) !important;
}

.page-compare .compare-faq-list summary::before {
  content: "" !important;
  position: absolute !important;
  right: 9px !important;
  top: 50% !important;
  width: 6px !important;
  height: 6px !important;
  border-right: 1.8px solid #ff687f !important;
  border-bottom: 1.8px solid #ff687f !important;
  transform: translateY(-62%) rotate(45deg) !important;
  z-index: 1 !important;
  transition: transform 0.24s ease !important;
}

.page-compare .compare-faq-list details[open] summary::before {
  transform: translateY(-34%) rotate(-135deg) !important;
}

.page-compare .compare-faq-list p {
  margin: 10px 0 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  color: rgba(219, 228, 245, 0.84) !important;
  max-width: 90% !important;
}

/* Compare page additions: modes row + social proof + double CTA */
.compare-matrix .compare-modes-rivals {
  color: rgba(188, 198, 219, 0.72) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
}

.compare-matrix .compare-modes-dark {
  color: #ffd3da !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.compare-cta-actions {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.compare-cta-actions .btn-outline,
.compare-cta-actions .btn-primary {
  min-width: 176px !important;
  min-height: 48px !important;
  border-radius: 14px !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
}

.compare-proof {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  max-width: 640px !important;
}

.compare-proof__item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 88, 109, 0.28) !important;
  background: linear-gradient(180deg, rgba(15, 21, 35, 0.96), rgba(10, 14, 24, 0.96)) !important;
  color: rgba(229, 236, 250, 0.92) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

.compare-proof__item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5d74;
  box-shadow: 0 0 10px rgba(255, 93, 116, 0.7);
}

.compare-cta-note {
  font-weight: 700 !important;
  color: rgba(238, 244, 255, 0.9) !important;
}

/* Keep "Prix" with normal capitalization */
.compare-matrix tbody tr.compare-row-price th[scope="row"] {
  text-transform: none !important;
}

/* Price row color alignment with header columns */
.page-compare .compare-matrix tbody tr.compare-row-price td:nth-child(2) {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(15, 18, 28, 0.35) 100%) !important;
}

.page-compare .compare-matrix tbody tr.compare-row-price td:last-child {
  background: linear-gradient(180deg, var(--cmp-red-tint-strong) 0%, var(--cmp-red-tint) 100%) !important;
  box-shadow: inset 1px 0 0 var(--cmp-red-soft) !important;
}

.page-compare .compare-matrix tbody tr.compare-row-price th[scope="row"] {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(15, 18, 28, 0.35) 100%) !important;
}

/* Remove old black overlay on the whole "Prix" row */
.page-compare .compare-matrix tbody tr.compare-row-price {
  background: transparent !important;
}

/* Slightly smaller single CTA on compare page */
.page-compare .compare-cta-wrap .compare-cta-btn {
  padding: 14px 30px 14px 32px !important;
  font-size: 14px !important;
  transform: translateY(0) !important;
}

.page-compare .compare-cta-wrap .compare-cta-btn:hover {
  transform: translateY(-1px) !important;
}

.page-compare .compare-cta-subline {
  margin: 8px 0 0 !important;
  color: rgba(229, 236, 250, 0.82) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* Pricing page V2 */
body.page-pricing .pricing-hero-proof {
  margin: 12px 0 0;
  color: rgba(229, 236, 250, 0.88);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.page-pricing .pricing-trust-row {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

body.page-pricing .pricing-trust-row span {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 92, 116, 0.24);
  background: linear-gradient(180deg, rgba(12, 17, 29, 0.95), rgba(9, 13, 24, 0.94));
  color: rgba(222, 231, 247, 0.9);
  font-size: 12px;
  font-weight: 700;
}

body.page-pricing .pricing-why-section {
  padding-top: 18px;
}

body.page-pricing .pricing-why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-pricing .pricing-why-grid .benefit-card {
  padding: 18px;
}

body.page-pricing .pricing-why-grid h3 {
  margin: 0 0 8px;
  font-size: 1.03rem;
}

body.page-pricing .pricing-why-grid p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.58;
}

@media (max-width: 900px) {
  body.page-pricing .pricing-why-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing FAQ style aligned with compare page look */
body.page-pricing .pricing-faq-title {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.06;
}

body.page-pricing .pricing-faq-list {
  display: grid !important;
  gap: 10px !important;
  max-width: 700px !important;
  margin: 0 auto !important;
}

body.page-pricing .pricing-faq-list details {
  border-radius: 14px !important;
  border: 1px solid rgba(255, 76, 98, 0.24) !important;
  background:
    linear-gradient(90deg, rgba(27, 8, 14, 0.24), rgba(13, 18, 30, 0.88) 42%, rgba(8, 12, 21, 0.96) 100%) !important;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  padding: 11px 14px !important;
}

body.page-pricing .pricing-faq-list details[open] {
  border-color: rgba(255, 106, 126, 0.45) !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(255, 70, 92, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body.page-pricing .pricing-faq-list summary {
  position: relative !important;
  list-style: none !important;
  padding-right: 38px !important;
  font-size: clamp(0.9rem, 1.35vw, 0.98rem) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #e9eefb !important;
}

body.page-pricing .pricing-faq-list summary::-webkit-details-marker {
  display: none !important;
}

body.page-pricing .pricing-faq-list summary::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  width: 22px !important;
  height: 22px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='%23130d18' stroke='%23ff5067' stroke-opacity='0.38'/%3E%3Cpath d='M11 13.8 7.5 9.7h7L11 13.8Z' fill='%23ff687f'/%3E%3C/svg%3E") !important;
  background-size: 22px 22px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  transform: translateY(-50%) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.2s ease !important;
}

body.page-pricing .pricing-faq-list summary::before {
  content: none !important;
}

body.page-pricing .pricing-faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(180deg) !important;
}

body.page-pricing .pricing-faq-list p {
  margin: 8px 0 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.52 !important;
  color: rgba(219, 228, 245, 0.84) !important;
}

/* Pricing FAQ: exact same visual rules as compare FAQ */
.page-pricing .compare-faq-section {
  padding-top: 28px !important;
  padding-bottom: 96px !important;
}

.page-pricing .compare-faq-title {
  margin: 0 0 26px !important;
  text-align: center !important;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  color: #f4f6ff !important;
  text-shadow:
    0 10px 36px rgba(255, 70, 92, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.page-pricing .compare-faq-list {
  display: grid !important;
  gap: 14px !important;
  max-width: 640px !important;
  margin: 0 auto !important;
}

.page-pricing .compare-faq-list details {
  border-radius: 16px !important;
  border: 1px solid rgba(255, 76, 98, 0.22) !important;
  background:
    linear-gradient(90deg, rgba(28, 8, 14, 0.26), rgba(13, 18, 30, 0.88) 40%, rgba(8, 12, 21, 0.96)) !important;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  padding: 14px 16px !important;
}

.page-pricing .compare-faq-list details[open] {
  border-color: rgba(255, 108, 127, 0.48) !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(255, 70, 92, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.page-pricing .compare-faq-list summary {
  position: relative !important;
  list-style: none !important;
  padding-right: 46px !important;
  font-size: clamp(0.92rem, 1.45vw, 1.05rem) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #e9eefb !important;
  cursor: pointer !important;
}

.page-pricing .compare-faq-list summary::-webkit-details-marker {
  display: none !important;
}

.page-pricing .compare-faq-list summary::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 80, 103, 0.38) !important;
  background:
    linear-gradient(180deg, rgba(33, 10, 16, 0.95), rgba(14, 18, 30, 0.95)) !important;
  transform: translateY(-50%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 4px 10px rgba(0, 0, 0, 0.35) !important;
}

.page-pricing .compare-faq-list summary::before {
  content: "" !important;
  position: absolute !important;
  right: 9px !important;
  top: 50% !important;
  width: 6px !important;
  height: 6px !important;
  border-right: 1.8px solid #ff687f !important;
  border-bottom: 1.8px solid #ff687f !important;
  transform: translateY(-62%) rotate(45deg) !important;
  z-index: 1 !important;
  transition: transform 0.24s ease !important;
}

.page-pricing .compare-faq-list details[open] summary::before {
  transform: translateY(-34%) rotate(-135deg) !important;
}

.page-pricing .compare-faq-list p {
  margin: 10px 0 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  color: rgba(219, 228, 245, 0.84) !important;
  max-width: 90% !important;
}

/* Final lock: compare + pricing FAQ must be strictly identical */
.page-compare .compare-faq-list summary,
.page-pricing .compare-faq-list summary {
  padding-right: 46px !important;
  font-size: clamp(0.92rem, 1.45vw, 1.05rem) !important;
  line-height: 1.35 !important;
}

.page-compare .compare-faq-list summary::after,
.page-pricing .compare-faq-list summary::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 80, 103, 0.38) !important;
  background: linear-gradient(180deg, rgba(33, 10, 16, 0.95), rgba(14, 18, 30, 0.95)) !important;
  transform: translateY(-50%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 4px 10px rgba(0, 0, 0, 0.35) !important;
}

.page-compare .compare-faq-list summary::before,
.page-pricing .compare-faq-list summary::before {
  content: "" !important;
  position: absolute !important;
  right: 9px !important;
  top: 50% !important;
  width: 6px !important;
  height: 6px !important;
  border-right: 1.8px solid #ff687f !important;
  border-bottom: 1.8px solid #ff687f !important;
  transform: translateY(-62%) rotate(45deg) !important;
  z-index: 1 !important;
  transition: transform 0.24s ease !important;
}

.page-compare .compare-faq-list details[open] summary::before,
.page-pricing .compare-faq-list details[open] summary::before {
  transform: translateY(-34%) rotate(-135deg) !important;
}

/* Ultra-final sync: exactly same FAQ row rendering on compare + pricing */
.page-compare .compare-faq-list summary,
.page-pricing .compare-faq-list summary {
  display: flex !important;
  align-items: center !important;
  min-height: 30px !important;
}

.page-compare .compare-faq-list summary::after,
.page-pricing .compare-faq-list summary::after {
  width: 24px !important;
  height: 24px !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.page-compare .compare-faq-list summary::before,
.page-pricing .compare-faq-list summary::before {
  right: 9px !important;
  top: 50% !important;
  width: 6px !important;
  height: 6px !important;
  transform: translateY(calc(-50% - 4px)) rotate(45deg) !important;
}

.page-compare .compare-faq-list details[open] summary::before,
.page-pricing .compare-faq-list details[open] summary::before {
  transform: translateY(calc(-50% + 4px)) rotate(-135deg) !important;
}

/* Tarifs: dark blue/black card background requested */
body.page-pricing .price-card,
body.page-pricing .price-card.featured {
  background:
    linear-gradient(168deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%) padding-box,
    linear-gradient(160deg, rgba(55, 65, 81, 0.35), rgba(15, 17, 24, 0.2)) border-box !important;
}

/* Hero pill: same validated color style */
.page-home .pill--stat {
  border: 1px solid rgba(255, 84, 103, 0.26) !important;
  background:
    linear-gradient(168deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%) padding-box,
    linear-gradient(160deg, rgba(55, 65, 81, 0.35), rgba(15, 17, 24, 0.2)) border-box !important;
  color: #eaf0ff !important;
}

/* Hero demo button: same validated color style */
.page-home .btn-hero-demo {
  border: 1px solid rgba(255, 84, 103, 0.26) !important;
  background:
    linear-gradient(168deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%) padding-box,
    linear-gradient(160deg, rgba(55, 65, 81, 0.35), rgba(15, 17, 24, 0.2)) border-box !important;
  color: #eaf0ff !important;
}

/* Home social/CTA blocks: dark background sync (keep red CTA button) */
.page-home .home-social-proof .testimonial-card,
.page-home .home-stats-row .metric-card,
.page-home .final-cta .cta-card {
  background:
    linear-gradient(168deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%) padding-box,
    linear-gradient(160deg, rgba(55, 65, 81, 0.35), rgba(15, 17, 24, 0.2)) border-box !important;
  border: 1px solid rgba(255, 84, 103, 0.26) !important;
}

/* Navbar: same blue-night tone */
.topbar,
.topbar.topbar-scrolled {
  background:
    linear-gradient(168deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(160deg, rgba(55, 65, 81, 0.35), rgba(15, 17, 24, 0.2)) !important;
}

/* Home feature "buttons/cards": same clean dark style */
.page-home .feature-card,
.page-home .benefit-card {
  background:
    linear-gradient(168deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%) padding-box,
    linear-gradient(160deg, rgba(55, 65, 81, 0.35), rgba(15, 17, 24, 0.2)) border-box !important;
  border: 1px solid rgba(255, 84, 103, 0.26) !important;
}

.page-home .feature-card:hover,
.page-home .benefit-card:hover {
  border-color: rgba(255, 104, 121, 0.42) !important;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(255, 84, 103, 0.14) !important;
}

.page-home .feature-card__icon,
.page-home .feature-card__badge {
  background: linear-gradient(180deg, #ff5165 0%, #c21e34 100%) !important;
}

/* Home before/after: style only the two main cards */
.page-home .home-ba-card {
  background:
    linear-gradient(168deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%) padding-box,
    linear-gradient(160deg, rgba(55, 65, 81, 0.35), rgba(15, 17, 24, 0.2)) border-box !important;
  border: 1px solid rgba(255, 84, 103, 0.26) !important;
}

.page-home .home-ba-card:hover {
  border-color: rgba(255, 104, 121, 0.42) !important;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(255, 84, 103, 0.14) !important;
}

/* Demo only: premium cinematic background */
body.app-chat.app-chat--premium-bg {
  background:
    radial-gradient(ellipse 120% 82% at 50% -14%, rgba(124, 24, 42, 0.42) 0%, rgba(60, 14, 23, 0.2) 32%, rgba(10, 10, 12, 0) 62%),
    radial-gradient(ellipse 78% 54% at 12% 72%, rgba(90, 16, 32, 0.2) 0%, rgba(10, 10, 12, 0) 58%),
    radial-gradient(ellipse 84% 58% at 88% 70%, rgba(90, 16, 32, 0.18) 0%, rgba(10, 10, 12, 0) 60%),
    linear-gradient(180deg, #140b11 0%, #09090c 46%, #060608 100%) !important;
}

body.app-chat.app-chat--premium-bg .app-main--gpt,
body.app-chat.app-chat--premium-bg .app-stage {
  background:
    radial-gradient(ellipse 130% 88% at 50% 4%, rgba(110, 24, 40, 0.14) 0%, rgba(10, 10, 12, 0) 58%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.9) 0%, rgba(6, 6, 8, 0.94) 100%) !important;
}

/* Demo only: remove blue cast from left panel + search */
body.app-chat.app-chat--premium-bg .gpt-sidebar {
  border-right: 1px solid rgba(188, 36, 61, 0.34) !important;
  background: linear-gradient(180deg, rgba(17, 8, 11, 0.96) 0%, rgba(10, 8, 10, 0.98) 55%, rgba(8, 8, 9, 0.99) 100%) !important;
}

body.app-chat.app-chat--premium-bg .gpt-history-filter,
body.app-chat.app-chat--premium-bg .composer--gpt,
body.app-chat.app-chat--premium-bg .composer-input {
  border-color: rgba(188, 36, 61, 0.34) !important;
  background: linear-gradient(180deg, rgba(26, 10, 14, 0.9) 0%, rgba(12, 10, 12, 0.96) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 20px rgba(188, 36, 61, 0.1) !important;
}

body.app-chat.app-chat--premium-bg .gpt-history-filter:focus,
body.app-chat.app-chat--premium-bg .composer--gpt:focus-within {
  border-color: rgba(216, 56, 82, 0.52) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 28px rgba(216, 56, 82, 0.14) !important;
}

/* Hide model name text in top pill (no "lexi-8b") */
body.app-chat .app-model-pill__model {
  display: none !important;
}

/* Demo premium v2: match reference noir/rouge glow */
body.app-chat.app-chat--premium-bg {
  background:
    linear-gradient(180deg, rgba(118, 22, 39, 0.16) 0%, rgba(12, 10, 12, 0.04) 46%, rgba(8, 8, 10, 0) 100%),
    radial-gradient(ellipse 95% 62% at 50% 12%, rgba(156, 26, 48, 0.3) 0%, rgba(20, 11, 14, 0) 64%),
    radial-gradient(ellipse 72% 92% at 8% 50%, rgba(78, 12, 24, 0.18) 0%, rgba(7, 7, 9, 0) 60%),
    radial-gradient(ellipse 72% 92% at 92% 48%, rgba(78, 12, 24, 0.14) 0%, rgba(7, 7, 9, 0) 60%),
    linear-gradient(180deg, #0d0a0d 0%, #070709 64%, #050507 100%) !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

body.app-chat.app-chat--premium-bg .gpt-sidebar {
  background:
    linear-gradient(180deg, rgba(18, 8, 12, 0.98) 0%, rgba(10, 9, 11, 0.99) 60%, rgba(8, 8, 10, 1) 100%) !important;
  box-shadow:
    inset -1px 0 0 rgba(190, 38, 64, 0.26),
    0 0 20px rgba(114, 15, 33, 0.08) !important;
}

body.app-chat.app-chat--premium-bg .gpt-newchat {
  border-color: rgba(255, 66, 92, 0.7) !important;
  background: linear-gradient(180deg, #ff3c58 0%, #cc203c 100%) !important;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.44),
    0 0 12px rgba(255, 50, 78, 0.18) !important;
}

body.app-chat.app-chat--premium-bg .gpt-newchat:hover {
  filter: brightness(1.03) !important;
  box-shadow:
    0 13px 28px rgba(0, 0, 0, 0.46),
    0 0 16px rgba(255, 52, 82, 0.2) !important;
}

body.app-chat.app-chat--premium-bg .gpt-history-filter,
body.app-chat.app-chat--premium-bg .gpt-tool {
  background: linear-gradient(180deg, rgba(20, 10, 14, 0.92) 0%, rgba(10, 9, 11, 0.98) 100%) !important;
  border-color: rgba(186, 38, 62, 0.28) !important;
}

body.app-chat.app-chat--premium-bg .gpt-sidebar__title {
  color: rgba(233, 67, 94, 0.9) !important;
}

body.app-chat.app-chat--premium-bg .gpt-history__item {
  background: linear-gradient(180deg, rgba(16, 10, 13, 0.86) 0%, rgba(10, 9, 11, 0.95) 100%) !important;
  border-color: rgba(170, 34, 56, 0.22) !important;
}

body.app-chat.app-chat--premium-bg .gpt-history__item.is-active {
  border-color: rgba(227, 68, 94, 0.58) !important;
  box-shadow:
    0 0 0 1px rgba(227, 68, 94, 0.18),
    0 0 10px rgba(227, 68, 94, 0.12) !important;
}

body.app-chat.app-chat--premium-bg .app-topbar--gpt {
  background: linear-gradient(180deg, rgba(17, 8, 11, 0.92) 0%, rgba(10, 10, 12, 0.86) 100%) !important;
  border-bottom: 1px solid rgba(173, 34, 58, 0.32) !important;
}

body.app-chat.app-chat--premium-bg .composer-wrap--gpt {
  bottom: 24px !important;
}

body.app-chat.app-chat--premium-bg .composer--gpt {
  border-color: rgba(197, 42, 67, 0.34) !important;
  background: linear-gradient(180deg, rgba(14, 10, 13, 0.94) 0%, rgba(10, 9, 11, 0.98) 100%) !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.4),
    0 0 12px rgba(203, 45, 72, 0.1) !important;
}

/* Encadrement simple autour de la zone de recherche/saisie */
body.app-chat.app-chat--premium-bg .composer-wrap--gpt::before {
  content: "";
  position: absolute;
  inset: -8px -10px;
  border: 1px solid rgba(179, 40, 62, 0.24);
  border-radius: 18px;
  pointer-events: none;
  background: rgba(8, 8, 10, 0.26);
}

body.app-chat.app-chat--premium-bg .composer-send {
  background: linear-gradient(180deg, #ff4360 0%, #c51f39 100%) !important;
  border-color: rgba(255, 98, 122, 0.72) !important;
  box-shadow: 0 0 10px rgba(255, 67, 96, 0.2) !important;
}

/* Demo premium v3: closer to provided reference */
body.app-chat.app-chat--premium-bg .app-shell--gpt {
  grid-template-columns: 300px 1fr;
}

body.app-chat.app-chat--premium-bg .app-main--gpt,
body.app-chat.app-chat--premium-bg .app-stage {
  background: transparent !important;
}

/* One continuous background: remove panel/topbar separators */
body.app-chat.app-chat--premium-bg .app-shell--gpt,
body.app-chat.app-chat--premium-bg .gpt-sidebar,
body.app-chat.app-chat--premium-bg .app-main--gpt,
body.app-chat.app-chat--premium-bg .app-stage,
body.app-chat.app-chat--premium-bg .app-topbar--gpt {
  background: transparent !important;
}

body.app-chat.app-chat--premium-bg .app-shell--gpt {
  background-image: none !important;
}

body.app-chat.app-chat--premium-bg .gpt-sidebar {
  border-right: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.app-chat.app-chat--premium-bg .gpt-sidebar::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(110, 18, 34, 0.16) 0%, rgba(10, 9, 11, 0.08) 45%, rgba(8, 8, 10, 0.04) 100%),
    radial-gradient(ellipse 95% 55% at 24% 8%, rgba(185, 34, 58, 0.18) 0%, rgba(185, 34, 58, 0) 72%);
}

body.app-chat.app-chat--premium-bg .app-topbar--gpt {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Final tone tweak: less dark, more red (especially focus mode) */
body.app-chat.app-chat--premium-bg {
  background:
    linear-gradient(180deg, rgba(170, 30, 56, 0.24) 0%, rgba(34, 13, 18, 0.08) 44%, rgba(8, 8, 10, 0) 100%),
    radial-gradient(ellipse 95% 62% at 50% 12%, rgba(205, 36, 64, 0.4) 0%, rgba(20, 11, 14, 0) 64%),
    radial-gradient(ellipse 72% 92% at 8% 50%, rgba(114, 18, 36, 0.24) 0%, rgba(7, 7, 9, 0) 60%),
    radial-gradient(ellipse 72% 92% at 92% 48%, rgba(114, 18, 36, 0.2) 0%, rgba(7, 7, 9, 0) 60%),
    linear-gradient(180deg, #0e0a0d 0%, #070709 64%, #050507 100%) !important;
}

body.app-chat.app-chat--premium-bg .app-stage::after,
body.app-chat.app-chat--premium-bg .app-stage:has(.composer--gpt:focus-within)::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

body.app-chat.app-chat--premium-bg .composer--gpt,
body.app-chat.app-chat--premium-bg .composer-input,
body.app-chat.app-chat--premium-bg .gpt-history-filter {
  background: rgba(22, 10, 14, 0.68) !important;
}

/* Keep only elegant separator bars */
body.app-chat.app-chat--premium-bg .gpt-sidebar {
  border-right: 2px solid rgba(255, 86, 112, 0.48) !important;
  box-shadow: inset -1px 0 0 rgba(120, 18, 38, 0.45) !important;
}

body.app-chat.app-chat--premium-bg .app-topbar--gpt {
  border-bottom: 2px solid rgba(255, 86, 112, 0.44) !important;
  box-shadow: inset 0 -1px 0 rgba(120, 18, 38, 0.4) !important;
}

/* Demo separators (exactly like user marks): one vertical + one horizontal */
body.app-chat.app-chat--premium-bg .app-shell--gpt {
  position: relative;
}

body.app-chat.app-chat--premium-bg .app-shell--gpt::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 300px; /* same as sidebar width in premium layout */
  width: 1px;
  background: rgba(208, 72, 94, 0.55);
  box-shadow: 0 0 0 1px rgba(90, 16, 30, 0.28);
  pointer-events: none;
  z-index: 40;
}

body.app-chat.app-chat--premium-bg .app-topbar--gpt {
  position: relative;
}

body.app-chat.app-chat--premium-bg .app-topbar--gpt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(208, 72, 94, 0.5);
  box-shadow: 0 1px 0 rgba(90, 16, 30, 0.26);
  pointer-events: none;
}

body.app-chat.app-chat--premium-bg .composer-wrap--gpt {
  z-index: 25;
}

body.app-chat.app-chat--premium-bg .app-stage::before {
  display: none !important;
}

/* Search/composer: simple style, no glow */
body.app-chat.app-chat--premium-bg .gpt-history-filter,
body.app-chat.app-chat--premium-bg .composer--gpt,
body.app-chat.app-chat--premium-bg .composer-input {
  box-shadow: none !important;
  background: rgba(12, 10, 12, 0.72) !important;
  border-color: rgba(170, 42, 62, 0.28) !important;
}

body.app-chat.app-chat--premium-bg .gpt-history-filter:focus,
body.app-chat.app-chat--premium-bg .composer--gpt:focus-within {
  box-shadow: none !important;
  border-color: rgba(190, 56, 78, 0.38) !important;
}

body.app-chat.app-chat--premium-bg .composer-wrap--gpt::before {
  display: none !important;
}

body.app-chat.app-chat--premium-bg .app-stage {
  justify-content: flex-start !important;
  gap: 10px !important;
  padding-top: 8px !important;
}

body.app-chat.app-chat--premium-bg .app-empty {
  padding: 24px 0 6px !important;
}

body.app-chat.app-chat--premium-bg .app-topbar--gpt {
  border-bottom: 1px solid rgba(192, 42, 66, 0.16) !important;
  background: linear-gradient(180deg, rgba(15, 8, 10, 0.84) 0%, rgba(9, 9, 11, 0.72) 100%) !important;
  box-shadow: inset 0 -1px 0 rgba(215, 64, 86, 0.05) !important;
}

/* Soften the cut between topbar and right chat area */
body.app-chat.app-chat--premium-bg .app-stage {
  position: relative;
  margin-top: -2px;
  padding-top: 2px;
}

body.app-chat.app-chat--premium-bg .app-stage::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 28px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(160, 30, 52, 0.09) 0%, rgba(10, 9, 11, 0) 100%);
}

body.app-chat.app-chat--premium-bg .gpt-sidebar {
  border-right: 1px solid rgba(194, 44, 67, 0.34) !important;
  background:
    radial-gradient(ellipse 110% 72% at 40% 12%, rgba(110, 16, 34, 0.22) 0%, rgba(15, 10, 12, 0) 58%),
    linear-gradient(180deg, rgba(14, 9, 11, 0.98) 0%, rgba(8, 8, 10, 1) 100%) !important;
}

body.app-chat.app-chat--premium-bg .gpt-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 32% at 30% 8%, rgba(236, 48, 76, 0.14) 0%, rgba(236, 48, 76, 0) 72%);
}

body.app-chat.app-chat--premium-bg .gpt-newchat {
  border-color: rgba(255, 70, 96, 0.8) !important;
  background: linear-gradient(180deg, #ff425f 0%, #cf223e 100%) !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.44),
    0 0 18px rgba(255, 66, 95, 0.24) !important;
}

body.app-chat.app-chat--premium-bg .gpt-history-filter,
body.app-chat.app-chat--premium-bg .gpt-tool,
body.app-chat.app-chat--premium-bg .gpt-history__item {
  background: linear-gradient(180deg, rgba(18, 11, 13, 0.9) 0%, rgba(10, 9, 11, 0.98) 100%) !important;
  border-color: rgba(185, 40, 62, 0.28) !important;
}

body.app-chat.app-chat--premium-bg .composer-wrap--gpt::before {
  border-color: rgba(196, 46, 70, 0.3) !important;
  background: rgba(8, 8, 10, 0.2) !important;
}

body.app-chat.app-chat--premium-bg .composer--gpt {
  border-color: rgba(210, 50, 74, 0.4) !important;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.38),
    0 0 14px rgba(210, 50, 74, 0.12) !important;
}

/* Final lock: absolutely no section cut on demo */
body.app-chat.app-chat--premium-bg .app-shell--gpt,
body.app-chat.app-chat--premium-bg .app-main--gpt,
body.app-chat.app-chat--premium-bg .app-stage,
body.app-chat.app-chat--premium-bg .gpt-sidebar,
body.app-chat.app-chat--premium-bg .app-topbar--gpt {
  background: transparent !important;
}

body.app-chat.app-chat--premium-bg .gpt-sidebar {
  border-right: none !important;
  box-shadow: none !important;
}

body.app-chat.app-chat--premium-bg .gpt-sidebar::before,
body.app-chat.app-chat--premium-bg .app-stage::before {
  display: none !important;
  content: none !important;
}

body.app-chat.app-chat--premium-bg .app-topbar--gpt {
  border-bottom: none !important;
  box-shadow: none !important;
}


/* Subscription dashboard */
.page-subscription .subscription-panel {
  padding: 20px;
}

.subscription-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.subscription-tile {
  border: 1px solid rgba(255, 84, 103, 0.22);
  border-radius: 12px;
  padding: 14px;
  background: rgba(8, 10, 16, 0.58);
}

.subscription-tile h3 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: rgba(203, 215, 240, 0.84);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.subscription-value {
  margin: 0;
  color: #f4f7ff;
  font-weight: 800;
  font-size: 1.05rem;
}

.subscription-ok {
  color: #8df2b1;
}

.subscription-warn {
  color: #f7b0b0;
}

.subscription-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 84, 103, 0.16);
  color: rgba(208, 220, 243, 0.88);
  font-size: 0.9rem;
}

.subscription-meta p {
  margin: 6px 0;
}

.subscription-error {
  margin: 0;
  color: #ffb1b1;
  font-weight: 700;
}

.subscription-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.subscription-insight-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 86, 106, 0.24);
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.9), rgba(8, 11, 19, 0.94));
  padding: 14px;
}

.subscription-insight-card h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.subscription-insight-card p {
  margin: 0;
  color: rgba(212, 223, 244, 0.86);
  line-height: 1.5;
  font-size: 0.9rem;
}

.subscription-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subscription-actions .btn {
  min-height: 40px;
}

@media (max-width: 900px) {
  .subscription-insights {
    grid-template-columns: 1fr;
  }

  .subscription-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .subscription-grid {
    grid-template-columns: 1fr;
  }
}

/* Demo lock: composer always pinned at bottom */
body.app-chat.app-chat--premium-bg .app-main--gpt {
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

body.app-chat.app-chat--premium-bg .app-stage {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  gap: 8px !important;
}

body.app-chat.app-chat--premium-bg .chat--gpt {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none !important;
  padding-bottom: 88px !important;
  margin-bottom: 0 !important;
}

body.app-chat.app-chat--premium-bg .composer-wrap--gpt {
  position: sticky !important;
  bottom: 8px !important;
  margin-top: auto !important;
  z-index: 35 !important;
}

body.app-chat.app-chat--premium-bg .app-empty {
  padding: 12px 0 4px !important;
}

/* Demo chat: remove blue tint, use neutral light gray */
body.app-chat.app-chat--premium-bg .chat--gpt .msg.assistant .msg-bubble {
  border-color: rgba(198, 204, 218, 0.28) !important;
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.96), rgba(11, 11, 14, 0.98)) !important;
}

body.app-chat.app-chat--premium-bg .msg-bubble--md .msg-code-wrap {
  border-color: rgba(198, 204, 218, 0.24) !important;
}

body.app-chat.app-chat--premium-bg .msg-bubble--md .msg-code-head {
  border-bottom-color: rgba(198, 204, 218, 0.18) !important;
}

/* Demo top-left selector: clean "ChatGPT-like" look */
body.app-chat.app-chat--premium-bg .app-model-pill {
  gap: 8px;
  min-height: 40px;
  padding: 0;
  border-radius: 0;
  border: none !important;
  background: transparent !important;
  color: #f3f4f6 !important;
  box-shadow: none !important;
}

body.app-chat.app-chat--premium-bg .app-model-pill__status {
  display: none !important;
}

body.app-chat.app-chat--premium-bg .app-model-pill__brand {
  color: #f3f4f6 !important;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

body.app-chat.app-chat--premium-bg .app-model-pill::after {
  content: "▾";
  font-size: 13px;
  line-height: 1;
  color: rgba(229, 231, 235, 0.78);
}

/* Demo mobile: cleaner composer order like chat apps */
@media (max-width: 700px) {
  body.app-chat.app-chat--premium-bg .composer-wrap--gpt {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    overflow: visible !important;
  }

  body.app-chat.app-chat--premium-bg .composer--gpt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 16px;
  }

  body.app-chat.app-chat--premium-bg .composer-btn {
    order: 1;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }

  body.app-chat.app-chat--premium-bg .composer-field {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
  }

  body.app-chat.app-chat--premium-bg .composer-input {
    min-height: 20px;
    line-height: 1.35;
  }

  body.app-chat.app-chat--premium-bg .composer-right {
    order: 3;
    margin-left: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  body.app-chat.app-chat--premium-bg .composer-mode-dropdown {
    order: 1;
  }

  body.app-chat.app-chat--premium-bg .composer-mode-trigger {
    min-height: 32px;
    padding: 0 9px;
    border-radius: 10px;
    font-size: 12px;
  }

  body.app-chat.app-chat--premium-bg .composer-mode-dropdown {
    position: relative;
  }

  body.app-chat.app-chat--premium-bg .composer-mode-menu {
    top: auto !important;
    bottom: calc(100% + 8px) !important;
    left: auto !important;
    right: 0 !important;
    min-width: 132px;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 98, 120, 0.28);
    background: linear-gradient(180deg, rgba(20, 12, 16, 0.98), rgba(10, 10, 12, 0.98));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
    z-index: 90;
  }

  body.app-chat.app-chat--premium-bg .composer-mode-option {
    min-height: 34px;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 12px;
  }

  body.app-chat.app-chat--premium-bg .composer-send {
    order: 2;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  body.app-chat.app-chat--premium-bg .composer-count,
  body.app-chat.app-chat--premium-bg .composer-hint {
    display: none !important;
  }

  body.app-chat.app-chat--premium-bg .chat--gpt {
    padding-bottom: 126px !important;
  }
}

/* Demo mobile nav menu (all left tools moved into top-right menu) */
.demo-mobile-menu-toggle {
  display: none;
}

.demo-mobile-menu-close {
  display: none !important;
}

@media (max-width: 900px) {
  body.app-chat.app-chat--premium-bg .app-shell--gpt::before {
    display: none !important;
    content: none !important;
  }

  body.app-chat.app-chat--premium-bg .app-shell--gpt {
    grid-template-columns: 1fr !important;
  }

  body.app-chat.app-chat--premium-bg .app-topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  body.app-chat.app-chat--premium-bg .app-topbar-right {
    gap: 8px;
  }

  body.app-chat.app-chat--premium-bg .demo-mobile-menu-toggle {
    display: inline-grid;
    place-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 96, 118, 0.3);
    background: linear-gradient(180deg, rgba(19, 12, 16, 0.95), rgba(10, 10, 12, 0.98));
    cursor: pointer;
  }

  body.app-chat.app-chat--premium-bg .demo-mobile-menu-toggle span {
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: #f6f8ff;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  body.app-chat.demo-mobile-menu-open .demo-mobile-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.app-chat.demo-mobile-menu-open .demo-mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.app-chat.demo-mobile-menu-open .demo-mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  body.app-chat.app-chat--premium-bg .gpt-sidebar {
    display: none !important;
  }

  body.app-chat.demo-mobile-menu-open .gpt-sidebar {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: auto;
    width: min(86vw, 340px);
    max-height: none;
    overflow: auto;
    z-index: 80;
    padding: 12px 12px 16px;
    border: 1px solid rgba(255, 96, 118, 0.24) !important;
    border-left: none !important;
    border-radius: 0 16px 16px 0;
    background:
      radial-gradient(ellipse 66% 40% at 50% 0%, rgba(197, 38, 66, 0.18), rgba(14, 10, 12, 0)),
      linear-gradient(180deg, rgba(19, 12, 16, 0.96), rgba(10, 10, 12, 0.98)) !important;
    box-shadow:
      0 24px 46px rgba(0, 0, 0, 0.44),
      100vw 0 0 rgba(5, 5, 8, 0.62);
    overflow-x: hidden;
  }

  body.app-chat.demo-mobile-menu-open .gpt-sidebar * {
    box-sizing: border-box;
    max-width: 100%;
  }

  body.app-chat.demo-mobile-menu-open .gpt-sidebar__top,
  body.app-chat.demo-mobile-menu-open .gpt-sidebar__tools,
  body.app-chat.demo-mobile-menu-open .gpt-sidebar__section,
  body.app-chat.demo-mobile-menu-open .gpt-sidebar__bottom {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  body.app-chat.demo-mobile-menu-open .gpt-sidebar__top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  body.app-chat.demo-mobile-menu-open .demo-mobile-menu-close {
    display: inline-grid !important;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 104, 124, 0.35);
    background: rgba(10, 10, 12, 0.9);
    color: #f6f8ff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
  }

  body.app-chat.demo-mobile-menu-open .gpt-sidebar__top {
    order: 1;
    margin-bottom: 10px;
  }

  body.app-chat.demo-mobile-menu-open .gpt-sidebar__tools {
    order: 2;
    margin-bottom: 10px;
  }

  body.app-chat.demo-mobile-menu-open .gpt-sidebar__section {
    order: 3;
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 8px;
  }

  body.app-chat.demo-mobile-menu-open .gpt-history {
    max-height: none;
    overflow: auto;
    padding-right: 0;
  }

  body.app-chat.demo-mobile-menu-open .gpt-sidebar__bottom {
    position: static !important;
    order: 4;
    margin-top: auto;
    padding: 10px 2px 4px;
    border-top: 1px solid rgba(255, 102, 123, 0.2);
    background: transparent !important;
    box-shadow: none !important;
  }

  body.app-chat.demo-mobile-menu-open .gpt-newchat,
  body.app-chat.demo-mobile-menu-open .gpt-history-filter,
  body.app-chat.demo-mobile-menu-open .gpt-tool {
    width: 100%;
    min-height: 40px;
    height: auto !important;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: flex-start;
    text-align: left;
  }

  body.app-chat.demo-mobile-menu-open .gpt-history__item {
    min-width: 0;
  }

  body.app-chat.demo-mobile-menu-open .gpt-history__title {
    min-width: 0;
  }
}

/* Mobile navbar on homepage: logo + hamburger */
.mobile-nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  body.page-home .topbar {
    overflow: visible;
    background: linear-gradient(180deg, rgba(18, 10, 14, 0.94), rgba(10, 10, 12, 0.96)) !important;
    border-color: rgba(255, 90, 110, 0.28) !important;
  }

  body.page-home .topbar-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 68px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  body.page-home .topbar .logo {
    font-size: 30px;
  }

  body.page-home .mobile-nav-toggle {
    display: inline-grid;
    gap: 4px;
    width: 38px;
    height: 38px;
    place-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 94, 116, 0.3);
    background: rgba(10, 13, 22, 0.75);
    cursor: pointer;
    margin-left: auto;
  }

  body.page-home .mobile-nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #f6f8ff;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  body.page-home .topbar.is-mobile-nav-open .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.page-home .topbar.is-mobile-nav-open .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.page-home .topbar.is-mobile-nav-open .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  body.page-home .topbar .topnav,
  body.page-home .topbar .top-actions {
    display: none !important;
  }

  body.page-home .topbar.is-mobile-nav-open .topnav {
    display: grid !important;
    gap: 8px;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 102, 123, 0.3);
    background:
      radial-gradient(ellipse 58% 50% at 50% 18%, rgba(255, 86, 106, 0.12) 0%, rgba(14, 10, 12, 0) 74%),
      linear-gradient(180deg, rgba(20, 12, 16, 0.97), rgba(11, 11, 13, 0.98));
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.42);
    z-index: 20;
  }

  body.page-home .topbar.is-mobile-nav-open .topnav a {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 110, 128, 0.24);
    background: linear-gradient(180deg, rgba(26, 28, 34, 0.96), rgba(18, 20, 26, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: inline-flex;
    align-items: center;
    color: rgba(233, 236, 244, 0.95);
    font-size: 13px;
    text-decoration: none;
  }

  body.page-home .topbar.is-mobile-nav-open .topnav a.active::after {
    display: none;
  }

  body.page-home .topbar.is-mobile-nav-open .top-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 104, 125, 0.2);
  }

  body.page-home .topbar.is-mobile-nav-open #login-open {
    order: 1;
  }

  body.page-home .topbar.is-mobile-nav-open .nav-cta.requires-guest {
    order: 2;
  }

  body.page-home .topbar.is-mobile-nav-open .requires-auth.btn {
    order: 3;
    grid-column: 1 / -1;
  }

  body.page-home .topbar.is-mobile-nav-open .top-actions .nav-action,
  body.page-home .topbar.is-mobile-nav-open .top-actions .nav-cta,
  body.page-home .topbar.is-mobile-nav-open .top-actions .requires-auth.btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
    width: 100%;
  }

  body.page-home .topbar.is-mobile-nav-open #login-open,
  body.page-home .topbar.is-mobile-nav-open .nav-cta.requires-guest {
    border: 1px solid rgba(255, 100, 122, 0.52);
    background: linear-gradient(180deg, #ff5e73 0%, #d22f45 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(210, 47, 69, 0.35);
  }

  body.page-home .topbar.is-mobile-nav-open .top-actions .nav-cta.requires-guest {
    display: inline-flex !important;
  }
}
