/* ============================================
   全局样式
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563EB;
    --primary-light: #60A5FA;
    --secondary-color: #1E293B;
    --text-color: #334155;
    --text-light: #78909C;
    --bg-light: #F1F5F9;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --success-color: #10B981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
}

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

/* ============================================
   页头导航
   ============================================ */

.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 32px;
    flex: 1;
    margin-left: 60px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.cta-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.cta-btn:hover {
    background-color: #1E3A8A;
}

/* ============================================
   Hero 区域
   ============================================ */

.hero {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

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

.btn {
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1E3A8A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   统计数据
   ============================================ */

.stats {
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ============================================
   核心服务
   ============================================ */

.services {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 48px;
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid #E8EFF7;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px -5px rgba(37, 99, 235, 0.15);
    border-color: #BFDBFE;
    background-color: #F8FBFF;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E0F2FE 0%, #F0F9FF 100%);
    border-radius: 12px;
    margin-bottom: 16px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary-color);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scale(1.1);
}

.service-card:hover .service-icon svg {
    stroke: white;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    color: var(--text-color);
    font-size: 14px;
}

/* ============================================
   核心竞争力
   ============================================ */

.competencies {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.competency-card {
    background-color: #F0F9FF;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #E0F2FE;
}

.competency-card:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -5px rgba(37, 99, 235, 0.2);
}

.competency-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.competency-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.competency-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   为什么选择 VIGOR
   ============================================ */

.why-vigor {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.advantage-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.advantage-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3B82F6 100%);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.comparison {
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    color: white;
    padding: 48px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 12px 24px -5px rgba(37, 99, 235, 0.2);
}

.comparison h3 {
    color: white;
}

.comparison-value {
    color: #F0F9FF;
}

.comparison-label {
    color: rgba(255, 255, 255, 0.85);
}

.comparison h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
}

.comparison-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.comparison-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.comparison-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ============================================
   成功案例
   ============================================ */

.cases {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.case-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 300px;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover img {
    transform: scale(1.05);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8) 0%, rgba(30, 58, 138, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-stat {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.case-title {
    font-size: 18px;
    font-weight: 600;
}

/* ============================================
   联系我们
   ============================================ */

.contact {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
    background-color: var(--bg-white);
    padding: 48px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-info h3,
.contact-promises h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--secondary-color);
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.info-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.info-value {
    color: var(--text-light);
    line-height: 1.6;
}

.info-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: #1E3A8A;
    text-decoration: underline;
}

.promise-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.promise-icon {
    font-size: 20px;
}

.promise-item p {
    color: var(--text-color);
}

.contact-form-container {
    text-align: center;
}

/* ============================================
   页脚
   ============================================ */

.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-column a:hover {
    color: white;
}

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

/* ============================================
   模态框
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-color);
}

.modal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--secondary-color);
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-content input,
.modal-content textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* ============================================
   响应式设计
   ============================================ */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }

    .nav {
        flex-direction: column;
        gap: 12px;
        margin-left: 0;
        width: 100%;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .comparison-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .stat-number {
        font-size: 32px;
    }

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

    .modal-content {
        width: 95%;
        padding: 24px;
    }

    .section-title {
        font-size: 24px;
    }
}
