/* =============== RESET & GLOBAL =============== */

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

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050713;
  color: #f9fbff;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #6c00ff #080a15;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #080a15;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, #6c00ff, #00c8ff);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 12px rgba(71, 66, 255, 0.6);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7a10ff, #00ddff);
}

/* Loader plein écran */

.loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #070815, #04040d 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(90, 75, 255, 0.9), rgba(0, 195, 255, 0.1));
  filter: blur(60px);
  animation: loaderPulse 2.1s ease-in-out infinite;
}

.loader-inner {
  position: relative;
  padding: 20px;
  background: transparent;
  box-shadow: none;
}

.loader-text {
  position: relative;
  font-size: clamp(32px, 8vw, 64px);
  font-weight: 800;
  letter-spacing: 0.45em;
  color: transparent;
  text-transform: uppercase;
  background: linear-gradient(90deg, #5a4bff, #00c3ff);
  -webkit-background-clip: text;
  background-clip: text;
  animation: loaderTextFlash 1.6s ease-in-out infinite;
}

@keyframes loaderPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(0.92);
    opacity: 0.75;
  }
}

@keyframes loaderTextFlash {
  0% {
    opacity: 0.4;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

/* Utilitaires */

.center {
  text-align: center;
}
.left {
  text-align: left;
}

.section {
  padding: 96px min(8vw, 96px);
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.section-subtitle {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #8b90a7;
}

.section-subtitle.left {
  max-width: 460px;
}

.section-scroll {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.section-scroll.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Community section styling inspired by reference */
.section-community {
  background: radial-gradient(circle at 50% -20%, rgba(118, 99, 255, 0.08), transparent 35%),
    radial-gradient(circle at 20% 20%, rgba(91, 171, 255, 0.07), transparent 32%),
    #080d1a;
  padding-block: 120px 110px;
}

.section-community .section-header h2 {
  font-size: clamp(36px, 4vw, 52px);
  color: #f3f4ff;
}

.section-community .gradient-text {
  background: linear-gradient(90deg, #8c7cf6, #6c7bff);
  -webkit-background-clip: text;
  color: transparent;
}

.section-community .section-subtitle {
  color: #aeb4cb;
  max-width: 820px;
  margin-inline: auto;
}

.section-community .cards-grid {
  gap: 26px;
  margin-top: 48px;
}

/* Gradient texte */

.gradient-text {
  background: linear-gradient(90deg, #5a4bff, #0fd7ff);
  -webkit-background-clip: text;
  color: transparent;
}

/* Accent */

.accent {
  color: #39d5ff;
}

/* Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  color: #050713;
  background: linear-gradient(90deg, #5a4bff, #00c3ff);
  box-shadow: 0 0 20px rgba(75, 94, 255, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 28px rgba(75, 94, 255, 0.7);
}

.btn-ghost {
  color: #f9fbff;
  background: radial-gradient(circle at top left, rgba(102, 126, 255, 0.16), rgba(11, 13, 23, 0.9));
  border: 1px solid rgba(129, 140, 248, 0.4);
}

.btn-ghost:hover {
  border-color: rgba(129, 140, 248, 0.7);
  transform: translateY(-1px) scale(1.02);
}

.btn-outline {
  border-radius: 22px;
  border: 1px solid rgba(105, 124, 255, 0.7);
  background: linear-gradient(135deg, rgba(23, 25, 43, 1), rgba(9, 12, 29, 1));
  padding-inline: 18px;
  color: #e5e7ff;
  font-size: 13px;
}
.btn-outline:hover {
  box-shadow: 0 0 22px rgba(79, 88, 255, 0.6);
}

/* =============== HERO =============== */

.hero {
  height: 100vh;
  min-height: 640px;
  padding: 96px 16px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, #1a1631 0, #050713 55%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 15% 35%, rgba(127, 63, 191, 0.5), transparent 60%),
    radial-gradient(circle at 70% 20%, rgba(43, 182, 255, 0.4), transparent 55%),
    radial-gradient(circle at 55% 80%, rgba(115, 176, 255, 0.35), transparent 60%);
  filter: blur(40px);
  opacity: 0.9;
  animation: heroNebula 12s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(91, 166, 255, 0.38), rgba(10, 12, 19, 0));
  filter: blur(80px);
  opacity: 0.9;
  animation: heroGlowPulse 4.5s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}


.hero-inner {
  max-width: 620px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b0c7ff;
  background: radial-gradient(circle at top left, rgba(64, 224, 255, 0.5), rgba(17, 24, 39, 1));
  border: 1px solid rgba(144, 205, 255, 0.45);
  box-shadow: 0 0 18px rgba(88, 166, 255, 0.6);
}

.hero-title {
  margin-top: 24px;
  font-size: clamp(42px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #6b6bff, #2fe5ff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #b6bdd8;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Orbes floues */

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.9;
  z-index: 1;
  animation: heroOrbPulse 7s ease-in-out infinite;
}

.hero-orb--purple {
  width: 540px;
  height: 420px;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(129, 140, 248, 0.9), rgba(15, 23, 42, 0));
}

.hero-orb--blue {
  width: 520px;
  height: 420px;
  top: 20%;
  left: 52%;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.7), transparent 70%);
}

.hero-orb--float {
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: heroOrbFloat 14s ease-in-out infinite, heroOrbPulse 6s ease-in-out infinite;
  filter: blur(100px);
}

.hero-orb--p1 {
  width: 320px;
  height: 320px;
  top: 12%;
  left: 25%;
  animation-duration: 16s;
  animation-delay: -8s;
}

.hero-orb--p2 {
  width: 260px;
  height: 260px;
  top: 55%;
  left: 65%;
  animation-duration: 13s;
  animation-delay: -2s;
}

.hero-orb--p3 {
  width: 200px;
  height: 200px;
  top: 30%;
  left: 75%;
  animation-duration: 18s;
  animation-delay: -15s;
}

@keyframes heroOrbFloat {
  0% {
    transform: translate(-12px, -8px) scale(0.95);
  }
  50% {
    transform: translate(18px, 14px) scale(1.05);
  }
  100% {
    transform: translate(-10px, 12px) scale(1);
  }
}

@keyframes heroOrbPulse {
  0% {
    opacity: 0.55;
    filter: blur(70px);
  }
  45% {
    opacity: 1;
    filter: blur(110px);
  }
  100% {
    opacity: 0.65;
    filter: blur(85px);
  }
}

@keyframes heroNebula {
  0% {
    transform: translate(-4%, -6%) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate(4%, 3%) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: translate(-2%, 5%) scale(1.04);
    opacity: 0.9;
  }
}

@keyframes heroGlowPulse {
  0% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(0.95);
  }
  45% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.98);
  }
}

/* =============== GRILLES DE CARTES GÉNÉRIQUES =============== */

.cards-grid {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}

.cards-grid--3x3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid--stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 840px;
  margin-inline: auto;
}

.cards-grid--stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 840px;
  margin-inline: auto;
}

.cards-grid--eco {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 56px;
}

.cards-grid--network {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 900px;
  margin-inline: auto;
}

/* =============== FEATURE CARDS =============== */

.feature-card {
  text-align: center;
  background: linear-gradient(180deg, #171c2c 0%, #111628 100%);
  border-radius: 18px;
  padding: 28px 26px;
  border: 1px solid rgba(124, 136, 196, 0.18);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 151, 234, 0.45);
  box-shadow:0 0 40px rgba(130, 70, 255, 0.35)
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -10%, rgba(132, 119, 255, 0.16), transparent 55%);
  opacity: 1;
  pointer-events: none;
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: #f1f2ff;
  margin-bottom: 8px;
}

.feature-card p {
  position: relative;
  z-index: 1;
  font-size: 12px;
  line-height: 1.6;
  color: #a9b1c9;
}

.feature-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  background: linear-gradient(
135deg, #1a1452, #5e4dab);
   
}

.feature-icon svg {
  filter: drop-shadow(0 0 10px rgba(124, 116, 255, 0.6));
}

/* =============== STATS =============== */

/* SECTION */
.stats-section {
    padding: 140px 0;
    text-align: center;
    background: linear-gradient(180deg, #0a0c17, #06070f);
}

/* TITLE */
.stats-title {
    font-size: 48px;
    font-weight: 800;
    color: #c1c7ff;
    background: linear-gradient(90deg, #7c4dff, #00c8ff);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 70px;
}

/* GRID */
.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 38px;
}

/* CARD */
.stat-card {
    background: #0b0c14;
    padding: 40px 60px;
    border-radius: 22px;
    border: 1px solid rgba(90, 70, 255, 0.25);
    box-shadow: 0 0 40px rgba(130, 70, 255, 0.35);
    min-width: 260px;
}

/* ICON */
.stat-icon {
    font-size: 40px;
    margin-bottom: 22px;
    background: linear-gradient(90deg, #a46aff, #4dd7ff);
    -webkit-background-clip: text;
    color: transparent;
}

/* NUMBER */
.stat-number {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(90deg, #b67cff, #5cd8ff);
    -webkit-background-clip: text;
    color: transparent;
}

/* LABEL */
.stat-label {
    margin-top: 10px;
    font-size: 15px;
    color: #b7bdd9;
}


/* =============== STACK TECHNIQUE =============== */
.stack-section {
    padding: 140px 0;
    background: #0b0b10;
    text-align: center;

}

/* ===== TITLES ===== */

.stack-title {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(90deg, #8e5bff, #27c6ff);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.stack-subtitle {
    font-size: 15px;
    color: #a0a7c2;
    margin-bottom: 70px;
}

/* ===== GRID ===== */

.stack-grid {
    width: 90%;
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
}

/* ===== CARD ===== */

.stack-card {
    background: rgba(20, 20, 28, 0.7);
    border: 1px solid rgba(80, 80, 100, 0.25);
    border-radius: 22px;
    padding: 34px 34px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.35),
    0 40px 85px rgba(0, 0, 0, 0.95),
    0 0 75px rgba(59, 130, 246, 0.9);
}

/* ===== ICON BOX ===== */

.stack-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stack-icon .icon {
    font-size: 26px;
    color: white;
}

/* Colors */
.purple { background: linear-gradient(
135deg, #1a1452, #5e4dab) }
.blue   { background: linear-gradient(
135deg, #1a1452, #5e4dab) }
.cyan   { background: linear-gradient(
135deg, #1a1452, #5e4dab) }
.aqua   { background: linear-gradient(
135deg, #1a1452, #5e4dab) }

/* ===== TEXT ===== */

.stack-info h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 6px;
}

.stack-info p {
    color: #a7afc9;
    font-size: 14px;
    margin-bottom: 12px;
}

/* ===== GRADIENT LINES ===== */

.stack-line {
    width: 100%;
    height: 3px;
    border-radius: 6px;
}

.purple-line { background: linear-gradient(90deg, #a56dff, #493a8f); }
.blue-line   { background: linear-gradient(90deg, #6a9dff, #2b3f73); }
.cyan-line   { background: linear-gradient(90deg, #16ffd6, #0a7b71); }
.aqua-line   { background: linear-gradient(90deg, #53d9ff, #003c6e); }


/* =============== MOBILE EXPERIENCE =============== */
.mobile-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #090b15, #04050d 50%, #060b1b);
}

.mobile-content {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* TEXT SIDE */

.mobile-text {
  width: 50%;
  color: #d2d6e5;
}

.mobile-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(88, 101, 242, 0.2);
  color: #b3b8ff;
  font-size: 12px;
  border-radius: 16px;
  border: 1px solid rgba(120, 130, 255, 0.4);
}

.mobile-title {
  margin-top: 20px;
  font-size: 42px;
  font-weight: 700;
  color: white;
}

.mobile-title .gradient {
  background: linear-gradient(90deg, #7f5bff, #00bfff);
  -webkit-background-clip: text;
  color: transparent;
}

.mobile-desc {
  margin-top: 16px;
  color: #99a1bc;
  line-height: 1.6;
  font-size: 15px;
}

/* FEATURES */

.mobile-features {
  margin-top: 40px;
}

.mobile-feature {
  padding: 16px 22px;
  border-radius: 40px;
  background: linear-gradient(90deg, #111526, #0a0c17);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(80, 90, 160, 0.4);
}

.mobile-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(15, 12, 20, 0.85);
  box-shadow:
    0 0 60px rgba(157, 92, 255, 0.55),
    0 0 100px rgba(157, 92, 255, 0.75),
    inset 0 0 30px rgba(0, 0, 0, 0.45);}

/* PHONE MOCKUP */

.phone-wrapper {
  position: relative;
  width: 380px;
}

.phone-glow {
  width: 380px;
  height: 600px;
  position: absolute;
  top: -30px;
  left: -20px;
  background: radial-gradient(circle, rgba(0, 100, 255, 0.5), transparent 70%);
  filter: blur(40px);
}

.phone {
  position: relative;
  width: 360px;
  background: #030616;
  border-radius: 32px;
  padding: 22px;
  box-shadow: 0 0 40px rgba(0, 100, 255, 0.4);
  border: 2px solid rgba(90, 110, 190, 0.8);
}

/* Notch + dots */

.phone-notch {
  width: 120px;
  height: 16px;
  background: #000;
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
}

.phone-dots {
  display: flex;
  justify-content: flex-end;
  margin: 6px 0 14px 0;
  gap: 4px;
}

.phone-dots span {
  width: 6px;
  height: 6px;
  background: #d6d6d6;
  border-radius: 50%;
}

/* PORTFOLIO CARD */

.phone-card {
  background: linear-gradient(135deg, #14182d, #0a0d1f);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
  position: relative;
}

.portfolio-card {
  box-shadow: 0 0 25px rgba(170, 70, 255, 0.4);
  border: 1px solid rgba(200, 120, 255, 0.3);
}

.portfolio-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #7ea8ff, #0040ff);
  border-radius: 50%;
}

.portfolio-card h4 {
  font-size: 13px;
  color: #dfe5ff;
}

.portfolio-card p {
  font-size: 11px;
  color: #8da0ff;
}

.portfolio-graph {
  margin-top: 12px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(to top, #0d112a, #151b3e);
  box-shadow: inset 0 0 12px rgba(0, 150, 255, 0.3);
}

/* GRID BUTTONS */

.phone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.grid-btn {
  background: linear-gradient(135deg, #0b0f1f, #070b19);
  border-radius: 16px;
  padding: 12px 0;
  color: #a3b1ff;
  font-size: 13px;
  text-align: center;
  position: relative;
}

.grid-btn span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 6px auto;
  background: radial-gradient(circle, #6ac6ff, #1572ff);
}

/* TRANSACTIONS */

.transaction {
  display: flex;
  justify-content: space-between;
  background: linear-gradient(135deg, #0b0f1f, #0e1228);
  padding: 14px;
  border-radius: 16px;
  margin-bottom: 10px;
  border: 1px solid rgba(80, 100, 160, 0.3);
}

.transaction p {
  margin: 0;
  font-size: 12px;
  color: #bcc5ff;
}

.transaction span {
  font-size: 11px;
  color: #6d7aff;
}

.tx-amount {
  font-weight: 600;
}

.tx-amount.positive {
  color: #4fd1ff;
}


/* =============== ECOSYSTEME =============== */
.ecosystem {
    padding: 130px 0 150px;
    background: radial-gradient(circle at center,
        rgba(0, 180, 150, 0.20),
        #050710 70%);
    position: relative;
    overflow: hidden;
}

/* ----------- Layout ----------- */

.eco-container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ----------- Left Text ----------- */

.eco-left {
    width: 45%;
}

.eco-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}

.eco-gradient {
    background: linear-gradient(90deg, #8853ff, #00e0ff);
    -webkit-background-clip: text;
    color: transparent;
}

.eco-desc {
    margin-top: 18px;
    color: #9aa4c9;
    font-size: 16px;
    line-height: 1.7;
    max-width: 440px;
}

.eco-btn {
    margin-top: 28px;
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 24px;
    border: 1px solid rgba(0, 200, 255, 0.4);
    color: #dffaff;
    background: rgba(0, 120, 255, 0.12);
    text-decoration: none;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 22px rgba(0, 150, 255, 0.3);
}

/* ----------- Right Card ----------- */

.eco-right {
    width: 45%;
    position: relative;
}

.eco-card-glow {
    position: absolute;
    width: 480px;
    height: 350px;
    right: -40px;
    top: -40px;
    background: radial-gradient(circle, rgba(100, 120, 255, 0.55), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.eco-card {
    position: relative;
    width: 430px;
    background: rgba(15, 18, 35, 0.6);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(150, 170, 255, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 50px rgba(80, 110, 255, 0.35);
}

/* ----------- Bars ----------- */

.eco-bars {
    margin-bottom: 30px;
}

.eco-bar {
    height: 10px;
    border-radius: 12px;
    margin-bottom: 14px;
    background: linear-gradient(90deg, #a45aff, #29d5ff);
    box-shadow: 0 0 10px rgba(40, 210, 255, 0.5);
}

.bar1 { width: 100%; }
.bar2 { width: 80%; }
.bar3 { width: 60%; }

/* ----------- Stats ----------- */

.eco-stats {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.eco-stat h3 {
    font-size: 22px;
    color: #e4eaff;
}

.eco-stat p {
    font-size: 13px;
    color: #8ea0ff;
}

/* ----------- Bottom Feature Cards ----------- */

.eco-features {
    margin-top: 90px;
    width: 90%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
}

.eco-feature-bloc {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 23%;
    padding: 32px 26px;
    background: rgba(10, 14, 25, 0.8);
    border: 1px solid rgba(100, 150, 255, 0.2);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.35),
    0 40px 85px rgba(0, 0, 0, 0.95),
    0 0 75px rgba(59, 130, 246, 0.9);
    text-align: left;
}

.eco-icon {
    font-size: 26px;
    color: #3fd2ff;
    margin-bottom: 18px;
}

.eco-feature-bloc h4 {
    font-size: 17px;
    color: #e8eeff;
}

.eco-feature-bloc p {
    margin-top: 6px;
    font-size: 13px;
    color: #9aa6d9;
}

/* =============== ROADMAP =============== */
.roadmap {
  position: relative;
  padding: 140px 0 160px;
  color: #fff;
}

.roadmap-title {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(90deg, #a855f7, #3b82f6);
  -webkit-background-clip: text;
  color: transparent;
}

.roadmap-subtitle {
  text-align: center;
  margin-top: 10px;
  font-size: 16px;
  opacity: 0.6;
}
.fade-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* CONTAINER CENTRAL */
.roadmap-inner {
  max-width: 1150px;
  margin: 80px auto 0;
  position: relative;
}

/* =============== TIMELINE =============== */
.timeline {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 95%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* LINE EXACTEMENT ENTRE 1ER ET DERNIER ICON */
.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  top: 35px;        
  bottom: 35px;      
  background: radial-gradient(circle at 30% 0, #60a5fa, #4c1d95);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.7);  border-radius: 999px;
  height: 0;
  animation: lineGrow 1.2s ease forwards;
}

@keyframes lineGrow {
  from { height: 0; }
  to { height: 100%; }
}

/* =============== ICONES =============== */
.center-item {
  margin: 95px 0;
}
.bottom-item{
      margin-top:95px ;

}
.top-item{
      margin-bottom:95px ;

}
.timeline-item {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:first-child {
  margin-top: 0;  /* touche le haut de la ligne */
}

.timeline-item:last-child {
  margin-bottom: 0; /* touche parfaitement le bas */
}

.timeline-item:nth-child(1) { animation-delay: 0.15s; }
.timeline-item:nth-child(2) { animation-delay: 0.35s; }
.timeline-item:nth-child(3) { animation-delay: 0.55s; }
.timeline-item:nth-child(4) { animation-delay: 0.75s; }

/* ICONE VISUEL Figma */
.timeline-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: rgba(10, 10, 18, 0.9);
  border: 1px solid rgba(255,255,255,0.08);

  display: flex;
  justify-content: center;
  align-items: center;

  box-shadow:
    0 0 40px rgba(0,140,255,0.4),
    0 0 80px rgba(140,90,255,0.4),
    inset 0 0 10px rgba(255,255,255,0.1);

  animation: pulseIcon 2.6s infinite ease-in-out;
}

.timeline-item.active .timeline-icon {
  box-shadow:
    0 0 55px rgba(0,180,255,0.8),
    0 0 110px rgba(140,90,255,0.5),
    inset 0 0 12px rgba(255,255,255,0.15);
}

.timeline-icon img {
  width: 26px;
  height: 26px;
}

@keyframes pulseIcon {
  0% {
    box-shadow:
      0 0 25px rgba(0,140,255,0.35),
      0 0 45px rgba(140,90,255,0.25),
      inset 0 0 8px rgba(255,255,255,0.05);
  }
  50% {
    box-shadow:
      0 0 55px rgba(0,140,255,0.7),
      0 0 110px rgba(140,90,255,0.5),
      inset 0 0 12px rgba(255,255,255,0.12);
  }
  100% {
    box-shadow:
      0 0 25px rgba(0,140,255,0.35),
      0 0 45px rgba(140,90,255,0.25),
      inset 0 0 8px rgba(255,255,255,0.05);
  }
}

/* =============== CARTES =============== */
.roadmap-list {
  margin-left: 240px;
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.roadmap-card {
  box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.35),
    0 40px 85px rgba(0, 0, 0, 0.95),
    0 0 75px rgba(59, 130, 246, 0.9);
  background: rgba(10,10,18,0.85);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 35px 45px;

  opacity: 0;
  transform: translateY(28px);
  animation: fadeInUp 0.9s ease forwards;
}

.roadmap-card:nth-child(1) { animation-delay: 0.25s; }
.roadmap-card:nth-child(2) { animation-delay: 0.45s; }
.roadmap-card:nth-child(3) { animation-delay: 0.65s; }
.roadmap-card:nth-child(4) { animation-delay: 0.85s; }

.roadmap-date {
  color: #c084fc;
  font-size: 14px;
  font-weight: 600;
}

.roadmap-card-title {
  font-size: 24px;
  margin: 8px 0;
  font-weight: 700;
}

.roadmap-card-text {
  opacity: 0.75;
  line-height: 1.6;
}

/* animation fade */
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}


/* =============== NETWORK SECTION =============== */

/* SECTION BACKGROUND */
.network-section {
    padding: 140px 0 120px;
    background: #070a14; /* sombre propre */
    text-align: center;
}

/* CONTAINER */
.network-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* TITRE */
.network-title {
    color: #ffffff;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
}

.network-title .gradient {
    background: linear-gradient(90deg, #6d5bff, #00d2ff);
    -webkit-background-clip: text;
    color: transparent;
}

/* SOUS-TITRE */
.network-subtitle {
    font-size: 15px;
    color: #9098b5;
    margin-bottom: 60px;
    line-height: 1.6;
}

/* FEATURE LIST */
.network-features {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    margin-top: 20px;
}

/* CARDS */
.network-card {
    width: 260px;
    padding: 34px 26px;
    background: rgba(12, 15, 28, 0.6);
    border: 1px solid rgba(120, 130, 170, 0.18);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    box-shadow:
        0 0 0 1px rgba(180, 200, 255, 0.05),
        0 16px 38px rgba(0,0,0,0.4);
}

.network-icon {
    font-size: 28px;
    margin-bottom: 18px;
    color: #36cfff;
}

.network-card h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 6px;
}

.network-card p {
    font-size: 13px;
    color: #9ba6c9;
    line-height: 1.5;
}


/* =============== CTA FINAL =============== */

.section-cta {
  padding-block: 110px 120px;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(30, 64, 175, 0.45), #050713 68%);
}

.cta-card {
  position: relative;
  max-width: 720px;
  width: 100%;
  border-radius: 32px;
  padding: 42px 34px 36px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at top left, #4c1d95, #0f172a);
  box-shadow:
    0 0 0 1px rgba(191, 219, 254, 0.35),
    0 40px 85px rgba(0, 0, 0, 0.95),
    0 0 75px rgba(59, 130, 246, 0.9);
        min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.45), transparent 60%);
  filter: blur(20px);
  opacity: 0.9;
  mix-blend-mode: screen;
}

.cta-card h2 {
  position: relative;
  z-index: 1;
  font-size: 30px;
  margin-bottom: 10px;
}

.cta-card p {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: #e5e7f7;
}

.cta-actions {
  position: relative;
  z-index: 1;
  margin: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-metrics {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-metrics h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.cta-metrics p {
  font-size: 11px;
  color: #bfdbfe;
}

/* =============== FOOTER =============== */

.footer {
  padding: 48px min(8vw, 96px) 22px;
  border-top: 1px solid rgba(31, 41, 55, 1);
  background: #020617;
  color: #9ca3c7;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: end;
  margin-bottom: 26px;
}

.footer h3 {
  font-size: 16px;
  color: #e5e7f7;
  margin-bottom: 8px;
}

.footer h4 {
  font-size: 13px;
  color: #e5e7f7;
  margin-bottom: 10px;
}

.footer-col p {
  font-size: 12px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col li + li {
  margin-top: 5px;
}

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

.footer a:hover {
  color: #e5e7ff;
}

.footer-socials {
  display: flex;
  flex-direction: column;
}

.footer-bottom {
  padding-top: 12px;
  border-top: 1px solid rgba(31, 41, 55, 1);
  text-align: center;
  font-size: 11px;
  color: #6b7280;
}
.footer-col{
  text-align: center;
}
.footer-reseaux{
  display: flex;
  gap: 10px;
}
.icon-hover {
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out, filter 0.35s ease-in-out;
}

.icon-hover:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 0 40px rgba(130, 70, 255, 0.35);
}

/* =============== RESPONSIVE =============== */

@media (max-width: 1024px) {
  .cards-grid--3x3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards-grid--stats,
  .cards-grid--eco,
  .cards-grid--network {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards-grid--stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-inner--row {
    flex-direction: column;
  }
  .mobile-mockup {
    order: -1;
  }
}

@media (max-width: 1024px) {
  .section {
    padding-inline: 20px;
  }
  .cards-grid--3x3,
  .cards-grid--stats,
  .cards-grid--eco,
  .cards-grid--network,
  .cards-grid--stack {
    grid-template-columns: 1fr;
  }
  .cta-card {
    padding-inline: 20px;
  }
  .hero {
    padding-inline: 16px;
  }
  .eco-left{
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .eco-container{
    flex-direction: column;
    align-items: center;
  }
  .eco-right{
    width: 100%;
  }
  .eco-card{
    margin-top: 20px;
    width: 100%;
  }
  .eco-features{
    flex-direction: column;
    align-items: center;
  }
  .eco-feature-bloc{
    width: 80%;
    margin-bottom: 24px;
    box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.35),
    0 40px 85px rgba(0, 0, 0, 0.95),
    0 0 75px rgba(59, 130, 246, 0.9);
  }
  .stack-grid{
    display: flex;
    flex-direction: column;
  flex-wrap: wrap;
  }
  .timeline{
    display: none;
  }
  .roadmap-list{
    margin-left: 0px;
  }
  .footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 38px;
  }
}





/* === Popup Overlay === */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease-in-out;
  z-index: 9999;
}

/* Active popup */
.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

/* Popup box */
.popup-content {
  background: #0A0C12;
  color: #fff;
  padding: 2rem;
  width: 90%;
  max-width: 420px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  animation: popupEnter 0.3s ease;
}

@keyframes popupEnter {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-close {
  margin-top: 1.5rem;
  padding: 10px 20px;
  background: #ffffff;
  color: #0A0C12;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s;
}

.popup-close:hover {
  background: #d8d8d8;
}
