/* ===============================
   GLOBAL RESET & BASE
================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  color: #1f2937;
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3 {
  color: #0f172a;
}

section {
  width: 100%;
}

.section {
  padding: 64px 10%;
  text-align: center;
}

.light {
  background-color: #f5f7ff;
}

@media (max-width: 768px) {
  .section {
    padding: 48px 6%;
  }
}

/* ===============================
   HERO SECTION
================================ */

.hero {
  background: linear-gradient(180deg, #eef2ff, #ffffff);
  padding-bottom: 50px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 10%;
  font-weight: 600;
}

.logo {
  font-size: 1.2rem;
  color: #4f46e5;
}

/* ---------- BRAND (LOGO + NAME) ---------- */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #4f46e5;
  letter-spacing: 0.3px;
}


.hero-content {
  text-align: center;
  padding: 40px 10%;
}

.hero-content h1 {
  font-size: 2.3rem;
  margin-bottom: 14px;
}

.hero-content p {
  font-size: 1.05rem;
  color: #374151;
  margin-bottom: 22px;
}

.play-btn {
  display: inline-block;
  background: #000;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* ===============================
   MILESTONES (PREMIUM CHIPS)
================================ */

.milestones {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.milestones span {
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.15);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #1e293b;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  backdrop-filter: blur(2px);
  animation: fadeUp 0.5s ease forwards;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.milestones span:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(79, 70, 229, 0.15);
  background: rgba(79, 70, 229, 0.1);
}

.milestones span:nth-child(1) { animation-delay: 0.05s; }
.milestones span:nth-child(2) { animation-delay: 0.12s; }
.milestones span:nth-child(3) { animation-delay: 0.18s; }
.milestones span:nth-child(4) { animation-delay: 0.24s; }

.milestones span i {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0f172a;   /* pure dark mono */
  margin-right: 4px;
}


/* ===============================
   HOW IT WORKS
================================ */

.steps {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 30px 22px 44px;
  border: 1px solid rgba(79, 70, 229, 0.15);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(79, 70, 229, 0.15);
}


/* Step title (INSTALL, FREE TRIAL, SUBSCRIBE) */
.step-card h3 {
  color: #4f46e5;
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* Step description */
.step-card p {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}

/* STEP badge */
.step-card span {
  position: absolute;
  bottom: 14px;
  right: 16px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.18);
  color: #4f46e5;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* ===============================
   FEATURES SECTION (IMAGE CARDS)
================================ */

.features-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 26px;
}

.feature-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 14px 22px;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.feature-card img {
  width: 100%;
  max-width: 110px;
  margin-bottom: 14px;
}

.feature-card p {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1f2937;
}

/* ===============================
   TRUSTED LIBRARIES (HORIZONTAL)
================================ */

.libraries-container {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 4px 14px;
  scroll-snap-type: x mandatory;
}

.libraries-container::-webkit-scrollbar {
  height: 6px;
}

.libraries-container::-webkit-scrollbar-thumb {
  background: #c7d2fe;
  border-radius: 10px;
}

.lib-card {
  flex: 0 0 240px;
  background: rgba(79, 70, 229, 0.05);
  padding: 18px 18px;
  border-radius: 20px;
  border: 1px solid rgba(79, 70, 229, 0.15);
  scroll-snap-align: start;
  text-align: left;
  backdrop-filter: blur(2px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.lib-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.15);
  background: rgba(79, 70, 229, 0.08);
}


.lib-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f172a;
}

.lib-card span {
  font-size: 0.82rem;
  color: #475569;
}

.lib-card {
  animation: fadeUp 0.5s ease forwards;
}

.lib-card:nth-child(1) { animation-delay: 0.05s; }
.lib-card:nth-child(2) { animation-delay: 0.12s; }
.lib-card:nth-child(3) { animation-delay: 0.18s; }
.lib-card:nth-child(4) { animation-delay: 0.24s; }
.lib-card:nth-child(5) { animation-delay: 0.30s; }
/* ===============================
   FINAL CTA
================================ */

.final-cta {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: white;
  padding: 80px 10%;
  text-align: center;
}

.final-cta h2 {
  color: white;
  margin-bottom: 10px;
}

.final-cta p {
  margin-bottom: 24px;
  color: #e0e7ff;
}

.final-cta .play-btn {
  background: #ffffff;
  color: #4f46e5;
}

/* ===============================
   FOOTER
================================ */

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  background: #f3f4f6;
  color: #4b5563;
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */

@media (max-width: 768px) {

  .top-bar {
    padding: 14px 6%;
    font-size: 0.9rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hero-content {
    padding: 32px 6%;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .brand-logo {
  width: 32px;
  height: 32px;
}

.brand-name {
  font-size: 1.05rem;
}


  .milestones {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .milestones span {
    flex: 1 1 45%;
    text-align: center;
  }
}
