/* FlixReels - #193b23 to #000 gradient theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-start: #193b23;
    --bg-end: #000000;
    --primary-gradient: linear-gradient(135deg, #193b23 0%, #0d1f14 50%, #000000 100%);
    --hero-gradient: linear-gradient(180deg, #193b23 0%, #0a1610 40%, #000000 100%);
    --accent-color: #6ee7b7;
    --accent-dim: #4ade80;
    --text-color: #e5e5e5;
    --text-muted: #a3a3a3;
    --card-bg: rgba(25, 59, 35, 0.6);
    --border-color: rgba(110, 231, 183, 0.25);
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--primary-gradient);
    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-size: 2.25rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.section-header h2 .icon-wrap {
    display: inline-block;
    margin-right: 0.25rem;
}

.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(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
}

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

.logo-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.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);
}

.nav-links a:hover {
    color: var(--accent-color);
}

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

/* 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: var(--hero-gradient);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 30%, rgba(25, 59, 35, 0.5) 0%, transparent 60%);
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(110, 231, 183, 0.12);
    background: rgba(110, 231, 183, 0.04);
}

.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%);
}

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

.hero h1 {
    font-size: 3.25rem;
    margin-bottom: 0.75rem;
    color: var(--white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

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

.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: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.cta-button.primary {
    background: var(--accent-color);
    color: var(--black);
}

.cta-button.primary:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(110, 231, 183, 0.35);
}

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

.cta-button.secondary:hover {
    background: rgba(110, 231, 183, 0.12);
    transform: translateY(-2px);
}

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

.hero-tags .tag,
.tag {
    background: rgba(110, 231, 183, 0.12);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(25,59,35,0.2) 100%);
}

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

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

.about-text h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.about-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

/* Features Section */
.features {
    padding: 5rem 0;
}

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

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(110, 231, 183, 0.4);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-color);
}

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

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: var(--accent-color);
    font-size: 1.15rem;
}

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

/* Moments (Perfect for Real Life) */
.moments {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(25,59,35,0.25) 0%, rgba(0,0,0,0.5) 100%);
}

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

.moment-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.moment-card:hover {
    transform: translateY(-4px);
    border-color: rgba(110, 231, 183, 0.35);
}

.moment-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.moment-card p {
    color: var(--text-color);
    font-size: 1.05rem;
}

/* Screenshots */
.screenshots {
    padding: 5rem 0;
}

.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(--border-color);
    max-width: 220px;
    background: rgba(0, 0, 0, 0.3);
}

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

/* Download CTA */
.download-cta {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, #193b23 50%, #000 100%);
}

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

.download-content h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.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;
}

/* Download 弹窗 */
.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(25, 59, 35, 0.98) 0%, rgba(0, 0, 0, 0.98) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.download-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(110, 231, 183, 0.15);
    color: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.download-modal-close:hover {
    background: rgba(110, 231, 183, 0.3);
}
.download-modal-body {
    text-align: center;
    padding-top: 0.5rem;
}
.download-modal-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}
.download-modal-title {
    font-size: 1.5rem;
    color: var(--accent-color);
    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(--border-color);
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--accent-color);
}

.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-color);
}

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

/* AOS / visibility */
[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(0, 0, 0, 0.95);
        border-bottom: 1px solid var(--border-color);
        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;
    }
    .moments-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;
    }
}
