/*
 * Meilleur visual identity
 * Company palette: purple → violet → blue → cyan
 * Loaded after all existing website styles.
 */

:root {
  --meilleur-purple: #9b2cff;
  --meilleur-violet: #6637ff;
  --meilleur-blue: #176bff;
  --meilleur-cyan: #00c9f5;
  --meilleur-navy: #030718;
  --meilleur-navy-soft: #071126;
  --meilleur-ice: #eaf8ff;
  --meilleur-gradient: linear-gradient(
    115deg,
    var(--meilleur-purple) 0%,
    var(--meilleur-violet) 34%,
    var(--meilleur-blue) 68%,
    var(--meilleur-cyan) 100%
  );

  /* Existing design tokens receive the Meilleur identity. */
  --ink: var(--meilleur-navy);
  --panel: #0a1230;
  --line: rgba(84, 105, 230, 0.34);
  --cyan: var(--meilleur-cyan);

  --bento-bg: var(--meilleur-navy);
  --bento-bg-soft: var(--meilleur-navy-soft);
  --bento-panel: rgba(9, 15, 38, 0.84);
  --bento-panel-strong: rgba(12, 20, 48, 0.95);
  --bento-panel-glass: rgba(8, 14, 34, 0.72);
  --bento-line: rgba(150, 168, 255, 0.13);
  --bento-line-strong: rgba(78, 116, 255, 0.38);
  --bento-text: #f6f8ff;
  --bento-muted: #a8b2ce;
  --bento-cyan: var(--meilleur-cyan);
  --bento-cyan-soft: rgba(0, 201, 245, 0.14);
}

html {
  background: var(--meilleur-navy);
  scrollbar-color: var(--meilleur-blue) var(--meilleur-navy);
}

body.bento-shell {
  color: var(--bento-text);
  background:
    radial-gradient(circle at 7% -4%, rgba(155, 44, 255, 0.2), transparent 30rem),
    radial-gradient(circle at 94% 12%, rgba(23, 107, 255, 0.17), transparent 36rem),
    radial-gradient(circle at 52% 46%, rgba(0, 201, 245, 0.055), transparent 45rem),
    linear-gradient(180deg, #030718 0%, #070d22 46%, #030718 100%);
}

body.bento-shell::before {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(93, 115, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 115, 255, 0.024) 1px, transparent 1px);
}

body.bento-shell ::selection {
  color: #fff;
  background: rgba(102, 55, 255, 0.72);
}

/* Floating glass header */
body.bento-shell .site-header {
  border-color: rgba(107, 99, 255, 0.24) !important;
  background:
    linear-gradient(135deg, rgba(155, 44, 255, 0.06), rgba(23, 107, 255, 0.045)),
    rgba(4, 8, 24, 0.82) !important;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(0, 201, 245, 0.035) inset !important;
}

body.bento-shell .site-header.is-scrolled {
  border-color: rgba(74, 105, 255, 0.34) !important;
  background: rgba(3, 7, 24, 0.91) !important;
  box-shadow:
    0 18px 56px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(74, 80, 255, 0.08) !important;
}

body.bento-shell .nav-links a:hover,
body.bento-shell .nav-links a[aria-current="page"],
body.bento-shell .nav-addons > summary:hover,
body.bento-shell .nav-addons > summary[aria-current="page"] {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(155, 44, 255, 0.16), rgba(23, 107, 255, 0.15));
}

body.bento-shell .header-cta {
  border-color: rgba(81, 112, 255, 0.52);
  color: #fff;
  background:
    linear-gradient(110deg, rgba(155, 44, 255, 0.2), rgba(0, 201, 245, 0.13));
  box-shadow: 0 8px 22px rgba(39, 64, 255, 0.12);
}

body.bento-shell .header-cta:hover {
  border-color: rgba(0, 201, 245, 0.7);
  background:
    linear-gradient(110deg, rgba(155, 44, 255, 0.34), rgba(23, 107, 255, 0.29));
}

/* Main surfaces */
body.bento-shell .bento-page-heading,
body.bento-shell .bento-tile,
body.bento-shell .bento-copy,
body.bento-shell .home-hero-card,
body.bento-shell .home-monitor-card,
body.bento-shell .card,
body.bento-shell .module,
body.bento-shell .imprint,
body.bento-shell .demo-controls,
body.bento-shell .demo-panel {
  border-color: rgba(104, 119, 255, 0.19);
  background:
    linear-gradient(145deg, rgba(155, 44, 255, 0.045), transparent 36%),
    radial-gradient(circle at 94% 4%, rgba(23, 107, 255, 0.09), transparent 19rem),
    rgba(8, 14, 34, 0.86);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.27),
    0 0 0 1px rgba(0, 201, 245, 0.018) inset;
}

body.bento-shell .bento-page-heading::before,
body.bento-shell .bento-tile::before,
body.bento-shell .bento-copy::before {
  background:
    radial-gradient(circle at 7% 0%, rgba(155, 44, 255, 0.15), transparent 18rem),
    radial-gradient(circle at 95% 12%, rgba(0, 201, 245, 0.07), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.024), transparent 38%);
}

body.bento-shell .bento-page-heading::after {
  background:
    radial-gradient(circle, rgba(89, 62, 255, 0.25), rgba(0, 201, 245, 0.08) 38%, transparent 69%);
}

body.bento-shell .bento-grid--cards > :nth-child(4n + 2),
body.bento-shell .bento-grid--cards > :nth-child(4n + 3) {
  background:
    linear-gradient(145deg, rgba(23, 107, 255, 0.055), transparent 38%),
    radial-gradient(circle at 96% 4%, rgba(0, 201, 245, 0.07), transparent 18rem),
    rgba(8, 14, 34, 0.86);
}

body.bento-shell .bento-tile,
body.bento-shell .card,
body.bento-shell .module,
body.bento-shell .home-hero-card,
body.bento-shell .home-monitor-card {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

@media (hover: hover) {
  body.bento-shell .bento-tile:hover,
  body.bento-shell .card:hover,
  body.bento-shell .module:hover {
    border-color: rgba(78, 116, 255, 0.34);
    box-shadow:
      0 24px 68px rgba(0, 0, 0, 0.32),
      0 0 34px rgba(55, 77, 255, 0.07);
    transform: translateY(-2px);
  }
}

/* Typography and accents */
body.bento-shell .eyebrow,
body.bento-shell .home-hero-eyebrow,
body.bento-shell .home-monitor-eyebrow,
body.bento-shell .demo-kicker {
  color: #b47aff;
}

body.bento-shell .eyebrow::before {
  background: var(--meilleur-gradient);
}

body.bento-shell .hero h1 span,
body.bento-shell .page-heading h1 span,
body.bento-shell .section-heading h2 span,
body.bento-shell .feature-copy h2 span {
  color: transparent;
  background: var(--meilleur-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

body.bento-shell .home-hero-chip,
body.bento-shell .tag,
body.bento-shell .demo-badge,
body.bento-shell .module .status {
  border-color: rgba(92, 104, 255, 0.34);
  color: #ced5ff;
  background:
    linear-gradient(110deg, rgba(155, 44, 255, 0.1), rgba(23, 107, 255, 0.08));
}

/* Buttons */
body.bento-shell .button {
  border-color: rgba(109, 92, 255, 0.56);
  border-radius: 10px;
  color: #fff;
  background: var(--meilleur-gradient);
  box-shadow:
    0 12px 28px rgba(53, 56, 255, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.17) inset;
}

body.bento-shell .button:hover {
  color: #fff;
  border-color: rgba(0, 201, 245, 0.82);
  box-shadow:
    0 16px 36px rgba(72, 55, 255, 0.3),
    0 0 26px rgba(0, 201, 245, 0.1);
  transform: translateY(-1px);
}

body.bento-shell .button.secondary {
  color: #d8ddff;
  border-color: rgba(86, 107, 255, 0.4);
  background:
    linear-gradient(110deg, rgba(155, 44, 255, 0.085), rgba(23, 107, 255, 0.07));
  box-shadow: none;
}

body.bento-shell .button.secondary:hover {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(155, 44, 255, 0.19), rgba(23, 107, 255, 0.17));
}

/* Links, focus, media and footer */
body.bento-shell a {
  text-decoration-color: rgba(0, 201, 245, 0.42);
}

body.bento-shell .imprint a,
body.bento-shell .legal-page a,
body.bento-shell .site-footer a {
  color: #72dfff;
}

body.bento-shell :is(a, button, summary, [role="button"]):focus-visible {
  outline-color: var(--meilleur-cyan);
  box-shadow: 0 0 0 4px rgba(102, 55, 255, 0.19);
}

body.bento-shell .shot,
body.bento-shell .wide-shot,
body.bento-shell .report-shot,
body.bento-shell .phone-card,
body.bento-shell .home-proof-shot {
  border-color: rgba(83, 104, 255, 0.31);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(27, 84, 255, 0.045);
}

body.bento-shell .site-footer {
  position: relative;
  border-top-color: rgba(96, 113, 255, 0.22);
}

body.bento-shell .site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 8%;
  width: 84%;
  height: 1px;
  background: var(--meilleur-gradient);
  opacity: 0.58;
}

body.bento-shell .footer-brand img,
body.bento-shell .brand-lockup .brand-mark {
  filter:
    drop-shadow(0 7px 16px rgba(92, 48, 255, 0.26))
    drop-shadow(0 0 10px rgba(0, 201, 245, 0.08));
}

@media (max-width: 760px) {
  body.bento-shell {
    background:
      radial-gradient(circle at 4% -2%, rgba(155, 44, 255, 0.17), transparent 22rem),
      radial-gradient(circle at 96% 10%, rgba(23, 107, 255, 0.14), transparent 24rem),
      linear-gradient(180deg, #030718 0%, #070d22 48%, #030718 100%);
  }

  body.bento-shell .site-header {
    background: rgba(3, 7, 24, 0.93) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bento-shell .bento-tile,
  body.bento-shell .card,
  body.bento-shell .module,
  body.bento-shell .button {
    transition: none;
  }
}
