* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: radial-gradient(circle at top, #1b0033, #0a0010);
  color: white;
  line-height: 1.6;
}

/* HERO */
.hero {
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #2a004d, #0a0010);
  position: relative;
  overflow: hidden;
}

/* BLURRED ICON BACKGROUND */
.hero-bg-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1200px;
  height: 1200px;

  background: url('App_icon_512.png') no-repeat center;
  background-size: contain;

  transform: translate(-50%, -50%);
  opacity: 0.1;
  filter: blur(1px);

  z-index: 0;
}

/* ensure text sits above it */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 20px;
  color: #d6b3ff;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #7c3aed;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #9b5cff;
  transform: translateY(-2px);
}

/* SECTIONS */
.section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.section p {
  color: #d6b3ff;
  text-align: center;
  max-width: 800px;
  margin: auto;
}

/* FEATURES */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #a855f7;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: #d6b3ff;
  text-align: left;
}

/* SCREENSHOTS */
.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.screenshot-box {
  height: 300px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed #7c3aed;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #c084fc;
}

.screenshot-box img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  border-radius: 15px;
}

.phone-frame {
  width: 280px;              /* phone width */
  height: 560px;             /* phone height */
  margin: 30px auto;

  border: 10px solid #111;   /* phone border */
  border-radius: 40px;       /* rounded edges */
  padding: 10px;
  
  background: black;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);

  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 20px;
  background: #111;
  border-radius: 10px;
  z-index: 2;
}

.phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.desktop-frame::after {
  content: "";
  display: block;
  width: 120px;
  height: 12px;
  background: #111;
  margin: 10px auto 0;
  border-radius: 6px;
}

/* CTA */
.cta {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #2a004d, #0a0010);
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta p {
  color: #d6b3ff;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  color: #a855f7;
  font-size: 0.9rem;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

  .hero {
    height: auto;
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.2rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .section {
    padding: 50px 15px;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .card {
    padding: 20px;
  }

  /* Screenshots stack nicer */
  .screenshots {
    grid-template-columns: 1fr;
  }

  .screenshot-box {
    height: auto;
  }

  /* Phone frame scales */
  .phone-frame {
    width: 90%;
    height: auto;
    aspect-ratio: 9 / 16;
  }

  /* Desktop video scales */
  .desktop-frame video {
    width: 100%;
  }

  video {
    width: 100%;
    height: auto;
  }

}