/* ========================================
   通达教育建站有限公司 - 全局样式
   办公潮流风 | 浅蓝 + 浅紫 + 纯白
   ======================================== */

/* CSS Reset & 基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0e6f5 100%);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   顶部导航栏 - 悬浮卡片式
   ======================================== */
.header-wrapper {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 1360px;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.1);
    padding: 0 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.2);
    padding: 10px 40px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #6c5ce7 0%, #74b9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #6c5ce7, #74b9ff);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #6c5ce7;
    background: rgba(108, 92, 231, 0.08);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #6c5ce7;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.2);
}

.mobile-menu.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu .nav-link {
    display: block;
    padding: 15px 20px;
    margin-bottom: 8px;
    border-radius: 10px;
}

/* ========================================
   页脚 - 悬浮卡片分层设计
   ======================================== */
.footer-wrapper {
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border-radius: 24px 24px 0 0;
    padding: 60px 40px 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/footer-bg.png') center/cover;
    opacity: 0.1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 8px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

/* ========================================
   首页 Banner - 错位分层设计
   ======================================== */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #74b9ff;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #a29bfe;
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #dfe6e9;
    top: 50%;
    left: 50%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, -20px); }
    50% { transform: translate(-10px, 20px); }
    75% { transform: translate(-20px, -10px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #2d3436 0%, #6c5ce7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .subtitle {
    font-size: 20px;
    color: #636e72;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #6c5ce7 0%, #74b9ff 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
    background: #fff;
    color: #6c5ce7;
    border: 2px solid #6c5ce7;
}

.btn-secondary:hover {
    background: #6c5ce7;
    color: #fff;
}

.hero-cards {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    height: 400px;
}

.hero-card {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.15);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(108, 92, 231, 0.25);
}

.hero-card-1 {
    width: 320px;
    height: 240px;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    z-index: 3;
}

.hero-card-2 {
    width: 280px;
    height: 200px;
    top: 80px;
    left: calc(50% - 180px);
    transform: rotate(-15deg);
    z-index: 2;
}

.hero-card-3 {
    width: 280px;
    height: 200px;
    top: 80px;
    right: calc(50% - 180px);
    transform: rotate(15deg);
    z-index: 2;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   核心优势板块 - 悬浮卡片分层
   ======================================== */
.features-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(116, 185, 255, 0.1));
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #6c5ce7;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: #636e72;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6c5ce7, #74b9ff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(116, 185, 255, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: #636e72;
    line-height: 1.8;
}

/* ========================================
   服务板块 - 错位卡片布局
   ======================================== */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(108, 92, 231, 0.05) 50%, transparent 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(108, 92, 231, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card:nth-child(2) {
    transform: translateY(30px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(108, 92, 231, 0.2);
}

.service-card:nth-child(2):hover {
    transform: translateY(20px);
}

.service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 12px;
}

.service-content p {
    font-size: 15px;
    color: #636e72;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #6c5ce7;
}

.service-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* ========================================
   案例板块 - 瀑布流错位
   ======================================== */
.cases-section {
    padding: 100px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.1);
    transition: all 0.4s ease;
}

.case-card:nth-child(odd) {
    transform: translateY(20px);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.2);
}

.case-card:nth-child(odd):hover {
    transform: translateY(10px);
}

.case-image {
    height: 180px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-info {
    padding: 24px;
}

.case-category {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(116, 185, 255, 0.1));
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #6c5ce7;
    margin-bottom: 12px;
}

.case-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 8px;
}

.case-info p {
    font-size: 14px;
    color: #636e72;
    line-height: 1.6;
}

/* ========================================
   资讯列表板块
   ======================================== */
.news-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(108, 92, 231, 0.05) 50%, transparent 100%);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.news-tab {
    padding: 12px 28px;
    background: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #636e72;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.08);
}

.news-tab.active,
.news-tab:hover {
    background: linear-gradient(135deg, #6c5ce7 0%, #74b9ff 100%);
    color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.1);
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.2);
}

.news-image {
    height: 160px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 13px;
    color: #b2bec3;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 14px;
    color: #636e72;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   CTA 板块
   ======================================== */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-white {
    background: #fff;
    color: #6c5ce7;
}

.btn-white:hover {
    background: #f5f5f5;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   内页通用样式
   ======================================== */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08) 0%, rgba(116, 185, 255, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/page-header-bg.png') center/cover;
    opacity: 0.5;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 16px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #636e72;
}

.breadcrumb a {
    color: #6c5ce7;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #74b9ff;
}

.breadcrumb span {
    color: #b2bec3;
}

/* ========================================
   关于页面
   ======================================== */
.about-intro {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 500px;
}

.about-img-main {
    position: absolute;
    width: 380px;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.15);
    top: 0;
    left: 0;
    z-index: 2;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-sub {
    position: absolute;
    width: 280px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.12);
    bottom: 0;
    right: 0;
    z-index: 1;
}

.about-img-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 16px;
    color: #636e72;
    line-height: 2;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(116, 185, 255, 0.08));
    border-radius: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #6c5ce7 0%, #74b9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: #636e72;
}

/* ========================================
   新闻列表页
   ======================================== */
.news-list-page {
    padding: 80px 0;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-list-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.1);
    transition: all 0.4s ease;
}

.news-list-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.2);
}

.news-list-image {
    height: 200px;
    overflow: hidden;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-list-item:hover .news-list-image img {
    transform: scale(1.1);
}

.news-list-content {
    padding: 30px;
}

.news-list-date {
    font-size: 14px;
    color: #b2bec3;
    margin-bottom: 12px;
}

.news-list-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 14px;
    line-height: 1.5;
}

.news-list-content p {
    font-size: 15px;
    color: #636e72;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   新闻详情页
   ======================================== */
.news-detail-page {
    padding: 80px 0;
}

.news-detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-detail-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-detail-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    color: #b2bec3;
}

.news-detail-image {
    width: 100%;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 50px;
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-content {
    font-size: 17px;
    line-height: 2;
    color: #555;
}

.news-detail-content p {
    margin-bottom: 24px;
}

.news-detail-content img {
    width: 100%;
    border-radius: 16px;
    margin: 30px 0;
}

/* 相关新闻 */
.related-news {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #dfe6e9;
}

.related-news h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 30px;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
    .features-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-card-stack {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-images {
        height: 400px;
    }
    
    .about-img-main {
        width: 320px;
        height: 380px;
    }
    
    .about-img-sub {
        width: 220px;
        height: 260px;
    }
    
    .news-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }
    
    .nav-container {
        height: 70px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .mobile-menu.show {
        display: block;
    }
    
    .hero-section {
        padding-top: 120px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid,
    .services-grid,
    .cases-grid,
    .news-grid,
    .news-list-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card:nth-child(2),
    .service-card:nth-child(2),
    .case-card:nth-child(odd) {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-card {
        padding: 50px 30px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .news-detail-image {
        height: 250px;
    }
    
    .news-detail-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container,
    .container-narrow {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-text .subtitle {
        font-size: 16px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-desc {
        font-size: 16px;
    }
}

/* ========================================
   滚动动画
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   工具类
   ======================================== */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
