/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --secondary-color: #FF9800;
    --accent-color: #FF6B6B;
    --text-dark: #333;
    --text-light: #666;
    --text-gray: #999;
    --bg-light: #f8f9fa;
    --bg-white: #fff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

/* 按钮样式 */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    display: inline-block;
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
}

.logo-icon {
    display: block;
}

.logo span {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

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

.nav-buttons {
    display: flex;
    gap: 12px;
}

.btn-admin {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.btn-admin:hover {
    color: var(--primary-color);
}

/* Hero 区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 152, 0, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero .highlight {
    color: var(--primary-color);
}

.hero-desc {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-num {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
}

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

.hero-pets {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.hero-pets .pet {
    font-size: 50px;
    animation: float 3s ease-in-out infinite;
}

.hero-pets .pet:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-pets .pet:nth-child(3) {
    animation-delay: 1s;
}

.hero-pets .pet:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 通用区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.section-header.light h2 {
    color: white;
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.8);
}

/* 服务项目 */
.services {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.service-card {
    background: var(--bg-white);
    padding: 36px 24px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-card.featured {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.service-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.7;
}

.service-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.service-price span {
    font-size: 14px;
    font-weight: normal;
    color: var(--text-light);
}

.service-price span span {
    color: var(--secondary-color);
}

/* 成为接单员 */
.become-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

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

.become-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.become-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    gap: 16px;
    transition: var(--transition);
}

.become-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

.become-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.become-text h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 6px;
}

.become-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.become-form {
    background: white;
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.become-form h3 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
    color: var(--text-dark);
}

.become-form input,
.become-form select {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    transition: var(--transition);
}

.become-form input:focus,
.become-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 特色功能 */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.feature-item {
    text-align: center;
    padding: 40px 24px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

/* 关于我们 */
.about {
    padding: 100px 0;
    background: white;
}

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

.about-text h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
}

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

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    gap: 20px;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 28px;
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 17px;
    margin-bottom: 6px;
    color: var(--text-dark);
}

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

.contact-form {
    background: white;
    padding: 36px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    width: 100%;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-brand p {
    color: #999;
    margin-top: 12px;
}

.footer-tagline {
    color: var(--primary-color) !important;
    font-weight: 500;
}

.footer h4 {
    font-size: 17px;
    margin-bottom: 20px;
    color: white;
}

.footer ul {
    list-style: none;
}

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

.footer ul li a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer ul li a:hover {
    color: var(--primary-color);
}

.qrcode-placeholder {
    width: 100px;
    height: 100px;
    background: #333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #666;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-stats {
        gap: 30px;
    }

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

    .become-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .become-info {
        grid-template-columns: 1fr;
    }

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

    .hero-pets {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

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

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