* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-dark: #2a0a52;
  --primary-purple: #4a1e8c;
  --primary-blue: #1a237e;
  --accent-color: #7c4dff;
  --text-light: #f5f5f5;
  --text-muted: #b3b3cc;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #0a0a1a;
}

/* 背景样式 */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url("./photo-1578662996442-48f60103fc96.avif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(42, 10, 82, 0.85) 0%,
    rgba(26, 35, 126, 0.85) 100%
  );
  z-index: -1;
}

/* 页面容器 */
.page-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 页头样式 */
header {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 10, 26, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(124, 77, 255, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  color: var(--accent-color);
  font-size: 32px;
}

.logo-text {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--accent-color), #b388ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: -5px;
  letter-spacing: 2px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
  padding: 8px 0;
  position: relative;
}

nav a:hover {
  color: var(--accent-color);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* 主要内容区域 */
.hero {
  padding: 80px 0 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #b388ff, var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* 应用介绍部分 */
.app-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  margin: 80px 0;
}

.intro-text {
  flex: 1;
  min-width: 300px;
}

.intro-text h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: var(--accent-color);
}

.intro-text p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #e6e6f0;
}

.app-screenshot {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.screenshot-placeholder {
  width: 100%;
  max-width: 280px;
  height: 630px;
  background: linear-gradient(
    145deg,
    rgba(74, 30, 140, 0.7),
    rgba(26, 35, 126, 0.7)
  );
  border-radius: 30px;
  border: 10px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.screenshot-content {
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 40, 0.6);
  border-radius: 20px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.screenshot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(124, 77, 255, 0.3);
}

.screenshot-header span {
  color: var(--accent-color);
  font-weight: 600;
}

.screenshot-item {
  width: 100%;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(124, 77, 255, 0.2),
    rgba(26, 35, 126, 0.2)
  );
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 15px;
}

.screenshot-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-blue));
}

.screenshot-text {
  flex: 1;
  height: 40%;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.1);
}

.video-chat-section {
  background: linear-gradient(
    135deg,
    rgba(42, 10, 82, 0.7),
    rgba(26, 35, 126, 0.7)
  );
  border-radius: 20px;
  padding: 40px;
  margin: 80px 0;
  border: 1px solid rgba(124, 77, 255, 0.3);
}

.video-chat-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.video-chat-text {
  flex: 1;
  min-width: 300px;
}

.video-chat-text h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: var(--accent-color);
}

.video-chat-text p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #e6e6f0;
}

.video-chat-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.video-placeholder {
  width: 100%;
  max-width: 400px;
  height: 250px;
  background: rgba(10, 10, 26, 0.7);
  border-radius: 20px;
  border: 1px solid rgba(124, 77, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.video-placeholder::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(124, 77, 255, 0.2);
  border: 3px solid var(--accent-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-color);
  font-size: 30px;
}

.video-placeholder::after {
  content: "\f03d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  color: var(--accent-color);
  font-size: 30px;
}

/* 特色部分 */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 80px 0;
}

.feature-card {
  background: rgba(20, 20, 40, 0.6);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(124, 77, 255, 0.2);
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 40px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #e6e6f0;
}

.feature-card p {
  color: var(--text-muted);
}

/* 页脚样式 */
footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(124, 77, 255, 0.3);
  margin-top: 80px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-email i {
  color: var(--accent-color);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
  }

  nav ul {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .app-intro,
  .video-chat-content {
    gap: 30px;
  }

  .intro-text h2,
  .video-chat-text h2 {
    font-size: 28px;
  }

  .video-chat-section {
    padding: 30px 20px;
  }

  .screenshot-placeholder {
    max-width: 240px;
    height: 540px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .intro-text h2,
  .video-chat-text h2 {
    font-size: 24px;
  }

  .intro-text p,
  .video-chat-text p {
    font-size: 16px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .screenshot-placeholder {
    max-width: 200px;
    height: 450px;
  }
}
