/* ============================================================
   诚广科技（武汉）有限公司 - 企业官网主题
   科技蓝色调 · 响应式设计 · Halo 2.24
   ============================================================ */

/* ===== CSS 变量 ===== */
:root {
    --primary: #1a73e8;
    --primary-dark: #0d47a1;
    --primary-light: #4a9ff5;
    --accent: #00bcd4;
    --secondary: #0d47a1;
    
    --text: #2c3e50;
    --text-light: #5f6b7a;
    --text-muted: #95a5a6;
    --white: #ffffff;
    --bg: #f8f9fa;
    --bg-light: #f0f4f8;
    --bg-dark: #0a1628;
    --border: #e2e8f0;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-blue: 0 4px 20px rgba(26,115,232,0.15);
    
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --header-height: 80px;
    --container: 1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 90px 0;
}

.bg-light {
    background: var(--bg-light);
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

/* ===== 通用Section Header ===== */
.section-header {
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    padding: 6px 20px;
    background: linear-gradient(135deg, rgba(26,115,232,0.1), rgba(0,188,212,0.1));
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,115,232,0.3);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-2px);
    color: var(--white);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
    background: rgba(255,255,255,0.98);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

.nav-link {
    padding: 10px 14px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(26,115,232,0.05);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg);
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.header-phone i {
    font-size: 18px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a1628 0%, #0d47a1 40%, #1a73e8 70%, #00bcd4 100%);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(13,71,161,0.7) 100%);
}

/* Animated particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 0 80px;
}

.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Stats Section ===== */
.stats-section {
    position: relative;
    margin-top: -60px;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(26,115,232,0.1), rgba(0,188,212,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.about-experience {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 20px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-blue);
}

.exp-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
}

.exp-text {
    font-size: 13px;
    opacity: 0.9;
}

.about-content .section-label {
    margin-bottom: 12px;
}

.about-content .section-title {
    margin-bottom: 20px;
}

.about-text {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-item i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.feature-item p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.fallback-icon {
    display: none;
    font-size: 40px;
    color: var(--primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-icon img[src]:invalid + .fallback-icon,
.service-icon img[src=""] + .fallback-icon,
.service-icon img:not([src]) + .fallback-icon {
    display: block;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* ===== Cases Section ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-light);
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26,115,232,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-view {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition);
}

.case-view:hover {
    transform: scale(1.1);
    color: var(--primary);
}

.case-info {
    padding: 24px;
}

.case-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26,115,232,0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}

.case-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.case-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Why Us Section ===== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(26,115,232,0.1), rgba(0,188,212,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
}

.why-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.why-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== News Section ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-light);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.news-content {
    padding: 24px;
}

.news-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-content h3 a {
    color: var(--text);
    transition: var(--transition);
}

.news-content h3 a:hover {
    color: var(--primary);
}

.news-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-link:hover i {
    transform: translateX(4px);
}

/* ===== Partners Section ===== */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.partner-item {
    flex: 0 0 auto;
    width: 140px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partner-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #0a1628 0%, #0d47a1 50%, #1a73e8 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,188,212,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: #0a1628;
    color: rgba(255,255,255,0.7);
}

.footer-top {
    padding: 70px 0 40px;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 36px;
    margin-bottom: 10px;
}

.footer-logo h3 {
    font-size: 18px;
    color: var(--white);
    font-weight: 600;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    font-size: 17px;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact ul li i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-qrcode {
    margin-top: 20px;
    text-align: center;
}

.footer-qrcode img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    margin: 0 auto 8px;
}

.footer-qrcode span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}

.footer-bottom .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
    color: rgba(255,255,255,0.7);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-blue);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(26,115,232,0.4);
}

/* ===== Page Hero ===== */
.page-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0d47a1 50%, #1a73e8 100%);
    padding: 140px 0 60px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    margin: 0 8px;
}

/* ===== Article Content ===== */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
}

.article-content h2 {
    font-size: 28px;
    margin: 40px 0 16px;
    color: var(--text);
}

.article-content h3 {
    font-size: 22px;
    margin: 32px 0 12px;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content img {
    border-radius: var(--radius);
    margin: 24px auto;
    box-shadow: var(--shadow);
}

.article-content ul,
.article-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-content ul li {
    list-style: disc;
    margin-bottom: 8px;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--bg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-light);
}

.article-content code {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.article-content pre {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 24px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Post Detail ===== */
.post-detail {
    max-width: 800px;
    margin: 0 auto;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    font-size: 14px;
}

.post-meta i {
    margin-right: 4px;
    color: var(--primary);
}

.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.post-tags .tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(26,115,232,0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    transition: var(--transition);
}

.post-tags .tag:hover {
    background: var(--primary);
    color: var(--white);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.post-prev,
.post-next {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 14px;
    max-width: 45%;
    transition: var(--transition);
}

.post-prev:hover,
.post-next:hover {
    color: var(--primary);
}

/* ===== Posts List ===== */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.post-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.post-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.post-item-image {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.post-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-item-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.post-item-content h2 a {
    color: var(--text);
}

.post-item-content h2 a:hover {
    color: var(--primary);
}

.post-item-meta {
    display: flex;
    gap: 16px;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 10px;
}

.post-item-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Archive List ===== */
.archive-list {
    max-width: 800px;
    margin: 0 auto;
}

.archive-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.archive-date {
    font-size: 14px;
    color: var(--text-light);
    flex-shrink: 0;
    width: 100px;
}

.archive-title {
    font-size: 16px;
    color: var(--text);
    transition: var(--transition);
}

.archive-title:hover {
    color: var(--primary);
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 50px;
}

.page-prev,
.page-next {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    transition: var(--transition);
}

.page-prev:hover,
.page-next:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ===== Categories Grid ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-blue);
}

.category-card-inner {
    display: block;
    padding: 30px;
    text-align: center;
    color: var(--text);
}

.category-card-inner h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-count {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== Tags Cloud ===== */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tag-item {
    display: inline-block;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text);
    font-size: 14px;
    transition: var(--transition);
}

.tag-item:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(26,115,232,0.1), rgba(0,188,212,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.contact-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}

.contact-card p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-light);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 16px;
}

.map-placeholder p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

/* ===== About Page ===== */
.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-page-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.about-page-text h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.about-page-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

/* ===== Culture Section ===== */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.culture-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.culture-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.culture-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(26,115,232,0.1), rgba(0,188,212,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
}

.culture-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.culture-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Services Detail ===== */
.services-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-detail-card {
    display: flex;
    gap: 40px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-detail-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-detail-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.service-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-detail-content h2 {
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--text);
}

.service-detail-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.service-detail-content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-detail-content ul li {
    font-size: 14px;
    color: var(--text-light);
}

.service-detail-content ul li i {
    color: var(--primary);
    margin-right: 8px;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    padding: 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text);
    cursor: pointer;
}

.mobile-nav-list li {
    margin-bottom: 4px;
}

.mobile-nav-list a {
    display: block;
    padding: 12px 16px;
    color: var(--text);
    font-size: 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav-list a:hover {
    background: var(--bg);
    color: var(--primary);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Animations ===== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* ===== Error Page ===== */
.error-page {
    text-align: center;
    padding: 120px 20px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-page h1 {
    font-size: 120px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
}

.error-page h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.error-page p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ============================================================
   响应式设计
   ============================================================ */

/* 大屏幕 1200px 以下 */
@media (max-width: 1200px) {
    .nav-link {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .header-phone {
        font-size: 13px;
    }
    
    .services-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

/* 平板 992px 以下 */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-page-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card {
        flex-direction: column;
        gap: 24px;
        padding: 30px;
    }
    
    .service-detail-content ul {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:nth-child(2) {
        border-right: none;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机 768px 以下 */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* 导航 */
    .nav {
        display: none;
    }
    
    .header-phone {
        display: none;
    }
    
    .header-right {
        gap: 0;
        margin-left: auto;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btns .btn {
        width: 200px;
        justify-content: center;
    }
    
    /* Stats */
    .stats-section {
        margin-top: -40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 24px;
    }
    
    .stat-item:nth-child(even) {
        border-right: none;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    /* Grids */
    .services-grid,
    .cases-grid,
    .news-grid,
    .why-us-grid,
    .culture-grid {
        grid-template-columns: 1fr;
    }
    
    /* About */
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-experience {
        right: 0;
        bottom: 20px;
    }
    
    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    
    /* Post */
    .post-item {
        flex-direction: column;
    }
    
    .post-item-image {
        width: 100%;
        height: 200px;
    }
    
    /* Partners */
    .partners-grid {
        gap: 20px;
    }
    
    .partner-item {
        width: 100px;
        height: 45px;
    }
    
    /* Contact */
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
    
    /* Page Hero */
    .page-hero {
        padding: 110px 0 40px;
    }
    
    .page-hero h1 {
        font-size: 30px;
    }
    
    /* CTA */
    .cta-content h2 {
        font-size: 26px;
    }
    
    /* Archive */
    .archive-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .archive-date {
        width: auto;
    }
    
    /* Categories */
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* 小手机 480px 以下 */
@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 16px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .post-meta {
        gap: 12px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}
