:root {
  --orange: #ff9500;
  --orange-light: #ffb340;
  --orange-dark: #cc7700;
  --text: #ffffff;
  --text-dim: #b8b8b8;
  --bg: #0a0a0a;
  --bg-alt: #141414;
  --border: rgba(255, 149, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Fond moderne avec gradient mesh animé */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 149, 0, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(255, 149, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 149, 0, 0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Grille subtile en arrière-plan */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 149, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 149, 0, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Dropdown */
.lang-switch {
  position: relative;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 149, 0, 0.1);
  border: 1px solid rgba(255, 149, 0, 0.3);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-dropdown-btn:hover {
  background: rgba(255, 149, 0, 0.15);
  border-color: rgba(255, 149, 0, 0.4);
}

.lang-dropdown-btn .flag-icon {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  display: block;
}

.chevron-icon {
  width: 16px;
  height: 16px;
  color: var(--text);
  transition: transform 0.2s ease;
}

.lang-dropdown-btn.open .chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-dim);
}

.lang-option:hover {
  background: rgba(255, 149, 0, 0.1);
  color: var(--text);
}

.lang-option.active {
  background: rgba(255, 149, 0, 0.15);
  color: var(--orange);
}

.lang-option .flag-icon {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
}

.lang-option span {
  font-size: 14px;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 149, 0, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-with-icon {
  position: relative;
}

.btn-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: transparent;
  color: var(--text);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: rgba(255, 149, 0, 0.1);
  border-color: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 149, 0, 0.3);
}

.btn-secondary {
  background: rgba(255, 149, 0, 0.1);
  color: var(--text);
  border-color: rgba(255, 149, 0, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 149, 0, 0.2);
  border-color: var(--orange);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
  background: transparent;
  border-color: var(--orange);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(255, 149, 0, 0.1);
  border-color: var(--orange-light);
}

.btn-compact {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
  background: var(--orange);
  color: #000;
  border-color: var(--orange);
}

.btn-large:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  color: #000;
}

/* Hero */
.hero {
  padding: 100px 0 120px;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hero__text h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #ff9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text p {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__image {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero__image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 149, 0, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.hero__image img {
  width: 100%;
  max-width: 380px;
  position: relative;
  z-index: 1;
}

/* Stats */
.stats {
  padding: 80px 0;
  background: rgba(20, 20, 20, 0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  backdrop-filter: blur(10px);
}

.stats h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.stats__desc {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 50px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 20px;
  background: rgba(20, 20, 20, 0.5);
  border-radius: 16px;
  border: 1px solid rgba(255, 149, 0, 0.1);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 149, 0, 0.3);
  box-shadow: 0 10px 40px rgba(255, 149, 0, 0.2);
}

.stat svg {
  color: var(--orange);
  margin-bottom: 4px;
}

.stat strong {
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
}

.stat span {
  font-size: 15px;
  color: var(--text-dim);
}

/* Features */
.features {
  padding: 100px 0;
}

.features h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.features__desc {
  font-size: 17px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 70px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature--left {
  padding-left: 60px;
}

.feature--left .feature__text {
  padding-right: 40px;
}

.feature--right {
  padding-right: 60px;
}

.feature--right .feature__text {
  padding-left: 40px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 149, 0, 0.12);
  color: var(--orange);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 149, 0, 0.2);
}

.feature__text h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.feature__text p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature__text ul {
  list-style: none;
}

.feature__text ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text-dim);
}

.feature__text ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 600;
}

.feature__img {
  display: flex;
  justify-content: center;
  position: relative;
}

.feature__img::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 149, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
}

.feature__img img {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

/* CTA */
.cta {
  padding: 90px 0;
  background: rgba(20, 20, 20, 0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.cta__content {
  text-align: left;
  max-width: 700px;
}

.cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  background: rgba(20, 20, 20, 0.6);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer__col h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer__col p {
  margin-top: 0;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 350px;
}

.footer__col ul {
  list-style: none;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul a {
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer__col ul a:hover {
  color: var(--orange);
}

.footer__bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero__image {
    order: -1;
  }

  .hero__image img {
    max-width: 300px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .feature--left .feature__text,
  .feature--right .feature__text {
    padding-left: 0;
    padding-right: 0;
  }

  .feature__img {
    order: -1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__col:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav__inner {
    flex-wrap: wrap;
    height: auto;
    padding: 16px 0;
    gap: 12px;
  }

  .lang-switch {
    order: 3;
    width: 100%;
  }

  .lang-dropdown-btn {
    width: 100%;
    justify-content: center;
  }

  .lang-dropdown {
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: calc(100% - 48px);
    max-width: 200px;
  }

  .lang-dropdown.open {
    transform: translateX(-50%) translateY(0);
  }

  .nav__right {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero__text h1 {
    font-size: 36px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .stats {
    padding: 60px 0;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features {
    padding: 60px 0;
  }

  .feature {
    margin-bottom: 60px;
  }

  .cta {
    padding: 60px 0;
  }

  .cta__content {
    text-align: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__col:first-child {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .hero__text h1 {
    font-size: 30px;
  }

  .stats h2 {
    font-size: 28px;
  }

  .features h2,
  .cta h2 {
    font-size: 28px;
  }

  .feature__text h3 {
    font-size: 24px;
  }
}