:root {
  --blue-primary: #3a8ee6;
  --blue-dark: #2c3e50;
  --black-bg: #000000;
  --text-main: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --border-color: #eeeeee;
  --font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部导航 */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 24px;
  height: 24px;
  background-color: var(--blue-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chat-dot {
  width: 12px;
  height: 10px;
  background-color: white;
  border-radius: 2px;
  position: relative;
}

.chat-dot::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 2px;
  border-left: 3px solid white;
  border-bottom: 3px solid transparent;
}

.logo-text {
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* Hero 区域 */
.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
}

.bg-black {
  flex: 1.2;
  background-color: var(--black-bg);
}

.bg-blue-slant {
  flex: 1;
  background-color: var(--blue-primary);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
  margin-left: -15%;
}

.hero-flex {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hero-text h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 2px;
}

.hero-image {
  position: relative;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 220px;
  height: 440px;
  background: #111;
  border-radius: 30px;
  border: 8px solid #333;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  overflow: visible;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  border-radius: 20px;
  overflow: hidden;
}

.chat-list-preview {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #fff 0%, #fff 10%, #eee 10%, #eee 20%, #fff 20%, #fff 30%, #eee 30%);
  background-size: 100% 60px;
}

.paper-roll {
  position: absolute;
  bottom: -20px;
  left: -80px;
  width: 200px;
  height: 280px;
  background: #fff;
  border-radius: 10px;
  box-shadow: -10px 10px 30px rgba(0,0,0,0.1);
  transform: perspective(1000px) rotateY(20deg) rotateZ(-5deg);
  z-index: 5;
}

.paper-roll::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #ddd;
  border-radius: 50%;
  transform: rotateX(80deg);
}

.domain-text {
  margin-top: 40px;
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* 产品介绍 */
.features-section {
  padding: 100px 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 60px;
  font-weight: 500;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  text-align: center;
  padding: 30px 15px;
  border: 1px solid transparent;
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: var(--border-color);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-shape {
  width: 40px;
  height: 40px;
  border: 2px solid #f1c40f;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.circle-dots {
  width: 40px;
  height: 40px;
  border: 2px solid #3498db;
  border-radius: 50%;
  position: relative;
}

.circle-dots::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 12px;
  height: 12px;
  background: #f1c40f;
  border-radius: 50%;
}

.user-shape {
  width: 40px;
  height: 40px;
  border: 2px solid #f39c12;
  border-radius: 50% 50% 0 0;
  position: relative;
}

.user-shape::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 10px;
  width: 16px;
  height: 16px;
  border: 2px solid #f39c12;
  border-radius: 50%;
}

.shield-shape {
  width: 36px;
  height: 44px;
  border: 2px solid #3498db;
  clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 50% 100%, 0% 70%);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 下载区域 */
.download-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.download-box h3 {
  font-size: 24px;
  margin-bottom: 30px;
}

.download-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-download {
  padding: 12px 30px;
  background-color: var(--blue-primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-download:hover {
  background-color: #2980b9;
}

/* 页脚 */
.site-footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 14px;
}

/* 响应式 */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-text h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding: 120px 0 60px;
  }
  .hero-flex {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }
  .bg-blue-slant {
    clip-path: none;
    margin-left: 0;
  }
  .hero-bg {
    flex-direction: column;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
