/* Market Kr — site vitrine (aligné design app desktop) */
:root {
  --bg-0: #070f1f;
  --bg-1: #0a1327;
  --bg-2: #0b162b;
  --panel: rgba(16, 28, 50, 0.72);
  --border: rgba(148, 163, 184, 0.18);
  --text: #dbe8ff;
  --muted: #8ea3c5;
  --accent: #1de9a1;
  --accent-2: #24d9ff;
  --accent-deep: #14c883;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-1);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* Fond dynamique façon app */
.mk-site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 18%, rgba(29, 233, 161, 0.09), transparent 38%),
    radial-gradient(circle at 82% 14%, rgba(36, 217, 255, 0.08), transparent 36%),
    linear-gradient(155deg, rgba(10, 20, 38, 0.98) 0%, rgba(8, 17, 33, 0.96) 100%);
  background-size: 140% 140%, 145% 145%, 100% 100%;
  animation: mk-site-flow 22s ease-in-out infinite;
}

@keyframes mk-site-flow {
  0%,
  100% {
    background-position: 0% 0%, 100% 0%, 0% 0%;
  }
  50% {
    background-position: 18% 12%, 82% 24%, 0% 0%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mk-site-bg {
    animation: none;
  }
}

body > header,
body > main,
body > footer {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(155deg, rgba(10, 20, 38, 0.94) 0%, rgba(8, 17, 33, 0.88) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(80, 111, 152, 0.25);
  box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.06);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #f3f8ff;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
  color: #fff;
}
.brand-text span {
  color: var(--accent);
}

/* Logo marque — animation « respiration » comme dans l’app */
.brand-logo,
.footer-logo {
  object-fit: contain;
  transform-origin: center;
  animation: mk-logo-breathe 2.6s ease-in-out infinite;
}

@keyframes mk-logo-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.09);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo,
  .footer-logo,
  .hero-brand-logo {
    animation: none;
  }
}

/* Même fichier + même rendu que l’app (Tailwind rounded-lg + object-contain) */
.mk-app-logo {
  border-radius: 0.5rem;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.header-lang {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-select {
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  min-width: 4.25rem;
}

.lang-select:hover {
  border-color: rgba(29, 233, 161, 0.4);
}

.lang-select:focus {
  outline: 2px solid rgba(29, 233, 161, 0.45);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.13s ease, filter 0.13s ease, box-shadow 0.18s ease;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.98rem;
  border-radius: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, #22e5a2 0%, #14c883 100%);
  color: #052414;
  box-shadow: 0 10px 32px rgba(29, 233, 161, 0.25);
}
.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(29, 233, 161, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(29, 233, 161, 0.45);
}
.btn-outline:hover {
  background: rgba(29, 233, 161, 0.08);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }
}

.hero-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1rem;
  color: #f3f8ff;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.lead strong {
  color: #c8daf5;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 32rem;
}

.herovisual,
.hero-visual {
  position: relative;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-brand-logo {
  width: min(340px, 70vw);
  max-width: 100%;
  height: auto;
  transform-origin: center;
  animation: mk-logo-breathe 2.8s ease-in-out infinite;
  filter: drop-shadow(0 12px 44px rgba(29, 233, 161, 0.22));
}

.hero-shots {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.shot-card {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
}

.shot-card img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.bg-deep {
  background: rgba(5, 10, 22, 0.5);
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.65rem;
  color: #f3f8ff;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  font-size: 1.02rem;
}

.section-sub strong {
  color: #b8cee8;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.glass-card {
  padding: 1.5rem 1.6rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
.glass-card h3 {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.glass-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Captures duo */
.captures-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .captures-duo {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.capture-frame {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(10, 18, 34, 0.85);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.capture-frame figcaption {
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.capture-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Discord : bloc discret, moins de place */
.discord-section {
  padding: 2rem 0 2.25rem;
}
.discord-section .section-title {
  font-size: clamp(1.12rem, 2.3vw, 1.42rem);
  margin-bottom: 0.35rem;
}
.discord-section .section-sub {
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.discord-showcase {
  margin: 0 auto;
  max-width: min(380px, 92vw);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(10, 18, 34, 0.5);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}
.discord-showcase img {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  object-position: center top;
}
.discord-showcase figcaption {
  padding: 0.35rem 0.55rem;
  font-size: 0.7rem;
  color: rgba(142, 163, 197, 0.85);
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(5, 10, 22, 0.32);
}

/* Carrousel comment */
.how-steps {
  max-width: 860px;
  margin: 0 auto;
}

.step-slide {
  display: none;
  animation: stepFade 0.45s ease;
}
.step-slide.active {
  display: block;
}

@keyframes stepFade {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.step-card .step-img-wrap {
  background: #060d1b;
  border-bottom: 1px solid var(--border);
  max-height: min(72vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card .step-img-wrap img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 620px);
  object-fit: contain;
}

.step-card .step-body {
  padding: 1.5rem 1.75rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #22e5a2, #14c883);
  color: #052414;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #f3f8ff;
}

.step-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.step-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.step-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(148, 163, 184, 0.35);
  cursor: pointer;
}
.step-dots button.active {
  background: var(--accent);
  transform: scale(1.2);
}

.step-nav {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}
.step-nav button {
  padding: 0.5rem 1.15rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-size: 0.88rem;
}
.step-nav button:hover {
  border-color: rgba(29, 233, 161, 0.45);
  color: var(--accent);
}

/* Examples */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.example-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease;
}
.example-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 233, 161, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.example-card > img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center;
  background: #060d1b;
}

.example-card .ex-body {
  padding: 1rem 1.15rem;
}
.example-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: #f3f8ff;
}
.example-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.feature-box {
  padding: 1.45rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(16, 28, 50, 0.55);
  backdrop-filter: blur(8px);
  transition: transform 0.17s ease;
}
.feature-box:hover {
  transform: translateY(-2px);
}

.feature-box h3 {
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}
.feature-box p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* CTA band */
.cta-band {
  padding: 3.5rem 0;
}

.cta-band-inner {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(14, 26, 48, 0.85) 0%, rgba(10, 20, 38, 0.78) 100%);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.cta-band-copy h2 {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
  color: #f3f8ff;
}

.cta-band-copy > p {
  color: var(--muted);
  max-width: 52rem;
  margin: 0 auto 1rem;
}

.cta-config-hint {
  font-size: 0.88rem;
  text-align: left;
  max-width: 42rem;
  margin: 0 auto 1.5rem !important;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf93 !important;
}

.cta-config-hint code {
  font-size: 0.8rem;
  word-break: break-all;
}

.cta-band-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Pricing */
.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 22px;
  border: 1px solid rgba(29, 233, 161, 0.35);
  background: linear-gradient(165deg, rgba(14, 26, 48, 0.9) 0%, rgba(10, 20, 38, 0.82) 100%);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.4);
}
.pricing-logo {
  display: block;
  margin: 0 auto 1rem;
  animation: mk-logo-breathe 3s ease-in-out infinite;
}
.pricing-card h2 {
  margin-bottom: 0.45rem;
  color: #f3f8ff;
}
.price-note {
  color: var(--muted);
  margin-bottom: 1.35rem;
  font-size: 0.95rem;
}

/* FAQ */
#faq {
  padding: 4rem 0 3rem;
}

.faq-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item button::after {
  content: "+";
  color: var(--accent);
  font-size: 1.2rem;
}
.faq-item.open button::after {
  content: "−";
}
.faq-answer {
  display: none;
  padding-top: 0.65rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(80, 111, 152, 0.22);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner {
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.footer-meta {
  margin: 0.5rem 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
