/* 主要样式文件 */
:root {
  --primary-color: #0057da; /* 主色调 */
  --secondary-color: #0046b3; /* 深一点的主色调，用于悬停效果 */
  --text-color: #333333;
  --light-text-color: #ffffff;
  --background-color: #ffffff;
  --dark-background: #1a1a2e;
  --light-background: #f5f7fa;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --error-color: #dc3545;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --container-width: 1400px;
}

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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
}

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

a:hover {
  color: var(--secondary-color);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 30px 15px;
}

/* 头部样式 */
.header {
  background-color: var(--background-color);
  box-shadow: var(--box-shadow);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin: 0 15px;
  position: relative;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 8px 0;
  display: inline-block;
}

.nav-link:hover {
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

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

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

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

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

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* 英雄区域样式 */
.hero {
  background-color: var(--dark-background);
  color: var(--light-text-color);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 600px;
}

/* 特性区域样式 */
.features {
  padding: 80px 0;
}
.solutions{
  padding: 30px;
  background-color: var(--light-background);
}
.product-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
}

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

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

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-description {
  color: #666;
}

/* 产品区域样式 */
.products {
  padding: 80px 0;
  background-color: var(--light-background);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}



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

.product-content {
  padding: 20px;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-description {
  color: #666;
  margin-bottom: 20px;
}

/* 场景应用区域样式 */
.scenarios {
  padding: 80px 0;
}

.scenario-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.scenario-tab {
  padding: 10px 20px;
  margin: 0 10px 10px;
  cursor: pointer;
  border-radius: var(--border-radius);
  background-color: var(--light-background);
  transition: var(--transition);
}

.scenario-tab.active {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.scenario-content {
  display: none;
}

.scenario-content.active {
  display: block;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

.scenario-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.scenario-description {
  margin-bottom: 20px;
}

/* 关于我们区域样式 */
.about {
  padding: 80px 0;
  background-color: var(--light-background);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content {
  max-width: 500px;
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-description {
  margin-bottom: 30px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  color: #666;
}

.about-image {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* 联系我们区域样式 */
.contact {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

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

.contact-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 87, 218, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* 页脚样式 */
.footer {
  background-color: var(--dark-background);
  color: var(--light-text-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-description {
  opacity: 0.8;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text-color);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 10px;
}

.footer-link a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-link a:hover {
  color: var(--light-text-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  opacity: 0.8;
}

/* IAM专注领域样式 */
.iam-focus {
  padding: 80px 0;
  background-color: var(--light-background);
}

.iam-focus-subtitle {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.iam-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.iam-focus-item {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.iam-focus-item:hover {
  transform: translateY(-5px);
}

.iam-focus-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.iam-focus-item h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.iam-focus-item p {
  color: #666;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-content {
    max-width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Teams Section */
.teams {
  background-color: var(--light-color);
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.team-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-img {
  height: 200px;
  background-color: #f0f0f0;
}

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

.team-content {
  padding: 20px;
}

.team-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.team-content p {
  font-size: 14px;
  color: var(--dark-gray);
  margin-bottom: 15px;
}



/* User Stories Section */
.user-stories {
  background-color: #f4faff;
}

.contact-brief{
  background-color: #f4faff;

}

.stories-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.story-card {
  background-color: var(--light-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.story-content {
  margin-bottom: 20px;
}

.story-content p {
  font-style: italic;
  font-size: 16px;
  line-height: 1.8;
}

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

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

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

.author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 14px;
  color: var(--dark-gray);
}
@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: var(--box-shadow);
    flex-direction: column;
    padding: 20px 0;
  }
  
  .nav-list.active {
    display: flex;
  }
  
  .nav-item {
    margin: 10px 20px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .scenario-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}

/* 延迟动画 */
.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}
