* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
}

:root {
  --color-primary-light: #ffd6e7;
  --color-primary: #ff9ec0;
  --color-secondary-light: #a0e7ff;
  --color-secondary: #5ac8fa;
  --color-dark: #333;
  --color-light: #fff;
  --color-text: #444;
  --color-text-light: #666;
  --gradient-primary: linear-gradient(
    135deg,
    var(--color-primary-light),
    var(--color-secondary-light)
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f9f9f9;
  color: var(--color-text);
  line-height: 1.6;
}

/* 背景和蒙层 */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.background-image {
  background-image: url("./FnzDO-vYTa8BhN18Ob81LYjUWw11.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  filter: brightness(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
}

/* 导航栏 */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 0 5%;
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* 主内容区域 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 1;
}

section {
  padding: 6rem 0;
}

.hero {
  padding-top: 10rem;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--color-text-light);
}

/* 内容区域 */
.content-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 4rem;
}

.content-section.reverse {
  flex-direction: row-reverse;
}

.content-text {
  flex: 1;
}

.content-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
  position: relative;
  display: inline-block;
}

.content-text h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: var(--gradient-accent);
}

.content-text p {
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.content-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.screenshot-container {
  width: 100%;
  max-width: 280px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  background: white;
}

.screenshot {
  width: 100%;
  background: var(--gradient-primary);
  position: relative;
}

.screenshot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 60%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}

.screenshot-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.screenshot-grid .screenshot-container {
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.screenshot-grid .screenshot-container:hover {
  transform: translateY(-10px);
}

/* 页脚 */
footer {
  background: rgba(255, 255, 255, 0.9);
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.contact-info {
  font-size: 1.1rem;
  color: var(--color-text);
}

.contact-email {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-email:hover {
  color: var(--color-secondary);
}

.copyright {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-dark);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--gradient-accent);
  color: white;
  transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 992px) {
  .content-section,
  .content-section.reverse {
    flex-direction: column;
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .screenshot-container {
    max-width: 240px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1rem 0;
  }

  .hero {
    padding-top: 12rem;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .content-text h2 {
    font-size: 1.9rem;
  }

  .screenshot-grid {
    gap: 1.5rem;
  }

  .screenshot-container {
    max-width: 200px;
  }
}

@media (max-width: 576px) {
  .nav-links {
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  section {
    padding: 4rem 0;
  }

  .screenshot-grid {
    gap: 1rem;
  }

  .screenshot-container {
    max-width: 170px;
  }
}
