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

:root {
    --primary: #ff4757;
    --primary-dark: #e84118;
    --secondary: #2ed573;
    --dark: #1e272e;
    --light: #f5f6fa;
    --gray: #636e72;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

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

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

/* 头部导航 */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav a {
    text-decoration: none;
    color: var(--gray);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
    background: rgba(255, 71, 87, 0.08);
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

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

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

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

/* Hero 区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 60px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::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="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,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 .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero-version {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.version-badge, .date-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.version-badge {
    background: var(--secondary);
    color: var(--white);
}

.date-badge {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--primary);
    padding: 16px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-download .btn-icon {
    font-size: 2rem;
}

.btn-download .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.btn-download .btn-text small {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--gray);
}

.download-info {
    margin-top: 12px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.hero-image {
    flex: 0 0 320px;
}

.phone-mockup {
    width: 280px;
    height: 500px;
    background: var(--dark);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    padding: 16px;
}

.app-header {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    text-align: center;
}

.app-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-card {
    height: 80px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: var(--radius-sm);
    opacity: 0.8;
}

.video-card:nth-child(2) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.video-card:nth-child(3) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* 通用section */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* 版本卡片 */
.version-section {
    background: var(--white);
}

.version-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.version-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.version-row:last-child {
    border-bottom: none;
}

.version-label {
    font-weight: 600;
    color: var(--gray);
}

.version-value {
    font-weight: 500;
    text-align: right;
    max-width: 60%;
}

/* 功能亮点 */
.features-section {
    background: var(--light);
}

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

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

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

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

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

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

/* 安装指南 */
.install-section {
    background: var(--white);
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--light);
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

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

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    margin-top: 12px;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--gray);
    font-size: 0.85rem;
}

/* 常见问题 */
.faq-section {
    background: var(--light);
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 71, 87, 0.03);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
    color: var(--primary);
}

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

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* 用户评论 */
.reviews-section {
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff6b81);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.review-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #ddd;
    font-size: 1rem;
}

.star.filled {
    color: #ffd700;
}

.review-text {
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 12px;
}

.review-date {
    font-size: 0.8rem;
    color: #aaa;
}

/* 版本对比 */
.comparison-section {
    background: var(--light);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th {
    background: var(--dark);
    color: var(--white);
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 600;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
}

.comparison-label {
    font-weight: 600;
    color: var(--dark);
}

.comparison-lite {
    color: var(--secondary);
    font-weight: 500;
}

.comparison-normal {
    color: var(--gray);
}

.comparison-table tr:hover td {
    background: rgba(46, 213, 115, 0.03);
}

/* 安全检测 */
.security-section {
    background: var(--white);
}

.security-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--light);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
}

.security-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.security-icon {
    font-size: 2.5rem;
}

.security-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.security-details {
    text-align: left;
}

.security-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.security-item:last-child {
    border-bottom: none;
}

.security-label {
    font-weight: 500;
    color: var(--gray);
}

.security-value {
    font-weight: 600;
}

.security-value.pass {
    color: var(--secondary);
}

.security-value.fail {
    color: var(--primary);
}

/* 底部CTA */
.download-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.download-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.download-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.3rem;
}

/* 页脚 */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copyright {
    font-size: 0.8rem;
    color: #777;
}

/* 管理后台 */
.admin-body {
    background: var(--light);
}

.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
}

.login-card h1 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e1e1;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

.btn-secondary:hover {
    background: #555;
}

.btn-danger {
    background: #e74c3c;
    color: var(--white);
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-large {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: var(--primary);
    text-decoration: none;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-error {
    background: #fde8e8;
    color: #e74c3c;
    border: 1px solid #f5c6c6;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.admin-panel {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-header {
    background: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.admin-header h1 {
    font-size: 1.5rem;
}

.admin-actions {
    display: flex;
    gap: 12px;
}

.admin-content {
    flex: 1;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.admin-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.admin-footer {
    background: var(--dark);
    color: #777;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
}

/* 响应式 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        flex: none;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .hero-version {
        justify-content: center;
    }
    
    .btn-download {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 20px;
        border-radius: 0 0 var(--radius) var(--radius);
    }
    
    .nav.open {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 4px;
    }
    
    .nav a {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .phone-mockup {
        width: 240px;
        height: 420px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .install-steps {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .download-cta h2 {
        font-size: 1.6rem;
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .admin-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .version-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .version-value {
        text-align: left;
        max-width: 100%;
    }
}