/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a4d7a;
    --secondary-blue: #2563eb;
    --accent-blue: #3b82f6;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --gold-accent: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ==================== Navigation Bar ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-blue);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #5D83E6;
}

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

/* ==================== Hero Section ==================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(255, 255, 255, 0.03) 50px,
        rgba(255, 255, 255, 0.03) 100px
    );
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero h2 {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.5;
}

.hero-credentials {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-credentials p {
    margin-bottom: 0.5rem;
}

.hero-credentials strong {
    color: var(--gold-accent);
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

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

.btn-primary {
    background: var(--gold-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-footer {
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.9;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}

/* ==================== Services Section ==================== */
.services {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--gold-accent));
    border-radius: 2px;
}

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

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-blue);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-section {
    margin-bottom: 1.5rem;
}

.service-section-title {
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.service-section ul {
    list-style: none;
    padding-left: 0;
}

.service-section li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
}

.service-value {
    background: rgba(37, 99, 235, 0.05);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1.5rem;
    border-left: 3px solid var(--gold-accent);
}

/* ==================== Cases Section ==================== */
.cases {
    padding: 6rem 2rem;
    background: white;
}

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

.case-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-left-width: 6px;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.15);
    gap: 1rem;
}

.case-header h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.4;
    flex: 0 1 auto;
    margin: 0;
}

.case-tag {
    background: var(--secondary-blue);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.case-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.case-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.case-item:last-child {
    border-bottom: none;
}

.case-item strong {
    color: var(--secondary-blue);
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.case-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.case-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.case-item li {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.75rem;
    position: relative;
}

.case-item li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--secondary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.case-item.result {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.12) 100%);
    padding: 1.25rem;
    border-radius: 10px;
    margin-top: 0.5rem;
    border: none;
    border-left: 4px solid var(--gold-accent);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
}

.case-item.result strong {
    color: var(--gold-accent);
    font-size: 1.05rem;
}

.case-item.result li {
    color: var(--text-dark);
    font-weight: 500;
}

.case-item.result li::before {
    content: "✓";
    color: var(--gold-accent);
    font-size: 1.1rem;
    font-weight: bold;
    left: 0.5rem;
}

/* ==================== Why Us Section ==================== */
.why-us {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
}

.why-us .section-title {
    color: white;
}

.why-us .section-title::after {
    background: linear-gradient(90deg, white, var(--gold-accent));
}

.why-us-content {
    max-width: 1000px;
    margin: 0 auto;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.why-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ==================== Cooperation Section ==================== */
.cooperation {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.cooperation-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cooperation-intro {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 4rem;
    line-height: 1.8;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-method {
    background: white;
    padding: 3rem 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 380px;
    width: 100%;
    border: 2px solid rgba(37, 99, 235, 0.1);
}

.contact-method:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 50%;
}

.contact-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.contact-method h4 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-detail {
    font-size: 1.15rem;
    color: var(--secondary-blue);
    font-weight: 600;
    margin: 1rem 0;
    padding: 1rem 1.5rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 8px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    word-break: break-all;
}

.contact-method small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.qr-code-placeholder {
    width: 260px;
    height: 260px;
    margin: 0 auto 1.5rem;
    background: white;
    border: 4px solid rgba(37, 99, 235, 0.15);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.qr-code-placeholder::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-method:hover .qr-code-placeholder::before {
    opacity: 0.1;
}

.qr-code-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.qr-code-placeholder p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.qr-code-placeholder small {
    color: var(--text-light);
    font-size: 0.75rem;
}

.qr-code-hint {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--gold-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ==================== 动画效果 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-img {
        height: 32px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero h2 {
        font-size: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .services-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .contact-method {
        padding: 2.5rem 2rem;
        max-width: 100%;
    }

    .services,
    .cases,
    .why-us,
    .cooperation {
        padding: 4rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cooperation-intro {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .logo-text {
        display: block;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero h2 {
        font-size: 1rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .service-card,
    .case-card {
        padding: 1.5rem;
    }

    .case-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .case-header h3 {
        font-size: 1.1rem;
    }

    .case-item li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }

    .qr-code-placeholder {
        width: 220px;
        height: 220px;
    }

    .contact-method {
        padding: 2.5rem 2rem;
        max-width: 100%;
    }

    .qr-code-hint {
        font-size: 0.95rem;
    }

    .cooperation-intro {
        font-size: 1.1rem;
    }
}

