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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #e4e4e7;
  min-height: 100vh;
  overflow-x: hidden;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: flex;
  align-items: center; /* centers vertically */
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-links a {
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #fff;
}

.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content h1 .brand {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .subtitle {
  font-size: 1.25rem;
  color: #a1a1aa;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #764ba2;
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-icon {
  width: 380px;
  height: 380px;
  border-radius: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3); */
  animation: float 6s ease-in-out infinite;
  position: relative;
}

.app-logo {
  width: 240px;
  height: 240px;
  object-fit: contain;
  border-radius: 40px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 150px;
  gap: 30px;
}

.bar {
  width: 15px;
  height: 80px;
  background: white;
  border-radius: 4px;
  animation: waveAnim 1s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Delays for nice wave effect */
.bar:nth-child(1) {
  animation-delay: 0s;
}
.bar:nth-child(2) {
  animation-delay: 0.1s;
}
.bar:nth-child(3) {
  animation-delay: 0.2s;
}
.bar:nth-child(4) {
  animation-delay: 0.3s;
}
.bar:nth-child(5) {
  animation-delay: 0.4s;
}
.bar:nth-child(6) {
  animation-delay: 0.3s;
}
.bar:nth-child(7) {
  animation-delay: 0.2s;
}
.bar:nth-child(8) {
  animation-delay: 0.1s;
}
.bar:nth-child(9) {
  animation-delay: 0s;
}
.bar:nth-child(10) {
  animation-delay: 0.1s;
}

/* Wave animation */
@keyframes waveAnim {
  0%,
  100% {
    height: 16px;
    opacity: 0.6;
  }
  50% {
    height: 80px;
    opacity: 1;
  }
}

.nav-update {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-update svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.features {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 3rem 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(102, 126, 234, 0.4);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.2) 0%,
    rgba(118, 75, 162, 0.2) 100%
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.feature-card p {
  color: #a1a1aa;
  line-height: 1.6;
  font-size: 0.95rem;
}

footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #71717a;
  font-size: 0.9rem;
}

.screenshots {
  max-width: 1400px;
  margin: 4rem auto 2rem;
  padding: 0 3rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.screenshot-gallery img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  background: #111;
  padding: 4px;

  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Hover effect */
.screenshot-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.25);
}

.section-divider {
  border: none;
  height: 1px;
  margin: 4rem auto;
  max-width: 1200px;
  opacity: 0.6;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(102, 126, 234, 0.8),
    rgba(118, 75, 162, 0.8),
    transparent
  );
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.lightbox.hidden {
  display: none;
}

#lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 0.7;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .cta-buttons {
    justify-content: center;
  }

  .app-icon {
    width: 280px;
    height: 280px;
    border-radius: 60px;
  }

  .app-icon::before {
    font-size: 7rem;
  }

  .navbar {
    padding: 1.5rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .wave {
    height: 90px;
  }

  .bar {
    width: 6px;
  }
}
