:root {
    --primary: #4de2dc;
    --primary-dark: #3bc4be;
    --white: #ffffff;
    --gray-light: #f5f7fa;
    --gray-border: #e0e0e0;
    --dark: #333333;
    --text: #333333;
    --text-light: #666666;
    
    /* 间距系统 - 4pt基准 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* 卡片圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--gray-light);
    color: var(--text);
    line-height: 1.6;
}

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

/* 导航 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

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

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

.nav-download {
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.nav-download:hover {
    background: #3bc4be;
}

/* Banner */
.banner {
    padding: 160px 24px 80px;
    background: var(--primary);
    text-align: center;
}

.banner-content h1 {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.banner-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    margin-bottom: 24px;
}

.banner-tags {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.banner-tags span {
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.banner-tags span:hover {
    background: rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

/* 关于 */
.about {
    padding: 80px 24px;
    background: var(--white);
}

.about h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

.about p {
    font-size: 16px;
    max-width: 800px;
    color: var(--text-light);
}

/* 核心功能 */
.features {
    padding: 80px 24px;
    background: var(--gray-light);
}

.features h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border: 1px solid var(--gray-border);
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.feature-card:hover h3,
.feature-card:hover p {
    color: var(--white);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* 领养流程 */
.process {
    padding: 80px 24px;
    background: var(--white);
}

.process h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.step {
    text-align: center;
    padding: 24px;
    border: 1px solid var(--gray-border);
}

.step-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-light);
}

/* 子公司 */
.subsidiaries {
    padding: 80px 24px;
    background: var(--gray-light);
}

.subsidiaries h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.subsidiary-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.subsidiary-card {
    background: var(--white);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--gray-border);
    transition: all 0.3s;
}

.subsidiary-card:hover {
    border-color: var(--primary);
}

.subsidiary-card .card-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.subsidiary-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.subsidiary-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* 数智技术 */
.tech {
    padding: 80px 24px;
    background: var(--white);
}

.tech h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.tech-card {
    padding: 32px;
    text-align: center;
    border: 1px solid var(--gray-border);
    transition: all 0.3s;
}

.tech-card:hover {
    background: var(--gray-light);
}

.tech-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.tech-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tech-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* 下载 */
.download {
    padding: 100px 24px;
    background: var(--dark);
}

.download h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: var(--white);
    margin-bottom: 16px;
}

.download-desc {
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
}

 .download-area {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding: 0 16px;
    max-width: 100%;
}


.download-buttons {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.platform-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-text {
    display: flex;
    flex-direction: column;
}

.platform-label {
    font-size: 12px;
    color: var(--text-light);
}

.platform-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 16px;
}

.qr-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* 服务保障 */
.service {
    padding: 80px 24px;
    background: var(--gray-light);
}

.service h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--gray-border);
}

.period {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.desc {
    font-size: 14px;
    color: var(--text-light);
}

/* 紧急救援 */
.rescue {
    padding: 60px 24px;
    background: var(--primary);
}

.rescue-box {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: var(--white);
    max-width: 600px;
    margin: 0 auto;
}

.rescue-icon {
    font-size: 48px;
}

.rescue-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.rescue-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.rescue-phone {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* 招商 */
.contact {
    padding: 80px 24px;
    background: var(--white);
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
}

/* 联系按钮组 */
.contact-buttons {
    display: inline-flex;
    gap: 24px;
    justify-content: center;
    margin-top: 24px;
}

.join-btn {
    display: inline-block;
    padding: 16px 48px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.join-btn:hover {
    background: #3bc4be;
    transform: scale(1.05);
}

.join-btn:active {
    transform: scale(0.95);
}

/* 电话咨询按钮间距调整 */
.join-btn + .join-btn {
    margin-left: 24px;
    margin-bottom: 0;
    vertical-align: middle;
}

/* 增强视觉层级 */
.pet-warm {
    font-size: 1.5rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 卡片悬停效果 */
.feature-card:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .subsidiary-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .rescue-box {
        flex-direction: column;
        text-align: center;
    }
}

/* 底部 */
.footer {
    padding: 48px 24px;
    background: var(--dark);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 16px;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式 */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .subsidiary-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 与宠物共度温馨时光样式 */
.pet-warm {
    font-size: 1.5rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
    display: inline-block;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .subsidiary-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .download-area {
        flex-direction: column;
        align-items: center;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .rescue-box {
        flex-direction: column;
        text-align: center;
    }
}