:root {
  --color-bg: #000000;
  --color-surface: #0a0a0a;
  --color-surface-hover: #121212;
  --color-border: rgba(255, 255, 255, 0.15);
  --color-border-hover: rgba(255, 255, 255, 0.3);
  --color-text: #ffffff;
  --color-text-muted: #9e9e9e;
  --color-primary: #a855f7;
  --color-primary-light: rgba(168, 85, 247, 0.15);
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
}

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

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
  width: 0px;
  background: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.video-bg-container {
  position: absolute;
  top: 69px; /* Hauteur approximative du header (16px padding-top + 36px image + 16px padding-bottom + 1px border) */
  left: 0;
  width: 100%;
  height: calc(800px - 69px);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 60%, var(--color-bg) 100%);
}

.header {
  padding: 16px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.header-actions {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-text);
}

.main-content {
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  position: relative;
  z-index: 10;
}

.hero-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 650px;
  font-weight: 400;
}

.trusted-section {
  text-align: center;
  padding: 20px 0 40px 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.trusted-title {
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trusted-logo {
  height: 40px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  filter: brightness(0) invert(1);
}

.trusted-logo:hover {
  opacity: 1;
}

.app-showcase-section {
  padding: 120px 24px;
}

.app-showcase-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.app-showcase-content {
  flex: 1;
}

.app-showcase-content .section-title {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.app-showcase-content .section-subtitle {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 32px !important;
}

.app-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.app-feature-list li {
  color: var(--color-text-muted);
  font-size: 19px;
  padding-left: 32px;
  position: relative;
}

.app-feature-list li::before {
  content: "•";
  color: var(--color-primary);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  font-size: 28px;
  line-height: 28px;
}

.app-feature-list strong {
  color: var(--color-text);
}

.app-screenshots {
  flex: 1.2;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.app-screenshot {
  width: 32%;
  max-width: 280px;
  height: auto;
  border-radius: 28px;
  border: 4px solid var(--color-surface);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), border-color 0.4s ease;
  cursor: pointer;
  object-fit: contain;
}

.app-screenshot:nth-child(2) {
  transform: translateY(-40px);
}

.app-screenshot:hover {
  transform: translateY(-20px) scale(1.05);
  z-index: 2;
  border-color: var(--color-primary-light);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 32px;
  right: 48px;
  color: white;
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
}


.features-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 64px 24px;
}

.features-container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.features-section .section-header {
  margin-bottom: 32px;
}

.features-section .section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.features-section .section-subtitle {
  color: var(--color-text-muted);
  font-size: 15px;
}

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

.stat-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s ease;
  border-radius: 0;
}

.stat-card:hover {
  border-color: var(--color-border-hover);
}

.stat-label {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 18px;
}

.stat-desc {
  color: var(--color-text-muted);
  font-size: 14px;
}

.section-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 32px;
}

.section-header {
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 15px;
}

.demo-section {
  padding: 80px 24px;
}

.demo-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 48px;
  border-radius: 0;
  text-align: left;
}

.demo-container .section-title {
  font-size: 28px;
  margin-bottom: 8px;
}

.demo-container .section-subtitle {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--color-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-border-hover);
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%239e9e9e%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 16px top 50%;
  background-size: 12px auto;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  background-color: var(--color-surface-hover);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-top: 12px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  align-self: flex-start;
}

.submit-button:hover {
  background-color: var(--color-border);
  border-color: var(--color-border-hover);
}


.about-section {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--color-border);
  margin-top: 40px;
}

.about-title {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-subtitle {
  color: var(--color-text-muted);
  font-size: 13px;
}

.footer {
  padding: 32px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
  border-top: 1px solid var(--color-border);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-text);
}

.show-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
  .header {
    padding: 12px 20px;
  }
  .brand-logo {
    height: 28px;
  }
  .header-actions {
    gap: 32px;
  }
  .hide-mobile {
    display: none !important;
  }
  .show-mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .demo-container {
    padding: 32px 20px;
    width: 100%;
    max-width: 100%;
  }
  .submit-button {
    width: 100%;
    align-self: stretch;
    text-align: center;
  }
  .app-showcase-container {
    flex-direction: column;
  }
  .app-screenshot:nth-child(2) {
    transform: translateY(0);
  }
}