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

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

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

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 9px;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.logo-text h1 {
    font-size: 22px;
    color: #0284c7;
    font-weight: 700;
    line-height: 1.1;
}

.logo-text .tagline {
    font-size: 12px;
    color: #6b7280;
}

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

.nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
    color: #0284c7;
}

.hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #0284c7;
}

.btn-primary:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.85;
}

.hero-image {
    flex: 1;
}

.preview-demo {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.preview-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 12px;
}

.app-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
}

.app-dot.red { background: #ef4444; }
.app-dot.yellow { background: #f59e0b; }
.app-dot.green { background: #10b981; }

.preview-name {
    margin-left: auto;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
}

.preview-hint {
    text-align: center;
    padding: 12px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #0369a1;
}

.preview-hint .kbd {
    display: inline-block;
    background: #fff;
    border: 1px solid #bae6fd;
    border-bottom-width: 2px;
    border-radius: 4px;
    padding: 2px 10px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #0284c7;
    font-weight: 600;
    margin: 0 4px;
}

.preview-window {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.preview-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid #f1f5f9;
}

.preview-file-icon {
    font-size: 24px;
}

.preview-file-info {
    flex: 1;
}

.preview-file-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.preview-file-meta {
    font-size: 11px;
    color: #64748b;
}

.preview-file.active {
    border-color: #0ea5e9;
    background: #f0f9ff;
}

.preview-content {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 14px;
    margin-top: 8px;
}

.preview-content-img {
    height: 80px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 4px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0369a1;
    font-size: 28px;
}

.preview-content-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #64748b;
}

.features-preview {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    max-width: 700px;
    margin: -40px auto 50px;
}

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

.feature-card {
    background: #f0f9ff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0f2fe;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 14px;
}

.cta-section {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.footer {
    background: #1f2937;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-section p {
    color: #9ca3af;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 14px;
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .section-title {
        font-size: 28px;
    }
}

.download-section {
    padding: 80px 0;
    background: #fff;
}

.features-section {
    padding: 80px 0;
    background: #f9fafb;
}

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

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.1);
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

.faq-section {
    padding: 80px 0;
    background: #fff;
}

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #f9fafb;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: #0284c7;
}

.faq-answer {
    padding: 20px;
    background: #fff;
    color: #666;
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

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

.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.about-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Quickstart section */
.quickstart-section {
    background: #f8fafc;
    padding: 80px 0;
}

.quickstart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.quickstart-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
}

.quickstart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(2, 132, 199, 0.1);
}

.quickstep-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.quickstart-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.quickstart-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 15px;
}

.quickstart-card .quick-link {
    display: inline-block;
    margin-top: 15px;
    color: #0284c7;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.quickstart-card .quick-link:hover {
    text-decoration: underline;
}

/* Changelog section */
.changelog-section {
    padding: 80px 0;
}

.changelog-container {
    max-width: 900px;
    margin: 0 auto;
}

.changelog-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #0284c7;
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.changelog-version {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.changelog-date {
    color: #6b7280;
    font-size: 14px;
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 20px;
}

.changelog-content {
    color: #4b5563;
    line-height: 1.8;
}

.changelog-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changelog-content li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.changelog-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0284c7;
    font-weight: bold;
}

.changelog-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.changelog-badge.new {
    background: #dcfce7;
    color: #166534;
}

.changelog-badge.fix {
    background: #fef3c7;
    color: #92400e;
}

.changelog-badge.improve {
    background: #dbeafe;
    color: #1e40af;
}

.changelog-more {
    text-align: center;
    margin-top: 30px;
}

.changelog-more a {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #0284c7;
    border: 2px solid #0284c7;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.changelog-more a:hover {
    background: #0284c7;
    color: #fff;
}

/* Format support grid */
.formats-section {
    padding: 80px 0;
    background: #fff;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.format-chip {
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 10px;
    padding: 20px 12px;
    text-align: center;
    color: #0284c7;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.format-chip:hover {
    background: #e0f2fe;
    transform: translateY(-3px);
}

.format-chip .format-desc {
    display: block;
    font-size: 12px;
    color: #0369a1;
    font-weight: 400;
    margin-top: 4px;
}

/* Shortcut table */
.shortcut-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.shortcut-table th,
.shortcut-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.shortcut-table th {
    background: #f0f9ff;
    color: #0284c7;
    font-weight: 600;
}

.shortcut-table tr:last-child td {
    border-bottom: none;
}

.shortcut-table .kbd {
    display: inline-block;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-bottom-width: 2px;
    border-radius: 4px;
    padding: 2px 8px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #374151;
    margin-right: 4px;
}

/* Scenario cards */
.scenario-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.1);
}

.scenario-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
}

.scenario-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.scenario-badge {
    display: inline-block;
    margin-top: 15px;
    padding: 4px 12px;
    background: #dcfce7;
    color: #166534;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Testimonial */
.testimonial {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #0284c7;
}

.testimonial-quote {
    font-size: 16px;
    color: #374151;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}

/* Download table */
.download-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.download-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.download-table th,
.download-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.download-table th {
    background: #f0f9ff;
    font-weight: 600;
    color: #0284c7;
}

.download-table tr:hover {
    background: #f8fafc;
}

.download-table tr:last-child td {
    border-bottom: none;
}

.version-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
}

.version-tag.stable {
    background: #dcfce7;
    color: #166534;
}

.version-tag.portable {
    background: #dbeafe;
    color: #1e40af;
}

.version-tag.prerelease {
    background: #fef3c7;
    color: #92400e;
}

.download-link {
    display: inline-block;
    padding: 8px 20px;
    background: #0284c7;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.download-link:hover {
    background: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.file-info {
    color: #6b7280;
    font-size: 13px;
}

.install-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.install-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    position: relative;
}

.install-card.recommended {
    border-color: #0284c7;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.install-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.1);
}

.install-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #0284c7;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.install-card h3 {
    font-size: 22px;
    color: #1f2937;
    margin-bottom: 8px;
}

.install-card .version {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 5px;
}

.install-card .size {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 20px;
}

.install-card .desc {
    color: #4b5563;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.install-card .btn {
    width: 100%;
    text-align: center;
}
