/* Dash Flick - 暗色系氛围感 Dark cinematic atmosphere */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep: #0a0a0b;
    --bg-mid: #121214;
    --bg-card: #161618;
    --bg-elevated: #1c1c1f;
    --accent: #d4a853;
    --accent-dim: #b8923f;
    --accent-glow: rgba(212, 168, 83, 0.25);
    --text-color: #e8e6e3;
    --text-muted: #9a9691;
    --border-color: rgba(212, 168, 83, 0.2);
    --white: #fafaf9;
    --black: #0a0a0b;
    --transition: all 0.35s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-deep);
    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: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

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

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 11, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    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-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    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: 2rem;
}

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

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

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

/* Hero Section: 左文右图 */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-container {
    width: 100%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-copy {
    text-align: left;
}

.hero-copy .hero-buttons {
    justify-content: flex-start;
}

.hero-copy .hero-tags {
    justify-content: flex-start;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-device {
    width: 100%;
    max-width: 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-color);
    border: 1px solid var(--border-color);
}

.hero-device img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 120% 80% at 50% 20%, rgba(28, 24, 18, 0.95) 0%, var(--bg-mid) 40%, var(--bg-deep) 100%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(212, 168, 83, 0.06) 0%, transparent 55%);
    z-index: -1;
}

.hero-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(212, 168, 83, 0.08);
    background: radial-gradient(circle, rgba(212, 168, 83, 0.04) 0%, transparent 70%);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 280px;
    height: 280px;
    bottom: -100px;
    left: -100px;
}

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

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

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
}

.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;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

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

.cta-button.primary:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

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

.cta-button.secondary:hover {
    background: rgba(212, 168, 83, 0.08);
    border-color: rgba(212, 168, 83, 0.4);
    transform: translateY(-2px);
}

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

.hero-tags .tag,
.tag {
    background: rgba(212, 168, 83, 0.1);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
}

/* About Section: 全幅横幅 + 窄栏文案 */
.about {
    padding: 0 0 5rem;
    background: var(--bg-deep);
}

.about-banner {
    position: relative;
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    margin-bottom: 3rem;
}

.about-banner img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(to top, rgba(10, 10, 11, 0.95) 0%, transparent 100%);
}

.about-banner-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.about-copy {
    display: flex;
    justify-content: center;
}

.about-copy-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.about-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.about-sub {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

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

.about-features i {
    color: var(--accent);
    font-size: 0.9rem;
}

.about-features--row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin-top: 1.5rem;
}

.about-features--row li {
    margin-bottom: 0;
}

/* Section header 左对齐变体 */
.section-header--left {
    text-align: left;
}

.section-header--left p {
    margin-left: 0;
}

/* Features Section: Bento 网格 */
.features {
    padding: 5rem 0;
    background: var(--bg-deep);
}

.features-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.feature-card--large {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2rem;
}

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

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

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 83, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: rgba(212, 168, 83, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

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

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
}

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

/* Screenshots: 横向滚动胶片条 */
.screenshots {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
}

.screenshots-strip {
    margin-left: 0;
    margin-right: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0 2rem;
}

.screenshots-strip::-webkit-scrollbar {
    height: 8px;
}

.screenshots-strip::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 4px;
}

.screenshots-strip::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.screenshots-track {
    display: flex;
    gap: 1.25rem;
    padding: 0 max(20px, calc((100vw - 1200px) / 2 + 20px));
    min-width: min-content;
}

.screenshot-card {
    flex: 0 0 220px;
    width: 220px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

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

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

/* Download CTA: 左右分栏 */
.download-cta {
    padding: 5rem 0;
    background: radial-gradient(ellipse 100% 100% at 50% 100%, rgba(212, 168, 83, 0.06) 0%, var(--bg-deep) 60%);
    border-top: 1px solid var(--border-color);
}

.download-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.download-copy h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.download-copy h2 i {
    margin-right: 0.35rem;
}

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

.download-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.download-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

.download-actions .cta-button {
    min-width: 200px;
    justify-content: center;
}

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

.download-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.download-content h2 i {
    margin-right: 0.35rem;
}

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

.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.8);
    cursor: pointer;
}

.download-modal-content {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.download-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: var(--transition);
}

.download-modal-close:hover {
    color: var(--accent);
}

.download-modal-body {
    text-align: center;
}

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

.download-modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.download-modal-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--bg-mid);
    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 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

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

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

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

.footer-disclaimer {
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 280px;
        height: 100vh;
        background: var(--bg-elevated);
        flex-direction: column;
        padding: 4rem 2rem 2rem;
        gap: 1.5rem;
        border-left: 1px solid var(--border-color);
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu {
        display: block;
        z-index: 1001;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy .hero-buttons {
        justify-content: center;
    }

    .hero-copy .hero-tags {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-device {
        max-width: 260px;
        margin: 0 auto;
    }

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

    .hero-tagline {
        font-size: 1.05rem;
    }

    .about-banner-label {
        font-size: 1.35rem;
    }

    .about-copy-inner {
        padding: 0 1rem;
    }

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

    .feature-card--large {
        grid-row: span 1;
    }

    .download-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .download-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .section-header--left {
        text-align: center;
    }

    .section-header--left p {
        margin-left: auto;
    }
}
