/* ========================================
   艾威启科技 - 现代建筑科技风格（高端重制版）
   ======================================== */

:root {
    --primary-blue: #0066ff;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --dark-bg: #1a1d29;
    --light-bg: #f8f9fa;
    --accent-orange: #ff6b35;
    --accent-cyan: #00d4ff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

/* ===== 现代Hero区域 ===== */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* 简洁几何装饰 */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(10deg); }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
    border-radius: 30% 70% 70% 30% / 30% 40% 60% 70%;
    animation: float 20s ease-in-out infinite reverse;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-title {
    font-size: 68px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 32px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 22px;
    color: #6c757d;
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 700px;
}

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

/* 现代按钮设计 */
.btn {
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

/* ===== 业务卡片 - 现代设计 ===== */
.business-overview {
    padding: 120px 0;
    background: linear-gradient(to bottom, #fff 0%, #f8f9fa 100%);
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 16px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.business-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--hover-shadow);
}

.business-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.business-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.business-card h3 {
    padding: 32px 32px 16px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.business-card p {
    padding: 0 32px 24px;
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.business-link {
    display: inline-block;
    padding: 0 32px 32px;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.business-card:hover .business-link {
    padding-left: 40px;
    color: #764ba2;
}

/* ===== 行业场景矩阵 - 卡片式 ===== */
.solution-matrix {
    padding: 120px 0;
    background: var(--dark-bg);
    color: #fff;
}

.solution-matrix .section-title {
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solution-matrix .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

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

.matrix-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    transition: all 0.4s ease;
}

.matrix-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-10px);
}

.matrix-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.matrix-card > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-weight: 500;
}

.matrix-card ul {
    list-style: none;
    padding: 0;
}

.matrix-card li {
    padding: 12px 0 12px 40px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    position: relative;
}

.matrix-card li::before {
    content: '✓';
    position: absolute;
    left: 8px;
    color: #00d4ff;
    font-weight: 700;
    font-size: 18px;
}

/* ===== 新闻动态 - 现代卡片 ===== */
.news {
    padding: 120px 0;
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.news-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.news-content {
    padding: 32px;
}

.news-date {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.news-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.news-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #764ba2;
    padding-left: 10px;
}

/* ===== 导航栏 - 简洁清晰 ===== */
.header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #f0f0f0;
}

.logo h1 {
    color: #2c3e50;
    font-weight: 900;
    font-size: 28px;
}

.logo-subtitle {
    color: #667eea;
    font-weight: 600;
    letter-spacing: 2px;
}

.nav-menu a {
    color: #2c3e50;
    font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #667eea;
}

/* ===== 优势展示 ===== */
.advantages {
    padding: 120px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 40px 32px;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.advantage-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.advantage-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.advantage-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .business-grid,
    .advantages-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .matrix-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }
    
    .business-grid,
    .advantages-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}
