/* 全局样式 */
:root {
    --primary-color: #b37d14;
    --secondary-color: #c53030;
    --background-color: #faf6f0;
    --text-color: #3a3530;
    --text-light: #7a726a;
    --white: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.85);
    --shadow: 0 8px 24px rgba(58, 53, 48, 0.08);
    --border-radius: 12px;
    --slogan-red: #e54d42;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(234, 227, 218, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 1;
    min-width: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
    border-radius: 4px;
}

.logo h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    color: var(--white);
    line-height: 1;
    letter-spacing: 0.02em;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

.hero-title .slogan-quote {
    font-size: 1.45em;
    font-weight: 900;
    line-height: 0.85;
    color: var(--white);
    transform: translateY(0.12em);
}

.hero-title .slogan-highlight {
    color: var(--slogan-red);
}

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

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('22_07_02.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

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

.btn-primary:hover {
    background-color: #9c6b11;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-color);
    transform: translateY(-3px);
}

/* 关于我们部分 */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* 服务部分 */
.services {
    padding: 100px 0;
    background-color: var(--background-color);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.service-card:hover {
    transform: translateY(-10px);
}

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

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: var(--primary-color);
}

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

/* APP 下载部分 */
.app-download {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(179, 125, 20, 0.08), rgba(250, 246, 240, 1));
}

.app-download-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    background: var(--card-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.app-download-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.app-download-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.app-platforms {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
}

.platform-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(179, 125, 20, 0.12);
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.app-download-tip {
    margin-bottom: 1.5rem !important;
    font-size: 1rem !important;
}

.app-download-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.app-download-qr {
    text-align: center;
    padding: 24px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.app-download-qr img {
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto 12px;
}

.app-download-qr p {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
}

/* 团队部分 */
.team {
    padding: 100px 0;
    background-color: var(--white);
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.team-member:hover {
    transform: translateY(-10px);
}

.avatar-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--primary-color);
    background-color: #eaddcf;
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.location {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    padding: 8px 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* 页脚 */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    text-align: center;
    margin-bottom: 20px;
}

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

.footer p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.icp-link {
    color: #d4af37;
    text-decoration: none;
}

.icp-link:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

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

    .app-download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
        text-align: center;
    }

    .app-platforms,
    .app-download-links {
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-logo img {
        height: 40px;
    }
}

@media (max-width: 1100px) {
    .logo h2 {
        font-size: 1.5rem;
    }
}

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

    .about-content {
        padding: 0 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .logo h2 {
        font-size: 1.4rem;
    }
}
