/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.nav-logo h2 {
    color: #0078d4;
    font-weight: 700;
    font-size: 24px;
}

.nav-logo span {
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #0078d4;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0078d4;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主页横幅 */
.hero {
    margin-top: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

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

.hero-subtitle {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #e6f3ff;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #e6f3ff;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #0078d4;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0078d4;
    transform: translateY(-2px);
}

/* 部署动画 */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.deployment-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.device {
    width: 60px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: devicePulse 2s ease-in-out infinite;
}

.device.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.deployment-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: waveExpand 3s ease-out infinite;
}

/* 核心优势 */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 服务介绍 */
.services {
    padding: 100px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.section-title-left {
    text-align: left;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-header {
    background: linear-gradient(135deg, #0078d4, #005a9e);
    color: white;
    padding: 30px;
}

.service-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.service-content {
    padding: 30px;
}

.service-content ul {
    list-style: none;
}

.service-content li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.service-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0078d4;
    font-weight: bold;
}

.service-content li:last-child {
    border-bottom: none;
}

/* 培训与赋能 */
.training {
    padding: 100px 0;
    background: #f0f4f8;
}

.training-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.training-copy p {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 15px;
}

.training-eyebrow {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #0078d4;
    margin-bottom: 10px;
}

.training-badge {
    background: white;
    color: #333;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0, 120, 212, 0.15);
    border: 1px solid rgba(0, 120, 212, 0.1);
}

.mct-logo {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0 auto 15px;
}

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

.training-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.training-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #0078d4;
}

.training-card ul {
    list-style: none;
}

.training-card li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    padding-left: 18px;
    position: relative;
}

.training-card li::before {
    content: '•';
    color: #00a4ef;
    position: absolute;
    left: 0;
}

.training-card li:last-child {
    border-bottom: none;
}

.training-card p {
    color: #555;
    line-height: 1.6;
}

.training-card-highlight {
    background: linear-gradient(135deg, #ffffff, #e6f3ff);
    border: 1px solid rgba(0, 120, 212, 0.1);
}

/* AI 解决方案 */
.ai-solutions {
    padding: 100px 0;
    background: white;
}

.ai-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.ai-intro p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.ai-service-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 35px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ai-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 120, 212, 0.15);
    border-color: rgba(0, 120, 212, 0.2);
}

.ai-card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.ai-service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0078d4;
}

.ai-service-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ai-service-card ul {
    list-style: none;
    margin-top: 15px;
}

.ai-service-card li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
}

.ai-service-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #0078d4;
    font-weight: bold;
}

.ai-use-cases {
    background: linear-gradient(135deg, #f0f4f8, #e6f3ff);
    padding: 50px;
    border-radius: 16px;
    margin-top: 40px;
}

.ai-use-cases h3 {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.use-case-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.use-case-item strong {
    display: block;
    font-size: 1.1rem;
    color: #0078d4;
    margin-bottom: 10px;
}

.use-case-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* 技术栈 */
.technologies {
    padding: 100px 0;
    background: #f8f9fa;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.tech-category {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.tech-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #0078d4;
    border-bottom: 2px solid #0078d4;
    padding-bottom: 10px;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tech-name {
    font-weight: 600;
    color: #333;
}

.tech-desc {
    font-size: 0.9rem;
    color: #666;
}

/* 解决方案时间线 */
.solutions {
    padding: 100px 0;
    background: white;
}

.solutions-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.solutions-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #0078d4;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 40px 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 60%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 60%;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #0078d4;
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -50px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -50px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0078d4;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* 成果展示 */
.results {
    padding: 100px 0;
    background: linear-gradient(135deg, #0078d4, #005a9e);
    color: white;
}

.results .section-title {
    color: white;
}

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

.result-card {
    text-align: center;
    padding: 40px 20px;
}

.result-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #00ff88;
}

.result-label {
    font-size: 1.1rem;
    font-weight: 500;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.6;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: #333;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0078d4;
}

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

/* 页脚 */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand h3 {
    color: #0078d4;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-brand p {
    color: #ccc;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0078d4;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* 动画 */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes devicePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes waveExpand {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 40px;
        margin-right: 0;
    }
    
    .solutions-timeline::before {
        left: 20px;
    }
    
    .timeline-content::before {
        left: -30px !important;
    }

    .training-header {
        flex-direction: column;
        text-align: center;
    }

    .training-badge {
        width: 100%;
    }

    .section-title-left {
        text-align: center;
    }

    .ai-use-cases {
        padding: 30px 20px;
    }

    .use-case-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}