/* Predix landing — premium (Linear / Polymarket inspired) */

.landing {
  --lp-bg: #030308;
  --lp-surface: rgba(255, 255, 255, 0.04);
  --lp-border: rgba(255, 255, 255, 0.08);
  --lp-violet: #8b5cf6;
  --lp-cyan: #22d3ee;
  --lp-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --lp-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 100vh;
  background: var(--lp-bg);
  color: #fff;
  overflow-x: hidden;
}

.landing > *:not(.landing__bg):not(.public-nav-portal) {
  position: relative;
  z-index: 1;
}

.landing > .public-nav-portal {
  position: relative;
  z-index: 10000;
  isolation: isolate;
}

.landing-flash {
  max-width: 40rem;
  margin: 1rem auto 0;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: center;
}

.landing-flash--ok {
  background: hsl(142 76% 36% / 0.15);
  border: 1px solid hsl(142 76% 45% / 0.35);
  color: #bbf7d0;
}

/* ─── Background ─── */
.landing__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.landing__noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.landing__spotlight {
  position: absolute;
  width: 800px;
  height: 800px;
  margin: -400px 0 0 -400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.landing__spotlight.is-on {
  opacity: 1;
}

.landing__aurora {
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 50% 40% at 15% 10%, rgba(124, 58, 237, 0.45), transparent 50%),
    radial-gradient(ellipse 45% 35% at 85% 15%, rgba(6, 182, 212, 0.25), transparent 45%),
    radial-gradient(ellipse 55% 45% at 50% 100%, rgba(167, 139, 250, 0.2), transparent 50%);
  animation: lp-aurora 20s ease-in-out infinite alternate;
}

.landing__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 80px 120px, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 160px 60px, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.5px 1.5px at 240px 180px, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 320px 90px, rgba(255,255,255,0.35), transparent);
  background-size: 400px 220px;
  animation: lp-stars-drift 80s linear infinite;
  opacity: 0.6;
}

.landing__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black, transparent 80%);
}

/* ─── Navbar publique sur landing (même composant que actus / comment ça marche) ─── */
.landing .public-header--site {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.75rem 0.85rem;
  padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
  pointer-events: auto;
}

@media (max-width: 900px) {
  .landing .public-header--site {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
}

.landing .public-header--site .public-header__inner {
  pointer-events: auto;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.45rem 0.5rem 0.45rem 0.85rem;
  overflow: visible;
  border-radius: 9999px;
  border: 1px solid transparent;
  transition:
    background 0.45s var(--lp-ease),
    border-color 0.45s var(--lp-ease),
    box-shadow 0.45s var(--lp-ease);
}

.landing .public-header__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.landing .public-header__logo,
.landing .public-header__brand img {
  display: block;
  width: auto;
  max-width: 7.5rem;
  max-height: 2rem;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .landing .public-header__logo,
  .landing .public-header__brand img {
    max-width: 6.25rem;
    max-height: 1.85rem;
  }
}

/* Fond sombre : un seul logo (PNG transparent), jamais la paire clair/sombre */
.landing .public-header__brand .predix-brand-wrap .predix-brand-img--light {
  display: none !important;
}

.landing .public-header__brand .predix-brand-wrap .predix-brand-img--dark {
  display: block !important;
}

.landing .public-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.25rem 0.5rem;
  min-width: 0;
}

.landing .public-header__link--login {
  white-space: nowrap;
}

.landing .public-header__cta {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
}

.landing .public-header__menu-panel {
  background: rgba(8, 8, 20, 0.98);
  border-color: var(--lp-border);
}

.landing .public-header__menu-btn.is-open {
  color: #fff;
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(167, 139, 250, 0.14);
}

.landing .public-header--site:not(.is-scrolled) .public-header__menu-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.landing .public-header--site:not(.is-scrolled) .public-header__inner {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.landing .public-header--site.is-scrolled .public-header__inner {
  background: rgba(8, 8, 20, 0.92);
  border-color: var(--lp-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (min-width: 901px) {
  .landing .public-header--site.is-scrolled .public-header__inner {
    backdrop-filter: blur(24px) saturate(1.4);
  }
}

/* ─── Header (pill) — legacy landing-header ─── */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.landing-header__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 72rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  transition: all 0.45s var(--lp-ease);
}

.landing-header--scrolled .landing-header__inner {
  background: rgba(8, 8, 20, 0.75);
  backdrop-filter: blur(24px) saturate(1.4);
  border-color: var(--lp-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.landing-header__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
}

.landing-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.landing-header__logo--sm .landing-header__logo-img {
  width: auto;
  max-width: 6.5rem;
  max-height: 1.85rem;
  height: auto;
  object-fit: contain;
}

.landing-header__logo-img {
  display: block;
  width: auto;
  max-width: 8.5rem;
  max-height: 2.35rem;
  height: auto;
  object-fit: contain;
}

.landing-hero__logo {
  display: block;
  width: auto;
  max-width: 9rem;
  max-height: 2.5rem;
  height: auto;
  object-fit: contain;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0 20px hsl(259 94% 65% / 0.35));
}

.landing-header__name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.landing-header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.landing-header__link {
  display: none;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-radius: 9999px;
  transition: color 0.2s, background 0.2s;
}

.landing-header__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .landing-header__link--anchor {
    display: inline-block;
  }
}

/* ─── Buttons ─── */
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--lp-ease), box-shadow 0.3s, background 0.3s;
}

.landing-btn--sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.8125rem;
  border-radius: 9999px;
}

.landing-btn--xl {
  padding: 1rem 1.75rem;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 1rem;
}

.landing-btn--primary {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 40%, #0891b2 100%);
  background-size: 200% 200%;
  animation: lp-btn-grad 8s ease infinite;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.landing-btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: lp-shine 4s ease-in-out infinite;
}

.landing-btn--glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.55), 0 0 60px rgba(139, 92, 246, 0.25);
}

.landing-btn--glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.landing-btn--glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

/* ─── Hero ─── */
.landing-hero {
  padding: calc(5.75rem + env(safe-area-inset-top, 0px)) 1.25rem 2.75rem;
  max-width: 76rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .landing-hero {
    padding: calc(7.25rem + env(safe-area-inset-top, 0px)) 1.25rem 4rem;
  }
}

.landing-hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .landing-hero__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem;
  }
}

.landing-hero__copy {
  text-align: center;
}

@media (min-width: 1024px) {
  .landing-hero__copy {
    text-align: left;
  }
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.5rem;
  padding: 0.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lp-border);
  opacity: 0;
  animation: lp-up 0.9s var(--lp-ease) 0.05s forwards;
}

.landing-badge__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
  border-radius: 9999px;
}

.landing-badge__live span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: lp-pulse 1.5s ease infinite;
}

.landing-badge__text {
  padding: 0 0.85rem 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.landing-hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 6.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.landing-hero__line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: lp-up 0.9s var(--lp-ease) forwards;
}

.landing-hero__line:nth-child(1) { animation-delay: 0.12s; }
.landing-hero__line:nth-child(2) { animation-delay: 0.24s; }
.landing-hero__line:nth-child(3) { animation-delay: 0.36s; }

.landing-hero__line--accent {
  background: linear-gradient(135deg, #e9d5ff 0%, #a78bfa 40%, #22d3ee 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-gradient-text {
  background: linear-gradient(120deg, #c4b5fd, #a78bfa, #22d3ee, #67e8f9);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: lp-text-flow 6s linear infinite;
}

.landing-hero__sub {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  animation: lp-up 0.9s var(--lp-ease) 0.48s forwards;
}

@media (min-width: 1024px) {
  .landing-hero__sub {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 1023px) {
  .landing-hero__sub {
    margin-left: auto;
    margin-right: auto;
  }
}

.landing-hero__legal-note {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.38);
}

.landing-hero__legal-note a {
  color: #a78bfa;
  text-decoration: underline;
}

.landing-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: lp-up 0.9s var(--lp-ease) 0.58s forwards;
}

@media (min-width: 1024px) {
  .landing-hero__cta {
    justify-content: flex-start;
  }
}

.landing-hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  animation: lp-up 0.9s var(--lp-ease) 0.68s forwards;
}

@media (min-width: 1024px) {
  .landing-hero__trust {
    justify-content: flex-start;
  }
}

.landing-avatars {
  display: flex;
}

.landing-avatars span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-left: -0.5rem;
  font-size: 0.625rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: 2px solid var(--lp-bg);
  border-radius: 50%;
}

.landing-avatars span:first-child {
  margin-left: 0;
}

.landing-avatars span:last-child {
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.5625rem;
}

.landing-hero__trust p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.landing-hero__trust strong {
  color: rgba(255, 255, 255, 0.85);
}

/* ─── Mockup ─── */
.landing-hero__visual {
  position: relative;
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  animation: lp-mockup-in 1.2s var(--lp-ease) 0.5s forwards;
}

.landing-mockup {
  position: relative;
  border-radius: 1.25rem;
  padding: 1px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.6), rgba(255,255,255,0.08) 40%, rgba(34, 211, 238, 0.4));
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.landing-mockup__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background: rgba(12, 12, 24, 0.95);
  border-radius: 1.2rem 1.2rem 0 0;
}

.landing-mockup__chrome span:nth-child(1) { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.landing-mockup__chrome span:nth-child(2) { width: 10px; height: 10px; border-radius: 50%; background: #eab308; }
.landing-mockup__chrome span:nth-child(3) { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }

.landing-mockup__url {
  margin-left: auto;
  font-size: 0.6875rem;
  font-family: 'Space Mono', monospace;
  color: rgba(255, 255, 255, 0.35);
}

.landing-mockup__body {
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(14, 14, 28, 0.98) 0%, rgba(8, 8, 18, 0.99) 100%);
  border-radius: 0 0 1.2rem 1.2rem;
}

.landing-mockup__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.landing-mockup__label {
  margin: 0;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.landing-mockup__balance {
  margin: 0.15rem 0 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.landing-mockup__balance small {
  font-size: 0.75rem;
  font-weight: 600;
  color: #a78bfa;
}

.landing-mockup__live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.625rem;
  font-weight: 800;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.15);
  border-radius: 9999px;
}

.landing-mockup__live-pill span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef4444;
  animation: lp-pulse 1.2s ease infinite;
}

.landing-mockup__card {
  border-radius: 0.85rem;
  border: 1px solid var(--lp-border);
  background: rgba(255, 255, 255, 0.03);
}

.landing-mockup__card--hero {
  padding: 1rem;
  margin-bottom: 0.65rem;
}

.landing-mockup__card-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.5rem;
}

.landing-mockup__q {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}

.landing-mockup__odds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.landing-mockup__btn {
  padding: 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: inherit;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  cursor: default;
}

.landing-mockup__btn--yes {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(52, 211, 153, 0.35);
}

.landing-mockup__btn--no {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(251, 113, 133, 0.3);
}

.landing-mockup__timer {
  font-size: 0.8125rem;
  color: #22d3ee;
}

.landing-mockup__card--mini {
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.45rem;
}

.landing-mockup__card--mini p {
  margin: 0.2rem 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.landing-mockup__mini-cat {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.landing-mockup__mini-bar {
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.landing-mockup__mini-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: var(--yes, 50%);
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: inherit;
}

.landing-mockup__chart {
  margin-top: 0.75rem;
  height: 48px;
  opacity: 0.85;
}

.landing-mockup__chart svg {
  width: 100%;
  height: 100%;
}

.landing-mockup__chart-line {
  animation: lp-chart-fill 2s var(--lp-ease) 1.2s forwards;
  opacity: 0;
}

.landing-mockup__chart-stroke {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: lp-chart-draw 2.2s var(--lp-ease) 1s forwards;
}

.landing-mockup__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255,255,255,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.landing-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(12, 12, 28, 0.9);
  border: 1px solid var(--lp-border);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  animation: lp-float 5s ease-in-out infinite;
}

.landing-float-card i {
  color: #34d399;
}

.landing-float-card--1 {
  top: 8%;
  right: -4%;
  animation-delay: 0s;
}

.landing-float-card--2 {
  bottom: 18%;
  left: -6%;
  animation-delay: -2.5s;
}

.landing-float-card--2 i {
  color: #a78bfa;
}

.landing-float-card--3 {
  top: 42%;
  left: -8%;
  animation-delay: -4.5s;
}

.landing-float-card--3 i {
  color: #fbbf24;
}

@media (max-width: 1023px) {
  .landing-float-card {
    display: none;
  }
}

/* Pills */
.landing-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.landing-pill {
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lp-border);
  border-radius: 9999px;
  transition: all 0.25s var(--lp-ease);
}

.landing-pill:hover {
  color: #fff;
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.12);
  transform: translateY(-2px);
}

/* Marquee */
.landing-marquee {
  margin: 2rem 0;
  padding: 1rem 0;
  border-block: 1px solid var(--lp-border);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.landing-marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: lp-marquee 45s linear infinite;
}

.landing-marquee__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}

.landing-marquee__item strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.landing-marquee__item em {
  font-style: normal;
  color: #a78bfa;
  font-weight: 600;
}

.landing-marquee__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.625rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-radius: 50%;
}

/* Stats bar */
.landing-stats {
  padding: 3rem 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
}

.landing-stats__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 2rem 2.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--lp-border);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width: 640px) {
  .landing-stats__bar {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
  }
}

.landing-stat {
  text-align: center;
  flex: 1;
  min-width: 5rem;
}

.landing-stat__val {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-stat__lbl {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}

.landing-stat__divider {
  display: none;
  width: 1px;
  height: 2.5rem;
  background: var(--lp-border);
}

@media (min-width: 640px) {
  .landing-stat__divider {
    display: block;
  }
}

/* Section heads */
.landing-section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.landing-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a78bfa;
}

.landing-section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.landing-section-head p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
}

/* Bento */
.landing-bento {
  padding: 4rem 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}

.landing-bento__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .landing-bento__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .landing-bento__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .landing-bento__card--large {
    grid-row: span 2;
  }
}

.landing-bento__card {
  position: relative;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  overflow: hidden;
  transition: transform 0.4s var(--lp-ease), border-color 0.3s, box-shadow 0.3s;
}

.landing-bento__card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.landing-bento__card--cyan::before { background: radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.15), transparent 55%); }
.landing-bento__card--amber::before { background: radial-gradient(circle at 100% 0%, rgba(251, 191, 36, 0.12), transparent 55%); }
.landing-bento__card--emerald::before { background: radial-gradient(circle at 0% 100%, rgba(52, 211, 153, 0.12), transparent 55%); }
.landing-bento__card--violet::before { background: radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.15), transparent 55%); }
.landing-bento__card--rose::before { background: radial-gradient(circle at 50% 0%, rgba(251, 113, 133, 0.1), transparent 55%); }
.landing-bento__card--blue::before { background: radial-gradient(circle at 50% 100%, rgba(96, 165, 250, 0.12), transparent 55%); }
.landing-bento__card--indigo::before { background: radial-gradient(circle at 0% 50%, rgba(99, 102, 241, 0.14), transparent 55%); }
.landing-bento__card--teal::before { background: radial-gradient(circle at 100% 50%, rgba(45, 212, 191, 0.12), transparent 55%); }

.landing-bento__card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.landing-bento__card:hover::before {
  opacity: 1;
}

.landing-bento__tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.35rem;
}

.landing-bento__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--lp-border);
  background: rgba(0, 0, 0, 0.25);
  color: #a78bfa;
}

.landing-bento__card--cyan .landing-bento__icon { color: #22d3ee; }
.landing-bento__card--amber .landing-bento__icon { color: #fbbf24; }
.landing-bento__card--emerald .landing-bento__icon { color: #34d399; }
.landing-bento__card--indigo .landing-bento__icon { color: #818cf8; }
.landing-bento__card--teal .landing-bento__icon { color: #2dd4bf; }

.landing-bento__card h3 {
  position: relative;
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 800;
}

.landing-bento__card p {
  position: relative;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
}

.landing-bento__card--large p {
  font-size: 0.9375rem;
  max-width: 20rem;
}

/* Steps */
.landing-steps {
  padding: 4rem 1.25rem;
  max-width: 64rem;
  margin: 0 auto;
}

.landing-steps__track {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .landing-steps__track {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .landing-steps__track {
    grid-template-columns: repeat(4, 1fr);
  }
}

.landing-step {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  transition: transform 0.35s var(--lp-ease);
}

.landing-step:hover {
  transform: translateY(-4px);
}

.landing-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
}

.landing-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 800;
}

.landing-step p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
}

/* Quotes */
.landing-quotes {
  padding: 2rem 1.25rem 4rem;
  max-width: 64rem;
  margin: 0 auto;
}

.landing-quotes__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .landing-quotes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .landing-quotes__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.landing-quote {
  margin: 0;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--lp-border);
  transition: border-color 0.3s;
}

.landing-quote:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

.landing-quote p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.landing-quote footer {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
}

/* CTA */
.landing-cta {
  padding: 2rem 1.25rem 5rem;
  max-width: 44rem;
  margin: 0 auto;
}

.landing-cta__box {
  position: relative;
  padding: 3.5rem 2rem;
  text-align: center;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(12, 10, 28, 0.8);
}

.landing-cta__glow {
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 0deg, transparent, rgba(139, 92, 246, 0.2), transparent, rgba(34, 211, 238, 0.15), transparent);
  animation: lp-spin 14s linear infinite;
}

.landing-cta__inner {
  position: relative;
  z-index: 1;
}

.landing-cta__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #a78bfa;
}

.landing-cta__box h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.landing-cta__box > .landing-cta__inner > p:nth-of-type(1) {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.landing-cta__fine {
  margin: 1.25rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.landing-cta .landing-btn--xl {
  max-width: 100%;
  box-sizing: border-box;
}

/* CTA — mobile (évite débordement + zoom bouton) */
@media (max-width: 639px) {
  .landing-cta {
    padding: 1.5rem 1rem 3.5rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .landing-cta__box {
    padding: 2rem 1.15rem;
    border-radius: 1.35rem;
  }

  .landing-cta__glow {
    inset: 0;
    animation: none;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139, 92, 246, 0.25), transparent 70%);
  }

  .landing-cta__inner {
    max-width: 100%;
    min-width: 0;
  }

  .landing-cta__box h2 {
    font-size: 1.4rem;
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .landing-cta__box > .landing-cta__inner > p:nth-of-type(1) {
    margin-bottom: 1.35rem;
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .landing-cta .landing-btn--xl {
    display: flex;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    padding: 0.95rem 1.15rem;
    font-size: max(16px, 0.9375rem);
    border-radius: 0.85rem;
  }

  .landing-cta .landing-btn--xl i {
    flex-shrink: 0;
  }

  .landing-cta__fine {
    font-size: 0.7rem;
    line-height: 1.45;
  }
}

/* Footer : voir assets/css/site-footer.css */

/* Reveal */
.landing-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--lp-ease), transform 0.75s var(--lp-ease);
}

.landing-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.landing-reveal--delay-1 { transition-delay: 0.08s; }
.landing-reveal--delay-2 { transition-delay: 0.16s; }
.landing-reveal--delay-3 { transition-delay: 0.24s; }

/* Keyframes */
@keyframes lp-aurora {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(2%, 3%) rotate(2deg); }
}

@keyframes lp-stars-drift {
  0% { transform: translateY(0); }
  100% { transform: translateY(-220px); }
}

@keyframes lp-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lp-mockup-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes lp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes lp-btn-grad {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes lp-shine {
  0% { transform: translateX(-100%); }
  45%, 100% { transform: translateX(100%); }
}

@keyframes lp-text-flow {
  to { background-position: 200% center; }
}

@keyframes lp-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes lp-spin {
  to { transform: rotate(360deg); }
}

@keyframes lp-chart-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes lp-chart-fill {
  to { opacity: 1; }
}

/* ─── Sondages anonymes (landing) ─── */
.landing-ngl {
  padding: 3.5rem 1.25rem 4rem;
  max-width: 72rem;
  margin: 0 auto;
}

.landing-ngl__wrap {
  position: relative;
}

.landing-ngl__glow {
  position: absolute;
  inset: -20% 10% auto;
  height: 70%;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(139, 92, 246, 0.22), transparent 70%);
  pointer-events: none;
}

.landing-ngl__grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--lp-border);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (min-width: 900px) {
  .landing-ngl__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    padding: 2.5rem 2.75rem;
  }
}

.landing-ngl__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.landing-ngl__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lp-border);
  border-radius: 9999px;
}

.landing-ngl__badge--shield {
  color: #e9d5ff;
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.12);
}

.landing-ngl__badge i {
  opacity: 0.9;
}

.landing-ngl__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.landing-ngl__lead {
  margin: 0 0 1.25rem;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.landing-ngl__perks {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.landing-ngl__perks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.landing-ngl__perks i {
  color: #a78bfa;
  flex-shrink: 0;
}

.landing-ngl__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
  max-width: 22rem;
}

.landing-ngl__actions .landing-btn {
  width: 100%;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 800;
  border-radius: 0.9rem;
}

.landing-ngl__actions .landing-btn--glass {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.landing-ngl__actions .landing-btn--glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(167, 139, 250, 0.35);
  transform: translateY(-2px);
}

.landing-ngl__actions .landing-btn--primary {
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.45);
}

@media (min-width: 540px) {
  .landing-ngl__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    max-width: none;
  }

  .landing-ngl__actions .landing-btn {
    width: auto;
    min-width: 11rem;
  }
}

.landing-ngl__device {
  position: relative;
  max-width: 22rem;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 900px) {
  .landing-ngl__device {
    margin: 0 0 0 auto;
  }
}

.landing-ngl__device-frame {
  border-radius: 1.25rem;
  padding: 1px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.55), rgba(236, 72, 153, 0.25) 45%, rgba(34, 211, 238, 0.35));
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.landing-ngl__device-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  background: rgba(10, 10, 20, 0.95);
  border-radius: 1.2rem 1.2rem 0 0;
}

.landing-ngl__device-chrome span:nth-child(1) { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.landing-ngl__device-chrome span:nth-child(2) { width: 8px; height: 8px; border-radius: 50%; background: #eab308; }
.landing-ngl__device-chrome span:nth-child(3) { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }

.landing-ngl__device-url {
  margin-left: auto;
  font-size: 0.625rem;
  font-family: 'Space Mono', ui-monospace, monospace;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

.landing-ngl__device-body {
  padding: 1.15rem 1.2rem 1.25rem;
  background: linear-gradient(180deg, rgba(14, 14, 28, 0.98), rgba(8, 8, 18, 0.99));
  border-radius: 0 0 1.2rem 1.2rem;
}

.landing-ngl__poll-label {
  margin: 0 0 0.5rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f9a8d4;
}

.landing-ngl__poll-q {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.landing-ngl__poll-bar {
  display: flex;
  height: 2rem;
  border-radius: 0.65rem;
  overflow: hidden;
  font-size: 0.6875rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.landing-ngl__poll-yes {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  color: #fff;
  background: linear-gradient(90deg, #059669, #34d399);
}

.landing-ngl__poll-no {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(90deg, #e11d48, #fb7185);
}

.landing-ngl__poll-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.landing-ngl__float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(12, 12, 24, 0.92);
  border: 1px solid var(--lp-border);
  border-radius: 9999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  animation: lp-float-y 4s ease-in-out infinite;
}

.landing-ngl__float--wa {
  right: -0.25rem;
  bottom: 1.25rem;
}

@media (min-width: 900px) {
  .landing-ngl__float--wa {
    right: -1.25rem;
  }
}

@keyframes lp-float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .landing-ngl__float {
    animation: none;
  }
}

/* ——— Marchés publics (landing) ——— */
.landing-markets {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1rem 4rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .landing-markets {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.landing-markets__wrap {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.landing-section-head .landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.landing-markets-live {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.14) 0%, rgba(124, 58, 237, 0.08) 100%);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.25s var(--lp-ease), border-color 0.25s, box-shadow 0.25s;
}

@media (min-width: 640px) {
  .landing-markets-live {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
  }
}

.landing-markets-live:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 20px 48px rgba(6, 182, 212, 0.12);
}

.landing-markets-live__pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f87171;
}

.landing-markets-live__pulse span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.8);
  animation: lp-live-pulse 1.4s ease-in-out infinite;
}

@keyframes lp-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.landing-markets-live__label {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(34, 211, 238, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.landing-markets-live__title {
  margin: 0;
  font-family: var(--lp-display, 'Space Grotesk', sans-serif);
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.landing-markets-live__hint {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.landing-markets-live__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.65rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #0a0a0f;
  background: linear-gradient(135deg, #22d3ee, #67e8f9);
  white-space: nowrap;
}

.landing-markets__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 520px) {
  .landing-markets__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 960px) {
  .landing-markets__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .landing-market-card--featured {
    grid-column: span 2;
  }
}

.landing-market-card {
  position: relative;
  display: block;
  border-radius: 1.15rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.2);
  background: rgba(12, 12, 22, 0.88);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.28s var(--lp-ease),
    border-color 0.28s,
    box-shadow 0.28s;
  -webkit-tap-highlight-color: transparent;
}

.landing-market-card--featured {
  border-color: rgba(167, 139, 250, 0.38);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.12) 0%, rgba(12, 12, 22, 0.95) 55%);
}

.landing-market-card__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(167, 139, 250, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.landing-market-card:hover .landing-market-card__glow,
.landing-market-card:focus-visible .landing-market-card__glow {
  opacity: 1;
}

.landing-market-card:hover,
.landing-market-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 18px 44px rgba(124, 58, 237, 0.18);
}

.landing-market-card:focus-visible {
  outline: 2px solid rgba(167, 139, 250, 0.8);
  outline-offset: 3px;
}

.landing-market-card__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem 1.15rem;
  min-height: 100%;
}

.landing-market-card--featured .landing-market-card__inner {
  padding: 1.25rem 1.35rem 1.3rem;
}

@media (min-width: 960px) {
  .landing-market-card--featured .landing-market-card__title {
    font-size: 1.2rem;
  }
}

.landing-market-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.landing-market-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
}

.landing-market-card__dur {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-market-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing-market-card:hover .landing-market-card__title {
  color: #e9d5ff;
}

.landing-market-card__odds {
  display: flex;
  height: 2.35rem;
  border-radius: 0.65rem;
  overflow: hidden;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1;
}

.landing-market-card__odds-yes,
.landing-market-card__odds-no {
  display: flex;
  align-items: center;
  min-width: 2.5rem;
  padding: 0 0.45rem;
  white-space: nowrap;
}

.landing-market-card__odds-yes {
  justify-content: flex-start;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.55), rgba(34, 197, 94, 0.35));
  color: #ecfdf5;
}

.landing-market-card__odds-no {
  justify-content: flex-end;
  margin-left: auto;
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.35), rgba(244, 63, 94, 0.55));
  color: #fff1f2;
}

.landing-market-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
}

.landing-market-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.landing-market-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #c4b5fd;
  transition: gap 0.2s, color 0.2s;
}

.landing-market-card:hover .landing-market-card__cta {
  gap: 0.55rem;
  color: #e9d5ff;
}

.landing-markets__foot {
  text-align: center;
  padding: 0.5rem 0 0;
}

.landing-markets__count {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

.landing-markets__count strong {
  color: #fff;
}

.landing-markets__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
}

.landing-markets__actions .landing-btn {
  position: relative;
  z-index: 0;
  width: 100%;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.4rem;
  font-size: 0.9375rem;
  font-weight: 800;
  border-radius: 0.9rem;
  line-height: 1.2;
  text-align: center;
  box-sizing: border-box;
}

.landing-markets__actions .landing-btn i,
.landing-markets__actions .landing-btn svg {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.landing-markets__actions .landing-btn--glass {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.landing-markets__actions .landing-btn--glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(167, 139, 250, 0.35);
  transform: translateY(-2px);
}

.landing-markets__actions .landing-btn--primary {
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.45);
}

.landing-markets__actions .landing-btn--primary:hover {
  transform: translateY(-2px) scale(1.01);
}

@media (min-width: 540px) {
  .landing-markets__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: none;
    gap: 0.75rem;
  }

  .landing-markets__actions .landing-btn {
    width: auto;
    min-width: 12.5rem;
    flex: 0 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-markets-live__pulse span {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .landing-reveal {
    opacity: 1;
    transform: none;
  }

  .landing__spotlight {
    display: none;
  }
}
