/* ==================== 全局样式 ==================== */
:root {
    --primary-color: #0086CF;
    --primary-dark: #006BA8;
    --primary-light: #00A8FF;
    --white: #ffffff;
    --gray-light: #f5f7fa;
    --gray: #64748b;
    --gray-dark: #334155;
    --text-dark: #1e293b;
    --gradient-primary: linear-gradient(135deg, #0086CF 0%, #00A8FF 100%);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

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

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

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-dark);
    transition: all 0.3s ease;
}

/* ==================== Hero 主视觉区 ==================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 134, 207, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 168, 255, 0.1) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.hero-text {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 134, 207, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 134, 207, 0.4);
}

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

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

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline;
}

.hero-image {
    position: relative;
    z-index: 100;
}

.hero-visual {
    width: 100%;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 20px;
    position: relative;
    animation: heroFloat 6s ease-in-out infinite;
    overflow: hidden;
    z-index: 1;
}

.team-visual {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.team-visual::before {
    content: '';
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: pulse 3s ease-in-out infinite;
    position: absolute;
}

.team-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    z-index: 2;
    position: relative;
}

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

.hero-card {
    position: absolute;
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 134, 207, 0.2);
    animation: cardFloat 4s ease-in-out infinite;
    z-index: 1000 !important;
}

.hero-card .card-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-card .card-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.floating-card-1 {
    top: -30px;
    right: -30px;
    animation-delay: 0s;
    z-index: 100;
}

.floating-card-2 {
    bottom: 50px;
    left: -40px;
    animation-delay: 1s;
    z-index: 100;
}

.floating-card-3 {
    top: 50%;
    right: -50px;
    animation-delay: 2s;
    z-index: 100;
}

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

/* 确保浮动卡片始终在最上层 */
.hero-card {
    position: absolute;
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 134, 207, 0.2);
    animation: cardFloat 4s ease-in-out infinite;
    z-index: 1000 !important;
}

.hero-card > * {
    position: relative;
    z-index: 1001;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUpWithTranslate 0.8s ease-out 1s backwards;
    animation-fill-mode: both;
}

.scroll-indicator span {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray);
    border-radius: 12px;
    position: relative;
    margin: 0 auto;
    transform-origin: center;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gray);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

/* ==================== 通用区块样式 ==================== */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpWithTranslate {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ==================== 关于我们 ==================== */
.about {
    background: var(--white);
}

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

.about-image {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.team-collage {
    position: relative;
    height: 400px;
}

.collage-item {
    position: absolute;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 134, 207, 0.2);
}

.item-1 {
    width: 70%;
    height: 60%;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(135deg, #0086CF 0%, #00A8FF 50%, #00C9FF 100%);
}

.item-2 {
    width: 40%;
    height: 50%;
    bottom: 0;
    right: 0;
    z-index: 2;
    background: linear-gradient(135deg, #00A8FF 0%, #00C9FF 100%);
}

.item-3 {
    width: 35%;
    height: 40%;
    top: 10%;
    right: 10%;
    z-index: 0;
    background: linear-gradient(135deg, #006BA8 0%, #0086CF 100%);
    opacity: 0.7;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-text {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--gray-light);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 134, 207, 0.15);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 5px;
}

/* ==================== 服务介绍 ==================== */
.services {
    background: var(--gray-light);
}

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

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 134, 207, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: block;
    padding: 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #33b5e5 0%, #0086CF 100%);
    box-sizing: border-box;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-desc {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tag {
    padding: 5px 12px;
    background: var(--gray-light);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray-dark);
}

/* ==================== 项目案例 ==================== */
.projects {
    background: var(--white);
}

.projects-carousel {
    position: relative;
    overflow: hidden;
}

.project-item {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    animation: fadeIn 0.5s ease-out;
}

.project-item.active {
    display: grid;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.project-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.project-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-image {
    height: 350px;
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.project-desc {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

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

.project-stat {
    padding: 20px;
    background: var(--gray-light);
    border-radius: 10px;
    text-align: center;
}

.project-stat .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-stat .stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 5px;
}

.project-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--primary-light);
}

/* ==================== 客户评价 ==================== */
.clients {
    background: var(--gray-light);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 134, 207, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.avatar-1::before { content: '叶'; }
.avatar-2::before { content: '周'; }
.avatar-3::before { content: '吴'; }

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.client-position {
    font-size: 0.85rem;
    color: var(--gray);
}

.client-rating {
    margin-left: auto;
    display: flex;
    gap: 3px;
}

.star {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.testimonial-text {
    color: var(--gray);
    font-style: italic;
    line-height: 1.8;
}

/* ==================== 联系我们 ==================== */
.contact {
    background: var(--white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--gray-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-icon .iconfont {
    font-size: 24px;
}

.contact-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-content p {
    color: var(--gray);
}

.contact-form-wrapper {
    padding: 40px;
    background: var(--gray-light);
    border-radius: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 134, 207, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background: #dcfce7;
    color: #166534;
    animation: slideIn 0.3s ease;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    animation: slideIn 0.3s ease;
}

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

/* ==================== 页脚 ==================== */
.footer {
    background: var(--gray-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-light);
}

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

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

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

.footer-column a:hover {
    color: var(--primary-light);
}

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

.qrcode-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.qrcode-img:hover {
    transform: scale(1.05);
    border-color: var(--primary-light);
}

.qrcode-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.footer-bottom .icp-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .icp-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

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

    .qrcode-img {
        width: 100px;
        height: 100px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        flex: 1;
        max-width: 160px;
        white-space: nowrap;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-card {
        padding: 12px;
    }

    .hero-card .card-number {
        font-size: 1.8rem;
    }

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

    .team-collage {
        height: 300px;
    }

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

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

    .project-item {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer-brand {
        text-align: center;
        width: 100%;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        width: 100%;
    }

    .footer-column {
        text-align: left;
    }

    .footer-column.footer-qrcode {
        text-align: center;
    }

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

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

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

    .hero-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .btn {
        flex: 1;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

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

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

    .qrcode-img {
        width: 80px;
        height: 80px;
    }

    .qrcode-text {
        font-size: 0.85rem;
    }
}

/* ==================== 滚动动画 ==================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}
