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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

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

/* Hero */
.hero {
    background: linear-gradient(135deg, #07c160 0%, #06ad56 50%, #059b4c 100%);
    color: #fff;
    text-align: center;
    padding: 60px 20px 50px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.qrcode-section {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 25px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

#qrcode {
    display: inline-block;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
}

#qrcode img {
    display: block;
}

.qrcode-tip {
    margin-top: 12px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Nav Tabs */
.nav-tabs {
    background: #fff;
    border-bottom: 2px solid #e8ecf1;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.nav-tabs .container {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 0 20px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 16px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: #07c160;
}

.tab-btn.active {
    color: #07c160;
    border-bottom-color: #07c160;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 40px 0;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.tab-content h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 10px;
    text-align: center;
}

.section-desc {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
}

/* Platform Grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.platform-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.platform-card h3 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.platform-card p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: #07c160;
    color: #fff;
}

.btn-primary:hover {
    background: #06ad56;
    transform: scale(1.02);
}

.btn-secondary {
    background: #e8ecf1;
    color: #555;
}

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

.btn-small {
    padding: 6px 16px;
    font-size: 0.85rem;
    background: #07c160;
    color: #fff;
    border-radius: 6px;
}

.btn-small:hover {
    background: #06ad56;
}

/* Download Progress */
.download-progress {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 500;
}

.progress-bar {
    height: 8px;
    background: #e8ecf1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #07c160, #09d96e);
    border-radius: 4px;
    transition: width 0.3s;
}

/* Version List */
.version-list {
    max-width: 700px;
    margin: 0 auto;
}

.version-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.version-name {
    font-weight: 600;
    min-width: 120px;
}

.version-platform {
    color: #888;
    font-size: 0.9rem;
    min-width: 80px;
}

.version-date {
    color: #aaa;
    font-size: 0.85rem;
    flex: 1;
}

/* Beta Card */
.beta-card {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.beta-card p {
    color: #666;
    margin-bottom: 15px;
}

.notice {
    background: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.beta-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.beta-form input:focus {
    outline: none;
    border-color: #07c160;
    box-shadow: 0 0 0 3px rgba(7,193,96,0.1);
}

.beta-tip {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 10px !important;
}

/* Tutorial Steps */
.tutorial-steps {
    max-width: 700px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #07c160;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #1a1a2e;
    margin-bottom: 6px;
}

.step-content p {
    color: #666;
    font-size: 0.9rem;
}

.step-img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

/* FAQ */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    cursor: pointer;
}

.faq-question {
    font-weight: 600;
    color: #1a1a2e;
    position: relative;
    padding-right: 20px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #07c160;
    transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
    content: '−';
}

.faq-answer {
    display: none;
    margin-top: 12px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.faq-item.open .faq-answer {
    display: block;
    animation: fadeIn 0.2s ease;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
}

.modal-close:hover {
    color: #333;
}

.security-status {
    margin: 20px 0;
}

.status-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.security-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    text-align: left;
    font-size: 0.9rem;
}

.security-details span {
    display: block;
    margin-bottom: 5px;
}

.safe {
    color: #07c160;
    font-weight: 600;
}

.danger {
    color: #e74c3c;
    font-weight: 600;
}

/* Notification */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
}

.notification {
    background: #fff;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
    min-width: 250px;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notification.success {
    border-left: 4px solid #07c160;
}

.notification.error {
    border-left: 4px solid #e74c3c;
}

.notification.info {
    border-left: 4px solid #3498db;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: #aaa;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* Empty state */
.empty-msg {
    text-align: center;
    color: #aaa;
    padding: 40px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .platform-grid { grid-template-columns: 1fr 1fr; }
    .version-item { flex-wrap: wrap; gap: 8px; }
    .version-name { min-width: auto; }
    .tab-btn { padding: 12px 16px; font-size: 0.85rem; }
    .step-card { flex-direction: column; align-items: flex-start; }
    .step-number { margin-bottom: 10px; }
}