* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    sans-serif;
  color: #f0e9e1;
  line-height: 1.5;
  min-height: 100vh;
  background: #0a0507; /* fallback */
  background-image: url("./photo-1511795409834-ef04bbd61622.avif"); /* night life crowd energy */
  background-size: cover;
  background-position: 65% 30%;
  background-attachment: fixed;
  position: relative;
}

/* 暗色半透明蒙层 + 黑到红褐渐变 overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    145deg,
    rgba(10, 5, 7, 0.92) 0%,
    rgba(45, 20, 18, 0.88) 70%,
    rgba(100, 40, 30, 0.75) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* 所有内容在蒙层之上 */
.page-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  backdrop-filter: blur(2px);
}

/* 头部导航 */
.header {
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid rgba(230, 180, 160, 0.2);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.logo h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(130deg, #ffc6a0, #ff9f7c, #e5593c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(229, 89, 60, 0.4);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: #f2d9cf;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  border-bottom-color: #e65f3e;
  color: #fff2e6;
  transform: translateY(-2px);
}

/* 通用区块 */
section {
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* banner区 */
.banner {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.banner-text {
  flex: 1 1 350px;
}

.banner-text .tagline {
  font-size: 1.5rem;
  font-weight: 300;
  color: #e6bfa8;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.banner-text h2 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(to right, #fff2e6, #ffb08c, #ff6b4a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(230, 80, 50, 0.5);
}

.banner-text .description {
  font-size: 1.2rem;
  max-width: 600px;
  color: rgba(255, 235, 220, 0.9);
  border-left: 4px solid #c04b2e;
  padding-left: 1.5rem;
  margin-top: 2rem;
}

.banner-visual {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  perspective: 1000px;
}

.phone-mock {
  width: 160px;
  height: 320px;
  background: rgba(20, 10, 8, 0.5);
  border-radius: 30px;
  border: 2px solid rgba(255, 140, 100, 0.6);
  backdrop-filter: blur(10px);
  box-shadow:
    0 30px 40px -20px black,
    0 0 0 2px #3f241b inset;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transform: rotateY(5deg) rotateX(2deg);
  transition: 0.3s;
}

.phone-mock:hover {
  transform: rotateY(0deg) scale(1.02);
  border-color: #ff825b;
}

.mock1 {
  background-image: url("https://images.unsplash.com/photo-1611162617213-7d7a39e9b1d7?w=300&q=80&auto=format");
} /* live selfie */
.mock2 {
  background-image: url("https://images.unsplash.com/photo-1512499617640-c74ae3a79d37?w=300&q=80&auto=format");
} /* camera moment */
.mock3 {
  background-image: url("https://images.unsplash.com/photo-1611606063065-ee7948d0467a?w=300&q=80&auto=format");
} /* chat & react */

/* intro + features 融合区域 */
.intro-features {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.intro-block {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.intro-text {
  flex: 2 1 350px;
}

.intro-text h3,
.features-grid h3 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  display: inline-block;
  background: linear-gradient(135deg, #fdba9a, #f8482e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-bottom: 3px solid #c04b2e;
  padding-bottom: 8px;
}

.intro-paragraph {
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
  color: #f2dfd3;
  max-width: 700px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  padding: 1.5rem 2rem;
  border-radius: 30px 10px 30px 10px;
  border: 1px solid rgba(210, 120, 80, 0.3);
}

.intro-paragraph:last-child {
  margin-bottom: 0;
}

.feature-highlight {
  flex: 1 1 250px;
  display: flex;
  justify-content: center;
}

.feature-highlight .phone-mock {
  width: 200px;
  height: 400px;
  transform: rotate(-3deg) scale(0.95);
  box-shadow: -20px 30px 40px rgba(0, 0, 0, 0.6);
}

/* features grid */
.features-grid {
  display: flex;
  flex-direction: column;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: rgba(18, 10, 8, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(229, 100, 70, 0.5);
  border-radius: 35px 15px 35px 15px;
  padding: 2rem 1.5rem;
  transition: 0.2s;
  box-shadow: 0 20px 30px -15px black;
}

.feature-card:hover {
  border-color: #f77252;
  background: rgba(35, 18, 14, 0.7);
  transform: scale(1.02) translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 6px #ff6a4b);
}

.feature-card h4 {
  font-size: 1.7rem;
  font-weight: 600;
  color: #ffbc9c;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #edd9cd;
  font-size: 1rem;
}

/* screenshot区域 */
.screenshot {
  text-align: center;
}

.screenshot h3 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #ffb08c, #ff5e3a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 3rem;
  display: inline-block;
  border-bottom: 2px solid #b04a2e;
  padding-bottom: 8px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.gallery .phone-mock {
  width: 190px;
  height: 380px;
  transform: rotate(0deg) scale(1);
  border-radius: 40px;
}

.gallery .mock1 {
  background-image: url("https://images.unsplash.com/photo-1612287230202-1ff1d85d1b8f?w=300&q=80&auto=format");
}
.gallery .mock2 {
  background-image: url("https://images.unsplash.com/photo-1586190848861-99aa4a171e90?w=300&q=80&auto=format");
}
.gallery .mock3 {
  background-image: url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=300&q=80&auto=format");
}

/* 页脚 */
.footer {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-top: 1px solid #8f4a34;
  padding: 2.5rem 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-top: auto;
}

.footer-nav a {
  color: #f0cbb8;
  text-decoration: none;
  margin-right: 2rem;
  font-size: 1rem;
  border-bottom: 1px dotted transparent;
}
.footer-nav a:hover {
  border-bottom-color: #f0724e;
  color: #fff;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  color: #e6c2ad;
  font-size: 0.95rem;
}

.footer-info a {
  color: #ffb89c;
  text-decoration: none;
  border-bottom: 1px solid #732;
}

.footer-info a:hover {
  color: #ffd7c0;
}

/* 移动端微调 */
@media (max-width: 700px) {
  .header {
    flex-direction: column;
    text-align: center;
  }
  .nav-links {
    justify-content: center;
    gap: 1.2rem;
  }
  .footer {
    flex-direction: column;
    text-align: center;
  }
  .footer-info {
    align-items: center;
  }
  .footer-nav a {
    margin: 0 1rem;
  }
  .banner {
    min-height: auto;
  }
  .intro-block {
    flex-direction: column-reverse;
  }
  .feature-highlight .phone-mock {
    width: 180px;
    height: 360px;
  }
}

/* 锚点偏移补偿 */
.anchor-offset::before {
  content: "";
  display: block;
  height: 80px;
  margin-top: -80px;
  visibility: hidden;
  pointer-events: none;
}

section {
  scroll-margin-top: 70px;
}
