:root{
  --bg:#0a0a14;
  --panel:#12121f;
  --panel2:#161628;
  --border:#28283e;

  --text:#f3f2fa;
  --muted:#8f8ea8;

  --v1:#8b5cf6;
  --v2:#d946ef;

  --green:#34d980;

  color-scheme:dark;
}

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

html{
  scroll-behavior:smooth;
  scroll-padding-top:env(safe-area-inset-top,0px);
}

body{
  font-family:'Inter',system-ui,sans-serif;
  background:var(--bg);
  color:var(--text);

  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);

  overflow-x:hidden;
}

/* NOUVELLE POLICE */
h1,
h2,
h3,
.disp{
  font-family:'Oxanium','Inter',sans-serif;
}

.wrap{
  max-width:1120px;
  margin:0 auto;
  padding:0 28px;
}


/* background texture */

.glow{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;

  background:
    radial-gradient(
      ellipse 900px 500px at 15% -5%,
      rgba(139,92,246,0.22),
      transparent 60%
    ),

    radial-gradient(
      ellipse 700px 500px at 100% 20%,
      rgba(217,70,239,0.14),
      transparent 60%
    );
}


/* nav */

nav{
  position:sticky;
  top:0;
  z-index:50;

  backdrop-filter:blur(14px);

  background:rgba(10,10,20,0.7);

  border-bottom:1px solid var(--border);
}

nav .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:16px 28px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;

  font-family:'Oxanium','Inter',sans-serif;

  font-weight:700;
  font-size:16px;

  letter-spacing:0.2px;
}

.mark{
  height:24px;
  width:auto;
  flex-shrink:0;
  display:block;
}

.navlinks{
  display:flex;
  gap:28px;

  font-family:'Oxanium','Inter',sans-serif;

  font-size:14px;
  color:var(--muted);
}

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

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

.navcta{
  display:flex;
  gap:10px;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;

  border-radius:10px;

  font-family:'Oxanium','Inter',sans-serif;

  font-weight:600;
  font-size:14px;

  cursor:pointer;

  border:none;

  padding:11px 20px;

  text-decoration:none;
}

.btn-primary{
  background:linear-gradient(
    90deg,
    var(--v1),
    #5b3df0
  );

  color:#fff;

  box-shadow:
    0 10px 26px -8px
    rgba(139,92,246,0.55);
}

.btn-ghost{
  background:transparent;
  color:var(--text);

  border:1px solid var(--border);
}

.btn-discord{
  background:#5865F2;
  color:#fff;

  box-shadow:
    0 10px 26px -8px
    rgba(88,101,242,0.55);

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease;
}

.btn-discord:hover{
  transform:translateY(-2px);

  box-shadow:
    0 16px 36px -6px
    rgba(88,101,242,0.7);

  background:#4752c4;
}

.btn-discord:active{
  transform:translateY(0);
}

.btn-discord svg{
  width:15px;
  height:15px;
  flex-shrink:0;
}

.navcta .btn{
  padding:9px 16px;
  font-size:13px;
}

@media (max-width:760px){
  .navlinks{
    display:none;
  }
}


/* hero */

.hero{
  padding:96px 0 60px;
  position:relative;
}

.tag-line{
  display:inline-flex;
  align-items:center;
  gap:8px;

  font-family:'Oxanium','Inter',sans-serif;

  font-size:13px;

  color:#c9b8fb;

  background:rgba(139,92,246,0.12);

  border:1px solid rgba(139,92,246,0.35);

  padding:6px 14px;

  border-radius:20px;

  margin-bottom:28px;
}

.tag-line .dot{
  width:6px;
  height:6px;

  border-radius:50%;

  background:var(--green);

  box-shadow:0 0 8px var(--green);
}

.hero h1{
  font-size:clamp(38px,6vw,66px);

  line-height:1.04;

  font-weight:700;

  max-width:820px;

  letter-spacing:-1px;
}

.hero h1 em{
  font-style:normal;

  background:
    linear-gradient(
      90deg,
      var(--v1),
      var(--v2)
    );

  -webkit-background-clip:text;
  background-clip:text;

  color:transparent;
}

.hero p{
  margin-top:22px;

  font-size:18px;

  color:var(--muted);

  max-width:560px;

  line-height:1.6;
}

.hero-cta{
  display:flex;

  gap:14px;

  margin-top:34px;

  flex-wrap:wrap;
}

.hero-cta .btn{
  padding:14px 26px;
  font-size:15px;
}


/* mockup */

.mock-frame{
  margin-top:64px;

  border-radius:20px;

  border:1px solid var(--border);

  background:
    linear-gradient(
      180deg,
      var(--panel),
      var(--panel2)
    );

  overflow:hidden;

  box-shadow:
    0 40px 90px -30px
    rgba(0,0,0,0.7);
}

.mock-topbar{
  display:flex;

  align-items:center;

  gap:8px;

  padding:14px 18px;

  border-bottom:1px solid var(--border);
}

.mock-dot{
  width:9px;
  height:9px;

  border-radius:50%;

  background:#3a3a52;
}

.mock-body{
  display:grid;

  grid-template-columns:170px 1fr;

  min-height:340px;
}

.mock-side{
  border-right:1px solid var(--border);

  padding:18px 12px;

  display:flex;

  flex-direction:column;

  gap:6px;
}

.mock-item{
  height:12px;

  border-radius:5px;

  background:#20203a;

  width:80%;
}

.mock-item.active{
  background:
    linear-gradient(
      90deg,
      var(--v1),
      #5b3df0
    );

  width:90%;

  height:30px;

  border-radius:8px;

  display:flex;

  align-items:center;
}

.mock-main{
  padding:22px;
}

.mock-h{
  width:180px;
  height:20px;

  border-radius:5px;

  background:#26263e;

  margin-bottom:8px;
}

.mock-sub{
  width:260px;
  height:11px;

  border-radius:5px;

  background:#1c1c30;

  margin-bottom:22px;
}

.mock-cards{
  display:grid;

  grid-template-columns:
    repeat(4,1fr);

  gap:12px;

  margin-bottom:20px;
}

.mock-card{
  background:var(--panel);

  border:1px solid var(--border);

  border-radius:12px;

  padding:14px;

  height:70px;

  display:flex;

  flex-direction:column;

  justify-content:space-between;
}

.mock-card .l{
  width:60%;
  height:8px;

  background:#26263e;

  border-radius:4px;
}

.mock-card .v{
  width:40%;
  height:14px;

  background:
    linear-gradient(
      90deg,
      var(--v1),
      var(--v2)
    );

  border-radius:4px;
}

.mock-rows{
  display:flex;

  flex-direction:column;

  gap:10px;
}

.mock-row{
  display:flex;

  align-items:center;

  gap:12px;

  background:var(--panel);

  border:1px solid var(--border);

  border-radius:10px;

  padding:10px 14px;
}

.mock-avatar{
  width:26px;
  height:26px;

  border-radius:50%;

  background:
    linear-gradient(
      135deg,
      #3a2a6b,
      #241a45
    );

  flex-shrink:0;
}

.mock-row .l1{
  width:80px;
  height:9px;

  background:#26263e;

  border-radius:4px;
}

.mock-row .pill{
  margin-left:auto;

  width:60px;
  height:20px;

  border-radius:20px;

  background:
    linear-gradient(
      90deg,
      var(--v1),
      #5b3df0
    );
}

@media (max-width:700px){

  .mock-body{
    grid-template-columns:1fr;
  }

  .mock-side{
    display:none;
  }

  .mock-cards{
    grid-template-columns:
      repeat(2,1fr);
  }

}


/* sections */

section{
  padding:88px 0;
}

.section-head{
  max-width:560px;
  margin-bottom:52px;
}

.section-head .kicker{
  font-family:'Oxanium','Inter',sans-serif;

  font-size:14px;

  color:var(--v1);

  font-weight:600;

  margin-bottom:14px;
}

.section-head h2{
  font-size:clamp(28px,4vw,40px);

  line-height:1.15;

  letter-spacing:-0.5px;
}

.section-head p{
  color:var(--muted);

  margin-top:14px;

  font-size:16px;

  line-height:1.6;
}


.features{
  display:grid;

  grid-template-columns:
    repeat(4,1fr);

  gap:20px;
}

.feature{
  background:var(--panel);

  border:1px solid var(--border);

  border-radius:18px;

  padding:28px;

  transition:border-color .2s;
}

.feature:hover{
  border-color:#3a3a5c;
}

.feature .ic{
  width:44px;
  height:44px;

  border-radius:12px;

  background:
    rgba(139,92,246,0.14);

  display:flex;

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

  margin-bottom:20px;

  color:var(--v1);
}

.feature .ic svg{
  width:22px;
  height:22px;
}

.feature h3{
  font-size:18px;
  margin-bottom:10px;
}

.feature p{
  color:var(--muted);

  font-size:14px;

  line-height:1.6;
}

@media (max-width:980px){

  .features{
    grid-template-columns:
      repeat(2,1fr);
  }

}

@media (max-width:560px){

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

}


/* stats */

.stats{
  display:flex;

  gap:0;

  border-top:1px solid var(--border);

  border-bottom:1px solid var(--border);
}

.stat{
  flex:1;

  padding:36px 24px;

  text-align:center;

  border-right:1px solid var(--border);
}

.stat:last-child{
  border-right:none;
}

.stat .n{
  font-size:clamp(30px,4vw,44px);

  font-weight:700;

  font-family:
    'Oxanium',
    'Inter',
    sans-serif;

  background:
    linear-gradient(
      90deg,
      var(--v1),
      var(--v2)
    );

  -webkit-background-clip:text;

  background-clip:text;

  color:transparent;
}

.stat .l{
  color:var(--muted);

  font-size:13px;

  margin-top:6px;
}

@media (max-width:700px){

  .stats{
    flex-wrap:wrap;
  }

  .stat{
    flex:0 0 50%;

    border-bottom:
      1px solid var(--border);
  }

}


/* flow */

.flow{
  display:grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:24px;
}

.flow-item{
  position:relative;

  padding-left:26px;

  border-left:
    2px solid var(--border);
}

.flow-item.on{
  border-left-color:var(--v1);
}

.flow-item h4{
  font-family:
    'Oxanium',
    'Inter',
    sans-serif;

  font-size:16px;

  margin-bottom:8px;
}

.flow-item p{
  color:var(--muted);

  font-size:14px;

  line-height:1.6;
}

@media (max-width:820px){

  .flow{
    grid-template-columns:1fr;
  }

}


/* CTA */

.cta-band{
  border-radius:24px;

  background:
    linear-gradient(
      135deg,
      #1a1230,
      #241633
    );

  border:
    1px solid
    rgba(139,92,246,0.35);

  padding:64px 48px;

  text-align:center;

  position:relative;

  overflow:hidden;
}

.cta-band::before{
  content:'';

  position:absolute;

  inset:0;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(217,70,239,0.25),
      transparent 60%
    );
}

.cta-band > *{
  position:relative;
}

.cta-band h2{
  font-size:clamp(26px,4vw,38px);

  margin-bottom:14px;
}

.cta-band p{
  color:var(--muted);

  max-width:440px;

  margin:
    0 auto 30px;
}

@media (max-width:700px){

  .cta-band{
    padding:48px 26px;
  }

}


/* footer */

footer{
  border-top:1px solid var(--border);

  padding:40px 0;

  color:var(--muted);

  font-size:13px;

  display:flex;

  justify-content:space-between;

  flex-wrap:wrap;

  gap:12px;
}

footer .brand{
  color:var(--text);

  font-size:14px;
}