/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00a8cc;
    --secondary-color: #0077b6;
    --accent-color: #023e8a;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-ocean: linear-gradient(135deg, #00a8cc 0%, #0077b6 50%, #023e8a 100%);
    --gradient-light: linear-gradient(135deg, rgba(0, 168, 204, 0.1) 0%, rgba(0, 119, 182, 0.1) 100%);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 20px;
    --border-radius-sm: 12px;
}

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;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

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

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

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

/* Hero 区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-ocean);
    opacity: 0.9;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: 400;
}

/* Hero公告区域 */
.hero-announcement {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.announcement-content {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(0, 168, 204, 0.1), rgba(0, 119, 182, 0.1));
    border: 2px solid rgba(0, 168, 204, 0.3);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 168, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.announcement-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.announcement-icon {
    font-size: 1.5rem;
    animation: bounce 1s ease-in-out infinite;
}

.announcement-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    -webkit-text-stroke: 0.5px rgba(0, 168, 204, 0.5);
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 应用商店下载按钮 */
.app-downloads {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.app-store-btn,
.google-play-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    min-width: 180px;
}

.app-store-btn:hover,
.google-play-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.app-store-btn.coming-soon,
.google-play-btn.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

.app-store-btn.coming-soon::after,
.google-play-btn.coming-soon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm);
}

.app-store-btn svg,
.google-play-btn svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.app-store-text,
.google-play-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-store-label,
.google-play-label {
    font-size: 0.7rem;
    opacity: 0.9;
    line-height: 1;
}

.app-store-name,
.google-play-name {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 2px;
}


/* Hero 图片区域 - 手机Mockup */
.hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.phone-mockup {
    position: relative;
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
}

.phone-mockup .app-preview-image {
    box-shadow: var(--shadow-xl);
}




.app-preview {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 9/16;
    display: flex;
    flex-direction: column;
}

.app-preview-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 30px;
}


.app-header {
    height: 60px;
    background: var(--gradient-ocean);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-header::before {
    content: '海缸卫士';
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.app-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f5f5f5;
}

.app-card {
    background: white;
    border-radius: var(--border-radius-sm);
    height: 80px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.app-card:nth-child(2)::before {
    background: var(--secondary-color);
}

.app-card:nth-child(3)::before {
    background: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

/* 功能区域 */
.features {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* 产品展示 - 手机截图 */
.gallery {
    padding: 5rem 0;
    background: var(--bg-light);
}

.phone-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.screenshot-item {
    text-align: center;
}



.screenshot-header {
    height: 60px;
    background: var(--gradient-ocean);
    padding: 1rem;
}

.screenshot-body {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f5f5f5;
}

/* 截图内容样式 */

.screenshot-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* 设备接入合作 */
.device-integration {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0, 168, 204, 0.05) 0%, rgba(0, 119, 182, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.device-integration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%2300a8cc" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%230077b6" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23023e8a" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.integration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.integration-text {
    color: var(--text-dark);
}

.integration-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.integration-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.integration-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 1.5rem;
}

.feature-item span {
    font-weight: 600;
    color: var(--text-dark);
}

.integration-contact {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 168, 204, 0.1);
}

.integration-contact h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(0, 168, 204, 0.05);
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-ocean);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-weight: 600;
    color: var(--text-dark);
}

.integration-cta {
    text-align: center;
}

.integration-cta .btn {
    background: var(--gradient-ocean);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.integration-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 168, 204, 0.3);
}

/* 使用场景 */
.use-cases {
    padding: 5rem 0;
    background: var(--bg-light);
}

.use-cases-list {
    margin-top: 3rem;
}

.use-case-item {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.use-case-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.use-case-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    min-width: 80px;
}

.use-case-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.use-case-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 用户评价 */
.testimonials {
    padding: 5rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-ocean);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

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

/* FAQ */
.faq {
    padding: 5rem 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item.active {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: var(--transition);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* CTA 区域 */
.cta {
    padding: 5rem 0;
    background: var(--gradient-ocean);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

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

.cta-downloads .app-store-btn,
.cta-downloads .google-play-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 200px;
}

.cta-downloads .app-store-btn:hover,
.cta-downloads .google-play-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand .logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-brand .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.beian-info {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

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

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-announcement {
        margin-bottom: 1.5rem;
    }

    .announcement-content {
        padding: 0.8rem 1.2rem;
        gap: 0.5rem;
    }

    .announcement-text {
        font-size: 1.05rem;
        font-weight: 600;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 250px;
    }


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

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

    .phone-screenshots {
        grid-template-columns: 1fr;
    }

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

    .use-case-item {
        flex-direction: column;
        text-align: center;
    }

    .use-case-number {
        min-width: auto;
    }

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

    .integration-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .integration-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .feature-item {
        flex: 0 0 auto;
        min-width: 200px;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

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

    .section-title {
        font-size: 1.75rem;
    }

    .app-downloads {
        flex-direction: column;
        align-items: stretch;
    }

    .app-store-btn,
    .google-play-btn {
        width: 100%;
        justify-content: center;
    }


    .announcement-content {
        padding: 0.6rem 1rem;
    }

    .announcement-text {
        font-size: 0.95rem;
        font-weight: 600;
    }

    .container {
        padding: 0 15px;
    }
}

/* 法律规约页面样式 */
.legal-page {
    padding-top: 100px;
    padding-bottom: 5rem;
    background: var(--bg-light);
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.legal-content h1 {
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.legal-content .last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.legal-content hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 2rem 0;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-home:hover {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .legal-container {
        padding: 2rem 1.5rem;
        margin: 0 15px;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
    }
}
