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

body {
  font-family: 'Poppins', sans-serif;
  background: #08080e;
  color: #e8e8f0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Hero ──────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 60px 20px;
}

.hero-inner { position: relative; z-index: 1; max-width: 600px; }

.icon {
  width: 90px; height: 90px;
  border-radius: 22px;
  box-shadow: 0 0 40px rgba(108,99,255,.25);
  margin-bottom: 30px;
  animation: bob 5s ease-in-out infinite;
}

@keyframes bob {
  0%,100% { transform: translateY(0) }
  50% { transform: translateY(-8px) }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}

.hero p {
  color: #888;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* glow blobs */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

.glow-1 { width: 500px; height: 500px; background: rgba(108,99,255,.1); top: -10%; left: -5%; }
.glow-2 { width: 350px; height: 350px; background: rgba(255,90,90,.05); bottom: -5%; right: -5%; animation-delay: -4s; }
.glow-3 { width: 400px; height: 400px; background: rgba(108,99,255,.08); top: 50%; left: 50%; transform: translate(-50%,-50%); }

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.1); }
}

/* particles canvas */
#particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* buttons */
.buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  transition: all .3s ease;
}

.btn:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.btn span { text-align: left; line-height: 1.3; font-weight: 600; font-size: .95rem; }
.btn small { display: block; font-weight: 400; font-size: .55rem; opacity: .6; }

/* ── Screenshots ───────────────────────────────────────────────── */

.screens {
  padding: 60px 0 80px;
  text-align: center;
}

.screens h2, .features h2, .cta h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 40px;
}

.screens h2 em, .features h2 em { color: #6c63ff; font-style: normal; }

.scroll-row {
  display: flex;
  gap: 14px;
  width: max-content;
  margin-bottom: 14px;
}

.row-left  { animation: slideL 50s linear infinite; }
.row-right { animation: slideR 50s linear infinite; }

@keyframes slideL { to { transform: translateX(-50%) } }
@keyframes slideR { from { transform: translateX(-50%) } to { transform: translateX(0) } }

.scroll-row:hover { animation-play-state: paused; }

.scroll-row img {
  height: 380px;
  width: auto;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,.05);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  flex-shrink: 0;
  transition: transform .3s ease, box-shadow .3s ease;
}

.scroll-row img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(108,99,255,.1);
}

/* ── Features ──────────────────────────────────────────────────── */

.features {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
}

.card {
  background: #101017;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 28px 22px;
  transition: all .35s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(108,99,255,.15);
  box-shadow: 0 12px 35px rgba(108,99,255,.06);
}

.card span { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.card h3 { font-size: .95rem; font-weight: 600; margin-bottom: 6px; }
.card p { font-size: .82rem; color: #777; line-height: 1.6; }

/* ── CTA ───────────────────────────────────────────────────────── */

.cta {
  text-align: center;
  padding: 80px 20px 100px;
  position: relative;
}

.cta p { color: #777; margin-bottom: 36px; font-size: 1rem; }

/* ── Footer ────────────────────────────────────────────────────── */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,.05);
  font-size: .75rem;
  color: #555;
  flex-wrap: wrap;
}

footer a { color: #666; text-decoration: none; transition: color .2s; }
footer a:hover { color: #aaa; }

/* ── Scroll reveal ─────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger feature cards */
.grid .card:nth-child(2) { transition-delay: .06s; }
.grid .card:nth-child(3) { transition-delay: .12s; }
.grid .card:nth-child(4) { transition-delay: .18s; }
.grid .card:nth-child(5) { transition-delay: .24s; }
.grid .card:nth-child(6) { transition-delay: .30s; }

/* ── Responsive ────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .scroll-row img { height: 300px; }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .buttons { flex-direction: column; align-items: center; }
  .btn { width: 200px; justify-content: center; }
  .scroll-row img { height: 240px; }
}
