* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0b0a0f;
  color: #f0eef5;
  line-height: 1.5;
}

/* background with overlay */
.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url("./photo-1586495777744-4413f21062fa.avif");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.page-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 15, 30, 0.55);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 32px;
  position: relative;
  z-index: 2;
}

/* ----- navigation ----- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  background: linear-gradient(145deg, #c084fc, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
}
.logo span {
  font-weight: 300;
  color: #f1e8ff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: 0 0 8px rgba(200, 180, 255, 0.3);
}

.nav-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.nav-links a {
  color: #e6defa;
  text-decoration: none;
  font-weight: 450;
  font-size: 1rem;
  letter-spacing: 0.3px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}
.nav-links a:hover {
  color: #d8b4fe;
  border-bottom-color: #a855f7;
}

/* ----- banner ----- */
.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 0 56px;
  flex-wrap: wrap;
}
.banner-text {
  flex: 1 1 280px;
}
.banner-text h1 {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #b48aff 0%, #a855f7 45%, #f0e6ff 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
  text-shadow: 0 8px 24px rgba(120, 60, 210, 0.15);
}
.banner-text h1 i {
  font-style: normal;
  background: linear-gradient(145deg, #f0e6ff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.banner-text p {
  font-size: 1.2rem;
  color: #d6cef0;
  max-width: 480px;
  line-height: 1.6;
  opacity: 0.9;
}

.banner-image {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s;
}
.banner-image img {
  width: 100%;
  height: auto;
  border-radius: 36px;
  box-shadow:
    0 20px 40px -8px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(168, 85, 247, 0.2);
  transition: all 0.25s;
  display: block;
  background: #28203a;
  aspect-ratio: 9 / 19;
  object-fit: cover;
}
.banner-image:hover img {
  transform: scale(1.02) rotate(0.5deg);
  box-shadow:
    0 30px 50px -12px #7b3fbf,
    0 0 0 2px #b48aff;
}

/* ----- section general ----- */
.section {
  padding: 50px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  background: linear-gradient(135deg, #c7b0ff, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 36px;
  letter-spacing: -0.3px;
}

/* ----- introduce (left-right交错) ----- */
.intro-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.intro-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
  background: rgba(20, 15, 30, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 24px 28px;
  border-radius: 32px;
  border: 1px solid rgba(200, 170, 255, 0.08);
}
.intro-item:nth-child(odd) {
  flex-direction: row;
}
.intro-item:nth-child(even) {
  flex-direction: row-reverse;
}
.intro-item .text-block {
  flex: 2 1 240px;
}
.intro-item .text-block h3 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #dccbfa;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
  background: linear-gradient(145deg, #e6d9ff, #c6aeff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.intro-item .text-block p {
  color: #e0d6f5;
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.92;
}
.intro-item .emoji-deco {
  flex: 0 0 48px;
  font-size: 2.6rem;
  line-height: 1;
  text-align: center;
  filter: drop-shadow(0 0 6px #a75bf7);
}

/* screenshots */
.screenshots-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.screenshots-grid figure {
  flex: 0 0 240px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 28px -8px #1a1028;
  transition: 0.2s;
  border: 1px solid rgba(180, 130, 255, 0.15);
  background: #221b30;
}
.screenshots-grid figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.screenshots-grid figure:hover {
  transform: translateY(-6px);
  border-color: #a855f7;
  box-shadow: 0 20px 32px -8px #452d70;
}

/* features */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.feature-card {
  background: rgba(26, 20, 38, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 24px 18px;
  border-radius: 28px;
  border: 1px solid rgba(200, 175, 255, 0.07);
  transition: 0.2s;
}
.feature-card:hover {
  background: rgba(45, 33, 65, 0.6);
  border-color: #8750cf;
}
.feature-card h4 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #d4befa;
  margin-bottom: 10px;
  background: linear-gradient(145deg, #f0e6ff, #b58aff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feature-card p {
  color: #cfc3e6;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* footer / contact */
.footer {
  margin-top: 40px;
  padding: 32px 0 16px;
  border-top: 1px solid rgba(255, 215, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
}
.footer-email {
  color: #d8cafc;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  background: rgba(168, 85, 247, 0.08);
  padding: 6px 16px;
  border-radius: 60px;
  border: 1px solid rgba(168, 85, 247, 0.15);
}
.footer-email a {
  color: #d3bcff;
  text-decoration: none;
  font-weight: 450;
}
.footer-email a:hover {
  color: #f0e6ff;
}
.footer-copy {
  font-size: 0.85rem;
  color: #a494c0;
  letter-spacing: 0.2px;
}

/* responsive */
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav-links {
    justify-content: center;
    gap: 16px 24px;
  }
  .banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 0 20px;
  }
  .banner-text h1 {
    font-size: 2.8rem;
  }
  .banner-text p {
    max-width: 100%;
    margin: 0 auto;
  }
  .banner-image {
    flex: 0 0 180px;
  }
  .banner-image img {
    max-width: 180px;
  }
  .intro-item,
  .intro-item:nth-child(odd),
  .intro-item:nth-child(even) {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    padding: 20px 18px;
  }
  .intro-item .emoji-deco {
    flex: 0 0 40px;
    font-size: 2.4rem;
  }
  .section-title {
    font-size: 1.9rem;
    text-align: center;
  }
  .screenshots-grid figure {
    flex: 0 0 110px;
  }
  .features-list {
    grid-template-columns: 1fr 1fr;
  }
  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px 24px;
  }
  .banner-text h1 {
    font-size: 2.3rem;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 0.9rem;
  }
  .features-list {
    grid-template-columns: 1fr;
  }
}

/* purple & white accents */
.accent-purple {
  color: #b48aff;
}
.accent-white {
  color: #f6f0ff;
}
