/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A90E2;
    --secondary-color: #7B68EE;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --text-color: #e4e4e4;
    --text-muted: #a0a0a0;
    --card-bg: #2a2a3e;
    --accent-color: #FFD700;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--darker-bg);
    padding-top: 70px; /* 为固定导航栏留出空间 */
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
    z-index: 1000;
    padding: 0;
}

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

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

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-title {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
}

.nav-menu a:hover {
    color: var(--accent-color);
    background: rgba(74, 144, 226, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="100" cy="100" r="2" fill="%23ffffff" opacity="0.8"/><circle cx="300" cy="150" r="1.5" fill="%23ffffff" opacity="0.6"/><circle cx="500" cy="80" r="1" fill="%23ffffff" opacity="0.7"/><circle cx="700" cy="200" r="2" fill="%23ffffff" opacity="0.5"/><circle cx="900" cy="120" r="1.5" fill="%23ffffff" opacity="0.8"/><circle cx="1100" cy="180" r="1" fill="%23ffffff" opacity="0.6"/></svg>') repeat;
    opacity: 0.3;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.photographer-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(123, 104, 238, 0.2));
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.6);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.2rem;
}

.version-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.download-hint {
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--dark-bg);
}

.features h2,
.how-it-works h2,
.screenshots h2,
.download h2,
.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--accent-color);
}

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

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Examples Section */
.examples {
    padding: 80px 20px;
    background: var(--darker-bg);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.example-item {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.example-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.example-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.example-item:hover .example-image {
    transform: scale(1.05);
}

.example-caption {
    padding: 25px;
    text-align: center;
}

.example-caption h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.example-caption p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Videos Section */
.videos {
    padding: 80px 20px;
    background: var(--dark-bg);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    padding: 25px;
    text-align: center;
}

.video-caption h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.video-caption p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Installation Section */
.installation {
    padding: 80px 20px;
    background: var(--darker-bg);
}

.install-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.install-image {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.install-screenshot {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.install-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.install-step .step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--accent-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Tutorial Section */
.tutorial {
    padding: 80px 20px;
    background: var(--dark-bg);
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.tutorial-item {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.2);
    position: relative;
}

.tutorial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.35);
}

.tutorial-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.tutorial-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: var(--darker-bg);
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
}

.tutorial-item h3 {
    color: var(--accent-color);
    margin: 20px 20px 12px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.tutorial-item p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 20px 20px;
    font-size: 0.95rem;
}

/* Screenshots */
.screenshots {
    padding: 80px 20px;
    background: var(--dark-bg);
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.screenshot-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(74, 144, 226, 0.3);
}

.screenshot-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-image:hover {
    transform: scale(1.02);
}

/* Download Section */
.download {
    padding: 80px 20px;
    background: var(--darker-bg);
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    min-width: 350px;
    border: 2px solid var(--primary-color);
}

.download-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.download-card .version {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.requirements {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.requirements li {
    padding: 10px 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.download-links .btn {
    width: 100%;
    justify-content: center;
}

/* More Apps Section */
.more-apps {
    padding: 80px 20px;
    background: var(--darker-bg);
}

.more-apps h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.app-card {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.2);
    text-decoration: none;
    color: inherit;
    display: block;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.4);
    border-color: var(--primary-color);
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-weight: 700;
}

.app-name-en {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
}

/* FAQ Section */
.faq {
    padding: 80px 20px;
    background: var(--dark-bg);
}

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

.faq-item {
    background: var(--card-bg);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Footer */
footer {
    background: var(--darker-bg);
    padding: 60px 20px 20px;
    border-top: 1px solid rgba(74, 144, 226, 0.2);
}

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

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section ul {
    color: var(--text-muted);
    line-height: 2;
}

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(74, 144, 226, 0.1);
    color: var(--text-muted);
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        text-align: center;
        padding: 10px 20px;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 12px 20px;
    }

    .hero {
        padding: 60px 20px;
    }

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

    .subtitle {
        font-size: 1.2rem;
    }

    .photographer-badge {
        font-size: 0.85rem;
        padding: 6px 16px;
    }

    .tagline {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .feature-grid,
    .steps {
        grid-template-columns: 1fr;
    }

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

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

    .install-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .tutorial-image {
        height: 180px;
    }

    .download-card {
        min-width: auto;
        width: 100%;
    }

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