@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../../../../assets/fonts/MaterialIcons-Regular.ttf') format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
}

/* === SECTION 2 COLUMNS IDEA LOGO 3D*/
.logo-2col-section {
  --idea-accent-blue: 73, 149, 255;
  --idea-accent-gold: 255, 201, 130;
  /* When hovering a Central highlight, JS sets these rgb vars on the section.
     Alpha is controlled by [data-central-hover] to keep default state unchanged. */
  --central-hover-rgb-1: var(--idea-accent-gold);
  --central-hover-rgb-2: var(--idea-accent-blue);
  --central-hover-a1: 0;
  --central-hover-a2: 0;
  --central-hover-a3: 0;
  /* Shared "glass" background for both faces (transparent, brand-adaptive) */
  background:
    radial-gradient(980px 620px at 18% 22%, rgba(var(--central-hover-rgb-1), var(--central-hover-a1)) 0%, rgba(var(--central-hover-rgb-1), 0) 66%),
    radial-gradient(980px 620px at 86% 68%, rgba(var(--central-hover-rgb-2), var(--central-hover-a2)) 0%, rgba(var(--central-hover-rgb-2), 0) 66%),
    conic-gradient(from 210deg at 50% 50%, rgba(var(--central-hover-rgb-1), var(--central-hover-a3)), rgba(var(--central-hover-rgb-2), var(--central-hover-a3)), rgba(255, 255, 255, var(--central-hover-a3)), rgba(var(--central-hover-rgb-1), var(--central-hover-a3))),
    radial-gradient(900px 560px at 16% 18%, rgba(var(--idea-accent-blue), 0.22) 0%, rgba(var(--idea-accent-blue), 0) 64%),
    radial-gradient(980px 620px at 86% 22%, rgba(var(--idea-accent-gold), 0.16) 0%, rgba(var(--idea-accent-gold), 0) 66%),
    radial-gradient(760px 520px at 52% 86%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 66%),
    conic-gradient(from 210deg at 50% 50%, rgba(var(--idea-accent-gold), 0.10), rgba(var(--idea-accent-blue), 0.10), rgba(255, 255, 255, 0.06), rgba(var(--idea-accent-gold), 0.10)),
    linear-gradient(120deg, #0e1020 0%, #181a2a 45%, #0e1020 100%);
  background-size: 160% 160%;
  animation: ideaSharedBackdropDrift 12.8s ease-in-out infinite;
  filter: saturate(1.05);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: filter 180ms ease;
}

/* Keep IDEA Central cards visually stable (no backdrop drift at rest) */
.logo-2col-section.is-central {
  animation: none;
  background-position: 50% 50%;
}

/* Section-wide background tint while hovering a Central highlight */
.logo-2col-section.is-central[data-central-hover] {
  /* Keep the base backdrop unchanged; spotlight is handled by ::before */
  --central-hover-a1: 0;
  --central-hover-a2: 0;
  --central-hover-a3: 0;
}

/* Extra overlay during hover (keeps the effect obvious even with the base animated backdrop) */
.logo-2col-section.is-central[data-central-hover]:not(.is-intro)::before {
  content: "";
  position: absolute;
  top: -12%;
  left: -16%;
  right: -16%;
  bottom: auto;
  height: clamp(260px, 56vh, 680px);
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(860px 520px at 18% 18%, rgba(var(--central-hover-rgb-1), 0.58) 0%, rgba(var(--central-hover-rgb-1), 0) 66%),
    radial-gradient(920px 560px at 82% 32%, rgba(var(--central-hover-rgb-2), 0.52) 0%, rgba(var(--central-hover-rgb-2), 0) 68%),
    conic-gradient(from 210deg at 50% 20%, rgba(var(--central-hover-rgb-1), 0.20), rgba(var(--central-hover-rgb-2), 0.20), rgba(255,255,255,0.08), rgba(var(--central-hover-rgb-1), 0.20));
  filter: blur(18px) saturate(1.25);
  mix-blend-mode: screen;
  opacity: 1;

  /* Fade out towards the bottom: "projector" only on the top part */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 58%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 58%, rgba(0,0,0,0) 100%);
}

@keyframes ideaSharedBackdropDrift {
  0% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
  100% { background-position: 0% 40%; }
}

/* Intro overlay (brand glow) */
.logo-2col-section.is-intro::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(560px 420px at 18% 22%, rgba(255, 201, 130, 0.26) 0%, rgba(255, 201, 130, 0) 70%),
    radial-gradient(700px 460px at 84% 18%, rgba(73, 149, 255, 0.26) 0%, rgba(73, 149, 255, 0) 70%),
    conic-gradient(from 200deg at 50% 50%, rgba(255,201,130,0.12), rgba(73,149,255,0.10), rgba(255,255,255,0.06), rgba(255,201,130,0.12));
  filter: blur(20px) saturate(1.2);
  opacity: 0.0;
  transform: translate3d(0,0,0) scale(0.98);
  animation: ideaCentralIntroGlow 2.35s ease-in-out 1;
}

/* Intro starfield (subtle) */
.logo-2col-section.is-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,0.20) 0 1px, rgba(255,255,255,0) 2px) 0 0 / 220px 220px,
    radial-gradient(circle at 72% 68%, rgba(255,255,255,0.16) 0 1px, rgba(255,255,255,0) 2px) 0 0 / 280px 280px,
    radial-gradient(circle at 42% 78%, rgba(255,201,130,0.14) 0 1px, rgba(255,201,130,0) 2px) 0 0 / 320px 320px,
    radial-gradient(circle at 86% 38%, rgba(73,149,255,0.14) 0 1px, rgba(73,149,255,0) 2px) 0 0 / 340px 340px;
  opacity: 0;
  animation: ideaCentralStars 2.35s ease-in-out 1;
}

@keyframes ideaCentralIntroGlow {
  0% { opacity: 0; transform: translate3d(0,0,0) scale(0.98) rotate(-1deg); }
  22% { opacity: 0.95; }
  55% { opacity: 0.62; transform: translate3d(0,0,0) scale(1.03) rotate(1deg); }
  100% { opacity: 0; transform: translate3d(0,0,0) scale(1.04) rotate(2deg); }
}

@keyframes ideaCentralStars {
  0% { opacity: 0; transform: translate3d(0,0,0) scale(1); }
  25% { opacity: 0.32; }
  60% { opacity: 0.18; transform: translate3d(0,0,0) scale(1.02); }
  100% { opacity: 0; transform: translate3d(0,0,0) scale(1.03); }
}

/* --- IDEA <-> IDEA Central flip (secret door) --- */
.logo-2col-section .logo-2col-toggle {
  position: absolute;
  top: 50%;
  /* Default (IDEA): arrow on the left */
  left: 0;
  right: auto;
  --toggle-x: 0%;
  transform: translateY(-50%) translateX(var(--toggle-x));
  z-index: 12;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: absolute;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

/* IDEA Central: arrow on the right */
.logo-2col-section.is-central .logo-2col-toggle {
  right: 0;
  left: auto;
  --toggle-x: 0%;
}

/* Destination-specific styling still uses data-target (colors/FX), but not position */
.logo-2col-section .logo-2col-toggle[data-target="central"] {
  --toggle-x: 0%;
}

.logo-2col-section .logo-2col-toggle[data-target="idea"] {
  --toggle-x: 0%;
}

.logo-2col-section .logo-2col-toggle::before {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate3d(0,0,0) rotate(0deg) scale(1);
  filter: blur(16px) saturate(1.2);
}

.logo-2col-section .logo-2col-toggle > * {
  position: relative;
  z-index: 1;
}



.logo-2col-section .logo-2col-toggle .logo-2col-toggle-icon {
  font-size: 26px;
  line-height: 1;
  opacity: 0.85;
  transition: opacity 160ms ease, transform 160ms ease;
}

.logo-2col-section .logo-2col-toggle:hover .logo-2col-toggle-icon,
.logo-2col-section .logo-2col-toggle:focus-visible .logo-2col-toggle-icon {
  opacity: 1;
}

/* Different "signal" blink depending on where the arrow will take you */
.logo-2col-section .logo-2col-toggle[data-target="central"] {
  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    0 0 0 1px rgba(255,255,255,0.10);
}

.logo-2col-section .logo-2col-toggle[data-target="central"] .logo-2col-toggle-icon {
  color: rgba(255, 201, 130, 0.98);
}

.logo-2col-section .logo-2col-toggle[data-target="central"]::before {
  opacity: 0;
  background: none;
}

@keyframes ideaToggleSignalCentral {
  0% { transform: translateY(-50%) translateX(var(--toggle-x)) scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.10); }
  45% { transform: translateY(-50%) translateX(var(--toggle-x)) translateY(-1px) scale(1.02); box-shadow: 0 16px 46px rgba(0,0,0,0.25), 0 0 0 8px rgba(255,201,130,0.14), 0 0 0 18px rgba(73,149,255,0.10); }
  100% { transform: translateY(-50%) translateX(var(--toggle-x)) scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.10); }
}

@keyframes ideaToggleSheenCentral {
  0% { transform: translate3d(-6%,0,0) rotate(-8deg) scale(1); opacity: 0.0; }
  35% { opacity: 0.95; }
  60% { transform: translate3d(6%,0,0) rotate(8deg) scale(1.04); opacity: 0.55; }
  100% { transform: translate3d(10%,0,0) rotate(14deg) scale(1.06); opacity: 0.0; }
}

.logo-2col-section .logo-2col-toggle[data-target="idea"] {
  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    0 0 0 1px rgba(255,255,255,0.10);
}

.logo-2col-section .logo-2col-toggle[data-target="idea"] .logo-2col-toggle-icon {
  color: rgba(73, 149, 255, 0.98);
}

.logo-2col-section .logo-2col-toggle[data-target="idea"]::before {
  opacity: 0;
  background: none;
}

/* Blink only during the turn window */
.logo-2col-section.turn-central .logo-2col-toggle {
  animation: ideaToggleSignalCentral 1.15s ease-in-out 1;
}

.logo-2col-section.turn-central .logo-2col-toggle::before {
  opacity: 0.9;
  background:
    radial-gradient(420px 240px at 18% 40%, rgba(255,201,130,0.55) 0%, rgba(255,201,130,0) 60%),
    radial-gradient(520px 260px at 82% 60%, rgba(73,149,255,0.42) 0%, rgba(73,149,255,0) 62%),
    conic-gradient(from 200deg at 50% 50%, rgba(255,201,130,0.20), rgba(73,149,255,0.18), rgba(255,255,255,0.08), rgba(255,201,130,0.20));
  animation: ideaToggleSheenCentral 1.15s ease-in-out 1;
}

.logo-2col-section.turn-idea .logo-2col-toggle {
  animation: ideaToggleSignalIdea 1.25s ease-in-out 1;
}

.logo-2col-section.turn-idea .logo-2col-toggle::before {
  opacity: 0.85;
  background:
    radial-gradient(520px 260px at 22% 40%, rgba(73,149,255,0.55) 0%, rgba(73,149,255,0) 60%),
    radial-gradient(420px 240px at 78% 60%, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0) 62%),
    conic-gradient(from 20deg at 50% 50%, rgba(73,149,255,0.22), rgba(255,255,255,0.10), rgba(255,201,130,0.12), rgba(73,149,255,0.22));
  animation: ideaToggleSheenIdea 1.25s ease-in-out 1;
}

@keyframes ideaToggleSignalIdea {
  0% { transform: translateY(-50%) translateX(var(--toggle-x)) scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.10); }
  50% { transform: translateY(-50%) translateX(var(--toggle-x)) translateY(-1px) scale(1.015); box-shadow: 0 16px 46px rgba(0,0,0,0.24), 0 0 0 10px rgba(73,149,255,0.14), 0 0 0 22px rgba(255,255,255,0.07); }
  100% { transform: translateY(-50%) translateX(var(--toggle-x)) scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.10); }
}

@keyframes ideaToggleSheenIdea {
  0% { transform: translate3d(7%,0,0) rotate(10deg) scale(1); opacity: 0.0; }
  35% { opacity: 0.90; }
  60% { transform: translate3d(-7%,0,0) rotate(-10deg) scale(1.045); opacity: 0.55; }
  100% { transform: translate3d(-10%,0,0) rotate(-14deg) scale(1.07); opacity: 0.0; }
}

.logo-2col-section .logo-2col-toggle.is-disabled {
  opacity: 0.65;
  cursor: default;
  transform: translateY(-50%) translateX(var(--toggle-x)) !important;
}

.logo-2col-section .logo-2col-toggle:hover {
  transform: translateY(-50%) translateX(var(--toggle-x)) translateY(-1px) scale(1.02);
  background: rgba(255, 255, 255, 0.20);
  box-shadow: 0 16px 38px rgba(0,0,0,0.22);
}

.logo-2col-section .logo-2col-toggle:focus-visible {
  outline: 3px solid rgba(255, 201, 130, 0.70);
  outline-offset: 3px;
}

.logo-2col-section .logo-2col-toggle .material-icons {
  transition: transform 220ms ease, color 220ms ease;
}

/* The icon switches between arrow_forward/arrow_back in JS */

.logo-2col-section .logo-2col-flip {
  width: 100%;
  perspective: 1200px;
  position: relative;
  z-index: 2;
}

/* Direction-specific "color distribution" burst while turning */
.logo-2col-section .logo-2col-flip::before {
  content: "";
  position: absolute;
  inset: -22%;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transform: translate3d(0,0,0) scale(0.98);
  filter: blur(18px) saturate(1.25);
  mix-blend-mode: screen;
}

.logo-2col-section .logo-2col-flip.turn-central::before {
  background:
    radial-gradient(780px 520px at 18% 26%, rgba(255,201,130,0.40) 0%, rgba(255,201,130,0) 62%),
    radial-gradient(860px 560px at 82% 32%, rgba(73,149,255,0.42) 0%, rgba(73,149,255,0) 64%),
    conic-gradient(from 200deg at 50% 50%, rgba(255,201,130,0.18), rgba(73,149,255,0.18), rgba(255,255,255,0.08), rgba(255,201,130,0.18));
  animation: ideaTurnCentralBurst 940ms cubic-bezier(.2,.9,.2,1) 1;
}

.logo-2col-section .logo-2col-flip.turn-idea::before {
  background:
    radial-gradient(900px 600px at 24% 34%, rgba(73,149,255,0.50) 0%, rgba(73,149,255,0) 64%),
    radial-gradient(720px 480px at 78% 56%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 66%),
    conic-gradient(from 20deg at 50% 50%, rgba(73,149,255,0.20), rgba(255,255,255,0.10), rgba(255,201,130,0.10), rgba(73,149,255,0.20));
  animation: ideaTurnIdeaBurst 960ms cubic-bezier(.2,.9,.2,1) 1;
}

@keyframes ideaTurnCentralBurst {
  0% { opacity: 0; transform: scale(0.94) rotate(-3deg); }
  25% { opacity: 0.95; }
  60% { opacity: 0.55; transform: scale(1.02) rotate(4deg); }
  100% { opacity: 0; transform: scale(1.06) rotate(7deg); }
}

@keyframes ideaTurnIdeaBurst {
  0% { opacity: 0; transform: scale(0.95) rotate(4deg); }
  25% { opacity: 0.92; }
  62% { opacity: 0.50; transform: scale(1.02) rotate(-4deg); }
  100% { opacity: 0; transform: scale(1.07) rotate(-8deg); }
}

/* Intro zoom (adds that "star platform" punch) */
.logo-2col-section.is-intro .logo-2col-flip {
  animation: ideaCentralIntroZoom 2.35s cubic-bezier(.2,.9,.2,1) 1;
}

@keyframes ideaCentralIntroZoom {
  0% { transform: translate3d(0, 10px, 0) scale(0.985); filter: saturate(1.05) brightness(1.02); }
  30% { transform: translate3d(0, 0, 0) scale(1.01); filter: saturate(1.15) brightness(1.03); }
  70% { transform: translate3d(0, 0, 0) scale(1.006); }
  100% { transform: translate3d(0, 0, 0) scale(1); filter: none; }
}

.logo-2col-section .logo-2col-flip-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 740ms cubic-bezier(.2,.9,.2,1);
}

.logo-2col-section .logo-2col-flip.no-transition .logo-2col-flip-inner {
  transition: none !important;
}

/* Intro animation (first visit): subtle glow + a bit more "depth" */
.logo-2col-section .logo-2col-flip.is-intro .logo-2col-flip-inner {
  transition-timing-function: cubic-bezier(.15, .95, .2, 1);
}

.logo-2col-section.is-intro .logo-2col-toggle {
  animation: ideaCentralTogglePulse 1.2s ease-in-out 1;
}

.logo-2col-section.is-intro .logo-2col-toggle::before {
  animation: none !important;
  opacity: 0 !important;
}

.logo-2col-section.is-intro .logo-2col-toggle .material-icons {
  animation: ideaCentralArrowWiggle 1.2s ease-in-out 1;
}

@keyframes ideaCentralTogglePulse {
  0% {
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    transform: translateY(-50%) translateX(var(--toggle-x)) scale(1);
    background: rgba(255, 255, 255, 0.14);
  }
  45% {
    box-shadow:
      0 18px 46px rgba(0,0,0,0.26),
      0 0 0 10px rgba(255, 201, 130, 0.14),
      0 0 0 20px rgba(73, 149, 255, 0.10);
    transform: translateY(-50%) translateX(var(--toggle-x)) translateY(-2px) scale(1.03);
    background: rgba(255, 255, 255, 0.20);
  }
  100% {
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    transform: translateY(-50%) translateX(var(--toggle-x)) scale(1);
    background: rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 900px) {
  .logo-2col-section .logo-2col-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .logo-2col-section .logo-2col-toggle[data-target="central"] {
    right: 0;
  }

  .logo-2col-section .logo-2col-toggle[data-target="idea"] {
    left: 0;
  }
}

@keyframes ideaCentralArrowWiggle {
  0% { transform: rotate(0deg); }
  30% { transform: rotate(0deg) translateX(1px); }
  55% { transform: rotate(0deg) translateX(-1px); }
  100% { transform: rotate(0deg); }
}

.logo-2col-section .logo-2col-flip.is-flipped .logo-2col-flip-inner {
  transform: rotateY(180deg);
}

.logo-2col-section .logo-2col-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-2col-section .logo-2col-face--front {
  transform: rotateY(0deg);
  background: transparent;
}

.logo-2col-section .logo-2col-face--back {
  transform: rotateY(180deg);
  background: transparent;
  flex-direction: column;
  justify-content: flex-start;
}

/* Back face layout: description left, logo right */
.logo-2col-section .logo-2col-face--back .logo-2col-container {
  flex-direction: row-reverse;
}

/* Both faces share the same backdrop via .logo-2col-section */

/* Ensure the flip has height based on content */
.logo-2col-section .logo-2col-flip {
  min-height: 80vh;
}

.logo-2col-section .logo-2col-flip-inner {
  min-height: 80vh;
}

.logo-2col-section .idea-central-logo {
  width: clamp(320px, 44vmin, 740px);
  height: auto;
  max-width: 90vw;
  max-height: 70vh;
  filter: drop-shadow(0 22px 44px rgba(0,0,0,0.22));
}

.logo-2col-section .project-card.project-card--central {
  text-align: left;
}

.logo-2col-section .project-card.project-card--central h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 4.2rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.98);
}

.logo-2col-section .project-card.project-card--central .idea-central-subtitle {
  margin: 0.35em 0 0.35em;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  color: inherit;
}

/* IDEA Central subtitle: match the exact gradient color style of `.frameworks-subtitle` */
.logo-2col-section .project-card.project-card--central .idea-central-subtitle.frameworks-subtitle {
  color: #FFC982;
  background: linear-gradient(90deg, #FFC982 0%, #ffffff 45%, #4995FF 70%, #FFC982 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 18px rgba(255, 201, 130, 0.18));

  /* Keep the style, but no animation for this specific subtitle */
  animation: none !important;
  transition: none !important;
}

.logo-2col-section .project-card.project-card--central .idea-central-subtitle.frameworks-subtitle.in-view {
  animation: none !important;
}

.logo-2col-section .project-card.project-card--central .idea-central-desc {
  margin: 0 0 0.9em;
  color: rgba(255,255,255,0.80);
  line-height: 1.45;
  max-width: 62ch;
}

.logo-2col-section .project-card.project-card--central .idea-central-points {
  margin: 0.2em 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55em;
}

/* IDEA Central includes the Integrations section right under the cards */
.logo-2col-section.is-central #scrollToIntegrations {
  display: none !important;
}

.logo-2col-section.is-central #centralIntegrationsMount {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: clamp(6px, 1.2vh, 14px);
  transform: translateY(clamp(-118px, -10.8vh, -52px));
}

.logo-2col-section.is-central #centralIntegrationsMount > .frameworks-subtitle {
  text-align: center;
  justify-self: center;
  align-self: center;
  max-width: 80ch;
}

/* Compact the included Integrations section so it fits in the first screen */
.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used {
  width: 100%;
  background: transparent !important;
  padding: 0 !important;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .frameworks-heading {
  display: none !important;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-1wxwiro-multigrid {
  /* Match the normal Integrations carousel: keep side gutters for the edge "cloud" masks */
  padding: 0.25em 50px !important;
  /* Ensure the cloud masks look identical to the normal Integrations section */
  background: #0e1020 !important;
  border-radius: 32px;
}

/* IDEA Central: make the edge "cloud" masks fully hide items at the far left/right */
.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-carousel-blur {
  /* Same behavior as the normal Integrations carousel */
  width: 25% !important;
  z-index: 20 !important;
  opacity: 1 !important;
  pointer-events: none;
  /* Fully hide anything underneath at the edges */
  background: #0e1020 !important;
  overflow: hidden;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-carousel-blur::before {
  /* Cloud layer (blurred) rendered above the opaque base */
  content: "";
  position: absolute;
  inset: -22%;
  pointer-events: none;
  background: var(--central-cloud-bg);
  filter: blur(18px) saturate(1.2);
  opacity: 1;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-carousel-blur.left {
  --central-cloud-bg:
    radial-gradient(ellipse at 0% 50%, rgba(14,16,32,0.95) 0%, rgba(14,16,32,0.85) 40%, rgba(14,16,32,0.7) 60%, rgba(14,16,32,0.01) 100%),
    linear-gradient(90deg, #0e1020 60%, rgba(14,16,32,0.7) 85%, rgba(14,16,32,0.01) 100%);

  /* Fade out towards the inside so items "enter the cloud" gradually */
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-carousel-blur.right {
  --central-cloud-bg:
    radial-gradient(ellipse at 100% 50%, rgba(14,16,32,0.95) 0%, rgba(14,16,32,0.85) 40%, rgba(14,16,32,0.7) 60%, rgba(14,16,32,0.01) 100%),
    linear-gradient(270deg, #0e1020 60%, rgba(14,16,32,0.7) 85%, rgba(14,16,32,0.01) 100%);

  /* Fade out towards the inside so items "enter the cloud" gradually */
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-slider {
  height: 220px !important;
  gap: 1.1em !important;
}

.logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-row {
  height: 110px !important;
  gap: 1.1em !important;
}

/* <1400px: keep the same layout as large screens (like 1800px), but scale down text/cards/carousel */
@media (max-width: 1399px) {
  .logo-2col-section.is-central .logo-2col-face--back .logo-2col-container {
    margin-top: clamp(-58px, -4.6vh, -36px);
  }

  .logo-2col-section.is-central .logo-2col-right {
    font-size: 1.12em;
  }

  .logo-2col-section.is-central .project-card.project-card--central h2 {
    font-size: clamp(1.75rem, 3.25vw, 3.05rem);
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-subtitle {
    margin: 0.26em 0 0.26em;
    font-size: 0.88rem;
    letter-spacing: 0.10em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-desc {
    font-size: 0.95em;
    line-height: 1.35;
    margin-bottom: 0.60em;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points {
    gap: 0.45em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points li {
    font-size: 0.95em;
    padding: 0.62em 0.75em;
  }

  .logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-slider {
    height: clamp(165px, 22vh, 200px) !important;
    gap: 0.95em !important;
  }

  .logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-row {
    height: clamp(78px, 10.5vh, 96px) !important;
    gap: 0.95em !important;
  }
}

/* 1400–1599px: keep a lighter upward nudge (helps when browser zoom is ~90%) */
@media (min-width: 1400px) and (max-width: 1599px) {
  .logo-2col-section.is-central .logo-2col-face--back .logo-2col-container {
    margin-top: clamp(-30px, -2.6vh, -18px);
  }
}

/* <=1280px: tighter Central layout so the top title isn't clipped */
@media (max-width: 1280px) {
  .logo-2col-section.is-central .logo-2col-face--back .logo-2col-container {
    justify-content: flex-start;
    padding-top: clamp(10px, 2vh, 18px);
  }

  .logo-2col-section.is-central .logo-2col-right {
    font-size: 1.08em;
  }

  .logo-2col-section.is-central .project-card.project-card--central h2 {
    font-size: clamp(1.65rem, 3.05vw, 2.95rem);
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-subtitle {
    font-size: 0.84rem;
    margin: 0.22em 0 0.22em;
    letter-spacing: 0.09em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-desc {
    font-size: 0.93em;
    margin-bottom: 0.50em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points {
    gap: 0.40em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points li {
    font-size: 0.93em;
    padding: 0.56em 0.68em;
  }

  .logo-2col-section.is-central #centralIntegrationsMount > .frameworks-subtitle {
    margin-bottom: 0.42em !important;
  }

  .logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-slider {
    height: clamp(150px, 21vh, 185px) !important;
    gap: 0.85em !important;
  }

  .logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-row {
    height: clamp(72px, 10vh, 88px) !important;
    gap: 0.85em !important;
  }
}

/* Mobile profile ~360×740 (and similar) */
@media (max-width: 420px) and (max-height: 820px) {
  .logo-2col-section.is-central .logo-2col-right {
    font-size: 1.08em;
  }

  .logo-2col-section.is-central .project-card.project-card--central h2 {
    font-size: clamp(1.85rem, 6.1vw, 2.45rem);
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-subtitle {
    margin: 0.28em 0 0.28em;
    font-size: 0.80rem;
    letter-spacing: 0.10em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-desc {
    font-size: 0.96em;
    line-height: 1.35;
    margin-bottom: 0.65em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points {
    gap: 0.45em;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points li {
    font-size: 0.95em;
    padding: 0.62em 0.75em;
  }

  .logo-2col-section.is-central .logo-2col-flip,
  .logo-2col-section.is-central .logo-2col-flip-inner {
    height: 100vh;
    min-height: 100vh;
    height: 100svh;
    min-height: 100svh;
  }

  .logo-2col-section.is-central .logo-2col-face--back .logo-2col-container {
    flex-direction: column;
    min-height: 0;
    justify-content: flex-start;
    padding-top: clamp(8px, 1.5vh, 14px);
  }

  .logo-2col-section.is-central #centralIntegrationsMount {
    margin-top: 0;
    justify-content: flex-start;
    transform: none;
  }

  .logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-slider {
    height: 190px !important;
    gap: 0.95em !important;
  }

  .logo-2col-section.is-central #centralIntegrationsMount #frameworks-used .framer-multigrid-row {
    height: 92px !important;
    gap: 0.95em !important;
  }
}

.logo-2col-section .project-card.project-card--central .idea-central-points li {
  --accent-rgb-1: var(--idea-accent-gold);
  --accent-rgb-2: var(--idea-accent-blue);

  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.55em;
  align-items: start;
  color: rgba(255,255,255,0.90);
  line-height: 1.35;

  /* Glass card look (Windows/Apple-ish) */
  padding: 0.75em 0.85em;
  border-radius: 16px;
  background: rgba(14,16,32,0.62);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 18px 44px rgba(0,0,0,0.20);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg,
    rgba(var(--accent-rgb-1), 0.26),
    rgba(var(--accent-rgb-2), 0.20),
    rgba(255, 255, 255, 0.10)
  );
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li::after {
  /* Disabled: the animated "shine" overlay looks like a background flow */
  content: none;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li:hover {
  transform: translateY(-2px);
  background:
    radial-gradient(420px 200px at 18% 18%, rgba(var(--accent-rgb-1), 0.16) 0%, rgba(var(--accent-rgb-1), 0) 65%),
    radial-gradient(520px 240px at 86% 86%, rgba(var(--accent-rgb-2), 0.12) 0%, rgba(var(--accent-rgb-2), 0) 66%),
    rgba(14,16,32,0.70);
  border-color: rgba(var(--accent-rgb-1), 0.22);
}

.logo-2col-section .project-card.project-card--central .idea-central-points li:hover::before {
  opacity: 1;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li:hover::after {
  opacity: 0;
  animation: none;
}

@keyframes ideaCentralCardShine {
  0% { transform: translateX(0) rotate(18deg); opacity: 0; }
  20% { opacity: 0.85; }
  100% { transform: translateX(260%) rotate(18deg); opacity: 0; }
}

.logo-2col-section .project-card.project-card--central .idea-central-points .material-icons {
  font-size: 20px;
  line-height: 1.2;
  color: rgba(var(--accent-rgb-1), 0.98);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.18));
}

/* Per-item brand accents (icon + hover background) */
.logo-2col-section .project-card.project-card--central .idea-central-points li:nth-child(1) {
  /* red */
  --accent-rgb-1: 209, 70, 0;
  --accent-rgb-2: 209, 70, 0;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li:nth-child(2) {
  /* blue */
  --accent-rgb-1: 73, 149, 255;
  --accent-rgb-2: 73, 149, 255;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li:nth-child(3) {
  /* yellow */
  --accent-rgb-1: 255, 174, 65;
  --accent-rgb-2: 255, 174, 65;
}

.logo-2col-section .project-card.project-card--central .idea-central-points li:nth-child(4) {
  /* blue */
    --accent-rgb-1: 73, 149, 255;
    --accent-rgb-2: 73, 149, 255;
}

/* Staggered reveal when switching to IDEA Central */
.logo-2col-section .project-card.project-card--central .idea-central-subtitle,
.logo-2col-section .project-card.project-card--central .idea-central-desc,
.logo-2col-section .project-card.project-card--central .idea-central-points li {
  opacity: 1;
}

.logo-2col-section.is-central .project-card.project-card--central .idea-central-subtitle:not(.frameworks-subtitle),
.logo-2col-section.is-central .project-card.project-card--central .idea-central-desc {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
  animation: ideaCentralTextIn 520ms cubic-bezier(.2,.9,.2,1) forwards;
}

.logo-2col-section.is-central .project-card.project-card--central .idea-central-desc {
  animation-delay: 90ms;
}

@keyframes ideaCentralTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.logo-2col-section.is-central .project-card.project-card--central .idea-central-points li {
  opacity: 0;
  transform: translateY(14px) scale(0.995);
  filter: blur(8px);
  animation: ideaCentralItemIn 620ms cubic-bezier(.2,.9,.2,1) forwards;
}

.logo-2col-section.is-central .project-card.project-card--central .idea-central-points li:nth-child(1) { animation-delay: 140ms; }
.logo-2col-section.is-central .project-card.project-card--central .idea-central-points li:nth-child(2) { animation-delay: 220ms; }
.logo-2col-section.is-central .project-card.project-card--central .idea-central-points li:nth-child(3) { animation-delay: 300ms; }
.logo-2col-section.is-central .project-card.project-card--central .idea-central-points li:nth-child(4) { animation-delay: 380ms; }

@keyframes ideaCentralItemIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-2col-section {
    animation: none !important;
  }

  .logo-2col-section .logo-2col-flip-inner {
    transition: none;
  }

  .logo-2col-section .logo-2col-toggle,
  .logo-2col-section .logo-2col-toggle .material-icons {
    animation: none !important;
    transition: none !important;
  }

  .logo-2col-section .logo-2col-toggle::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .logo-2col-section .logo-2col-flip::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .logo-2col-section.is-central .project-card.project-card--central .idea-central-subtitle,
  .logo-2col-section.is-central .project-card.project-card--central .idea-central-desc,
  .logo-2col-section.is-central .project-card.project-card--central .idea-central-points li {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .logo-2col-section .project-card.project-card--central .idea-central-points li::after {
    animation: none !important;
    opacity: 0 !important;
  }

  .logo-2col-section.is-intro::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .logo-2col-section.is-intro::after {
    animation: none !important;
    opacity: 0 !important;
  }

  .logo-2col-section.is-intro .logo-2col-flip {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }

  .logo-2col-section .logo-2col-face--back {
    animation: none !important;
  }

  .logo-2col-section .logo-2col-face--front {
    animation: none !important;
  }
}
.logo-2col-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: 1400px;
  min-height: 80vh;
  gap: 3vw;
}
.logo-2col-left {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 320px;
}
.logo-2col-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 220px;
  color: #fff;
  font-size: 1.3em;
}
.logo-2col-section #ideaLogo3D {
  width: clamp(340px, 58vmin, 820px) !important;
  height: clamp(340px, 58vmin, 820px) !important;
  max-width: 90vw;
  max-height: 70vh;
  margin: 0 auto;
  display: block;
  background: transparent;
  box-shadow: none;
  animation: none;
}
/* Idea Logo Adaptable */
@media (min-width: 1400px) and (min-height: 800px) {
  .logo-2col-section #ideaLogo3D {
    width: clamp(320px, 42vmin, 560px) !important;
    height: clamp(320px, 42vmin, 560px) !important;
    max-height: 75vh;
  }
}
@media (max-width: 900px) {
  .logo-2col-container { flex-direction: column; gap: 2vw; }
  .logo-2col-left, .logo-2col-right { justify-content: center; min-width: 0; }
  .logo-2col-section #ideaLogo3D { width: clamp(180px, 30vmin, 260px) !important; height: clamp(180px, 30vmin, 260px) !important; }

  /* On small screens, keep IDEA Central in a vertical stack (override row-reverse). */
  .logo-2col-section .logo-2col-face--back .logo-2col-container {
    flex-direction: column;
  }

  .logo-2col-section .idea-central-logo {
    width: clamp(220px, 38vmin, 360px);
    max-height: 52vh;
  }

  .logo-2col-section .project-card.project-card--central {
    text-align: center;
  }
}

@media (max-height: 820px) {
  .logo-2col-right { font-size: 1.15em; }
  .logo-2col-section #ideaLogo3D { max-height: 58vh; }
}
@media (max-height: 700px) {
  .logo-2col-container { gap: 2vw; }
  .logo-2col-right { font-size: 1.05em; }
  .logo-2col-section #ideaLogo3D { max-height: 52vh; }

  .news-inline-editor-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .logo-2col-section {
    min-height: 100vh;
  }
  .logo-2col-container {
    flex-direction: row;
    min-height: 0;
    gap: 2vw;
    padding: 2vh 3vw;
  }

  .news-item-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-admin-rail {
    width: 100%;
    min-width: 0;
    flex-direction: row;
  }

  .news-admin-button {
    flex-direction: row;
  }
  .logo-2col-left,
  .logo-2col-right {
    min-width: 0;
  }
  .logo-2col-right {
    font-size: 0.95em;
  }
  .logo-2col-section #ideaLogo3D {
    width: clamp(160px, 28vmin, 260px) !important;
    height: clamp(160px, 28vmin, 260px) !important;
    max-height: 48vh;
  }
  .logo-2col-section .project-card {
    padding: 1.2em 1.3em;
  }
  .logo-2col-section .project-card p {
    margin: 0.55em 0;
    line-height: 1.25;
  }
  .logo-2col-section .project-card h3 {
    margin: 0 0 0.35em 0;
  }
  .logo-2col-section .project-card h4 {
    margin: 0.55em 0 0.25em 0;
  }
}
.news-panel.news-drawer {
  transition: right 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s, visibility 0.25s;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.news-panel.news-drawer.closed {
  right: -70vw !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* === IDEA TEAM (home) === */
.idea-team-section {
  background: radial-gradient(1200px 420px at 20% 0%, rgba(255, 201, 130, 0.12) 0%, transparent 62%),
              radial-gradient(900px 380px at 90% 20%, rgba(73, 149, 255, 0.12) 0%, transparent 60%),
              #0e1020;
  padding: clamp(46px, 6vw, 84px) 0;
}

.idea-team-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.idea-team-title {
  margin-bottom: 0.2em;
}

.idea-team-subtitle {
  margin: 0 auto 22px;
  max-width: 72ch;
  color: rgba(255,255,255,0.74);
  line-height: 1.45;
}

.idea-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  --idea-team-card-closed-height: 270px;
  align-items: start;
}

.idea-team-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 16px 14px 14px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  min-height: 270px;
}

.idea-team-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(600px 160px at 50% 0%, rgba(255, 201, 130, 0.14) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.idea-team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 201, 130, 0.22);
  background: rgba(255,255,255,0.075);
}

.idea-team-card:hover::before {
  opacity: 1;
}

.idea-team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 12px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
}

.idea-team-name {
  margin: 0;
  font-weight: 850;
  color: rgba(255,255,255,0.94);
  letter-spacing: 0.2px;
  line-height: 1.15;
}

.idea-team-role {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.72);
  font-weight: 650;
  line-height: 1.2;
  margin-top: 15px;
}

.idea-team-desc {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.42;
  white-space: pre-wrap; /* show full text incl. newlines */
  width: 100%;
}

.idea-team-desc.is-collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 260ms cubic-bezier(.2,.9,.2,1), opacity 220ms ease, margin-top 220ms ease;
}

.idea-team-card.is-desc-open .idea-team-desc {
  max-height: 360px;
  opacity: 1;
  overflow: hidden;
  margin-top: 10px;
  transition: max-height 320ms cubic-bezier(.2,.9,.2,1), opacity 220ms ease, margin-top 220ms ease;
}

.idea-team-card {
  height: var(--idea-team-card-closed-height);
}

.idea-team-card.is-desc-open {
  height: auto;
}

.idea-team-grid.is-measuring .idea-team-card {
  height: auto !important;
}

.idea-team-desc-toggle {
  margin: auto auto 0;
  width: 44px;
  height: 34px;
  border: none;
  background: transparent;
  color: #ffc982;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  padding: 19px;
  transition: transform 160ms ease, opacity 160ms ease, filter 160ms ease;
}

.idea-team-desc-toggle:hover {
  transform: translateY(-1px);
  opacity: 0.92;
  filter: drop-shadow(0 10px 18px rgba(73,149,255,0.20));
}

.idea-team-desc-toggle:focus-visible {
  outline: 3px solid rgba(73,149,255,0.50);
  outline-offset: 3px;
}

.idea-team-desc-toggle .material-icons {
  font-size: 26px;
  line-height: 1;
}

.idea-team-card.is-skeleton {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

/* Cacher toutes les barres de scroll (x et y) visuellement, mais permettre le scroll */
html, body, * {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar {
  display: none;
}

body, html {
  overflow: auto !important;
}

/* Animation de scroll (effet de fond lors du scroll) */
body.scrolling {
  background: linear-gradient(120deg, #0E1020 0%, #4995FF 100%) fixed;
  transition: background 0.5s;
}

/* === IDEA CATEGORIES CONSTELLATION (logo + connected bubbles) === */
.idea-constellation-section {
  --idea-section-fade: clamp(120px, 9vw, 220px);
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(73,149,255,0.18) 0%, rgba(73,149,255,0.06) 42%, rgba(14,16,32,0) 70%),
    radial-gradient(820px 540px at 84% 24%, rgba(255,201,130,0.18) 0%, rgba(255,201,130,0.07) 38%, rgba(14,16,32,0) 70%),
    radial-gradient(780px 620px at 55% 92%, rgba(124,92,255,0.14) 0%, rgba(124,92,255,0.05) 44%, rgba(14,16,32,0) 74%),
    linear-gradient(180deg, #0E1020 0%, #0B0D1C 55%, #0E1020 100%);
  padding: 4vw 0 4vw 0;
  text-align: center;
  position: relative;
  overflow: visible;
  isolation: isolate;
  /* Smooth handoff to the KPI section */
  box-shadow: inset 0 calc(-1 * var(--idea-section-fade)) var(--idea-section-fade) calc(-1 * var(--idea-section-fade)) rgba(14,16,32,0.92);
}

.idea-constellation-section::before,
.idea-constellation-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Aurora-like glow ribbons */
.idea-constellation-section::before {
  background:
    radial-gradient(420px 320px at 22% 28%, rgba(73,149,255,0.28) 0%, rgba(73,149,255,0) 70%),
    radial-gradient(520px 380px at 76% 30%, rgba(255,201,130,0.26) 0%, rgba(255,201,130,0) 72%),
    radial-gradient(560px 420px at 56% 86%, rgba(124,92,255,0.22) 0%, rgba(124,92,255,0) 72%),
    conic-gradient(from 210deg at 50% 50%, rgba(73,149,255,0.08), rgba(255,201,130,0.08), rgba(124,92,255,0.06), rgba(73,149,255,0.08)),
    /* Fade overlays near bottom to avoid a hard cut */
    linear-gradient(to bottom, rgba(14,16,32,0) 0%, rgba(14,16,32,0) calc(100% - var(--idea-section-fade)), rgba(14,16,32,1) 100%);
  filter: blur(18px) saturate(1.18);
  opacity: 0.9;
  transform: translate3d(0,0,0);
  animation: ideaFrameworkAurora 10.5s ease-in-out infinite;
}

/* Subtle grid + stardust drift */
.idea-constellation-section::after {
  background:
    radial-gradient(circle at 10% 22%, rgba(255,255,255,0.10) 0 1px, rgba(255,255,255,0) 2px) 0 0 / 240px 240px,
    radial-gradient(circle at 72% 68%, rgba(255,255,255,0.08) 0 1px, rgba(255,255,255,0) 2px) 0 0 / 280px 280px,
    linear-gradient(0deg, rgba(255,255,255,0.06) 1px, rgba(255,255,255,0) 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, rgba(255,255,255,0) 1px) 0 0 / 72px 72px,
    /* Fade overlays near bottom to avoid a hard cut */
    linear-gradient(to bottom, rgba(14,16,32,0) 0%, rgba(14,16,32,0) calc(100% - var(--idea-section-fade)), rgba(14,16,32,1) 100%);
  opacity: 0.18;
  mask-image: radial-gradient(closest-side at 50% 35%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,0) 100%);
  animation: ideaFrameworkGridDrift 14s linear infinite;
}

@keyframes ideaFrameworkAurora {
  0% { transform: translate3d(-1.5%, -1%, 0) rotate(-0.4deg); opacity: 0.82; }
  50% { transform: translate3d(1.5%, 1.2%, 0) rotate(0.55deg); opacity: 0.98; }
  100% { transform: translate3d(-1.5%, -1%, 0) rotate(-0.4deg); opacity: 0.82; }
}

@keyframes ideaFrameworkGridDrift {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-72px, 48px, 0); }
}

/* Keep section content above the overlays */
.idea-constellation-section > * {
  position: relative;
  z-index: 1;
}

/* Override .section-scroll defaults (defined later) so this section never clips KPIs/nodes */
.idea-constellation-section.section-scroll {
  overflow: visible !important;
  justify-content: flex-start;
  min-height: 100vh;
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 70px);
}

/* <=1600px (non-mobile): keep same top & bottom spacing */
@media (max-width: 1600px) and (min-width: 820px) {
  .idea-constellation-section.section-scroll {
    padding-top: clamp(46px, 5vw, 78px);
    padding-bottom: clamp(46px, 5vw, 78px);
  }

  /* Give more left/right room for bigger separation */
  .idea-constellation {
    width: min(1500px, 98vw);
  }
}

.idea-constellation {
  position: relative;
  width: min(1200px, 96vw);
  height: var(--idea-constellation-height, clamp(520px, 74vh, 760px));
  margin: 0 auto 20px auto;
  overflow: visible;
  z-index: 2;

  /* Responsive sizing knobs (can be overridden by JS) */
  --idea-center-size: clamp(240px, 28vw, 420px);
  --idea-center-img: clamp(200px, 24vw, 360px);
  /* Default node size stays compact; JS may widen per long names */
  --idea-node-width: clamp(160px, 28vw, 240px);
  --idea-icon-size: clamp(22px, 3vw, 30px);
  --idea-title-size: clamp(16px, 1.55vw, 20px);
  --idea-link-size: clamp(12px, 1.35vw, 14.5px);
}

@media (min-width: 2400px) {
  .idea-constellation {
    width: min(1700px, 98vw);

    --idea-center-size: clamp(320px, 20vw, 560px);
    --idea-center-img: clamp(260px, 16vw, 480px);
    --idea-node-width: clamp(240px, 16vw, 340px);
    --idea-icon-size: clamp(30px, 2vw, 42px);
    --idea-title-size: clamp(22px, 1.2vw, 28px);
    --idea-link-size: clamp(15px, 0.95vw, 19px);
  }

  .idea-node {
    padding: 20px 22px 18px 22px;
    border-radius: 22px;
  }

  .idea-node-title {
    font-size: var(--idea-title-size);
  }

  #idea-constellation-section .idea-node-responsible {
    font-size: 10px;
  }
}

@media (min-width: 2500px) {
  .idea-constellation {
    --idea-constellation-height: clamp(760px, 84vh, 1120px);
  }
}

.idea-constellation.is-compact {
  width: min(980px, 96vw);
}

.idea-constellation.is-linked-list-h {
  width: min(1500px, 98vw);
}

.idea-constellation.is-linked-list-h .idea-node {
  background: rgba(255,255,255,0.075);
  border-color: rgba(255,255,255,0.26);
  box-shadow: 0 14px 46px rgba(0,0,0,0.30), inset 0 0 0 1px rgba(255,255,255,0.06);
}

.idea-constellation.is-compact .idea-constellation-center {
  top: clamp(120px, 18vw, 170px);
}

.idea-constellation.is-compact .idea-node {
  max-width: none;
}

.idea-constellation-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.idea-constellation-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--idea-center-size);
  height: var(--idea-center-size);
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.idea-constellation-center img {
  width: var(--idea-center-img);
  height: var(--idea-center-img);
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.32));
}

.idea-constellation-nodes {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.idea-node {
  position: absolute;
  width: var(--idea-node-width);
  /* Allow widening when JS adjusts width for long inline responsible names */
  max-width: 60vw;
  padding: 16px 18px 14px 18px;
  box-sizing: border-box;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 10px 40px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  transform: translateZ(0);
  transform-origin: center;
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms cubic-bezier(.2,.9,.2,1), background 220ms ease, border-color 220ms ease;
}

.idea-node-header {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0 0 8px 0;
}

.idea-node-icon-wrap {
  width: calc(var(--idea-icon-size) + 14px);
  height: calc(var(--idea-icon-size) + 14px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.idea-node-icon {
  width: var(--idea-icon-size);
  height: var(--idea-icon-size);
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.28));
}

.idea-node-title {
  color: #ffffff;
  font-weight: 800;
  font-size: var(--idea-title-size);
  letter-spacing: 0.01em;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  padding: 1px 0;
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.idea-node-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 100%;
  overflow: hidden;
}

#idea-constellation-section .idea-node-responsible {
  /*font-size: calc(var(--idea-title-size) * 0.78);*/
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0.95;
  display: block;
  width: 100%;
  max-width: 100%;
  /* Always keep on one line; card width will expand if needed */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  #idea-constellation-section .idea-node-responsible {
    /* Same animated gradient text style as the frameworks subtitle */
    color: transparent;
    background: linear-gradient(90deg, #FFC982 0%, #ffffff 45%, #4995FF 70%, #FFC982 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    will-change: background-position;
    animation: ideaResponsibleShimmer 2.8s linear infinite;
    filter: drop-shadow(0 6px 18px rgba(255, 201, 130, 0.10));
  }
}

@keyframes ideaResponsibleShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  #idea-constellation-section .idea-node-responsible {
    animation: none !important;
  }

  .idea-team-section .idea-team-name {
    animation: none !important;
  }
}

.idea-node-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: none;
  overflow: visible;
  transition: max-height 240ms cubic-bezier(.2,.9,.2,1);
}

.idea-node-desc {
  margin-top: 6px;
  font-size: var(--idea-link-size);
  font-weight: 600;
  line-height: 1.25;
  color: #FFC982;
  /* Always show full description (no "...") */
  overflow: visible;
  display: block;
  max-height: none;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: none;
}

.idea-node-desc.is-empty {
  opacity: 0.70;
  font-style: italic;
}

.idea-node-links a {
  color: #FFC982;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--idea-link-size);
  line-height: 1.15;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

/* === IDEA TEAM SECTION (home) === */
.idea-team-section {
  --idea-section-fade: clamp(120px, 9vw, 220px);
  --idea-team-edge-darkness: 0.78;
  position: relative;
  padding: clamp(44px, 6vw, 82px) 0;
  /* Same background as IDEA Framework */
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(73,149,255,0.18) 0%, rgba(73,149,255,0.06) 42%, rgba(14,16,32,0) 70%),
    radial-gradient(820px 540px at 84% 24%, rgba(255,201,130,0.18) 0%, rgba(255,201,130,0.07) 38%, rgba(14,16,32,0) 70%),
    radial-gradient(780px 620px at 55% 92%, rgba(124,92,255,0.14) 0%, rgba(124,92,255,0.05) 44%, rgba(14,16,32,0) 74%),
    linear-gradient(180deg, #0E1020 0%, #0B0D1C 55%, #0E1020 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  /* Stronger top+bottom black edge blur (Team only) */
  box-shadow:
    inset 0 var(--idea-section-fade) var(--idea-section-fade) calc(-1 * var(--idea-section-fade)) rgba(0,0,0,calc(var(--idea-team-edge-darkness) * 0.72)),
    inset 0 calc(-1 * var(--idea-section-fade)) var(--idea-section-fade) calc(-1 * var(--idea-section-fade)) rgba(0,0,0,var(--idea-team-edge-darkness));
}

.idea-team-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(420px 320px at 22% 28%, rgba(73,149,255,0.28) 0%, rgba(73,149,255,0) 70%),
    radial-gradient(520px 380px at 76% 30%, rgba(255,201,130,0.26) 0%, rgba(255,201,130,0) 72%),
    radial-gradient(560px 420px at 56% 86%, rgba(124,92,255,0.22) 0%, rgba(124,92,255,0) 72%),
    conic-gradient(from 210deg at 50% 50%, rgba(73,149,255,0.08), rgba(255,201,130,0.08), rgba(124,92,255,0.06), rgba(73,149,255,0.08)),
    /* Fade overlays near bottom to avoid a hard cut (same as Framework) */
    linear-gradient(to bottom, rgba(14,16,32,0) 0%, rgba(14,16,32,0) calc(100% - var(--idea-section-fade)), rgba(14,16,32,1) 100%);
  filter: blur(18px) saturate(1.18);
  opacity: 0.9;
  transform: translate3d(0,0,0);
  animation: ideaFrameworkAurora 10.5s ease-in-out infinite;
}

.idea-team-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at 10% 22%, rgba(255,255,255,0.10) 0 1px, rgba(255,255,255,0) 2px) 0 0 / 240px 240px,
    radial-gradient(circle at 72% 68%, rgba(255,255,255,0.08) 0 1px, rgba(255,255,255,0) 2px) 0 0 / 280px 280px,
    linear-gradient(0deg, rgba(255,255,255,0.06) 1px, rgba(255,255,255,0) 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, rgba(255,255,255,0) 1px) 0 0 / 72px 72px,
    /* Fade overlays near bottom to avoid a hard cut (same as Framework) */
    linear-gradient(to bottom, rgba(14,16,32,0) 0%, rgba(14,16,32,0) calc(100% - var(--idea-section-fade)), rgba(14,16,32,1) 100%);
  mask-image: radial-gradient(closest-side at 50% 35%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,0) 100%);
  animation: ideaFrameworkGridDrift 14s linear infinite;
}

.idea-team-container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@keyframes ideaTeamBgFloat {
  0% { transform: translate3d(-1.6%, -0.8%, 0) scale(1.03) rotate(-1.2deg); }
  100% { transform: translate3d(1.4%, 1.0%, 0) scale(1.05) rotate(1.0deg); }
}

@keyframes ideaTeamGridDrift {
  0% { background-position: 0 0, 0 0, 50% 0, 0 0; }
  100% { background-position: 72px 72px, -72px 72px, 50% 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .idea-team-section::before,
  .idea-team-section::after {
    animation: none !important;
  }
}

.idea-team-title {
  margin-bottom: 8px;
}

.idea-team-subtitle {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-weight: 650;
  max-width: 68ch;
}

.idea-team-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: start;
}

.idea-team-card {
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 12px 44px rgba(0,0,0,0.30), inset 0 0 0 1px rgba(255,255,255,0.05);
  padding: 18px 16px 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  align-self: start;
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms cubic-bezier(.2,.9,.2,1), border-color 220ms ease;
}

.idea-team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.40);
  box-shadow: 0 16px 64px rgba(0,0,0,0.36), 0 0 0 1px rgba(179, 136, 255, 0.18), inset 0 0 0 1px rgba(255,255,255,0.06);
}

.idea-team-photo {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 2px auto 12px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 14px 44px rgba(0,0,0,0.34);
  background: rgba(0,0,0,0.22);
}

.idea-team-name {
  font-weight: 850;
  letter-spacing: 0.01em;
  margin: 0;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.15;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .idea-team-section .idea-team-name {
    color: transparent;
    background: linear-gradient(90deg, #FFC982 0%, #ffffff 45%, #ffffff 70%, #FFC982 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    will-change: background-position;
    animation: ideaResponsibleShimmer 2.8s linear infinite;
    filter: drop-shadow(0 6px 18px rgba(255, 201, 130, 0.10));
  }
}

.idea-team-card.is-skeleton {
  position: relative;
  overflow: hidden;
}

.idea-team-card.is-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.10) 45%, transparent 100%);
  transform: translateX(-60%);
  animation: ideaTeamShimmer 1.2s ease-in-out infinite;
}

@keyframes ideaTeamShimmer {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}


.idea-node-links a:hover {
  color: #4995FF;
  text-decoration: underline;
}

@media (min-width: 1601px) {
  .idea-node:hover,
  .idea-node:focus-within {
    z-index: 50;
    transform: scale(1.10);
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,201,130,0.55);
    box-shadow: 0 16px 64px rgba(0,0,0,0.34), 0 0 0 1px rgba(73,149,255,0.25), 0 0 42px rgba(73,149,255,0.18);
  }
}

@media (min-width: 2500px) {
  #idea-constellation-section .idea-node:hover,
  #idea-constellation-section .idea-node:focus-within {
    z-index: 80;
    transform: scale(1.18);
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,201,130,0.78);
    box-shadow:
      0 26px 110px rgba(0,0,0,0.45),
      0 0 0 2px rgba(255,201,130,0.28),
      0 0 90px rgba(73,149,255,0.30),
      0 0 130px rgba(255,201,130,0.14);
  }

  #idea-constellation-section .idea-node:hover .idea-node-title,
  #idea-constellation-section .idea-node:focus-within .idea-node-title {
    text-shadow: 0 10px 28px rgba(0,0,0,0.35);
  }
}

/* <=1600px (non-mobile): show categories as simple rectangles (logo + title only) */
@media (max-width: 1600px) and (min-width: 820px) {
  .idea-constellation:not(.is-compact) .idea-node {
    padding: 14px 16px;
    text-align: center;
  }

  .idea-constellation:not(.is-compact) .idea-node-header {
    margin: 0;
    justify-content: center;
  }

  .idea-constellation:not(.is-compact) .idea-node-links {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    max-height: 128px;
  }

  .idea-constellation:not(.is-compact) .idea-node-links a {
    text-align: center;
  }
}

/* === IDEA KPI GRID (9 squares, 3 per row) === */
.idea-kpi-section {
  --idea-section-fade: clamp(120px, 9vw, 220px);
  /* Solid black background (no animated background) */
  background: #000;
  text-align: center;
  position: relative;
  overflow: visible;
  isolation: isolate;
  /* Smooth handoff to/from adjacent sections */
  box-shadow:
    inset 0 var(--idea-section-fade) var(--idea-section-fade) calc(-1 * var(--idea-section-fade)) rgba(14,16,32,0.92),
    inset 0 calc(-1 * var(--idea-section-fade)) var(--idea-section-fade) calc(-1 * var(--idea-section-fade)) rgba(14,16,32,0.92);
}

.idea-kpi-section::before {
  content: '';
  position: absolute;
  inset: -18% -14% -24% -14%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  background:
    radial-gradient(860px 520px at 22% 14%, rgba(255,255,255,0.18) 0%, transparent 60%),
    radial-gradient(920px 560px at 78% 22%, rgba(73,149,255,0.55) 0%, transparent 62%),
    radial-gradient(980px 620px at 55% 88%, rgba(0, 191, 255, 0.24) 0%, transparent 68%),
    /* Fade overlays in/out at top/bottom for seamless transitions */
    linear-gradient(to bottom, rgba(14,16,32,1) 0%, rgba(14,16,32,0) var(--idea-section-fade), rgba(14,16,32,0) calc(100% - var(--idea-section-fade)), rgba(14,16,32,1) 100%);
  filter: blur(34px) saturate(1.18);
  transform: translate3d(0, 0, 0) scale(1.02);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, rgba(0,0,0,0.82) 56%, transparent 80%);
  animation: ideaKpiAurora 14s ease-in-out infinite alternate;
}

.idea-kpi-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background:
    radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1.2px),
    /* Fade overlays in/out at top/bottom for seamless transitions */
    linear-gradient(to bottom, rgba(14,16,32,1) 0%, rgba(14,16,32,0) var(--idea-section-fade), rgba(14,16,32,0) calc(100% - var(--idea-section-fade)), rgba(14,16,32,1) 100%);
  background-size: 26px 26px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, rgba(0,0,0,0.75) 52%, transparent 78%);
  animation: ideaKpiDotsDrift 18s linear infinite;
}

/* KPI section: disable animated background overlays (keep cards as-is) */
.idea-kpi-section::before,
.idea-kpi-section::after {
  display: none;
  animation: none !important;
}

.idea-kpi-section.section-scroll {
  overflow: visible !important;
  justify-content: flex-start;
  min-height: 100vh;
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(40px, 5vw, 70px);
}

.idea-team-section.section-scroll {
  justify-content: flex-start;
  min-height: 100vh;
}

.idea-kpi-title {
  margin: 0 auto clamp(18px, 3vh, 28px) auto;
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: -0.8px;
  color: white;
  text-shadow: 0 8px 22px rgba(0,0,0,0.55);
  position: relative;
  z-index: 1;
}

.idea-kpi-section .idea-kpi-grid {
  margin-top: 0;
}

/* Hero KPI (only this card gets the amazing color + animation) */
.idea-kpi-card--hero {
  text-align: center;
  border: 1px solid rgba(73,149,255,0.48);
  background:
    radial-gradient(860px 260px at 18% 0%, rgba(73,149,255,0.48), transparent 60%),
    radial-gradient(820px 260px at 86% 100%, rgba(140, 220, 255, 0.38), transparent 60%),
    rgba(255,255,255,0.06);
  box-shadow: 0 22px 90px rgba(0,0,0,0.44), 0 0 84px rgba(73,149,255,0.22);
  transform: translateZ(0);
}

.idea-kpi-card--hero::before {
  background: conic-gradient(from 0deg, rgba(73,149,255,0.42), rgba(140, 220, 255, 0.34), rgba(0, 191, 255, 0.26), rgba(73,149,255,0.42));
  opacity: 0.55;
  filter: blur(10px) saturate(1.22);
  animation: ideaHeroKpiGlow 6.5s linear infinite;
}

.idea-kpi-card--hero::after {
  opacity: 0.10;
}

.idea-kpi-card--hero:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255,201,130,0.78);
  box-shadow: 0 30px 110px rgba(0,0,0,0.50), 0 0 110px rgba(73,149,255,0.26);
}

.idea-kpi-card--hero .idea-kpi-value {
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #ffffff, #edcca1, rgba(255,201,130,0.78));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.idea-kpi-card--hero .idea-kpi-label {
  color: rgba(255,255,255,0.88);
}

/* Invisible placeholders to keep IDEA Family centered on the first row (desktop grid) */
.idea-kpi-card--ghost {
  visibility: hidden;
  pointer-events: none;
}

@keyframes ideaHeroKpiGlow {
  0% { transform: translate3d(-12px, -8px, 0) rotate(0deg); }
  50% { transform: translate3d(10px, 8px, 0) rotate(180deg); }
  100% { transform: translate3d(-12px, -8px, 0) rotate(360deg); }
}

.idea-kpi-grid {
  width: min(1200px, 94vw);
  margin: clamp(26px, 6vh, 64px) auto 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  --idea-kpi-gap: clamp(12px, 2.2vw, 18px);
  gap: var(--idea-kpi-gap);
  padding: 0 6px;
  position: relative;
  z-index: 1;
}

/* === KPI DASHBOARD (Top 10 pages | 4 cards | Top 10 users) === */
.idea-kpi-dashboard {
  width: min(1400px, 94vw);
  margin: clamp(26px, 6vh, 64px) auto 0 auto;
  --idea-kpi-gap: clamp(12px, 2.2vw, 18px);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 2fr);
  gap: var(--idea-kpi-gap);
  padding: 0 6px;
  position: relative;
  z-index: 1;
  align-items: start;
}

.idea-kpi-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: clamp(14px, 1.8vw, 18px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.28);
  min-height: clamp(240px, 32vh, 360px);
}

.idea-kpi-panel-title {
  margin: 0 0 12px 0;
  font-weight: 700;
  font-size: clamp(14px, 1.15vw, 16px);
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.92);
  text-align: left;
}

.idea-kpi-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.idea-kpi-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}

.idea-kpi-list-row--empty {
  justify-content: center;
  color: rgba(255,255,255,0.72);
  font-weight: 600;
}

.idea-kpi-list-label {
  flex: 1;
  min-width: 0;
  text-align: left;
  color: rgba(255,255,255,0.90);
  font-weight: 600;
  font-size: 0.98em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.idea-kpi-list-value {
  flex: 0 0 auto;
  color: rgba(255,255,255,0.82);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.idea-kpi-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--idea-kpi-gap);
}

.idea-kpi-cards .idea-kpi-card {
  min-height: clamp(108px, 12vh, 128px);
}

@media (max-width: 960px) {
  .idea-kpi-dashboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .idea-kpi-cards {
    grid-template-columns: 1fr;
  }
}

.idea-kpi-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: clamp(14px, 1.8vw, 18px);
  text-align: left;
  min-height: clamp(96px, 10vh, 112px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.28);
  z-index: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms cubic-bezier(.2,.9,.2,1), border-color 220ms ease, background 220ms ease;
}

@keyframes ideaKpiAurora {
  0% { transform: translate3d(-1.4%, -0.6%, 0) scale(1.03) rotate(-1.0deg); }
  100% { transform: translate3d(1.2%, 0.9%, 0) scale(1.05) rotate(1.0deg); }
}

@keyframes ideaKpiDotsDrift {
  0% { background-position: 0 0; }
  100% { background-position: 78px 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .idea-kpi-section::before,
  .idea-kpi-section::after {
    animation: none !important;
  }
}

.idea-kpi-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: radial-gradient(600px 180px at 20% 0%, rgba(73,149,255,0.26), transparent 60%),
              radial-gradient(600px 180px at 80% 100%, rgba(255,201,130,0.20), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
}

.idea-kpi-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(73,149,255,0.26), rgba(170, 230, 255, 0.16));
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.idea-kpi-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(140, 220, 255, 0.42);
  box-shadow: 0 18px 70px rgba(0,0,0,0.34), 0 0 50px rgba(73,149,255,0.10);
}

.idea-kpi-card:hover::after {
  opacity: 0.18;
}

.idea-kpi-value {
  position: relative;
  z-index: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 10px 40px rgba(73,149,255,0.18);
}

.idea-kpi-label {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-weight: 700;
  font-size: clamp(12px, 1.2vw, 14px);
  color: rgba(255,255,255,0.84);
  letter-spacing: 0.01em;
}

@media (max-width: 920px) {
  .idea-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .idea-kpi-card--ghost {
    display: none;
  }

  /* Keep hero centered with the same width as one column */
  .idea-kpi-card--hero {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - var(--idea-kpi-gap)) / 2);
  }
}

@media (max-width: 560px) {
  .idea-kpi-grid {
    grid-template-columns: 1fr;
  }

  .idea-kpi-card--ghost {
    display: none;
  }

  .idea-kpi-card--hero {
    grid-column: auto;
    justify-self: auto;
    width: 100%;
  }
}

/* Small screens: keep constellation design, but allow "expand on hover/focus/tap" */
@media (max-width: 1600px) {
  .idea-node {
    padding: 12px 14px 12px 14px;
  }

  .idea-node:hover,
  .idea-node:focus-within,
  .idea-node.is-expanded {
    z-index: 50;
    transform: scale(1.14);
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,201,130,0.55);
    box-shadow: 0 16px 64px rgba(0,0,0,0.34), 0 0 0 1px rgba(73,149,255,0.25), 0 0 42px rgba(73,149,255,0.18);
  }

  .idea-node:hover .idea-node-links,
  .idea-node:focus-within .idea-node-links,
  .idea-node.is-expanded .idea-node-links {
    max-height: 260px;
    overflow: visible;
  }

  .idea-node:hover .idea-node-desc,
  .idea-node:focus-within .idea-node-desc,
  .idea-node.is-expanded .idea-node-desc {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: none;
    overflow: visible;
    display: block;
  }

  .idea-node:hover .idea-node-links a,
  .idea-node:focus-within .idea-node-links a,
  .idea-node.is-expanded .idea-node-links a {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

/* Bouton flottant pour remonter en haut */
#scrollToTopBtn {
  position: fixed;
  right: 2vw;
  bottom: 2vw;
  z-index: 5000;
  background: #4995FF;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  box-shadow: 0 2px 16px #4995ff55;
  font-size: 2em;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, opacity 0.2s;
  opacity: 0.92;
}
#scrollToTopBtn:hover {
  background: #FFC982;
  color: #0E1020;
  box-shadow: 0 4px 32px #ffc98255;
}
/* === CATÉGORIES SECTION (modèle dynamique, fond noir, icônes) === */
.categories-section {
  background: #111216;
  color: #fff;
  width: 100vw;
  padding: 0 0 1.5em 0;
  margin: 0;
  box-shadow: 0 2px 12px #0002;
  position: relative;
  z-index: 2;
}
.categories-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2em;
  padding: 1.2em 2vw 0.7em 2vw;
  background: #181a2a;
  border-bottom: 1px solid #222;
  font-size: 1.2em;
}
.categories-title {
  font-weight: 700;
  font-size: 1.2em;
  letter-spacing: 0.02em;
  margin-right: 1.5em;
}
.notif-icon, .options-icon {
  cursor: pointer;
  color: #FFC982;
  font-size: 1.6em;
  transition: color 0.18s;
}
.notif-icon:hover, .options-icon:hover {
  color: #4995FF;
}
.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  padding: 1.2em 2vw 0 2vw;
  justify-content: flex-start;
  align-items: flex-start;
}
.category-item {
  background: #23243a;
  color: #fff;
  border-radius: 1em;
  padding: 1em 1.5em;
  font-size: 1.1em;
  font-weight: 500;
  box-shadow: 0 2px 12px #4995ff11;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.category-item:hover {
  background: #4995FF;
  color: #fff;
}
@media (max-width: 700px) {
  .categories-bar, .categories-list { font-size: 1em; gap: 0.7em; padding-left: 2vw; padding-right: 2vw; }
  .category-item { font-size: 0.98em; padding: 0.7em 1em; }
}
/* === LOGO 3D SECTION === */
.logo-3d-section {
  background: linear-gradient(120deg, #181a2a 0%, #4995FF 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.logo-3d-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  position: relative;
}
.logo-3d-section #ideaLogo3D {
  width: 320px;
  height: 320px;
  max-width: 80vw;
  max-height: 60vh;
  margin: 0 auto;
  display: block;
  background: transparent;
  box-shadow: none;
  animation: none;
}
@keyframes logoPulse {
  0% { box-shadow: 0 8px 48px #4995ff44, 0 2px 16px #ffc98233; }
  100% { box-shadow: 0 16px 64px #ffc98255, 0 4px 32px #4995ff33; }
}
@media (max-width: 600px) {
  .logo-3d-section #ideaLogo3D {
    width: 180px;
    height: 180px;
    max-width: 90vw;
    max-height: 40vh;
  }
  .logo-3d-container { height: 60vh; }
}
/* === LANDING PAGE INSPIRED BY CHAINGPT === */
.powerful-landing {
  flex-direction: column;
  gap: 0;
  padding: 0;
}


.section-scroll {
  min-height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  scroll-snap-align: start;
  padding: 0 0 0 0;
  background: #0e1020;
  color: #fff;
  overflow: hidden;
}

.hero-section {
  background: transparent;
  position: relative;
  text-align: center;
  min-height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Seamless transition + animated divider between "IDEA Single Entry" and "Our Solutions" */
.powerful-landing .hero-section {
  margin-bottom: 0;
}

.powerful-landing .hero-section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: min(860px, 78vw);
  height: 3px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 3;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(73, 149, 255, 0.95) 18%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 201, 130, 0.95) 82%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 240% 100%;

  box-shadow:
    0 0 0.8rem rgba(73, 149, 255, 0.35),
    0 0 1.4rem rgba(255, 201, 130, 0.22);
  filter: saturate(1.15);

  animation:
    ideaDividerFlow 2.4s linear infinite,
    ideaDividerBlink 1.25s ease-in-out infinite;
}

.powerful-landing .hero-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  height: 48px;
  pointer-events: none;
  z-index: 2;
  /* Soft glow to hide any 1px seam on some displays */
  background: radial-gradient(ellipse at 50% 0%, rgba(73, 149, 255, 0.10) 0%, rgba(14, 16, 32, 0) 70%);
}

@keyframes ideaDividerFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes ideaDividerBlink {
  0%, 100% { opacity: 0.65; transform: translateX(-50%) scaleX(0.96); }
  45% { opacity: 1; transform: translateX(-50%) scaleX(1); }
  55% { opacity: 0.92; transform: translateX(-50%) scaleX(1.02); }
}
.hero-title {
  font-size: 3.2em;
  font-weight: 800;
  margin-bottom: 0.3em;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 4px 32px #4995ff33;
  animation: fadeInUp 1.1s cubic-bezier(.4,0,.2,1);
}
.hero-subtitle {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 1.5em;
  animation: fadeInUp 1.5s cubic-bezier(.4,0,.2,1);
}
.cta-btn {
    text-decoration: none !important;
  background: #4995FF;
  color: #fff;
  font-size: 1.2em;
  padding: 0.8em 2.2em;
  border-radius: 2em;
  border: none;
  box-shadow: 0 2px 16px #4995ff44;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.18s, box-shadow 0.18s;
  animation: fadeInUp 2s cubic-bezier(.4,0,.2,1);
}
.cta-btn:hover {
  background: #FFC982;
  color: #0E1020;
  box-shadow: 0 4px 32px #ffc98255;
}
.hero-bg-anim {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(ellipse at 60% 40%, #4995ff33 0%, transparent 70%), radial-gradient(ellipse at 30% 70%, #ffc98222 0%, transparent 80%);
  z-index: 0;
  pointer-events: none;
  animation: bgPulse 8s infinite alternate;
}
.hero-content { position: relative; z-index: 2; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bgPulse {
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}

.solutions-section {
  /* Start with the same tone as the hero to avoid a harsh dark seam */
  background: linear-gradient(180deg, #0e1020 0%, #14162a 22%, #181a2a 58%, #181a2a 100%);
  padding: 5vw 0 5vw 0;
}

@media (prefers-reduced-motion: reduce) {
  .powerful-landing .hero-section::after {
    animation: none !important;
    opacity: 0.95;
  }
}
.section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 1.5em;
  color: #ffffff;
  text-align: center;
  letter-spacing: -0.5px;
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5em;
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto;
}
.solution-card {
  background: #23243a;
  border-radius: 1.5em;
  box-shadow: 0 2px 16px #4995ff11;
  padding: 2.2em 1.5em;
  color: #fff;
  font-size: 1.1em;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  animation: fadeInUp 1.5s cubic-bezier(.4,0,.2,1);
  transition: transform 0.18s, box-shadow 0.18s;
}
.solution-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px #ffc98233;
}

.ecosystem-section {
  background: #0e1020;
  padding: 5vw 0 5vw 0;
}
.ecosystem-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  align-items: center;
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto;
}
.ecosystem-block {
  background: #23243a;
  color: #FFC982;
  border-radius: 1.2em;
  padding: 2em 2.5em;
  font-size: 1.3em;
  font-weight: 600;
  box-shadow: 0 2px 16px #4995ff11;
  animation: fadeInUp 1.5s cubic-bezier(.4,0,.2,1);
}

.roadmap-section {
  background: #181a2a;
  padding: 5vw 0 5vw 0;
}
.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
  color: #fff;
  font-size: 1.15em;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  animation: fadeInUp 1.5s cubic-bezier(.4,0,.2,1);
}
.roadmap-list li strong { color: #FFC982; }

.faq-section {
  background: #0e1020;
  padding: 5vw 0 5vw 0;
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  color: #fff;
  font-size: 1.1em;
  animation: fadeInUp 1.5s cubic-bezier(.4,0,.2,1);
}
.faq-item {
  background: #23243a;
  border-radius: 1em;
  padding: 1.5em 1.5em;
  color: #fff;
  box-shadow: 0 2px 16px #4995ff11;
}

html, body {
  scroll-behavior: smooth;
  background: #0e1020;
}

@media (max-width: 900px) {
  .solutions-grid, .ecosystem-content { width: 98vw; }
  .solution-card, .ecosystem-block { font-size: 1em; padding: 1.2em 1em; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 2em; }
  .section-title { font-size: 1.5em; }
  .solutions-grid, .ecosystem-content { grid-template-columns: 1fr; width: 100vw; }
  .solution-card, .ecosystem-block { font-size: 0.98em; padding: 1em 0.7em; }
  .faq-list, .roadmap-list { font-size: 1em; }
}
#headerOptionsIcon {
    transition: color 0.22s cubic-bezier(.4,0,.2,1), background 0.22s cubic-bezier(.4,0,.2,1);
  }
  #headerOptionsIcon:hover {
    color: #4995FF !important;
    background: rgba(73,149,255,0.10);
    border-radius: 50%;
  }

  #headerNotificationBell {
    transition: color 0.22s cubic-bezier(.4,0,.2,1), background 0.22s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1), box-shadow 0.22s cubic-bezier(.4,0,.2,1);
  }
  #headerNotificationBell:hover {
    color: #FFAE41 !important;
    background: rgba(255,174,65,0.10);
    border-radius: 50%;
  }
  #navNotificationBell,
  #headerNotificationBell {
    position: relative;
  }
  #navNotificationBell.has-unread,
  #headerNotificationBell.has-unread {
    color: #ff4d5f !important;
    background: rgba(255, 77, 95, 0.16) !important;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(255, 77, 95, 0.24), 0 10px 24px rgba(255, 77, 95, 0.18);
    animation: newsBellPulse 1.5s ease-in-out infinite;
  }
  #navNotificationBell.has-unread::after,
  #headerNotificationBell.has-unread::after {
    content: attr(data-unread-count);
    position: absolute;
    top: -8px;
    right: -9px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3a4f 0%, #b30f2f 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(179, 15, 47, 0.28);
  }
  @keyframes newsBellPulse {
    0%, 100% {
      transform: translateY(0);
      box-shadow: 0 0 0 1px rgba(255, 77, 95, 0.24), 0 10px 24px rgba(255, 77, 95, 0.18);
    }
    50% {
      transform: translateY(-1px) scale(1.04);
      box-shadow: 0 0 0 5px rgba(255, 77, 95, 0.08), 0 12px 28px rgba(179, 15, 47, 0.26);
    }
  }
  #menu-idea-logo {
    cursor: pointer;
    transition: filter 0.18s;
  }

  .menu-home-title {
    font-family: inherit;
    font-size: 1em;
    font-weight: 400;
    color: var(--color-bar-fg, #fff);
    margin-left: 0;
    letter-spacing: 0.01em;
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    background: none;
  }

  #menu-idea-logo.selected, #menu-idea-logo:active, #menu-idea-logo:focus {
    background: var(--color-bar-focus, #4995FF) !important;
  }
  #menu-idea-logo:hover .menu-home-title {
    background: var(--color-bar-accent, #FFC982);
    color: var(--color-primary, #0E1020);
  }
  #menu-idea-logo.selected .menu-home-title {
    background: var(--color-bar-focus, #4995FF) !important;
    color: #fff !important;
  }
  #menu-idea-logo:hover img {
    filter: brightness(1.15) drop-shadow(0 2px 8px #FFC982);
  }
/*   .news-drawer {
  position: absolute;
  top: 80px;
  right: 0;
  height: auto;
  width: var(--news-panel-width);
  min-width: var(--news-panel-min-width);
  max-width: var(--news-panel-width);
  background: #f7f7f7;
  box-shadow: 0 2px 10px 0 rgba(255,201,130,0.08);
  border-left: 4px solid #ffc982;
  border-radius: 16px 0 0 16px;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: width 0.35s cubic-bezier(.4,0,.2,1), background 0.2s;
  overflow: hidden;
} */
.news-panel.news-drawer {
  position: fixed;
  top: 56px;
  right: 0;
  width: min(420px, calc(100vw - 18px));
  height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(248,250,255,0.28) 100%),
    radial-gradient(700px 240px at 15% 0%, rgba(255, 94, 98, 0.12) 0%, transparent 64%),
    radial-gradient(620px 260px at 100% 0%, rgba(86, 164, 255, 0.18) 0%, transparent 58%);
  border-left: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.24), inset 0 1px 0 rgba(255,255,255,0.35);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  z-index: 30002;
  overflow: hidden;
}
.news-panel.news-drawer.has-unread {
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.24), inset 4px 0 0 rgba(255, 77, 95, 0.85), inset 0 1px 0 rgba(255,255,255,0.35);
}
.news-drawer-header {
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, rgba(255,255,255,0.24) 0%, rgba(255,245,246,0.18) 52%, rgba(243,248,255,0.18) 100%);
  backdrop-filter: blur(20px);
  border-radius: 33px;
}
.news-drawer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 16, 32, 0.05);
  color: #7d2331;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.news-drawer-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4d5f 0%, #8d1030 100%);
  box-shadow: 0 0 0 6px rgba(255, 77, 95, 0.12);
}
.news-drawer-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}
.news-drawer-title-row h2 {
  margin: 0;
  color: #0e1020;
  font-size: 1.45rem;
  line-height: 1.1;
}
.news-drawer-subtitle {
  margin: 8px 0 0;
  color: rgba(14, 16, 32, 0.66);
  line-height: 1.45;
}
.news-drawer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.news-drawer-action-buttons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.news-unread-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d5f 0%, #b30f2f 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(179, 15, 47, 0.24);
}
.news-admin-add-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #ff5d3d 0%, #d2143a 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(210, 20, 58, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.news-admin-add-button:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 34px rgba(210, 20, 58, 0.28);
}
.news-mark-seen-button,
.news-drawer-toggle {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.news-mark-seen-button {
  padding: 10px 14px;
  background: rgba(14, 16, 32, 0.06);
  color: #0e1020;
  font-weight: 700;
}
.news-mark-seen-button:hover {
  transform: translateY(-1px);
  background: rgba(73, 149, 255, 0.14);
}
.news-drawer-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 16, 32, 0.06);
  color: #0e1020;
  box-shadow: inset 0 0 0 1px rgba(14, 16, 32, 0.06);
}
.news-drawer-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 77, 95, 0.14);
  color: #a90f2d;
}
.news-drawer.closed {
  border-left-color: transparent;
}
.news-drawer.closed .news-drawer-toggle:hover {
  background: rgba(255, 77, 95, 0.14);
}
.news-inline-editor {
  margin-top: 18px;
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.74) 0%, rgba(255,245,246,0.88) 100%);
  border: 1px solid rgba(255, 104, 126, 0.18);
  box-shadow: 0 24px 44px rgba(209, 70, 0, 0.12), inset 0 1px 0 rgba(255,255,255,0.36);
}
.news-inline-editor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.news-inline-editor-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b30f2f;
}
.news-inline-editor-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5d3d 0%, #d2143a 100%);
  box-shadow: 0 0 0 8px rgba(210, 20, 58, 0.12);
}
.news-inline-editor-header h3 {
  margin: 8px 0 0;
  color: #0e1020;
  font-size: 1.2rem;
  line-height: 1.2;
}
.news-inline-editor-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 16, 32, 0.08);
  color: #0e1020;
  cursor: pointer;
}
.news-inline-editor-close:hover {
  background: rgba(209, 70, 0, 0.16);
}
.news-inline-editor-form {
  display: grid;
  gap: 14px;
}
.news-inline-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.news-inline-editor-grid--single {
  grid-template-columns: minmax(0, 1fr);
}
.news-inline-field {
  display: grid;
  gap: 8px;
}
.news-inline-field span {
  color: rgba(14, 16, 32, 0.76);
  font-size: 0.84rem;
  font-weight: 700;
}
.news-inline-field input,
.news-inline-field textarea {
  width: 100%;
  border: 1px solid rgba(14, 16, 32, 0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
  color: #0e1020;
  padding: 12px 14px;
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(14, 16, 32, 0.04);
}
.news-inline-field textarea {
  min-height: 124px;
  resize: vertical;
}
.news-inline-field input:focus,
.news-inline-field textarea:focus {
  outline: none;
  border-color: rgba(209, 70, 0, 0.45);
  box-shadow: 0 0 0 4px rgba(209, 70, 0, 0.12);
}
.news-inline-editor-status {
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 700;
}
.news-inline-editor-status.is-working {
  background: rgba(73, 149, 255, 0.12);
  color: #004aac;
}
.news-inline-editor-status.is-error {
  background: rgba(179, 15, 47, 0.12);
  color: #a90f2d;
}
.news-inline-editor-status.is-success {
  background: rgba(36, 135, 88, 0.12);
  color: #146a47;
}
.news-inline-editor-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.news-inline-editor-submit,
.news-inline-editor-cancel {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 11px 16px;
  font-weight: 800;
}
.news-inline-editor-submit {
  background: linear-gradient(135deg, #0e1020 0%, #004aac 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 74, 172, 0.18);
}
.news-inline-editor-submit:hover {
  transform: translateY(-1px);
}
.news-inline-editor-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.news-inline-editor-cancel {
  background: rgba(14, 16, 32, 0.08);
  color: #0e1020;
}
.category-menu {
  position: relative;
  z-index: 2;
  top: unset;
  left: unset;
  width: 100%;
  background: var(--color-bar-bg, #0E1020);
  color: var(--color-bar-fg, #fff);
  z-index: 10001;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5em;
  padding: 8px 16px;
  overflow: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 0.5em;
  transition: background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, backdrop-filter 0.22s ease;
}
.category-menu.is-menu-editing {
  background:
    linear-gradient(180deg, rgba(9, 14, 32, 0.86), rgba(10, 17, 39, 0.92)),
    linear-gradient(90deg, rgba(73, 149, 255, 0.18), rgba(255, 177, 69, 0.10));
  box-shadow: 0 18px 42px rgba(8, 12, 31, 0.28);
  backdrop-filter: blur(18px) saturate(135%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-sections-edit-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
  position: relative;
  overflow: visible;
}
.nav-sections-edit-toggle:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.24);
}
.nav-sections-edit-toggle:disabled {
  opacity: 0.65;
  cursor: default;
}
.nav-sections-edit-toggle.is-active {
  background: linear-gradient(135deg, rgba(255, 101, 72, 0.18), rgba(255, 190, 114, 0.18));
  border-color: rgba(255, 177, 69, 0.42);
}
.nav-sections-edit-toggle__switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  padding: 3px;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.18);
}
.nav-sections-edit-toggle__thumb {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
  transform: translateX(0);
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), background 0.18s ease;
}
.nav-sections-edit-toggle.is-active .nav-sections-edit-toggle__switch {
  background: linear-gradient(135deg, #ff7c5c 0%, #ffb145 100%);
}
.nav-sections-edit-toggle.is-active .nav-sections-edit-toggle__thumb {
  transform: translateX(20px);
  background: #fff8ef;
}
.nav-sections-edit-toggle__hint {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(14, 16, 32, 0.96);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 14px 28px rgba(0,0,0,0.28);
}
.nav-sections-edit-toggle:hover .nav-sections-edit-toggle__hint,
.nav-sections-edit-toggle:focus-visible .nav-sections-edit-toggle__hint {
  opacity: 1;
  transform: translateY(0);
}
.cat-link.is-editor-selected {
  background: rgba(255, 177, 69, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 177, 69, 0.34);
}
.cat-link--draft-inactive {
  opacity: 0.56;
}
.menu-sections-editor {
  position: fixed;
  top: 70px;
  left: 50%;
  width: min(1280px, calc(100vw - 24px));
  max-height: calc(100vh - 86px);
  transform: translateX(-50%);
  z-index: 10000;
  pointer-events: none;
}
.menu-sections-editor__shell {
  position: relative;
  max-height: calc(100vh - 86px);
  overflow: auto;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(73, 149, 255, 0.20), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 177, 69, 0.18), transparent 28%),
    linear-gradient(180deg, #121934 0%, #0e1020 54%, #131f3d 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 34px 74px rgba(5, 8, 24, 0.46);
  padding: 22px;
  backdrop-filter: blur(18px) saturate(130%);
  pointer-events: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(73, 149, 255, 0.5) rgba(255,255,255,0.05);
}
.menu-sections-editor__shell::-webkit-scrollbar {
  width: 10px;
}
.menu-sections-editor__shell::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
}
.menu-sections-editor__shell::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(73, 149, 255, 0.72), rgba(255, 177, 69, 0.56));
  border-radius: 999px;
}
.menu-sections-editor__shell::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events: none;
}
.menu-sections-editor__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: -22px;
  z-index: 2;
  margin: -22px -22px 0;
  padding: 22px 22px 16px;
  background: linear-gradient(180deg, rgba(18, 25, 52, 0.96), rgba(18, 25, 52, 0.88), rgba(18, 25, 52, 0));
  backdrop-filter: blur(12px);
}
.menu-sections-editor__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffb145;
}
.menu-sections-editor__kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7c5c 0%, #ffb145 100%);
  box-shadow: 0 0 0 8px rgba(255, 177, 69, 0.16);
}
.menu-sections-editor__header h3 {
  margin: 10px 0 6px;
  color: #f5f7ff;
  font-size: 1.3rem;
}
.menu-sections-editor__header p {
  margin: 0;
  color: rgba(226, 232, 255, 0.72);
}
.menu-sections-editor__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.menu-sections-editor__close {
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #eef2ff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.menu-sections-editor__close:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 14px 28px rgba(5, 8, 24, 0.26);
}
.menu-sections-editor__pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(14, 16, 32, 0.06);
  color: rgba(14, 16, 32, 0.72);
  font-weight: 800;
}
.menu-sections-editor__pending.has-pending {
  background: rgba(255, 177, 69, 0.14);
  color: #9d4500;
}
.menu-sections-editor__ghost,
.menu-sections-editor__apply,
.menu-sections-editor__primary,
.menu-sections-editor__danger,
.menu-sections-editor__chip {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}
.menu-sections-editor__ghost,
.menu-sections-editor__chip {
  background: rgba(255,255,255,0.08);
  color: #eef2ff;
  padding: 10px 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.menu-sections-editor__primary,
.menu-sections-editor__apply {
  background: linear-gradient(135deg, #4995ff 0%, #1456d9 100%);
  color: #fff;
  padding: 11px 16px;
  box-shadow: 0 16px 28px rgba(20, 86, 217, 0.32);
}
.menu-sections-editor__danger {
  background: linear-gradient(135deg, #ff5d3d 0%, #d2143a 100%);
  color: #fff;
  padding: 11px 16px;
  box-shadow: 0 16px 28px rgba(210, 20, 58, 0.18);
}
.menu-sections-editor__ghost:hover:not(:disabled),
.menu-sections-editor__apply:hover:not(:disabled),
.menu-sections-editor__primary:hover:not(:disabled),
.menu-sections-editor__danger:hover:not(:disabled),
.menu-sections-editor__chip:hover:not(:disabled) {
  transform: translateY(-1px);
}
.menu-sections-editor__ghost:disabled,
.menu-sections-editor__apply:disabled,
.menu-sections-editor__primary:disabled,
.menu-sections-editor__danger:disabled,
.menu-sections-editor__chip:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}
.menu-sections-editor__status {
  margin-top: 16px;
  border-radius: 18px;
  padding: 12px 14px;
  font-weight: 700;
}
.menu-sections-editor__status.is-working {
  background: rgba(73, 149, 255, 0.18);
  color: #cfe0ff;
}
.menu-sections-editor__status.is-success {
  background: rgba(44, 146, 103, 0.18);
  color: #c8ffe4;
}
.menu-sections-editor__status.is-error {
  background: rgba(210, 20, 58, 0.18);
  color: #ffd1dc;
}
.menu-sections-editor__grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.menu-sections-editor__card {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.menu-sections-editor__card--compare {
  grid-column: 1 / -1;
}
.menu-sections-editor__card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.menu-sections-editor__card-head h4 {
  margin: 0;
  color: #f4f7ff;
  font-size: 1rem;
}
.menu-sections-editor__field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.menu-sections-editor__field span {
  color: rgba(228, 234, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 700;
}
.menu-sections-editor__field input,
.menu-sections-editor__field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(7, 11, 28, 0.44);
  color: #f5f7ff;
  padding: 12px 14px;
  font: inherit;
}
.menu-sections-editor__field input:focus,
.menu-sections-editor__field textarea:focus {
  outline: none;
  border-color: rgba(73, 149, 255, 0.56);
  box-shadow: 0 0 0 4px rgba(73, 149, 255, 0.16);
}
.menu-sections-editor__field textarea {
  min-height: 112px;
  resize: vertical;
}
.menu-sections-editor__toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #f1f5ff;
  font-weight: 700;
}
.menu-sections-editor__inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.menu-sections-editor__inline-actions--spread {
  justify-content: space-between;
}
.menu-sections-editor__link-list {
  display: grid;
  gap: 10px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
}
.menu-sections-link-row {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(8, 12, 31, 0.42);
  padding: 12px 14px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.menu-sections-link-row:hover {
  transform: translateY(-1px);
  border-color: rgba(73, 149, 255, 0.34);
}
.menu-sections-link-row.is-selected {
  border-color: rgba(255, 177, 69, 0.38);
  box-shadow: 0 14px 24px rgba(255, 177, 69, 0.16);
}
.menu-sections-link-row.is-inactive {
  opacity: 0.58;
}
.menu-sections-link-row__title {
  color: #f5f7ff;
  font-weight: 800;
}

.menu-sections-link-row__meta_hidden {
  display: none !important;
  color: rgba(220, 227, 255, 0.68);
  font-size: 0.84rem;
  word-break: break-word;
}

.menu-sections-link-row__meta {
  color: rgba(220, 227, 255, 0.68);
  font-size: 0.84rem;
  word-break: break-word;
}
.menu-sections-editor__empty {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  color: rgba(223, 231, 255, 0.72);
}
.menu-sections-editor__compare-head,
.menu-sections-editor__compare-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.menu-sections-editor__compare-head {
  margin-bottom: 10px;
  padding: 0 0 8px 0;
  color: rgba(207, 220, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.menu-sections-editor__compare-head span:first-child {
  grid-column: 2;
}
.menu-sections-editor__compare-row {
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.menu-sections-editor__compare-row.is-changed {
  background: linear-gradient(90deg, rgba(73, 149, 255, 0.10), rgba(255, 177, 69, 0.08));
}
.menu-sections-editor__compare-label {
  color: #f5f7ff;
  font-weight: 800;
}
.menu-sections-editor__compare-old,
.menu-sections-editor__compare-new {
  display: block;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  word-break: break-word;
  white-space: pre-wrap;
}
.menu-sections-editor__compare-old {
  background: rgba(255,255,255,0.06);
  color: rgba(223, 231, 255, 0.8);
}
.menu-sections-editor__compare-new {
  background: linear-gradient(135deg, rgba(255, 177, 69, 0.22), rgba(73, 149, 255, 0.16));
  color: #fff4d8;
}
.menu-sections-editor__dock {
  margin-top: 18px;
  position: sticky;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(6, 9, 24, 0.96), rgba(19, 31, 61, 0.96));
  color: #fff;
  box-shadow: 0 24px 40px rgba(14, 16, 32, 0.24);
}
.menu-sections-editor__dock-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.menu-sections-editor__dock-copy strong {
  display: block;
  margin-bottom: 4px;
}
.menu-sections-editor__dock-copy p {
  margin: 0;
  color: rgba(255,255,255,0.74);
}
.menu-sections-editor__dock-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7c5c 0%, #ffb145 100%);
  color: #0e1020;
  font-weight: 900;
  white-space: nowrap;
}
.menu-sections-editor__dock-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.menu-editor-save-modal {
  position: fixed;
  inset: 0;
  z-index: 180000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.menu-editor-save-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.menu-editor-save-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(73, 149, 255, 0.18), transparent 34%),
    radial-gradient(circle at bottom, rgba(255, 177, 69, 0.12), transparent 28%),
    rgba(4, 8, 20, 0.66);
  backdrop-filter: blur(10px);
}
.menu-editor-save-modal__dialog {
  position: relative;
  width: min(1020px, calc(100vw - 30px));
  max-height: min(82vh, 860px);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(73, 149, 255, 0.24), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 177, 69, 0.18), transparent 26%),
    linear-gradient(180deg, #121934 0%, #0e1020 52%, #131f3d 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 42px 84px rgba(3, 6, 18, 0.58),
    0 0 0 1px rgba(73, 149, 255, 0.06);
  color: #eef4ff;
}
.menu-editor-save-modal__dialog::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
}
.menu-editor-save-modal__dialog::after {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.28), rgba(255,255,255,0));
  pointer-events: none;
}
.menu-editor-save-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.menu-editor-save-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffb145;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.menu-editor-save-modal__eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7c5c 0%, #ffb145 100%);
  box-shadow: 0 0 0 8px rgba(255, 177, 69, 0.12);
}
.menu-editor-save-modal__header h3 {
  margin: 10px 0 6px;
  font-size: 1.38rem;
  color: #f6fbff;
  letter-spacing: -0.02em;
}
.menu-editor-save-modal__header p {
  margin: 0;
  color: rgba(227, 236, 255, 0.72);
  max-width: 58ch;
}
.menu-editor-save-modal__close {
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #eef4ff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.menu-editor-save-modal__close:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 12px 24px rgba(3, 6, 18, 0.24);
}
.menu-editor-save-modal__body {
  padding: 0 24px;
  max-height: min(54vh, 520px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 183, 255, 0.42) rgba(255,255,255,0.04);
}
.menu-editor-save-modal__body::-webkit-scrollbar {
  width: 10px;
}
.menu-editor-save-modal__body::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
}
.menu-editor-save-modal__body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(73, 149, 255, 0.62), rgba(255, 177, 69, 0.42));
  border-radius: 999px;
}
.menu-editor-save-modal__columns,
.menu-editor-save-modal__row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.menu-editor-save-modal__columns {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 0 10px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(18, 25, 52, 0.98), rgba(18, 25, 52, 0.92), rgba(18, 25, 52, 0.78));
  color: rgba(202, 219, 255, 0.64);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.menu-editor-save-modal__columns span:first-child {
  grid-column: 2;
}
.menu-editor-save-modal__group {
  position: relative;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    linear-gradient(180deg, rgba(8, 12, 31, 0.78), rgba(7, 11, 28, 0.52));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 18px 30px rgba(3, 6, 18, 0.16);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.menu-editor-save-modal__group:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 183, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 22px 34px rgba(3, 6, 18, 0.22);
}
.menu-editor-save-modal__group:last-child {
  margin-bottom: 0;
}
.menu-editor-save-modal__group-head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}
.menu-editor-save-modal__group-kicker {
  color: #8fd3ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.menu-editor-save-modal__group-head strong {
  color: #f5f9ff;
  font-size: 1rem;
}
.menu-editor-save-modal__row {
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.menu-editor-save-modal__row:first-of-type {
  border-top: 0;
}
.menu-editor-save-modal__label {
  color: #f5f9ff;
  font-weight: 800;
}
.menu-editor-save-modal__old,
.menu-editor-save-modal__new {
  display: block;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  word-break: break-word;
  white-space: pre-wrap;
}
.menu-editor-save-modal__old {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  color: rgba(223, 231, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.menu-editor-save-modal__new {
  background:
    radial-gradient(circle at top left, rgba(255, 177, 69, 0.12), transparent 50%),
    linear-gradient(135deg, rgba(73, 149, 255, 0.22), rgba(255, 177, 69, 0.18));
  color: #fff8e9;
  box-shadow:
    inset 0 0 0 1px rgba(99, 183, 255, 0.16),
    0 10px 18px rgba(73, 149, 255, 0.08);
}
.menu-editor-save-modal__status {
  min-height: 20px;
  margin: 0 24px;
  border-radius: 18px;
  padding: 0;
  color: transparent;
  transition: padding 0.18s ease, margin-top 0.18s ease;
}
.menu-editor-save-modal__status.is-visible {
  margin-top: 14px;
  padding: 12px 14px;
}
.menu-editor-save-modal__status.is-working {
  background: rgba(73, 149, 255, 0.18);
  color: #cfe0ff;
}
.menu-editor-save-modal__status.is-error {
  background: rgba(210, 20, 58, 0.18);
  color: #ffd1dc;
}
.menu-editor-save-modal__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 24px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.03));
  border-top: 1px solid rgba(255,255,255,0.08);
}
.menu-editor-save-modal__empty {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  color: rgba(223, 231, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.menu-editor-apply-celebration {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s ease;
}
.menu-editor-apply-celebration.is-visible {
  opacity: 1;
}
.menu-editor-apply-celebration__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(14, 16, 32, 0.14), rgba(14, 16, 32, 0.34));
  backdrop-filter: blur(6px);
}
.menu-editor-apply-celebration__card {
  position: relative;
  width: min(392px, calc(100vw - 34px));
  padding: 30px 26px 24px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top, rgba(122, 255, 177, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(6, 19, 24, 0.96) 0%, rgba(8, 33, 24, 0.98) 100%);
  border: 1px solid rgba(116, 255, 186, 0.16);
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(122, 255, 177, 0.06);
  text-align: center;
  color: #effff6;
  transform: translateY(10px) scale(0.96);
  transition: transform 0.28s cubic-bezier(.16,1,.3,1);
}
.menu-editor-apply-celebration.is-visible .menu-editor-apply-celebration__card {
  transform: translateY(0) scale(1);
}
.menu-editor-apply-celebration__face {
  position: relative;
  width: 142px;
  height: 142px;
  margin: 0 auto 18px;
  border-radius: 40px;
  background: radial-gradient(circle at center, rgba(110, 255, 177, 0.12), rgba(0, 0, 0, 0));
}
.menu-editor-apply-celebration__logo-glow {
  position: absolute;
  inset: 26px;
  border-radius: 30px;
  background: radial-gradient(circle at center, rgba(126, 255, 196, 0.34), rgba(126, 255, 196, 0.06) 54%, rgba(126, 255, 196, 0) 74%);
  filter: blur(10px);
}
.menu-editor-apply-celebration__logo {
  position: absolute;
  inset: 32px;
  width: calc(100% - 64px);
  height: calc(100% - 64px);
  object-fit: contain;
  filter:
    brightness(0) saturate(100%) invert(90%) sepia(20%) saturate(2870%) hue-rotate(72deg) brightness(104%) contrast(104%)
    drop-shadow(0 0 14px rgba(126, 255, 196, 0.44))
    drop-shadow(0 0 28px rgba(126, 255, 196, 0.24));
  transform: scale(0.92);
  animation: menuEditorFaceLogoPulse 1.08s ease-in-out forwards;
}
.menu-editor-apply-celebration__brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  opacity: 0.96;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.16),
    0 2px 10px rgba(0, 0, 0, 0.30),
    0 0 18px rgba(255,255,255,0.10);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  z-index: 1;
}
.menu-editor-apply-celebration__brand span {
  display: block;
  line-height: 1;
}
.menu-editor-apply-celebration__brand small {
  display: block;
  font-size: 0.48rem;
  line-height: 1;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: none;
  opacity: 0.94;
}
.menu-editor-apply-celebration__corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(126, 255, 196, 0.92);
  border-style: solid;
  filter: drop-shadow(0 0 10px rgba(126, 255, 196, 0.28));
}
.menu-editor-apply-celebration__corner.is-top-left {
  top: 10px;
  left: 10px;
  border-width: 4px 0 0 4px;
  border-top-left-radius: 12px;
}
.menu-editor-apply-celebration__corner.is-top-right {
  top: 10px;
  right: 10px;
  border-width: 4px 4px 0 0;
  border-top-right-radius: 12px;
}
.menu-editor-apply-celebration__corner.is-bottom-left {
  bottom: 10px;
  left: 10px;
  border-width: 0 0 4px 4px;
  border-bottom-left-radius: 12px;
}
.menu-editor-apply-celebration__corner.is-bottom-right {
  bottom: 10px;
  right: 10px;
  border-width: 0 4px 4px 0;
  border-bottom-right-radius: 12px;
}
.menu-editor-apply-celebration__scan {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(126,255,196,0), rgba(126,255,196,0.95), rgba(126,255,196,0));
  box-shadow: 0 0 16px rgba(126,255,196,0.36);
  animation: menuEditorFaceScan 1.08s ease-in-out forwards;
}
.menu-editor-apply-celebration__ring {
  position: absolute;
  inset: 18px;
  border-radius: 34px;
  border: 2px solid rgba(126,255,196,0.12);
  transform: scale(0.92);
  opacity: 0.3;
  animation: menuEditorFaceRing 1.08s ease-out forwards;
}
.menu-editor-apply-celebration__check {
  position: absolute;
  right: 6px;
  bottom: 8px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  color: #f5fff9;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #9cffc5, #2ccf7b 70%);
  box-shadow: 0 14px 28px rgba(44, 207, 123, 0.34);
  opacity: 0;
  transform: scale(0.5);
}
.menu-editor-apply-celebration.is-success .menu-editor-apply-celebration__check {
  animation: menuEditorFaceCheck 0.62s cubic-bezier(.16,1,.3,1) forwards;
}
.menu-editor-apply-celebration__title {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.menu-editor-apply-celebration__subtitle {
  margin: 10px 0 0;
  color: rgba(223, 255, 236, 0.76);
  line-height: 1.45;
}
@keyframes menuEditorFaceScan {
  0% { transform: translateY(0); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translateY(82px); opacity: 0.94; }
}
@keyframes menuEditorFaceRing {
  0% { transform: scale(0.84); opacity: 0.08; }
  50% { opacity: 0.48; }
  100% { transform: scale(1.02); opacity: 0.2; }
}
@keyframes menuEditorFaceCheck {
  0% { opacity: 0; transform: scale(0.45); }
  65% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes menuEditorFaceLogoPulse {
  0% { opacity: 0.86; transform: scale(0.82); }
  45% { opacity: 1; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(0.92); }
}
@media (max-width: 1180px) {
  .menu-sections-editor__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .menu-sections-editor {
    top: 66px;
    width: min(100vw - 14px, 1280px);
    max-height: calc(100vh - 74px);
  }
  .menu-sections-editor__shell {
    padding: 16px;
    border-radius: 22px;
    max-height: calc(100vh - 74px);
  }
  .menu-sections-editor__header {
    top: -16px;
    margin: -16px -16px 0;
    padding: 16px 16px 12px;
  }
  .menu-sections-editor__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .menu-sections-editor__compare-head,
  .menu-sections-editor__compare-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .menu-sections-editor__compare-head {
    display: none;
  }
  .menu-sections-editor__dock {
    flex-direction: column;
    align-items: stretch;
  }
  .menu-sections-editor__dock-copy {
    align-items: flex-start;
    flex-direction: column;
  }
  .menu-editor-save-modal__dialog {
    width: min(100vw - 18px, 1020px);
    border-radius: 22px;
  }
  .menu-editor-save-modal__header,
  .menu-editor-save-modal__body,
  .menu-editor-save-modal__actions {
    padding-left: 16px;
    padding-right: 16px;
  }
  .menu-editor-save-modal__columns,
  .menu-editor-save-modal__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .menu-editor-save-modal__columns {
    display: none;
  }
  .menu-editor-save-modal__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .menu-editor-apply-celebration__card {
    padding: 24px 18px 20px;
    border-radius: 26px;
  }
  .menu-editor-apply-celebration__face {
    width: 112px;
    height: 112px;
  }
  .menu-editor-apply-celebration__brand {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    gap: 1px;
  }
  .menu-editor-apply-celebration__brand small {
    font-size: 0.4rem;
    letter-spacing: 0.10em;
  }
  .menu-sections-editor__header-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Scrollable area that contains Home + categories (icons are outside this area). */
.category-menu .category-menu-scroll {
  display: flex;
  flex: 1 1 auto;
  min-width: 0; /* important for flex overflow */
  align-items: center;
  gap: 0.5em;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  justify-content: center;
}
.category-menu .cat-link {
  color: var(--color-bar-fg, #fff);
  background: none;
  border: none;
  font-size: 1em;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.category-menu .cat-link.selected {
  background: var(--color-bar-focus, #4995FF) !important;
  color: #fff !important;
}
.category-menu .cat-link.active, .category-menu .cat-link:hover {
  background: var(--color-bar-accent, #FFC982);
  color: var(--color-primary, #0E1020);
}
.powerbi-nav-tool {
  position: relative;
  flex: 0 0 auto;
  margin-left: 0.45rem;
  z-index: 2050;
}
.powerbi-nav-tool__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  min-height: 22px;
  min-width: 180px;
  padding: 0.52rem 1rem 0.52rem 0.9rem !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 18px !important;
  background:transparent;
  color: #fff !important;
  box-shadow: 0 18px 34px rgba(5, 12, 31, 0.30);
  backdrop-filter: blur(18px) saturate(145%);
}
.powerbi-nav-tool__trigger:hover,
.powerbi-nav-tool__trigger:focus-visible,
.powerbi-nav-tool.is-open .powerbi-nav-tool__trigger {
  background: linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,201,130,0.90), rgba(255,169,102,0.92)) !important;
  color: #081226 !important;
}
.powerbi-nav-tool__icon,
.powerbi-nav-tool__chevron {
  font-size: 1.22rem;
}
.powerbi-nav-tool__label-wrap {
  display: grid;
  align-items: center;
  text-align: left;
  line-height: 1.05;
  flex: 1 1 auto;
}
.powerbi-nav-tool__label {
  font-weight: 800;
  letter-spacing: 0.015em;
}
.powerbi-nav-tool__dropdown {
  position: fixed;
  top: 68px;
  left: 12px;
  min-width: 320px;
  display: none;
  gap: 0.65rem;
  padding: 0.9rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.74), rgba(242,247,255,0.70));
  box-shadow: 0 34px 60px rgba(8, 18, 38, 0.26);
  border: 1px solid rgba(255,255,255,0.34);
  backdrop-filter: blur(26px) saturate(160%);
  z-index: 12050;
}
.powerbi-nav-tool__dropdown-header {
  padding: 0.15rem 0.25rem 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4b5e7f;
}
.powerbi-nav-tool__action {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  width: 100%;
  padding: 1rem 1rem;
  border: 1px solid rgba(73,149,255,0.10);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(244,249,255,0.66));
  color: #10203d;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  backdrop-filter: blur(14px);
}
.powerbi-nav-tool__action:hover:not(:disabled),
.powerbi-nav-tool__action:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(73,149,255,0.18);
  border-color: rgba(73,149,255,0.24);
}
.powerbi-nav-tool__action > span:last-child {
  display: grid;
  gap: 0.18rem;
}
.powerbi-nav-tool__action strong {
  font-size: 0.95rem;
}
.powerbi-nav-tool__action small {
  color: #61718f;
  font-size: 0.75rem;
  line-height: 1.35;
}
.powerbi-nav-tool__action .material-icons {
  margin-top: 0.1rem;
  font-size: 1.15rem;
  color: #004aac;
}
.powerbi-nav-tool__action:disabled {
  opacity: 0.58;
  cursor: wait;
  transform: none;
  box-shadow: none;
}
.powerbi-embed-workspace {
  position: absolute;
  inset: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.powerbi-embed-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: hidden;
}
.powerbi-cache-panel {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  min-height: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.36);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(240,246,255,0.84));
  box-shadow: 0 22px 42px rgba(8, 18, 38, 0.18);
  backdrop-filter: blur(18px) saturate(155%);
  z-index: 9005;
  transition: width 0.18s ease, padding 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  overflow: hidden;
}
.powerbi-cache-panel.is-collapsed {
  width: 40px;
  min-height: 40px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.90);
  box-shadow: 0 12px 24px rgba(8, 18, 38, 0.10);
}
.powerbi-cache-panel__toggle {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  color: #004aac;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(73,149,255,0.12);
}
.powerbi-cache-panel__toggle .material-icons {
  font-size: 1rem;
}
.powerbi-cache-panel.is-collapsed .powerbi-cache-panel__toggle {
  margin: 0;
}
.powerbi-cache-panel__header,
.powerbi-cache-panel__empty {
  display: block;
}
.powerbi-cache-panel__header {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38506f;
}
.powerbi-cache-panel__empty {
  font-size: 0.74rem;
  line-height: 1.45;
  color: #526883;
}
.powerbi-cache-panel.is-collapsed .powerbi-cache-panel__header,
.powerbi-cache-panel.is-collapsed .powerbi-cache-panel__empty,
.powerbi-cache-panel.is-collapsed .powerbi-cache-panel__list {
  display: none;
}
.powerbi-cache-panel__list {
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
  padding-right: 2px;
}
.powerbi-cache-panel__section {
  display: grid;
  gap: 6px;
}
.powerbi-cache-panel__section-header {
  padding: 0 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6f8c;
}
.powerbi-cache-panel__section-list {
  display: grid;
  gap: 8px;
}
.powerbi-cache-panel__item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: start;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 16px;
  background: rgba(255,255,255,0.84);
  color: #10203d;
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  box-shadow: inset 0 0 0 1px rgba(73,149,255,0.08);
}
.powerbi-cache-panel__item--powerapps {
  background: linear-gradient(180deg, rgba(246,252,255,0.96), rgba(234,246,255,0.92));
}
.powerbi-cache-panel__item--powerbi {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(240,246,255,0.92));
}
.powerbi-cache-panel__item:hover,
.powerbi-cache-panel__item:focus-visible,
.powerbi-cache-panel__item.is-active {
  transform: translateX(2px);
  box-shadow: 0 12px 22px rgba(73,149,255,0.18);
}
.powerbi-cache-panel__item.is-active {
  color: #08192f;
  box-shadow: 0 16px 28px rgba(0,74,172,0.22), inset 0 0 0 1px rgba(0,74,172,0.18);
}
.powerbi-cache-panel__item--powerbi.is-active {
  background: linear-gradient(145deg, rgba(255, 248, 229, 0.98), rgba(232, 243, 255, 0.98));
  box-shadow: 0 16px 30px rgba(0,74,172,0.20), inset 0 0 0 1px rgba(255,188,74,0.45);
}
.powerbi-cache-panel__item--powerapps.is-active {
  background: linear-gradient(145deg, rgba(246, 238, 255, 0.99), rgba(232, 240, 255, 0.98));
  box-shadow: 0 16px 30px rgba(104, 74, 201, 0.22), inset 0 0 0 1px rgba(139, 92, 246, 0.34);
}
.powerbi-cache-panel__item.is-active .powerbi-cache-panel__icon-wrap {
  background: rgba(255,255,255,0.96);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.75), 0 8px 18px rgba(16, 32, 61, 0.10);
}
.powerbi-cache-panel__item--powerbi.is-active .powerbi-cache-panel__eyebrow {
  color: #b96c00;
}
.powerbi-cache-panel__item--powerapps.is-active .powerbi-cache-panel__eyebrow {
  color: #6b46c1;
}
.powerbi-cache-panel__item--powerapps.is-active .powerbi-cache-panel__icon-wrap {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,238,255,0.98));
  box-shadow: inset 0 0 0 1px rgba(196, 181, 253, 0.72), 0 8px 18px rgba(91, 60, 163, 0.12);
}
.powerbi-cache-panel__item.is-active .powerbi-cache-panel__content strong {
  color: #08192f;
}
.powerbi-cache-panel__icon-wrap,
.powerbi-cache-panel__index {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255,255,255,0.88);
  box-shadow: inset 0 0 0 1px rgba(73,149,255,0.10);
}
.powerbi-cache-panel__icon-image {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.powerbi-cache-panel__content {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.powerbi-cache-panel__eyebrow {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4e6888;
}
.powerbi-cache-panel__content strong {
  font-size: 0.8rem;
  line-height: 1.25;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  font-weight: 700;
}
@media (max-width: 900px) {
  .powerbi-nav-tool__dropdown {
    min-width: 280px;
  }
  .powerbi-cache-panel {
    left: 8px;
    width: 210px;
  }
  .powerbi-cache-panel.is-collapsed {
    width: 40px;
  }
}
@media (max-width: 640px) {
  .powerbi-nav-tool {
    width: calc(100vw - 1.6rem);
    margin: 0.35rem 0.6rem 0;
  }
  .powerbi-nav-tool__trigger {
    width: 100%;
    justify-content: space-between;
    min-width: 0;
  }
  .powerbi-nav-tool__dropdown {
    width: 100%;
    min-width: 0;
  }
  .powerbi-cache-panel {
    left: 6px;
    width: 192px;
  }
}
.category-menu .cat-dropdown {
  display: block;
}
.category-menu .cat-dropdown a {
  display: block;
  color: #222;
  padding: 7px 18px;
  text-decoration: none;
  font-size: 0.98em;
  border: none;
  background: none;
  border-radius: 0;
  transition: background 0.13s;
}
.category-menu .cat-dropdown a:hover {
  background: var(--color-bar-accent, #FFC982);
  color: var(--color-primary, #0E1020);
}
/* Global dropdown styles for dropdowns appended to document.body */
.cat-dropdown {
  display: none;
  position: fixed;
  left: 0;
  top: 56px;
  width: auto;
  background: #ffffff;
  color: #222;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border-radius: 8px;
  z-index: 100000;
  padding: 0.5em 0.7em;
  max-height: none;
  overflow: visible;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  justify-content: flex-start;
  align-items: stretch;
  min-width: 180px;
  max-width: 360px;
}
.cat-dropdown a {
  display: block;
  color: #222;
  padding: 7px 12px;
  text-decoration: none;
  font-size: 0.98em;
  border: none;
  background: none;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
  white-space: normal;
  word-break: break-word;
}
.cat-dropdown a:hover {
  background: var(--color-bar-accent, #FFC982);
  color: var(--color-primary, #0E1020);
}

/* === Menu active category (green) + search hit (red) === */
.category-menu .cat-link.is-active-category {
  background: #004AAC !important;
  color: #fff !important;
}
.category-menu .cat-link.is-active-category:hover {
  background: #4995FF !important;
  color: #fff !important;
}
.category-menu .cat-link.is-search-hit {
  background: #D14600 !important;
  color: #fff !important;
}
.category-menu .cat-link.is-search-hit:hover {
  background: #FF7E51 !important;
  color: #fff !important;
}
.cat-dropdown a.is-search-hit {
  background: #D14600 !important;
  color: #fff !important;
}

/* === Constellation -> menu hover blink === */
.category-menu .cat-link.is-constellation-hover {
  box-shadow: 0 0 0 2px rgba(255,201,130,0.55), 0 0 22px rgba(73,149,255,0.22);
}

.category-menu .cat-link.is-constellation-blink {
  animation: ideaMenuConstellationBlink 1.15s ease-in-out 1;
}

@keyframes ideaMenuConstellationBlink {
  0% {
    box-shadow: 0 0 0 0 rgba(255,201,130,0.0), 0 0 0 rgba(73,149,255,0.0);
    transform: translateY(0) scale(1);
  }
  35% {
    box-shadow: 0 0 0 2px rgba(255,201,130,0.62), 0 0 28px rgba(73,149,255,0.26);
    transform: translateY(-1px) scale(1.04);
  }
  70% {
    box-shadow: 0 0 0 2px rgba(255,201,130,0.40), 0 0 18px rgba(73,149,255,0.18);
    transform: translateY(0) scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255,201,130,0.0), 0 0 0 rgba(73,149,255,0.0);
    transform: translateY(0) scale(1);
  }
}

/* === Header search results dropdown (menu search) === */
#menuSearchResults {
  display: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(73,149,255,0.18);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  overflow: hidden;
}

#menuSearchResults .menu-search-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
#menuSearchResults .menu-search-item:last-child {
  border-bottom: none;
}
#menuSearchResults .menu-search-item:hover,
#menuSearchResults .menu-search-item:focus {
  outline: none;
  background: rgba(73,149,255,0.10);
}

#menuSearchResults .menu-search-item-title {
  font-weight: 700;
  color: #0E1020;
  font-size: 0.98em;
  line-height: 1.2;
}

#menuSearchResults .menu-search-item-meta {
  margin-top: 2px;
  font-size: 0.85em;
  color: rgba(14,16,32,0.72);
}
/* Menu compact des catégories */
.category-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background: var(--color-bar-bg, #0E1020);
    color: var(--color-bar-fg, #fff);
  z-index: 10001;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
    padding: 8px 16px;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.category-menu .cat-link {
    color: var(--color-bar-fg, #fff);
    background: none;
    border: none;
    font-size: 1em;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    white-space: nowrap;
}
.category-menu .cat-link.active, .category-menu .cat-link:hover {
    background: var(--color-bar-accent, #FFC982);
    color: var(--color-primary, #0E1020);
}
.news-toggle {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1.1em;
    cursor: pointer;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    outline: none;
    transition: color 0.2s;
}
.news-toggle:focus {
    color: var(--color-royal);
}

/* Animations collapse des notifications supprimées/commentées pour affichage simple */
/*
 * File: style.css
 * Description: Modernized and optimized CSS for "IDEA Launcher – DXC" web page.
 * Author: ChatGPT amélioré
 * Maintenabilité, accessibilité, responsive et performances améliorées.
 */

/* === VARIABLES GLOBALES === */
:root {
  /* Couleurs */
  /* DXC brand palette */
  --color-midnight: #0E1020;
  --color-peach: #FFC982;
  --color-true-blue: #4995FF;
  --color-red: #D14600;
  --color-white: #FFFFFF;
  --color-sky: #A1E6FF;
  --color-melon: #FF7E51;
  --color-canvas: #F6F3F0;
  --color-gold: #FFAE41;
  --color-royal: #004AAC;

  /* App theme mappings */
  --color-primary: var(--color-midnight);
  --color-primary-light: rgba(14, 16, 32, 0.10);

  /* Top/Bottom bar (menu bar) */
  --color-bar-bg: var(--color-midnight);
  --color-bar-fg: var(--color-white);
  --color-bar-accent: var(--color-peach);
  --color-bar-focus: var(--color-true-blue);
  --color-text-dark: #333333;
  --color-bg-light: #ffffff;
  --color-shadow-light: rgba(0, 0, 0, 0.1);
  --color-shadow-hover: rgba(0, 0, 0, 0.2);
  --color-badge-bg: #eef2ff;
  --color-badge-text: #3730a3;
  --color-border-light: #ddd;

  /* Typographie */
  --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-md: 1rem;       /* 16px */
  --font-size-lg: 1.5rem;     /* 24px */
  --font-weight-bold: 700;
  --line-height-base: 1.4;

  /* Espacements */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Bords */
  --border-radius-sm: 5px;
  --border-radius-md: 10px;

  /* Dimensions */
  --max-width-category: 280px;
  --news-panel-width: 40vw;
  --news-panel-min-width: 280px;

  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
}

/* === RÉINITIALISATION DE BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
  font-size: var(--font-size-md);
  line-height: var(--line-height-base);
  color: var(--color-text-dark);
  background: #0e1020;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.menu-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.menu-label {
  vertical-align: middle;
}

.icon-slot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.header {
  /* Header behaves like before (no sticky), sits under the fixed menu */
  position: relative;
  z-index: 1;
  margin-top: 0;
  background: linear-gradient(90deg, #0E1020 0%, #D14600 40%, #FFAE41 70%, #4995FF 100%);
  color: var(--color-bar-fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  box-shadow: 0 2px 6px var(--color-shadow-light);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 6px 10px;
}

/* Keep the search icon at the far left */
#searchForm {
  flex: 0 0 auto;
  margin-right: 8px;
}

#searchBtn {
  padding: 0.35em 0.55em !important;
}

#searchBtn .material-icons {
  font-size: 1.7em !important;
}

.header-sections {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1 1 auto;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px;
  scrollbar-width: none;
}

.header-sections::-webkit-scrollbar { display: none; }

.header-section-link {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88em;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.header-section-link:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.16);
}

.header-section-link.is-active {
  background: rgba(255, 201, 130, 0.95);
  border-color: transparent;
  color: #0E1020;
  box-shadow: 0 10px 24px rgba(255, 201, 130, 0.22);
}

@media (max-width: 820px) {
  .header-inner {
    justify-content: flex-start;
    gap: 8px;
  }
  .header-sections {
    max-width: 100%;
    justify-content: flex-start;
  }
}

/* Make anchor navigation land below the top bars */
.section-scroll {
  scroll-margin-top: 96px;
}

#frameworks-used {
  scroll-margin-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  .header-section-link { transition: none; }
  .header-section-link:hover { transform: none; }
}

.header h1 {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  user-select: none;
}

#searchInput {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-md);
  border-radius: var(--border-radius-sm);
  border: none;
  max-width: 280px;
  width: 100%;
  transition: box-shadow var(--transition-fast);
  outline-offset: 2px;
}

#searchInput:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-bar-focus) 40%, transparent);
  outline: none;
}

/* === CONTENU PRINCIPAL === */
.main-content {
  flex-grow: 1;
  display: flex;
  align-items: stretch;
  gap: var(--spacing-lg);
/*   padding: var(--spacing-lg); */
  min-height: 0; /* Important for flex children with overflow */
}

/* === CONTENEUR DES CATÉGORIES === */
.site-container {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg);
  overflow-y: auto;
  min-width: 0; /* Fix flexbox overflow */
  padding-right: var(--spacing-md);
}

/* === PANNEAU KPI === */
.kpi-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding-left: var(--spacing-md);
  min-width: 250px;
  max-width: 350px;
  overflow-y: auto;
}

/* === CARTE KPI === */
.kpi-card {
  background: var(--color-bg-light);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  box-shadow: 0 2px 10px var(--color-shadow-light);
  text-align: center;
  user-select: none;
  transition: box-shadow var(--transition-fast);
}

.kpi-card:hover {
  box-shadow: 0 4px 20px var(--color-shadow-hover);
}

.kpi-title {
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-md);
}

.kpi-value {
  font-size: var(--font-size-lg);
  color: var(--color-text-dark);
}

/* === CATÉGORIE D'OUTILS === */
.category {
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: 0 2px 10px var(--color-shadow-light);
  width: var(--max-width-category);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: default;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.category:hover,
.category:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--color-shadow-hover);
  outline: none;
}

.category h2 {
  text-align: center;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-md);
  user-select: text;
}

  .category a {
    display: block;
    color: var(--color-text-dark);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    padding: 0.4rem 0.6rem;
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-fast), color var(--transition-fast);
    user-select: text;
    font-size: var(--font-size-sm);
    word-break: break-all;
    overflow-wrap: anywhere;
    white-space: normal;
  }

.category a:last-child {
  margin-bottom: 0;
}

.category .category-empty {
  margin-top: var(--spacing-sm);
  padding: 0.45rem 0.6rem;
  border-radius: var(--border-radius-sm);
  background: rgba(14, 16, 32, 0.05);
  color: var(--color-text-dark);
  opacity: 0.75;
  font-size: var(--font-size-sm);
  text-align: center;
 }

.category a:hover,
.category a:focus {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  outline: none;
}

/* === FOOTER === */
.footer {
  /* background-color: var(--color-primary);
  color: var(--color-bg-light);
  text-align: center; */
  /* padding: var(--spacing-md); */
  font-size: var(--font-size-sm);
  margin-top: auto;
  user-select: none;
  box-shadow: 0 -2px 6px var(--color-shadow-light);
}


 .news-panel {
  flex: 0 0 var(--news-panel-width);
  max-width: var(--news-panel-width);
  min-width: var(--news-panel-min-width);
  overflow-y: auto;
  padding: var(--spacing-lg);
  border-left: 1px solid var(--color-border-light);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(180%) blur(8px);
  border-radius: var(--border-radius-md);
  font-family: var(--font-family-base);
  color: var(--color-primary);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-height: calc(100vh - 160px);
}



.news-list {
  list-style: none;
  margin: 0;
  padding: 18px;
  display: grid;
  gap: 14px;
  overflow: auto;
  max-height: calc(100vh - 240px);
  align-content: start;
}

.news-item-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
}

.news-item {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.22) 100%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255,255,255,0.26);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  padding: 16px 16px 15px;
  color: var(--color-text-dark);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  word-break: break-word;
}

.news-item:hover,
.news-item:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255,255,255,0.32);
  border-color: rgba(255,255,255,0.52);
  outline: none;
}

.news-item.is-today {
  background: linear-gradient(180deg, rgba(255,242,244,0.42) 0%, rgba(255,255,255,0.24) 100%);
  box-shadow: 0 6px 13px rgb(139 255 144), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.news-item.is-unread {
  border-color: rgba(255, 160, 171, 0.66);
  box-shadow: 0 18px 36px rgba(179, 15, 47, 0.16), inset 0 0 0 1px rgba(255,255,255,0.15);
}

.news-item--empty {
  text-align: center;
  color: rgba(14, 16, 32, 0.58);
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.9rem;
  color: var(--color-primary);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.news-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.news-item-indicator {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  margin-top: 5px;
  border-radius: 50%;
  background: rgba(73, 149, 255, 0.32);
}

.news-item.is-today .news-item-indicator {
  background: linear-gradient(135deg, #ff4d5f 0%, #8d1030 100%);
  box-shadow: 0 0 0 7px rgba(255, 77, 95, 0.12);
}

.news-title {
  display: block;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.35;
  cursor: pointer;
  white-space: normal;
}

.news-title:hover,
.news-title:focus {
  text-decoration: underline;
  outline: none;
}

.news-meta {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 120px;
  font-size: var(--font-size-sm);
  opacity: 0.92;
}

.news-content {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.56;
  font-family: var(--font-family-base);
  user-select: text;
  white-space: pre-line;
  color: rgba(14, 16, 32, 0.82);
}

.news-item-status {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-item-status--today {
  background: rgb(116 116 116 / 92%);
  color: #79e275;
}

.news-item-status--unread {
  background: rgb(216 45 70 / 17%);
  color: #d74a5f;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;

  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;

  color: rgb(29 29 29 / 90%);

  position: relative;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);

  border: 1px solid rgba(255, 255, 255, 0.15);

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);

  user-select: none;
  transition: all 0.25s ease;
}

.badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(90deg, rgb(247 80 60 / 27%) 0%, rgb(230 160 46 / 13%) 40%, #4995ff00 70%, rgb(142 185 235 / 17%) 100%);

  opacity: 0.6;
  mix-blend-mode: overlay;

  pointer-events: none;
}

.badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.35),
      transparent 60%);

  pointer-events: none;
}

.badge:hover {
  transform: translateY(-1px);
  backdrop-filter: blur(14px) saturate(160%);
}

.badge:active {
  transform: translateY(0);
}

/* Hover effect for links inside news */
.news-item a:hover {
  background-color: transparent;
}

.news-admin-rail {
  width: 70px;
  min-width: 70px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: 20px;
}

.news-admin-rail--neutral {
  background: linear-gradient(180deg, rgba(14,16,32,0.08) 0%, rgba(73,149,255,0.12) 100%);
}

.news-admin-rail--danger {
  background: linear-gradient(180deg, #ff7684 0%, #b30f2f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 14px 30px rgba(179, 15, 47, 0.2);
}

.news-admin-rail--idea {
  /*background: linear-gradient(135deg, #ff5d3d 0%, #d2143a 100%);*/
  background: linear-gradient(180deg, rgba(255,201,130,0.12) 0%, rgba(255,201,130,0.22) 100%);
  box-shadow: inset 0 1px 0 rgba(255,201,130,0.24), 0 14px 30px rgba(255,201,130,0.18);
} 

.news-admin-button {
  flex: 1 1 auto;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  font-weight: 800;
  font-size: 0.79rem;
  line-height: 1.1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.news-admin-button:hover {
  transform: translateY(-1px);
}

.news-admin-button .material-icons {
  font-size: 1.2rem;
}

.news-admin-button--edit {
  background: rgba(255,255,255,0.88);
  color: #0e1020;
  box-shadow: 0 10px 18px rgba(14, 16, 32, 0.12);
}

.news-admin-button--delete {
  background: rgba(255,255,255,0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.news-admin-button--delete:hover {
  background: rgba(14, 16, 32, 0.14);
}

@media (max-width: 640px) {
  .news-panel.news-drawer {
    width: calc(100vw - 10px);
  }

  .news-drawer-header {
    padding: 18px 16px 14px;
  }

  .news-list {
    padding: 14px;
    max-height: calc(100vh - 220px);
  }

  .news-header {
    flex-direction: column;
  }

  .news-meta {
    justify-content: flex-start;
    min-width: 0;
  }
}

.options-button {
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: var(--color-bar-fg);
  border: 2px solid color-mix(in srgb, var(--color-bar-fg) 85%, transparent);
  border-radius: var(--border-radius-sm);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.options-button:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--color-bar-accent);
  color: var(--color-bar-fg);
}

#login-section, #form-section {
  max-width: 500px;
  margin: 5vh auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-md);
  font-family: var(--font-family-base);
}

#login-section h2, #form-section h2 {
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 1.5rem;
}

#login-section input,
#form-section input,
#form-section textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-md);
  box-sizing: border-box;
}

#form-section textarea {
  min-height: 120px;
  resize: vertical;
}

#login-section button,
#form-section button {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-md);
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

#login-section button:hover,
#form-section button:hover {
  background-color: var(--color-royal);
}

#loginMessage,
#formMessage {
  text-align: center;
  font-weight: bold;
  margin-top: 1rem;
}

#formMessage {
  color: green;
}

.back-button {
  margin-top: 2rem;
  background-color: #f0f0f0;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 0.6rem 1.2rem;
  font-size: var(--font-size-md);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 100%;
}

.back-button:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.footer {
/*   background-color: var(--color-bar-bg);
  color: var(--color-bg-light);
  padding: var(--spacing-md); */
  box-shadow: 0 -2px 6px var(--color-shadow-light);
}

.footer a {
  color: white;
  text-decoration: underline;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-text {
  flex: 1 1 250px;
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.footer-logo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.footer-logo img {
  max-height: 40px;
  height: auto;
  width: auto;
  display: block;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
    padding: var(--spacing-md);
  }
  .news-panel {
  max-width: 100%;
  width: 100%;
  height: auto;
  position: relative;
  border-left: none;
  border-top: 1px solid var(--color-border-light);
}
}

/* Menu de navigation toujours visible en haut, responsive */
/* Always fixed navigation menu at the very top */
/* Unify .category-menu style for fixed top bar, no top/bottom space */
/*
.category-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 3000;
  background: var(--color-bar-bg, #0E1020);
  color: var(--color-bar-fg, #fff);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5em;
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  min-height: 48px;
  max-height: 64px;
  border-radius: 0;
} */
body {
  padding-top: 48px; /* Adjust to match menu height */
}
body {
  padding-top: 56px;
}
@media (max-width: 800px) {
  .category-menu {
    font-size: 0.98em;
    min-height: 44px;
    max-height: 56px;
  }
  body {
    padding-top: 44px;
  }
}
@media (max-width: 500px) {
  .category-menu {
    flex-wrap: wrap;
    gap: 0.2em;
    font-size: 0.93em;
    min-height: 38px;
    max-height: 48px;
  }
  body {
    padding-top: 38px;
  }
}


.news-panel.news-drawer {
  position: fixed !important;
  top: 56px !important;
  right: 0 !important;
  left: auto !important;
  width: 60vw !important;
  min-width: 620px !important;
  max-width: 800px !important;
  min-height: 88vh !important;
  height: 100% !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18) !important;
  border-left: 1px solid #ffc982 !important;
  border-radius: 16px 0 0 16px !important;
  z-index: 13010 !important;
  display: flex !important;
  flex-direction: column !important;
  transition: width 0.35s cubic-bezier(.4,0,.2,1), background 0.2s !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  pointer-events: auto !important;
}
@media (max-width: 800px) {
  .news-panel.news-drawer {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    left: 0 !important;
    border-radius: 0 !important;
  }
}

/* Hide embed close buttons (navigation is handled via the top menu / ESC) */
#close-powerbi-embed,
#close-powerapps-embed {
  display: none !important;
}

.powerful-landing .hero-section.section-scroll,
.powerful-landing .solutions-section.section-scroll {
  overflow: visible;
}

.powerful-landing .hero-section {
  min-height: 100vh;
}

.powerful-landing .solutions-section {
  min-height: 100vh;
}

/* === IDEA USE CASES (Video section) === */
.idea-usecases-section.section-scroll {
  padding: clamp(38px, 5vw, 72px) 0;
  justify-content: flex-start;
  overflow: visible;
}

.idea-usecases-container {
  width: min(1280px, 94vw);
  margin: 0 auto;
  text-align: center;
}

.idea-usecases-title {
  margin-bottom: 10px;
}

.idea-usecases-subtitle {
  margin: 0 auto clamp(18px, 3vw, 26px) auto;
  max-width: 920px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.35;
}

.idea-usecases-video-shell {
  position: relative;
  border-radius: 22px;
  padding: 14px;
  background:
    radial-gradient(900px 240px at 18% 0%, rgba(73,149,255,0.35), transparent 60%),
    radial-gradient(820px 260px at 85% 100%, rgba(255,201,130,0.30), transparent 60%),
    rgba(255,255,255,0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 90px rgba(0,0,0,0.46), 0 0 62px rgba(73,149,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.idea-usecases-video-shell::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 180deg, rgba(73,149,255,0.24), rgba(255,201,130,0.22), rgba(73,149,255,0.24));
  opacity: 0.42;
  filter: blur(14px) saturate(1.15);
  animation: ideaUsecasesGlow 7.2s linear infinite;
  pointer-events: none;
}

.idea-usecases-video-ratio {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
}

.idea-usecases-video-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
  background: #0e1020;
}

@keyframes ideaUsecasesGlow {
  0% { transform: translate3d(-10px, -8px, 0) rotate(0deg); }
  50% { transform: translate3d(10px, 8px, 0) rotate(180deg); }
  100% { transform: translate3d(-10px, -8px, 0) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .idea-usecases-video-shell::before {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .idea-constellation-section::before,
  .idea-constellation-section::after {
    animation: none !important;
  }
}