* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 统一颜色变量 */
:root {
    --primary-color: #4a00e0;
    --secondary-color: #8e2de2;
    --accent-color: #00c6ff;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #4a00e0 0%, #8e2de2 100%);
    --gradient-accent: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
}

body {
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========= 新版 Hero ========= */
.hero {
    min-height: 0;
    padding: 270px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-inner{
    display: flex;
    align-items: center;
    gap: 3rem;
}
.hero-content {
    flex: 1 1 auto;                      /* 3. 恢复弹性宽度 */
    max-width: 600px;
    z-index: 2;
}

/* 文字样式还原 */
.hero h1 {
    font-size: 3.3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.hero p {
    font-size: 1.2rem;                   /* 4. 把丢失的字号加回来 */
    margin-bottom: 2rem;
    color: var(--text-gray);
}


.hero-media{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

/* 视频 */
.hero-video{
    width: 360px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--dark-bg);
    animation: float 5s ease-in-out infinite;
}
.hero-video video{
    width: 100%;
    height: auto;
    display: block;
}

/* 装饰 SVG */
.hero-image{
    width: 220px;
    opacity: .8;
    animation: float 5s ease-in-out infinite;
    animation-delay: .3s;
}

/* 响应式 */
@media (max-width: 992px){
    .hero-inner{ flex-direction: column; text-align: center; }
    .hero-content{ flex: 1 1 auto; max-width: 700px; }
    .hero-media{ width: 100%; justify-content: center; }
}
@media (max-width: 768px){
    .hero-media{ flex-direction: column; }
    .hero-video{ width: 100%; max-width: 480px; }
    .hero-image{ width: 60%; max-width: 280px; }
}

/* 统一按钮样式 */
.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 198, 255, 0.3);
}

.btn i {
    margin-left: 0;
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background: var(--darker-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.feature h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9rem;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* 服务区域 */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 198, 255, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* AI功能区域 */
.ai-section {
    padding: 80px 0;
    background: radial-gradient(circle at 30% 70%, rgba(142, 45, 226, 0.1) 0%, transparent 50%);
    text-align: center;
}

.ai-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-section p {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-gray);
    font-size: 1.2rem;
}

.ai-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.ai-feature {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    width: 200px;
    transition: all 0.3s ease;
}

.ai-feature:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 198, 255, 0.1);
}

.ai-feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.ai-feature h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.ai-feature p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9rem;
}

/* 页脚 */
footer {
    background: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-column p {
    color: var(--text-gray);
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    padding: 0.3rem 0;
    color: var(--text-gray);
}

.footer-column ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.footer-column ul li i {
    margin-right: 0.5rem;
    width: 20px;
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-image {
        width: 45%;
    }

    .about-content {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 120px 0 50px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        display: none;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .ai-features {
        flex-direction: column;
        align-items: center;
    }

    .ai-feature {
        width: 100%;
        max-width: 300px;
    }
}

/* 动画效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 5s ease-in-out infinite;
}

/* 汉堡菜单 */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

/* 移动端菜单 */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        border-top: 1px solid var(--border-color);
        gap: 0;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}

/* 滚动条样式 - 统一添加 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0072ff;
}


/* 科技暗黑风页脚版权样式 */
.copyright {
  text-align: center;
  padding: 25px 0 15px;
  border-top: 1px solid var(--border-color);
  background: var(--darker-bg);
  color: var(--text-gray);
  font-size: 13px;
  line-height: 1.8;
}

.copyright p {
  margin: 8px 0;
}

.beian-links a {
  color: var(--text-gray);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.beian-links a:hover {
  color: var(--accent-color);
  background: rgba(0, 198, 255, 0.1);
  text-decoration: none;
}

.beian-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 8px;
  width: calc(100% - 16px);
  height: 1px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.beian-links a:hover::after {
  transform: scaleX(1);
}

.divider {
  color: var(--border-color);
  margin: 0 10px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .copyright {
    padding: 20px 15px;
    font-size: 12px;
  }

  .beian-links a {
    display: inline-block;
    margin: 5px 0;
  }

  .divider {
    display: none;  /* 移动端隐藏分隔符，自动换行 */
  }
}


/* === 首页AI商业区域增强样式 === */
.ai-commercial-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ai-commercial-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.showcase-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.showcase-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 198, 255, 0.2);
}

.showcase-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.showcase-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
}

.showcase-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.showcase-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.ai-commercial-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}