:root {
  --bg: #1a1d2e;
  --bg-alt: #252836;
  --text: #e8eaef;
  --text-muted: #8b8fa8;
  --accent: #8e5ce6;
  --accent-hover: #9d6ef0;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 10px;
  --radius-lg: 14px;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --space: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

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

a:visited {
  color: inherit;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 29, 46, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo,
.logo:link,
.logo:visited {
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link,
.nav-link:link,
.nav-link:visited {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

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

.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary,
.btn-primary:link,
.btn-primary:visited {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-outline,
.btn-outline:link,
.btn-outline:visited {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover,
.btn-outline:focus {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  display: block;
  text-align: center;
  width: 100%;
}

.hero {
  padding: 8rem 0 5rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 var(--space);
  max-width: 14ch;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 0 var(--space-xl);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 auto var(--space-xl);
  font-size: 1.0625rem;
}

.text-center .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
  border-color: rgba(142, 92, 230, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.feature-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: var(--space);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card-featured {
  border-color: rgba(142, 92, 230, 0.4);
  background: rgba(142, 92, 230, 0.06);
}

.badge {
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}

.pricing-meta {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 var(--space);
}

.pricing-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-lg);
}

.pricing-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-price-devis {
  font-size: 1.125rem;
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  flex: 1;
}

.pricing-features li {
  padding: 0.35rem 0;
  padding-left: 1.35rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.pricing-card .btn {
  margin-top: auto;
}

.section-cta {
  background: var(--bg-alt);
  text-align: center;
}

.section-cta .section-title {
  margin-bottom: 0.5rem;
}

.section-cta .section-intro {
  margin-bottom: var(--space-lg);
}

.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-weight: 600;
  color: #fff;
  margin: 0 0 var(--space);
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space);
}

.footer-links a,
.footer-links a:link,
.footer-links a:visited {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}

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

.footer-legal {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: var(--space);
  }

  .nav {
    flex-wrap: wrap;
    gap: var(--space);
    justify-content: flex-end;
  }

  .hero {
    padding: 6rem 0 4rem;
    min-height: 60vh;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .section-intro {
    margin-bottom: var(--space-lg);
  }

  .features,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: var(--space);
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 var(--space);
  }

  .nav {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .section-title {
    font-size: 1.375rem;
  }
}
