:root {
    --primary-red: #E53935;
    --dark-red: #B71C1C;
    --light-red: #FF5252;
    --white: #FFFFFF;
    --black: #212121;
    --gray: #313131;
    --light-gray: #F5F5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

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

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    position: relative;
}

.logo-icon::after {
    content: "AI";
    position: absolute;
    bottom: -5px;
    right: -5px;
    font-size: 10px;
    background: var(--black);
    color: white;
    padding: 1px 4px;
    border-radius: 3px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

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

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}

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

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 50px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.05"><path d="M30,30 Q50,10 70,30 T90,50 T70,70 T50,90 T30,70 T10,50 T30,30" fill="none" stroke="%23E53935" stroke-width="2"/></svg>') repeat;
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--black);
    line-height: 1.2;
}

.hero-text h1 span {
    color: var(--primary-red);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray);
    max-width: 600px;
}

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

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--white);
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 8px solid var(--black);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 2rem;
}

.app-logo {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary-red);
    font-size: 40px;
    font-weight: bold;
    position: relative;
}

.app-logo::after {
    content: "AI";
    position: absolute;
    bottom: -5px;
    right: -5px;
    font-size: 12px;
    background: var(--black);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
}

.phone-screen h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.phone-screen p {
    text-align: center;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* 功能区域 */
.features {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: var(--gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(229, 57, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-red);
    font-size: 2rem;
}

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

.feature-card p {
    color: var(--gray);
}

/* 技术优势 */
.tech {
    padding: 100px 0;
    background: var(--white);
}

.tech-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.tech-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tech-details {
    flex: 1;
}

.tech-details h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.tech-details p {
    margin-bottom: 2rem;
    color: var(--gray);
}

.tech-list {
    list-style: none;
}

.tech-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tech-list i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.ai-visual {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    position: relative;
    animation: pulse 3s infinite;
}

.ai-visual::before {
    content: "AI";
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.5rem;
    background: var(--black);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

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

/* 社区展示 */
.community {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.9) 0%, rgba(183, 28, 28, 0.9) 100%), url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
    color: white;
    text-align: center;
}

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

.stat-item {
    padding: 2rem;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* 下载区域 */
.download {
    padding: 100px 0;
    background: var(--light-gray);
    text-align: center;
}

.download-content {
    max-width: 700px;
    margin: 0 auto;
}

.app-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--black);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.app-badge:hover {
    transform: translateY(-5px);
}

.app-badge i {
    font-size: 1.5rem;
}

/* 页脚 */
.footer {
    background: var(--black);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

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

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s;
}

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

.beian-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.beian-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #999;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.beian-link:hover {
    color: var(--primary-red);
}

.beian-icon {
    width: 16px;
    height: 16px;
    background: #999;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 0.7rem;
    font-weight: bold;
}

.beian-text {
    color: #999;
    font-size: 0.85rem;
}

.beian-divider {
    color: #666;
    font-size: 0.8rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .tech-content {
        flex-direction: column;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    .beian-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .beian-divider {
        display: none;
    }
}