/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

/* ===== BODY & BACKGROUND ===== */
body {
  background: #050505;
  color: #fff;
  overflow-x: hidden;
  max-width: 390px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

/* Fond noir de base */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #050505;
}

/* Orbes violettes animées - couche 1 */
body::after {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -1;
  filter: blur(65px);
  opacity: 0.65;
  background:
    radial-gradient(circle at 15% 15%, rgba(139,92,246,0.55) 0%, transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(109,40,217,0.45) 0%, transparent 28%),
    radial-gradient(circle at 8%  65%, rgba(167,139,250,0.4) 0%, transparent 25%),
    radial-gradient(circle at 88% 70%, rgba(91,33,182,0.5)   0%, transparent 30%),
    radial-gradient(circle at 50% 95%, rgba(139,92,246,0.35) 0%, transparent 28%),
    radial-gradient(circle at 45% 40%, rgba(196,167,255,0.2) 0%, transparent 20%);
  animation: orbs1 9s ease-in-out infinite;
}

@keyframes orbs1 {
  0%   { transform: translate(0px,   0px)  scale(1);    }
  20%  { transform: translate(30px, -28px) scale(1.05); }
  40%  { transform: translate(-22px, 32px) scale(1.07); }
  60%  { transform: translate(25px,  22px) scale(1.04); }
  80%  { transform: translate(-28px,-18px) scale(1.06); }
  100% { transform: translate(0px,   0px)  scale(1);    }
}

/* Orbes violettes animées - couche 2 (décalée) */
html::after {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -1;
  filter: blur(90px);
  opacity: 0.4;
  background:
    radial-gradient(circle at 70% 25%, rgba(167,139,250,0.5) 0%, transparent 25%),
    radial-gradient(circle at 12% 85%, rgba(109,40,217,0.45) 0%, transparent 28%),
    radial-gradient(circle at 55% 10%, rgba(91,33,182,0.4)   0%, transparent 22%),
    radial-gradient(circle at 80% 50%, rgba(139,92,246,0.35) 0%, transparent 26%);
  animation: orbs2 12s ease-in-out infinite;
}

@keyframes orbs2 {
  0%   { transform: translate(0px,   0px)  scale(1);    }
  25%  { transform: translate(-32px, 22px) scale(1.06); }
  50%  { transform: translate(28px, -30px) scale(1.04); }
  75%  { transform: translate(-18px, 26px) scale(1.07); }
  100% { transform: translate(0px,   0px)  scale(1);    }
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 390px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0 8px;
}

.nav-logo-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.nav-logo-btn:active { transform: scale(0.92); }

.nav-logo {
  height: 54px;
  width: auto;
  display: block;
  opacity: 0.9;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
}
.hero-content { text-align: center; width: 100%; }

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: #ccc;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ffffff, #c4b5fd, #8b5cf6, #ffffff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGrad 6s ease infinite;
}
@keyframes titleGrad {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero p {
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 32px;
  padding: 0 4px;
}

/* ===== HERO BUTTONS — 6px gap ===== */
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}

.btn {
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
}
.primary { background: #fff; color: #000; border: 1px solid #fff; }
.primary:active { background: #e0e0e0; transform: scale(0.97); }
.secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.secondary:active { background: rgba(255,255,255,0.05); transform: scale(0.97); }

/* ===== SECTIONS ===== */
section { padding: 72px 20px; }

.title { text-align: center; margin-bottom: 36px; }
.title h2 { font-size: 2rem; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.title .nexa { color: #8b5cf6; }
.title p { color: #888; margin-top: 10px; font-size: 0.9rem; }

/* ===== CAROUSEL ===== */
.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 20px 16px;
  scrollbar-width: none;
  margin: 0 -20px;
}
.carousel::-webkit-scrollbar { display: none; }

.card {
  flex: 0 0 calc(100% - 40px);
  scroll-snap-align: center;
  padding: 28px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #101010, #070707);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 28px 28px;
}
.num { font-size: 0.8rem; font-weight: 700; color: #555; letter-spacing: 1px; position: relative; z-index: 2; }
.card h3 { font-size: 1.8rem; font-weight: 800; margin: 14px 0 10px; position: relative; z-index: 2; letter-spacing: -0.5px; }
.card p  { font-size: 0.9rem; color: #c4c4c4; line-height: 1.6; position: relative; z-index: 2; }

.blue h3   { color: #60a5fa; }
.purple h3 { color: #a78bfa; }
.green h3  { color: #4ade80; }
.orange h3 { color: #fb923c; }
.red h3    { color: #f87171; }
.cyan h3   { color: #22d3ee; }

.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: all 0.3s ease; cursor: pointer; }
.dot.active { background: #8b5cf6; width: 18px; border-radius: 3px; }

/* ===== PRICING ===== */
.pricing { display: flex; flex-direction: column; gap: 16px; }

.plan {
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px 24px;
  border-radius: 24px;
  position: relative;
  transition: all 0.3s ease;
}
.plan.popular { border-color: #8b5cf6; box-shadow: 0 0 30px rgba(139,92,246,0.2); }
.plan.featured { box-shadow: 0 0 20px rgba(139,92,246,0.1); }

.badge-populaire {
  position: absolute;
  top: 14px; right: 14px;
  background: #8b5cf6;
  color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
}
.plan h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; padding-right: 90px; }
.price { font-size: 2.4rem; font-weight: 800; margin: 12px 0 16px; letter-spacing: -1px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.plan li { font-size: 0.9rem; color: #bbb; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.plan li:last-child { border-bottom: none; }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.step { background: #0b0b0b; border: 1px solid rgba(255,255,255,0.06); padding: 22px 18px; border-radius: 20px; }
.step span {
  display: inline-flex; width: 40px; height: 40px;
  background: #8b5cf6; border-radius: 50%;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem; margin-bottom: 12px;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step p  { font-size: 0.8rem; color: #888; line-height: 1.5; }

/* ===== CONTACT ===== */
.cta {
  background: linear-gradient(135deg, #3b0764, #6d28d9);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 48px 24px 44px;
  border-radius: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(139,92,246,0.3);
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.25;
  pointer-events: none;
}
.cta::after {
  content: "";
  position: absolute; inset: -50px;
  background: radial-gradient(circle at center, rgba(168,85,247,0.25), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.cta h2 { font-size: 1.9rem; font-weight: 900; margin-bottom: 10px; position: relative; z-index: 2; line-height: 1.15; letter-spacing: -0.5px; }
.subtitle { color: #ddd; font-size: 0.95rem; margin-bottom: 28px; position: relative; z-index: 2; line-height: 1.5; }

.contact-info { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }

/* ===== CONTACT BUTTONS — blanc, texte noir, lueur violette ===== */
.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  border: none;
  border-radius: 18px;
  padding: 20px 28px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease;
}
.contact-link:active { transform: scale(0.97); }

/* Lueur violette animée à l'intérieur */
.contact-link::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.5) 0%, transparent 70%);
  animation: blobMove 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.contact-link:last-child::before {
  animation-delay: -1.75s;
}
@keyframes blobMove {
  0%   { transform: translate(-30px,  5px); }
  25%  { transform: translate( 30px, -15px); }
  50%  { transform: translate( 20px,  20px); }
  75%  { transform: translate(-20px, -10px); }
  100% { transform: translate(-30px,  5px); }
}

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.contact-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000000;
  position: relative;
  z-index: 1;
  -webkit-text-fill-color: #000000;
}

/* ===== FOOTER ===== */
footer { text-align: center; padding: 36px 20px; color: #555; font-size: 0.78rem; line-height: 1.6; }
