:root {
  --background: hsl(210 30% 98%);
  --foreground: hsl(215 30% 15%);
  --card: hsl(0 0% 100%);
  --primary: hsl(184, 100%, 33%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: #f58b3c;
  --muted-foreground: hsl(215 15% 50%);
  --border: hsl(210 20% 88%);
  --radius: 0.75rem;
  --hero-gradient: linear-gradient(
    135deg,
    hsl(205 65% 42%) 0%,
    hsl(150 35% 45%) 100%
  );
}

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

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

/* Header */
.header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 15px;
}

.logo-img {
  height: 80px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-foreground);
  text-decoration: none;
  transition: background-color 0.2s;
  margin-left: auto;
}

.btn:hover {
  background-color: var(--secondary);
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.btn-cta {
  background: white;
  color: var(--primary);
  padding: 1rem 2rem;
}

.btn-cta:hover {
  color: var(--primary-foreground);
}

/* Hero */
.hero {
  background: var(--hero-gradient);
  padding: 5rem 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3.75rem;
  padding-block-end: 1.5rem;
  line-height: 1.1;
  font-weight: 700;
  max-width: 40rem;
  margin: auto;
}

.hero-text {
  font-size: 1.25rem;
  line-height: 1.75rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Comparison Grid */
.comparison-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  margin-bottom: 3rem;
}

.card-comparison {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3rem;
  border-radius: 20px;
  width: 100%;
  max-width: 300px;
}

.packshot {
  width: 140%;
  height: auto;
  border-radius: 10px;
  margin: 0.5rem 0;
  position: relative;
  left: -20%;
}

.tag-light {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: bold;
}

.arrow-desktop {
  font-size: 8rem;
  opacity: 0.5;
}

/* Features */
.features {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

.feature-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: 0.3s;
  background-color: var(--card);
}

.icon {
  font-size: 2.5rem;
  display: inline-flex;
  justify-items: start;
  color: var(--primary);
}

/* Stats */
.stats-section {
  padding: 48px 0;
  background-color: var(--card);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-title {
  font-weight: 600;
  color: var(--foreground);
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.stat-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* CTA */
.cta-section {
  padding: 80px 0;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta-text {
  margin-bottom: 35px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Company */
.company-section {
  padding: 3rem 0;
  background-color: var(--background);
}

.company-header {
  text-align: center;
  margin-bottom: 1rem;
}

.company-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--foreground);
}

.company-card {
  max-width: 42rem;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.company-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.company-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
}

.company-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-label {
  font-weight: 600;
  margin: 0;
  color: var(--foreground);
}

.detail-text {
  color: var(--muted-foreground);
  margin: 0;
}

.detail-link {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.detail-link:hover {
  color: var(--secondary);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: white;
  text-align: center;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 8px;
}

/* Decorative circles */
.circle {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 1;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.circle-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
}

.arrow-mobile {
  display: none;
}

/* Sélecteur de langue */
.language-dropdown {
  position: relative;
  font-family: inherit;
  display: inline-block;
  margin-left: 10px;
}

.lang-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  min-width: 160px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 4px 0;
  margin-top: 10px;
  display: none;
  z-index: 1000;
}

.lang-menu.show {
  display: block;
}

.lang-menu a {
  text-decoration: none;
  color: #374151;
}

.lang-option {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lang-option:hover {
  background-color: #f3f4f6;
}

.check-icon {
  opacity: 0;
  color: #111827;
}

.lang-option.selected {
  color: #9ca3af;
  pointer-events: none;
}

.lang-option.selected .check-icon {
  opacity: 1;
}

.chevron {
  transition: transform 0.2s;
}

.lang-menu.show ~ .lang-btn .chevron {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  header .btn,
  .header .btn {
    display: none;
  }

  /* Réparation du Header Mobile */
  .header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .logo-img {
    grid-column: 2;
    display: block;
    margin: 0 auto;
    height: 60px;
  }

  .language-dropdown {
    grid-column: 3;
    justify-self: end;
  }

  .comparison-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .arrow-mobile {
    display: block;
    font-size: 2rem;
    margin: 1rem 0;
    text-align: center;
  }

  .arrow-desktop {
    display: none;
  }
}
