/* AI互动测评系统页面专用样式 */
:root {
  --ai-primary-blue: #1677ff;
  --ai-accent-blue: #4a8bff;
  --ai-accent-yellow: #fbbc05;
  --ai-accent-pink: #ff5e94;
  --ai-accent-green: #34a853;
  --ai-accent-purple: #8a4fff;
  --ai-bg: #f8faff;
}
body {
  background: linear-gradient(135deg, #f8faff 0%, #eaf2fb 100%);
  color: #222;
  min-height: 100vh;
  overflow-x: hidden;
}
.ai-banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #1677ff 60%, #4a8bff 100%);
    text-align: center;
    padding: 80px 20px;
    box-sizing: border-box;
}
.ai-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/interactive1.png') center/cover no-repeat;
    opacity: 0.8;
    z-index: 1;
}
.ai-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    color: #fff;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}
.ai-main-title {
    font-size: 4.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(120deg, #fff 30%, #4a8bff 70%, #fbbc05);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(74, 140, 255, 0.822);
    animation: slideInDown 1s ease-out;
}
.ai-sub-title {
    font-size: 2.2rem;
    margin: 25px 0;
    color: #fbbc05;
    text-shadow: 0 0 20px rgba(251, 188, 5, 0.6);
    animation: slideInLeft 1s ease-out 0.3s backwards;
}
.ai-banner-intro {
    font-size: 1.4rem;
    line-height: 1.8;
    margin: 30px auto;
    max-width: 1000px;
    color: #fff;
    padding: 20px 30px;
    background: rgba(22, 119, 255, 0);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    box-shadow: 0 0 30px 20px rgba(74, 139, 255, 0.3);
    animation: slideInUp 1s ease-out 0.6s backwards;
}
.ai-banner-intro span {
    display: inline-block;
    padding: 0 5px;
    animation: colorPulse 3s infinite;
}
/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes colorPulse {
    0% {
        color: #ff5e94;
    }
    50% {
        color: #4a8bff;
    }
    100% {
        color: #ff5e94;
    }
}
.ai-hex-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
  position: relative;
  top: 0;
  z-index: 3;
}
.ai-hexagons-container {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 1000px;
  margin: -57px auto 30px auto;
  gap: 0;
  /* overflow-x: auto; */
}
.ai-hexagon {
  width: 200px;
  height: 230px;
  margin: 0 20px;
  position: relative;
  cursor: pointer;
  transition: opacity 1s cubic-bezier(.22,1.02,.36,1), transform 1s cubic-bezier(.22,1.02,.36,1);
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  z-index: 2;
  background: none;
  animation: floatHex 6s ease-in-out infinite;
  flex: 1 1 0;
  min-width: 0;
}
@keyframes floatHex {
  0% { transform: scale(0.92) translateY(0); }
  50% { transform: scale(0.92) translateY(-15px); }
  100% { transform: scale(0.92) translateY(0); }
}
.ai-hexagon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(22,119,255,0.85);
  box-shadow: 0 8px 30px rgba(22,119,255,0.18);
  z-index: 2;
  transition: all 0.3s;
  border-radius: 10px;
}
.ai-hexagon .ai-hexagon-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  width: 80%;
  color: #fff;
  padding: 20px 0;
}
.ai-hexagon .ai-hexagon-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 0 18px #1677ff55;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}
.ai-hexagon .ai-hexagon-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 1px;
  margin: 0;
}
.ai-hexagon.selected::before,
.ai-hexagon:hover::before {
  background: rgba(22,119,255,1);
  box-shadow: 0 0 40px rgba(22,119,255,0.35);
  transform: scale(1.08);
}
.ai-hexagon.selected .ai-hexagon-title,
.ai-hexagon:hover .ai-hexagon-title {
  color: #ffe082;
}
.ai-hexagon.selected .ai-hexagon-icon,
.ai-hexagon:hover .ai-hexagon-icon {
  color: #ffe082;
  text-shadow: 0 0 24px #ffe08299;
}
.ai-hexagon.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.ai-hexagon:nth-child(1) { transition-delay: 0.1s; }
.ai-hexagon:nth-child(2) { transition-delay: 0.3s; }
.ai-hexagon:nth-child(3) { transition-delay: 0.5s; }
.ai-hexagon:nth-child(4) { transition-delay: 0.7s; }
/* 六边形下方内容区仿 temp2.html */
.ai-hex-content-display {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  margin: 60px auto 40px auto;
  max-width: 1000px;
  min-height: 320px;
  display: flex;
  align-items: center;
  transition: all 0.5s;
  border: 2px solid rgba(22,119,255,0.10);
  gap: 0;
  padding: 0;
}
.ai-hex-content-text {
  flex: 1;
  padding: 40px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ai-hex-content-title {
  font-size: 2rem;
  color: #1677ff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  font-weight: 700;
}
.ai-hex-content-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: #1677ff99;
  border-radius: 2px;
}
.ai-hex-content-desc {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}
.ai-hex-content-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  min-width: 220px;
  min-height: 220px;
  background: none;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  margin-left: 0;
  opacity: 1;
  transition: opacity 0.3s;
}
.ai-hex-content-img img {
  max-width: 100%;
  max-height: 260px;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: all 0.5s;
}
/* 支持高亮描述 */
.ai-hex-content-desc .highlight {
  color: #1677ff;
  font-weight: 700;
  background: linear-gradient(90deg, #eaf2fb 60%, #fbbc05 100%);
  border-radius: 4px;
  padding: 0 4px;
}
@media (max-width: 1000px) {
  .ai-hexagons-container {
    max-width: 100%;
    margin: 0 0 20px 0;
    gap: 0;
    /* overflow-x: auto; */
  }
  .ai-hexagon {
    width: 150px;
    height: 170px;
    margin: 0 10px;
    flex: 1 1 0;
    min-width: 0;
  }
  .ai-hex-content-display {
    flex-direction: column;
    min-height: 220px;
    margin: 30px 0 20px 0;
  }
  .ai-hex-content-text {
    padding: 20px 20px 10px 20px;
  }
  .ai-hex-content-img {
    padding: 20px;
    min-width: 120px;
    min-height: 120px;
  }
}
@media (max-width: 600px) {
  .ai-banner {
    min-height: 450px;
  }
  .ai-banner-content {
    padding: 40px 20px;
  }
  .ai-main-title {
    font-size: 2.6rem;
  }
  .ai-sub-title {
    font-size: 1.4rem;
    margin: 15px 0;
  }
  .ai-banner-intro {
    font-size: 1rem;
    padding: 12px 18px;
    margin: 20px auto;
    line-height: 1.6;
  }
  .ai-hexagons-container {
    max-width: 100vw;
    margin: 0 0 10px 0;
    gap: 0;
    /* overflow-x: auto; */
  }
  .ai-hexagon {
    width: 120px;
    height: 130px;
    margin: 0 4px;
    flex: 1 1 0;
    min-width: 0;
  }
  .ai-hex-content-display {
    min-height: 120px;
    padding: 0;
  }
  .ai-hex-content-text {
    padding: 10px 10px 5px 10px;
  }
  .ai-hex-content-img {
    padding: 10px;
  }
}
/* 入场动画通用样式 */
.ai-animate-on-scroll {
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  transition: opacity 1s cubic-bezier(.22,1.02,.36,1), transform 1s cubic-bezier(.22,1.02,.36,1);
  will-change: opacity, transform;
}
.ai-animate-on-scroll.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* 响应式设计 */
@media (max-width: 1200px) {
  .ai-banner {
    min-height: 600px;
    height: auto;
  }
  .ai-banner-content {
    padding: 60px 40px;
  }
  .ai-main-title {
    font-size: 3.8rem;
  }
  .ai-sub-title {
    font-size: 1.8rem;
  }
  .ai-banner-intro {
    font-size: 1.2rem;
    max-width: 900px;
    padding: 15px 25px;
  }
  .ai-hexagons-container {
    gap: 25px;
  }
  .ai-hexagon {
    width: 180px;
    height: 210px;
  }
  .ai-hex-content-display {
    margin-top: 50px;
    padding: 0 30px;
  }
}
@media (max-width: 900px) {
  .ai-banner {
    min-height: 500px;
  }
  .ai-banner-content {
    padding: 50px 30px;
  }
  .ai-main-title {
    font-size: 3.2rem;
  }
  .ai-sub-title {
    font-size: 1.6rem;
    margin: 20px 0;
  }
  .ai-banner-intro {
    font-size: 1.1rem;
    max-width: 700px;
    padding: 15px 20px;
    margin: 25px auto;
  }
  .ai-hexagons-container {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .ai-hexagon {
    width: 160px;
    height: 185px;
  }
  .ai-hexagon-icon {
    font-size: 2.4rem;
    margin-bottom: 15px;
  }
  .ai-hexagon-title {
    font-size: 1.2rem;
  }
  .ai-hex-content-display {
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ai-hex-content-text {
    width: 100%;
    margin-bottom: 30px;
  }
  .ai-hex-content-img {
    width: 100%;
    max-width: 400px;
  }
}
@media (max-width: 480px) {
  .ai-banner {
    min-height: 400px;
  }
  .ai-banner-content {
    padding: 30px 15px;
  }
  .ai-main-title {
    font-size: 2.2rem;
  }
  .ai-sub-title {
    font-size: 1.2rem;
  }
  .ai-banner-intro {
    font-size: 0.95rem;
    padding: 10px 15px;
  }
  .ai-hexagons-container {
    gap: 12px;
  }
  .ai-hexagon {
    width: 130px;
    height: 150px;
  }
  .ai-hexagon-icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .ai-hexagon-title {
    font-size: 1rem;
  }
  .ai-hex-content-display {
    margin-top: 25px;
    padding: 0 15px;
  }
  .ai-hex-content-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  .ai-hex-content-desc {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .ai-hex-content-img {
    max-width: 320px;
  }
}

.card {
    position: relative;
    width: 280px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    text-align: center;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px 0 rgba(31, 38, 135, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.card:hover::before {
    left: 100%;
}

.card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.1);
}

.card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 15px 0;
    background: linear-gradient(120deg, #4a8bff, #ff5e94);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(74, 139, 255, 0.3);
}

.card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    padding: 0 10px;
}

/* 添加卡片容器样式 */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .card {
        width: 260px;
        padding: 25px 15px;
    }
    .card img {
        width: 70px;
        height: 70px;
    }
    .card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 900px) {
    .cards-container {
        gap: 25px;
        padding: 30px 15px;
    }
    .card {
        width: 240px;
        padding: 20px 15px;
    }
    .card h3 {
        font-size: 1.2rem;
        margin: 12px 0;
    }
    .card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
        padding: 25px 10px;
    }
    .card {
        width: 100%;
    }
    .card img {
        width: 60px;
        height: 60px;
    }
} 