* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    min-height: 100vh;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

header {
    text-align: center;
    padding: 30px 20px;
}

h1 {
    font-size: 2.5em;
    background: linear-gradient(90deg, #f97316, #eab308, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.2em;
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.8;
}

.tagline {
    display: inline-block;
    background: linear-gradient(90deg, #dc2626, #f97316);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1em;
    margin-bottom: 15px;
    font-weight: bold;
}

.free-tag {
    display: inline-block;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1em;
    margin-bottom: 15px;
    font-weight: bold;
}

.mission-box {
    background: linear-gradient(135deg, rgba(220,38,38,0.15), rgba(249,115,22,0.15));
    border: 2px solid #f97316;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 16px;
    text-align: left;
    width: 100%;
}

.mission-box h3 {
    color: #f97316;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.mission-box p {
    color: #e2e8f0;
    line-height: 1.9;
    font-size: 1em;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 3em;
    font-weight: bold;
    background: linear-gradient(180deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.95em;
    margin-top: 5px;
}

.section {
    margin: 50px 0;
}

.section-title {
    font-size: 1.6em;
    text-align: center;
    margin-bottom: 25px;
    color: #e2e8f0;
}

.section-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 1em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.06);
    border-color: #f97316;
}

.feature-icon {
    font-size: 2.8em;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 12px;
    color: #fbbf24;
}

.feature-desc {
    color: #94a3b8;
    font-size: 0.95em;
    line-height: 1.7;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(220,38,38,0.1), rgba(249,115,22,0.1));
    border: 2px solid #f97316;
}

.highlight-card .feature-title {
    color: #f97316;
}

.cad-section {
    background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(22,163,74,0.1));
    border-radius: 20px;
    padding: 30px 25px;
    margin: 40px 0;
    border: 1px solid #22c55e;
}

.cad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
    width: 100%;
}

.cad-item {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.cad-item.supported {
    border-color: #22c55e;
    background: rgba(34,197,94,0.1);
}

.cad-item.planned {
    border-color: #fbbf24;
    background: rgba(251,191,36,0.1);
}

.cad-name {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.cad-status {
    font-size: 0.85em;
    margin-top: 5px;
}

.cad-status.supported {
    color: #22c55e;
}

.cad-status.planned {
    color: #fbbf24;
}

.plugin-section {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 30px 25px;
    margin: 40px 0;
}

.plugin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.plugin-item {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.plugin-name {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.plugin-desc {
    font-size: 0.9em;
    color: #94a3b8;
}

/* 源泉设计卡片 - 黄色醒目主题 */
.plugin-yq {
    background: linear-gradient(135deg, rgba(234,179,8,0.2), rgba(249,115,22,0.1));
    border: 2px solid #eab308;
}

.plugin-yq .plugin-name {
    color: #eab308 !important;
    font-weight: bold !important;
}

.plugin-yq .plugin-desc {
    color: #fef08a !important;
}

.conflict-section {
    margin: 50px 0;
}

.conflict-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.conflict-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.conflict-item:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.06);
}

.conflict-icon {
    font-size: 2.2em;
}

.conflict-content h3 {
    color: #60a5fa;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.conflict-content p {
    color: #94a3b8;
    line-height: 1.6;
}

.roadmap-section {
    margin: 50px 0;
}

.roadmap-timeline {
    position: relative;
    margin: 40px 0;
}

.roadmap-phase {
    background: rgba(255,255,255,0.03);
    border-left: 4px solid #f97316;
    border-radius: 0 12px 12px 0;
    padding: 20px 25px;
    margin: 20px 0;
    position: relative;
}

.roadmap-phase.completed {
    border-left-color: #22c55e;
}

.roadmap-phase.in-progress {
    border-left-color: #fbbf24;
}

.roadmap-phase.planned {
    border-left-color: #94a3b8;
}

.roadmap-phase h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.roadmap-phase.completed h3 {
    color: #22c55e;
}

.roadmap-phase.in-progress h3 {
    color: #fbbf24;
}

.roadmap-phase.planned h3 {
    color: #94a3b8;
}

.roadmap-phase p {
    color: #94a3b8;
    line-height: 1.6;
}

.sponsor-section {
    background: linear-gradient(135deg, rgba(236,72,153,0.1), rgba(219,39,119,0.1));
    border-radius: 20px;
    padding: 30px 25px;
    margin: 40px 0;
    border: 1px solid #ec4899;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    width: 100%;
}

.sponsor-card {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    background: rgba(236,72,153,0.1);
    border-color: #ec4899;
}

.sponsor-tier {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
}

.tier-platinum {
    color: #e5e7eb;
}

.tier-gold {
    color: #fbbf24;
}

.tier-silver {
    color: #94a3b8;
}

.sponsor-price {
    font-size: 2em;
    font-weight: bold;
    margin: 15px 0;
    color: #ec4899;
}

.sponsor-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.sponsor-features li {
    margin: 8px 0;
    color: #94a3b8;
    font-size: 0.9em;
}

.sponsor-features li:before {
    content: "✓ ";
    color: #22c55e;
}

.sponsor-btn {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.sponsor-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236,72,153,0.3);
}

.modules-section {
    margin: 50px 0;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.module-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s;
}

.module-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.06);
    border-color: #f97316;
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    line-height: 2;
}

footer a {
    color: #60a5fa;
    text-decoration: none;
}

.highlight {
    color: #f97316;
}

.green {
    color: #22c55e;
}

.interactive {
    cursor: pointer;
    transition: all 0.3s ease;
}

.interactive:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .cad-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .plugin-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .conflict-list {
        grid-template-columns: 1fr;
    }
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    .stats {
        gap: 30px;
    }
    .stat-num {
        font-size: 2.8em;
    }
    .cad-grid {
        grid-template-columns: 1fr;
    }
    .plugin-grid {
        grid-template-columns: 1fr;
    }
    .modules-grid {
        grid-template-columns: 1fr;
    }
    .mission-box {
        padding: 20px;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}

.modal-content {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal-title {
    font-size: 1.4em;
    color: #f97316;
    font-weight: bold;
}

.modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.8em;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 20px;
    line-height: 1.8;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.3em;
    font-weight: bold;
    background: linear-gradient(90deg, #f97316, #eab308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: #f97316;
    border-bottom-color: #f97316;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    .nav-links.active {
        display: flex;
    }
}

.page-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(234,179,8,0.1));
    border-radius: 0 0 30px 30px;
    margin-bottom: 40px;
}

.page-header h1 {
    margin-bottom: 15px;
}

.page-header p {
    color: #94a3b8;
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316, #eab308);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249,115,22,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
}

.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.info-box {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
}

.info-box.success {
    border-left: 4px solid #22c55e;
}

.info-box.warning {
    border-left: 4px solid #fbbf24;
}

.info-box.danger {
    border-left: 4px solid #dc2626;
}

.info-box.info {
    border-left: 4px solid #3b82f6;
}

.progress-bar {
    background: #334155;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-bar .progress {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-bar .progress.green {
    background: #22c55e;
}

.progress-bar .progress.yellow {
    background: #fbbf24;
}

.progress-bar .progress.orange {
    background: #f97316;
}

.download-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.download-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    transition: all 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.06);
}

.download-card.featured {
    border: 2px solid #f97316;
    background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(234,179,8,0.05));
}

.download-platform {
    text-align: center;
    margin-bottom: 25px;
}

.download-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.download-detail {
    text-align: center;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 12px;
}

.download-label {
    display: block;
    color: #64748b;
    font-size: 0.8em;
    margin-bottom: 5px;
}

.download-value {
    display: block;
    color: #fbbf24;
    font-weight: bold;
    font-size: 1em;
}

.download-changelog {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.download-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 1.1em;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .download-section {
        flex-direction: column;
        align-items: center;
    }
    .download-info {
        grid-template-columns: 1fr;
    }
}
