/* 全局样式 */
:root {
  --primary-color: #ff4d29; /* 橙红色 */
  --secondary-color: #ffffff; /* 白色 */
  --dark-overlay: rgba(0, 0, 0, 0.7);
  --text-color: #f5f5f5;
  --section-padding: 80px 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

body {
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 背景样式 */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./photo-1558769132-cb1aea458c5e.avif");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-overlay);
  z-index: -1;
}

/* 导航栏样式 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 15px 0;
  background-color: rgba(0, 0, 0, 0.8);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.mobile-menu {
  display: none;
  font-size: 24px;
  color: var(--secondary-color);
  cursor: pointer;
}

/* 主要区域样式 */
main {
  margin-top: 80px;
}

section {
  padding: var(--section-padding);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.highlight {
  color: var(--primary-color);
}

/* 内容区域样式 */
.content-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 100px;
}

.content-section:nth-child(even) {
  flex-direction: row-reverse;
}

.content-text {
  flex: 1;
  padding: 0 40px;
}

.content-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.content-text p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.screenshot-placeholder {
  flex: 0 0 40%;
  height: 500px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.screenshot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
}

/* 页脚样式 */
footer {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-email {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.support-email a {
  color: var(--primary-color);
  text-decoration: none;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* 响应式设计 */
@media (max-width: 992px) {
  .content-section {
    flex-direction: column;
  }

  .content-section:nth-child(even) {
    flex-direction: column;
  }

  .content-text {
    padding: 0;
    margin-bottom: 40px;
  }

  .screenshot-placeholder {
    width: 100%;
    max-width: 300px;
    height: 600px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  .mobile-menu {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .content-text h2 {
    font-size: 1.8rem;
  }

  .screenshot-placeholder {
    height: 500px;
  }
}
