/* 驱动精灵 主题样式 - 科技蓝色主题 */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #06b6d4;
    --accent: #10b981;
    --bg-dark: #0a0f1a;
    --bg-card: rgba(59, 130, 246, 0.08);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border-color: rgba(59, 130, 246, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    min-height: 100vh;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: hidden;
}

/* Animated Background */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 49.5%, rgba(59, 130, 246, 0.03) 49.5%, rgba(59, 130, 246, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(59, 130, 246, 0.03) 49.5%, rgba(59, 130, 246, 0.03) 50.5%, transparent 50.5%);
    background-size: 80px 80px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px var(--primary));
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--bg-card);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.tool-visual {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.gear {
    position: absolute;
    border: 4px solid var(--primary);
    border-radius: 50%;
    opacity: 0.3;
}

.gear-1 {
    width: 180px;
    height: 180px;
    top: 10px;
    left: 10px;
    animation: rotate 12s linear infinite;
}

.gear-2 {
    width: 120px;
    height: 120px;
    top: 40px;
    left: 60px;
    animation: rotate 8s linear infinite reverse;
}

.gear-3 {
    width: 80px;
    height: 80px;
    top: 60px;
    left: 80px;
    animation: rotate 6s linear infinite;
}

.gear-teeth {
    position: absolute;
    inset: -8px;
    border: 8px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tool-icon {
    font-size: 70px;
    position: relative;
    z-index: 2;
    display: block;
    filter: drop-shadow(0 0 30px var(--primary));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.sparks {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary);
    border-radius: 50%;
    animation: spark 2s ease-in-out infinite;
}

.spark-1 {
    top: 20px;
    right: 30px;
    animation-delay: 0s;
}

.spark-2 {
    bottom: 40px;
    left: 20px;
    animation-delay: 0.7s;
}

.spark-3 {
    top: 60px;
    left: 30px;
    animation-delay: 1.4s;
}

@keyframes spark {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.6);
}

.btn-icon, .download-icon {
    width: 20px;
    height: 20px;
}

/* Stats Section */
.stats-section {
    padding: 60px 24px;
    position: relative;
    z-index: 1;
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    display: inline;
}

.stat-unit {
    font-size: 20px;
    color: var(--primary);
    font-weight: 600;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 8px;
}

/* Features Section */
.features-section {
    padding: 80px 24px;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-desc {
    margin-top: 8px;
    opacity: 0.7;
}

/* Download Page */
.download-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 1;
}

.download-container {
    max-width: 600px;
    width: 100%;
}

.download-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
}

.app-info {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.app-icon {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, var(--primary), transparent);
    opacity: 0.4;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

.app-emoji {
    font-size: 60px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px var(--primary));
}

.pulse-rings {
    position: absolute;
    inset: 0;
}

.pulse-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: ring-pulse 2s ease-out infinite;
}

.pulse-ring:nth-child(2) { animation-delay: 1s; }

@keyframes ring-pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.app-details h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-desc {
    color: var(--text-secondary);
    font-size: 14px;
}

.app-version {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    margin-bottom: 32px;
}

.version-item {
    text-align: center;
}

.version-label {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 4px;
}

.version-value {
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
}

.download-specs {
    margin-bottom: 24px;
}

.download-specs h3 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    transition: all 0.3s;
}

.spec-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.spec-icon {
    font-size: 20px;
}

.spec-name {
    font-size: 14px;
    font-weight: 500;
}

.spec-version {
    font-size: 11px;
    color: var(--text-secondary);
    margin-left: auto;
}

.download-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.feature-tag {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 13px;
    color: var(--primary);
}

.download-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.download-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.6);
}

.download-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.link-item:hover {
    color: var(--primary);
}

.back-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.back-home:hover {
    color: var(--primary);
}

.back-home svg {
    width: 18px;
    height: 18px;
}

/* 404 Page */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 1;
}

.error-content {
    text-align: center;
    max-width: 600px;
}

.error-visual {
    position: relative;
    margin-bottom: 40px;
}

.error-orb {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.orb-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--primary), transparent);
    opacity: 0.5;
    animation: pulse-glow 2s ease-in-out infinite;
}

.error-icon {
    font-size: 70px;
    position: relative;
    z-index: 2;
    display: block;
    filter: drop-shadow(0 0 30px var(--primary));
}

.broken-gear {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    opacity: 0.3;
}

.gear-half {
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 50%;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    animation: flicker 3s ease-in-out infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.error-rings {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.error-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: ring-pulse 2.5s ease-out infinite;
}

.error-ring:nth-child(2) { animation-delay: 0.8s; }
.error-ring:nth-child(3) { animation-delay: 1.6s; }

.error-code-display {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.error-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary);
}

.error-zero {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-secondary);
}

.error-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-message {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.error-suggestions {
    margin-bottom: 50px;
}

.suggestion-title {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.suggestion-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.suggestion-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.suggestion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.6);
}

.suggestion-btn.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.suggestion-btn.btn-secondary:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.2);
}

.suggestion-btn svg {
    width: 18px;
    height: 18px;
}

.error-decoration {
    display: flex;
    justify-content: center;
    gap: 40px;
    opacity: 0.3;
}

.deco-icon {
    font-size: 28px;
    animation: rotate 8s linear infinite;
}

.deco-icon:nth-child(2) { animation-delay: -2.6s; animation-direction: reverse; }

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 42px; }
    .hero-subtitle { font-size: 18px; }
    .hero-desc { font-size: 14px; }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-card { padding: 32px 24px; }
    .app-info { flex-direction: column; text-align: center; }
    .app-version { grid-template-columns: repeat(3, 1fr); }
    .specs-grid { grid-template-columns: 1fr; }
    .download-links { flex-direction: column; gap: 12px; }
    
    .suggestion-links { flex-direction: column; }
    .error-code-display .error-number,
    .error-code-display .error-zero { font-size: 42px; }
}

@media (max-width: 480px) {
    .hero-section { padding: 100px 16px 40px; }
    .tool-visual { width: 160px; height: 160px; }
    .tool-icon { font-size: 50px; }
    .hero-title { font-size: 36px; }
    
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-value { font-size: 32px; }
    
    .features-grid { grid-template-columns: 1fr; }
    .features-section { padding: 60px 16px; }
    .section-title { font-size: 28px; }
}
