*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: #1f2937;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.lang-bar {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 40px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  backdrop-filter: blur(12px);
}

.lang-bar button {
  border: 0;
  border-radius: 30px;
  background: none;
  color: #6b7280;
  cursor: pointer;
  font: 600 .85rem "Inter", sans-serif;
  padding: 6px 14px;
}

.lang-bar button.active {
  background: #7c3aed;
  color: #fff;
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  background:
    radial-gradient(circle at 80% 10%, rgba(124, 58, 237, .12), transparent 34%),
    radial-gradient(circle at 10% 85%, rgba(192, 132, 252, .12), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #f5f3ff 50%, #ede9fe 100%);
}

.hero-content {
  max-width: 840px;
  text-align: center;
}

.hero-content > * {
  opacity: 0;
  animation: hero-in .5s cubic-bezier(.22, .61, .36, 1) forwards;
}

.hero-content > :nth-child(1) { animation-delay: .1s; }
.hero-content > :nth-child(2) { animation-delay: .25s; }
.hero-content > :nth-child(3) { animation-delay: .4s; }
.hero-content > :nth-child(4) { animation-delay: .55s; }
.hero-content > :nth-child(5) { animation-delay: .7s; }

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 6px 18px 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
  color: #6b7280;
  font-size: .82rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero h1 {
  margin-bottom: 20px;
  color: #0f172a;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
}

mark {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 620px;
  margin: 0 auto 40px;
  color: #64748b;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  padding: 16px 36px;
  border: 0;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 4px 20px rgba(124, 58, 237, .35);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(124, 58, 237, .5);
}

.btn-outline {
  padding: 15px 30px;
  border: 1.5px solid #d1d5db;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
  color: #475569;
  font-size: 1rem;
  font-weight: 500;
}

.btn-outline:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.btn-outline.dark {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.btn-outline.dark:hover {
  border-color: rgba(255, 255, 255, .48);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: #94a3b8;
  font-size: .85rem;
}

section {
  padding: 96px 24px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #7c3aed;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 16px;
  color: #111827;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
}

.section-sub {
  max-width: 620px;
  margin-bottom: 48px;
  color: #6b7280;
  font-size: 1.05rem;
}

.features-section,
.req-section {
  background: #fff;
}

.features-grid,
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card,
.req-item {
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  background: #f9fafb;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.feature-card {
  padding: 32px 28px;
}

.feature-card:hover,
.req-item:hover {
  border-color: #e5e7eb;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
}

.feature-card h3 {
  margin-bottom: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.feature-card p {
  color: #6b7280;
  font-size: .9rem;
}

.screenshots-section {
  background: #f9fafb;
}

.screenshots-grid {
  display: grid;
  gap: 24px;
}

.screenshot-card {
  padding: 20px;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: box-shadow .25s, transform .25s;
}

.screenshot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

.screenshot-card img {
  width: 100%;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 104px 24px;
  background: linear-gradient(135deg, rgb(11, 18, 32) 0%, rgb(17, 24, 39) 100%);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
}

.cta-section p {
  max-width: 540px;
  margin: 0 auto 36px;
  color: #9da4b0;
  font-size: 1.05rem;
}

code {
  color: #c4b5fd;
}

.req-item {
  padding: 20px;
}

.req-item .lbl {
  color: #9ca3af;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.req-item .val {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 500;
}

.footer {
  padding: 32px 24px;
  border-top: 1px solid #f3f4f6;
  background: #f9fafb;
  color: #9ca3af;
  font-size: .82rem;
  text-align: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .85);
  opacity: 0;
  transition: opacity .3s;
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  font: 2rem "Inter", sans-serif;
  opacity: .75;
}

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
}

.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(.92); }

.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

[lang="fr"] .lang-en,
[lang="en"] .lang-fr {
  display: none;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 20px 60px;
  }

  .hero p {
    font-size: 1rem;
  }

  section,
  .cta-section {
    padding: 64px 20px;
  }

  .lang-bar {
    top: 16px;
    right: 16px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }
}
