:root{
  --bg0:#0c0e12;
  --bg1:#151a22;
  --panel:#12151b;
  --border:#2a3140;
  --text:#f3f5f7;
  --muted:#c1c7d0;

  --greenA:#aad751;
  --greenB:#a2d149;

  --blue:#416ef0;
  --blue2:#284bbd;

  --apple:#e63c3c;
  --leaf:#46b45a;

  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background: radial-gradient(1200px 700px at 20% 10%, rgba(65,110,240,.20), transparent 55%),
              radial-gradient(1000px 700px at 80% 20%, rgba(170,215,81,.18), transparent 55%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
}

.container{ width:min(1100px, 92vw); margin:0 auto; }
.section{ padding:72px 0; }
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
}
.section__head{ margin-bottom:26px; }
.section__head h2{ margin:0 0 8px; font-size:34px; letter-spacing:.2px; }
.section__head p{ margin:0; color:var(--muted); font-size:18px; }

a{ color:inherit; text-decoration:none; }
code{ background:rgba(255,255,255,.06); padding:2px 6px; border-radius:10px; border:1px solid rgba(255,255,255,.10); }

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(10,12,16,.55);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.4px; }
.brand__dot{
  width:14px; height:14px; border-radius:50%;
  background: linear-gradient(180deg, var(--greenA), var(--greenB));
  box-shadow: 0 0 0 4px rgba(170,215,81,.16);
}
.nav{ display:flex; gap:18px; }
.nav a{ color:var(--muted); font-weight:600; }
.nav a:hover{ color:var(--text); }
.topbar__cta{ display:flex; gap:10px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  font-weight:700;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.22); }
.btn--primary{
  background: linear-gradient(180deg, rgba(170,215,81,.95), rgba(162,209,73,.95));
  color:#101214;
  border-color: rgba(0,0,0,.2);
}
.btn--ghost{
  background: rgba(255,255,255,.04);
}

/* Hero */
.hero{ padding:76px 0 40px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:center;
}
.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:var(--muted);
  font-weight:700;
  margin:0 0 14px;
}
.hero h1{
  margin:0 0 12px;
  font-size:48px;
  line-height:1.05;
  letter-spacing:-.6px;
}
.accent{ color: var(--greenA); }
.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size:18px;
  line-height:1.5;
}
.hero__buttons{ display:flex; gap:10px; margin: 18px 0 18px; flex-wrap:wrap; }
.hero__stats{
  list-style:none; padding:0; margin:14px 0 0;
  display:flex; gap:18px; flex-wrap:wrap;
}
.hero__stats li{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:10px 12px;
  display:flex; gap:10px; align-items:baseline;
}
.stat__num{ font-size:22px; font-weight:900; }
.stat__label{ color:var(--muted); font-weight:700; }

/* Card preview */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card__header{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.pill{
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color:var(--muted);
  font-weight:800;
}
.dots{ display:flex; gap:6px; }
.dots span{
  width:10px; height:10px; border-radius:50%;
  background: rgba(255,255,255,.18);
}
.card__preview{
  position:relative;
  height:340px;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.25)),
              linear-gradient(90deg, rgba(170,215,81,.20), rgba(162,209,73,.12));
}
.grid{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.08) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, rgba(0,0,0,.08) 1px, transparent 1px) 0 0 / 42px 42px;
  opacity:.55;
}
.chip{
  position:absolute;
  top:14px; left:14px;
  background: rgba(18,20,26,.72);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:8px 10px;
  display:flex; gap:8px; align-items:center;
  font-weight:800;
}
.chip__k{ color:var(--muted); }
.chip__v{ color:var(--text); }
.chip__sep{ opacity:.6; }

.snake{ position:absolute; left:70px; top:170px; display:flex; gap:8px; }
.snake__seg{
  width:34px; height:34px;
  border-radius:12px;
  background: var(--blue);
  border:3px solid rgba(40,75,190,.9);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.snake__seg--head{ border-radius:14px; }

.apple{
  position:absolute;
  right:90px; top:170px;
  width:40px; height:40px;
  border-radius:50%;
  background: var(--apple);
  box-shadow: 0 12px 24px rgba(0,0,0,.25);
}
.apple__shine{
  position:absolute;
  right:104px; top:182px;
  width:14px; height:14px;
  border-radius:50%;
  background: rgba(255,255,255,.45);
}
.apple__leaf{
  position:absolute;
  right:105px; top:152px;
  width:10px; height:14px;
  border-radius:6px;
  background: var(--leaf);
}
.card__footer{
  padding:12px 14px;
  display:flex; gap:8px; flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.08);
  color:var(--muted);
  font-weight:700;
}
.card__footer strong{ color:var(--text); }
.sep{ opacity:.5; }

/* Features */
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.feature{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:16px 16px;
}
.feature h3{ margin:0 0 8px; font-size:20px; }
.feature p{ margin:0; color:var(--muted); line-height:1.5; }

/* Controls */
.controls{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.controls__box{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:16px;
}
.controls__box h3{ margin:0 0 10px; }
.controls__box ul{ margin:0; padding-left:18px; color:var(--muted); line-height:1.7; }
kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight:900;
  padding:2px 8px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
}

/* Screens (2 colonnes) */
.screens--two{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}
.shot{
  margin:0;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  overflow:hidden;
}
.shot img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
  background: rgba(0,0,0,.20);
}
.shot figcaption{
  padding:12px 12px;
  color:var(--muted);
  font-weight:800;
}
.note{ color:var(--muted); margin:14px 0 0; }

/* Install */
.install{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap:14px;
}
.install__box{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:16px;
}
pre{
  margin:10px 0 0;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  overflow:auto;
}
pre code{
  background: transparent;
  border:0;
  padding:0;
  border-radius:0;
}

/* Roadmap */
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.road{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:16px;
}
.road h3{ margin:0 0 10px; }
.road ul{ margin:0; padding-left:18px; color:var(--muted); line-height:1.7; }

.footer-cta{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Footer */
.footer{
  padding:26px 0 40px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--muted);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.footer__small{ opacity:.9; }

/* Responsive */
@media (max-width: 920px){
  .hero__grid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .controls{ grid-template-columns: 1fr; }
  .screens--two{ grid-template-columns: 1fr; }
  .install{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .hero h1{ font-size:40px; }
}
