:root {
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.25);
  --glass-shadow: 0 8px 32px 0 rgba(0,0,0,0.45), 0 0 32px 4px #00eaff44;
  --primary-glow: 0 0 24px 4px #00eaff99, 0 0 64px 8px #7f5fff33;
  --primary-gradient: linear-gradient(135deg, #00eaff 0%, #7f5fff 60%, #1a1a2e 100%);
  --text-gradient: linear-gradient(90deg, #00eaff 0%, #7f5fff 100%);
  --button-gradient: linear-gradient(90deg, #00eaff 0%, #7f5fff 100%);
  --button-glow: 0 0 12px 2px #00eaff99;
  --text-light: #fff;
  --text-dim: #b3b8c5;
  --background: #0a0a16;
}

html {
  scroll-behavior: smooth;
}

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

body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: #f5f6fa;
  background: #10111a;
  position: relative;
  overflow-x: hidden;
}

/* Blobs/flous colorés en fond */
.background-blobs {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.background-blobs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  mix-blend-mode: lighten;
}
.background-blobs .blob1 {
  width: 38vw; height: 28vw;
  left: -10vw; top: -6vw;
  background: linear-gradient(120deg, #00eaff 40%, #7f5fff 100%);
  min-width: 320px; min-height: 220px;
  max-width: 700px; max-height: 500px;
}
.background-blobs .blob2 {
  width: 30vw; height: 22vw;
  right: -8vw; top: 7vw;
  background: linear-gradient(120deg, #7f5fff 0%, #ff5fcf 100%);
  min-width: 220px; min-height: 160px;
  max-width: 500px; max-height: 350px;
}
.background-blobs .blob3 {
  width: 28vw; height: 18vw;
  left: 40vw; bottom: -7vw;
  background: linear-gradient(120deg, #00eaff 0%, #ff5fcf 100%);
  min-width: 180px; min-height: 120px;
  max-width: 400px; max-height: 250px;
}
@media (max-width: 900px) {
  .background-blobs .blob1, .background-blobs .blob2, .background-blobs .blob3 {
    min-width: 220px; min-height: 160px;
    max-width: 400px; max-height: 300px;
  }
}

/* Layout bento */
.main-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7.5rem 2rem 3rem 2rem;
  position: relative;
  z-index: 1;
}
.hero-card {
  grid-column: 1 / span 2;
  text-align: center;
  padding: 3.5rem 2.5rem 2.5rem 2.5rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 32px 0 #00eaff22, 0 0 32px 4px #7f5fff22;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  order: 1;
}
.how-card {
  grid-column: 1 / span 2;
  align-self: start;
  min-width: 340px;
  order: 2;
}
.features-left {
  grid-column: 1 / span 1;
  align-self: start;
  min-width: 340px;
  order: 3;
}
.features-right {
  grid-column: 2 / span 1;
  align-self: start;
  min-width: 340px;
  order: 4;
}
.beta-card {
  grid-column: 1 / span 2;
  /* grid-row: 3; */
  align-self: start;
  min-width: 340px;
  order: 5;
}
.newsletter-card {
  grid-column: 1 / span 2;
  /* grid-row: 4; */
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  order: 6;
}
.newsletter-card .sender-form-field {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 900px) {
  .main-bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 2rem;
    padding: 6rem 0.5rem 2rem 0.5rem;
  }
  .hero-card, .newsletter-card, .features-left, .features-right, .how-card, .beta-card {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-card { order: 1; }
  .how-card { order: 2; }
  .features-left { order: 3; }
  .features-right { order: 4; }
  .beta-card { order: 5; }
  .newsletter-card { order: 6; }
}
@media (max-width: 600px) {
  .glass-card, .glass-card-light {
    min-width: 0;
    width: 100%;
    padding: 1.2rem 0.5rem;
    box-sizing: border-box;
  }
}

.glass-card, .glass-card-light {
  background: none !important;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 2rem;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
  position: relative;
  isolation: isolate;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  padding: 2.5rem 2rem;
  max-width: 100%;
  min-width: 340px;
  transition: box-shadow 0.2s, transform 0.2s;
  z-index: 1;
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0.45;
  pointer-events: none;
  transition: box-shadow 0.2s, opacity 0.2s;
}
.glass-card:hover::before {
  box-shadow: 0 0 32px 8px #00eaff33, 0 0 0 2px #00eaff33;
  opacity: 0.55;
}
.glass-card > * {
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  background: linear-gradient(90deg, #fff 60%, #00eaff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 24px #00eaff22;
}
@media (max-width: 700px) {
  h1 { font-size: 2rem; justify-content: left; }
}

h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.7rem;
}

.subtitle {
  color: #b3b8c5;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.button {
  display: inline-block;
  background: linear-gradient(90deg, #00eaff 0%, #7f5fff 100%);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 1.5rem;
  padding: 0.9rem 2.2rem;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 1.2rem 0.5rem 0 0.5rem;
  box-shadow: 0 0 12px 2px #00eaff33;
  cursor: pointer;
  transition: transform 0.2s, box-shadow .4s;
}
.button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px 2px #00eaff55;

}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.feature {
  background: rgba(255,255,255,0.07);
  border-radius: 1.2rem;
  padding: 1.2rem 1rem;
  color: #fff;
  box-shadow: 0 2px 12px 0 #0002;
  border: 1px solid rgba(255,255,255,0.10);
  position: relative;
}
.ribbon {
  position: absolute;
  top: -.7rem;
  right: -1rem;
  border: solid 1px #00eaff5e;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 0 8px 2px #7f5fff33;
  z-index: 2;
}
footer {
  background: transparent;
  color: #b3b8c5;
  text-align: center;
  padding: 2rem 0 1rem 0;
  font-size: 1rem;
}
footer a {
  color: #00eaff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(20, 22, 34, 0.55);
  box-shadow: 0 4px 24px 0 #0004;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 1.2rem 2.5vw 0.7rem 2.5vw;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-image {
  height: 40px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  /* background: rgba(255,255,255,0.10); */
  border-radius: 2rem;
  padding: 0.5rem 2rem;
  /* border: 1px solid rgba(255,255,255,0.18); */
  /* box-shadow: 0 2px 12px 0 #00eaff22; */
  /* backdrop-filter: blur(12px); */
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.4s ease;
}
@media (max-width: 900px) {
  
  .nav-links a:not(.cta-button) {
    display: none;
  }
}
.nav-links .cta-button {
  display: inline-block;
}
.cta-button {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 1.5rem;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  box-shadow: 0 0 12px 2px #00000055;
}
.cta-button:hover {
  background-color: #00eaffcc;
  box-shadow: 0 0 50px 2px #00eaff55;

}

/***** BENTO STEPS POUR COMMENT CA MARCHE *****/
.bento-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .bento-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.bento-step {
  background: none !important;
  border: 1.5px solid rgba(255,255,255,0.13);
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px 0 #0002;
  position: relative;
  isolation: isolate;
  padding: 1.2rem 1rem;
  min-width: 0;
  overflow-wrap: break-word;
  transition: box-shadow 0.2s, transform 0.2s;
}
.bento-step::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0.5;
  pointer-events: none;
}
.bento-step > * {
  position: relative;
  z-index: 1;
}
.bento-step:hover::before {
  box-shadow: 0 0 24px 4px #00eaff33;
  opacity: 0.65;
}