/* Turbo Merge Cars - 户外蓝天科技机械感 Outdoor / Sky Blue / Tech / Mechanical */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sky-light: #7dd3fc;
    --sky-mid: #0ea5e9;
    --sky-deep: #0369a1;
    --sky-dark: #0c4a6e;
    --steel: #94a3b8;
    --steel-dark: #64748b;
    --metal: #cbd5e1;
    --accent: #f59e0b;
    --accent-bright: #fbbf24;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --card-bg: rgba(12, 74, 110, 0.5);
    --card-border: rgba(125, 211, 252, 0.25);
    --white: #ffffff;
    --black: #0f172a;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(180deg, #0c4a6e 0%, #0369a1 25%, #0ea5e9 50%, #7dd3fc 75%, #0c4a6e 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--sky-light);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 20px rgba(125, 211, 252, 0.4);
    letter-spacing: 0.02em;
}

.section-header h2 .icon-wrap {
    display: inline-block;
    margin-right: 0.35rem;
    color: var(--accent);
}

.section-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(12, 74, 110, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--sky-light);
    text-decoration: none;
    letter-spacing: 0.03em;
}

.logo-icon {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.logo-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.75rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: var(--accent-bright);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--sky-light);
}

/* Hero Section - 蓝天 + 机械感 */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0c4a6e 0%, #0369a1 20%, #0ea5e9 45%, #38bdf8 70%, #0ea5e9 85%, #0369a1 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 20%, rgba(125, 211, 252, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(12, 74, 110, 0.3) 100%);
    pointer-events: none;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(125, 211, 252, 0.15);
    background: rgba(125, 211, 252, 0.05);
}

.shape-1 {
    width: 320px;
    height: 320px;
    top: -120px;
    right: -120px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -80px;
}

.shape-3 {
    width: 140px;
    height: 140px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.shape-gear {
    border: none;
    background: transparent;
    font-size: 3rem;
    color: rgba(148, 163, 184, 0.2);
    animation: gear-spin 20s linear infinite;
}

.shape-4 {
    top: 15%;
    right: 15%;
    width: auto;
    height: auto;
}

.shape-5 {
    bottom: 20%;
    left: 10%;
    animation-direction: reverse;
    animation-duration: 25s;
}

@keyframes gear-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.25rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4), 0 0 40px rgba(125, 211, 252, 0.3);
    letter-spacing: 0.04em;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    color: var(--black);
    border: 1px solid rgba(251, 191, 36, 0.5);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(251, 191, 36, 0.5);
}

.cta-button.secondary {
    background: transparent;
    color: var(--sky-light);
    border: 2px solid var(--sky-light);
}

.cta-button.secondary:hover {
    background: rgba(125, 211, 252, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(125, 211, 252, 0.3);
}

.hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-tags .tag,
.tag {
    background: rgba(12, 74, 110, 0.6);
    color: var(--metal);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid var(--card-border);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(12, 74, 110, 0.4) 0%, rgba(3, 105, 161, 0.3) 50%, rgba(12, 74, 110, 0.5) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.05rem;
}

.about-features {
    list-style: none;
    margin-top: 1.25rem;
}

.about-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
}

.about-features i {
    color: var(--accent);
    flex-shrink: 0;
}

/* Features Section - 科技卡片 */
.features {
    padding: 5rem 0;
}

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

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(125, 211, 252, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 30px rgba(125, 211, 252, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--accent-bright);
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.75rem;
    color: var(--sky-light);
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Screenshots */
.screenshots {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(3, 105, 161, 0.25) 0%, rgba(12, 74, 110, 0.4) 100%);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
    justify-items: center;
}

.screenshot-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    max-width: 220px;
    background: rgba(12, 74, 110, 0.4);
    transition: var(--transition);
}

.screenshot-card:hover {
    border-color: rgba(125, 211, 252, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Download CTA */
.download-cta {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(12, 74, 110, 0.6) 0%, #0c4a6e 40%, #0369a1 100%);
}

.download-content {
    text-align: center;
}

.download-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--sky-light);
    margin-bottom: 0.75rem;
}

.download-content h2 i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.download-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.download-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Download Modal */
.download-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.download-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.download-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.download-modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.98) 0%, rgba(3, 105, 161, 0.95) 100%);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.download-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(125, 211, 252, 0.2);
    color: var(--sky-light);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.download-modal-close:hover {
    background: rgba(125, 211, 252, 0.35);
}

.download-modal-body {
    text-align: center;
    padding-top: 0.5rem;
}

.download-modal-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.download-modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--sky-light);
    margin-bottom: 0.75rem;
}

.download-modal-text {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--text-color);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--card-border);
}

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

.footer-section h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--sky-light);
}

.footer-section p,
.footer-section ul {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-bright);
}

.footer-email {
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* AOS */
[data-aos] {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Mobile */
@media (max-width: 768px) {
    .navbar .container {
        position: relative;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0 -20px;
        background: rgba(12, 74, 110, 0.98);
        border-bottom: 1px solid var(--card-border);
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .cta-button {
        width: 100%;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}
