/* 基础样式 */
:root {
  --primary-color: #0066cc;
  --secondary-color: #f8f9fa;
  --dark-color: #333333;
  --light-color: #ffffff;
  --text-color: #333333;
  --text-muted: #6c757d;
  --border-color: #e9ecef;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 4px;
}

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

body {
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.text-white {
  color: var(--light-color);
}

.bg-light {
  background-color: var(--secondary-color);
}

.bg-primary {
  background-color: var(--primary-color);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--light-color);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.btn:hover {
  background-color: #0055aa;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.btn-light {
  background-color: var(--light-color);
  color: var(--primary-color);
}

.btn-light:hover {
  background-color: #f0f0f0;
}

.btn-full {
  width: 100%;
}

/* 导航栏样式 */
.header {
  background-color: var(--light-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

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

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav ul {
  display: flex;
  gap: 30px;
}

.nav a {
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: var(--primary-color);
}

/* 英雄区域样式 */
.hero {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/blue-tech-workspace.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 章节样式 */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* 特性卡片样式 */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feature-card {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-muted);
}

/* 产品展示样式 */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.product-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 500px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.product-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.product-features {
  margin-bottom: 30px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.product-features i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 5px;
}

.product-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* 数据统计样式 */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* 联系展示样式 */
.contact-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  margin-bottom: 15px;
}

.contact-item i {
  margin-right: 15px;
  margin-top: 5px;
}

.contact-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 页脚样式 */
.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 20px;
}

.footer-column p {
  color: #a0a0a0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #a0a0a0;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

.footer-column address {
  font-style: normal;
  color: #a0a0a0;
}

.footer-column address p {
  margin-bottom: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333333;
}

.footer-bottom p {
  color: #a0a0a0;
}

/* 页面标题样式 */
.page-header {
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-header p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* 关于页面样式 */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

/* 使命愿景样式 */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mission-card {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.mission-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mission-icon i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.mission-card h3 {
  margin-bottom: 15px;
}

.mission-card p {
  color: var(--text-muted);
}

/* 成就样式 */
.achievements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.achievement-card {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.achievement-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.achievement-icon i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.achievement-card h3 {
  margin-bottom: 15px;
}

.achievement-card p {
  color: var(--text-muted);
}

/* 产品详情页样式 */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.product-info h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.product-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.product-rating i {
  color: #ffc107;
  margin-right: 3px;
}

.product-rating span {
  color: var(--text-muted);
  margin-left: 10px;
}

.product-features-section {
  margin-bottom: 30px;
}

.product-features-section h3 {
  margin-bottom: 15px;
}

.product-features-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.product-features-list i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 5px;
}

.product-image-large {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 600px;
}

.product-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 应用截图样式 */
.app-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.screenshot {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 用户评价样式 */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.testimonial-rating {
  margin-bottom: 15px;
}

.testimonial-rating i {
  color: #ffc107;
  margin-right: 3px;
}

.testimonial p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-author h4 {
  margin-bottom: 5px;
}

.testimonial-author p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* 下载按钮样式 */
.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* 常见问题样式 */
.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 30px;
}

.faq-item h3 {
  margin-bottom: 10px;
}

.faq-item p {
  color: var(--text-muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-card {
  background-color: var(--light-color);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.faq-card h3 {
  margin-bottom: 10px;
}

.faq-card p {
  color: var(--text-muted);
}

/* 联系页面样式 */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: var(--primary-color);
}

.contact-info-item h3 {
  margin-bottom: 5px;
}

.contact-info-item p {
  color: var(--text-muted);
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 300px;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-container {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form-container h2 {
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero-content,
  .product-showcase,
  .contact-showcase,
  .about-content,
  .product-detail,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header-content {
    justify-content: space-between;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .section {
    padding: 40px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero-buttons,
  .product-buttons,
  .download-buttons {
    flex-direction: column;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
