/* App Hero — split layout with screenshot */
.app-hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.app-hero-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
    margin: 0 auto;
}

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

.app-hero-icon {
    width: 96px;
    height: 96px;
    margin: 0 0 24px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.app-hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.app-hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.app-hero-screenshot {
    position: relative;
}

.app-hero-screenshot img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.features h2 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    text-align: center;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.features-grid .feature {
    flex: 0 0 280px;
}

.features-grid .feature.highlight {
    flex: 0 0 calc(50% - 12px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.features-grid .feature.highlight .feature-icon {
    margin: 0;
    flex-shrink: 0;
}

.features-grid .feature.highlight .feature-text h3 {
    margin-bottom: 6px;
}

@media (max-width: 700px) {
    .features-grid .feature {
        flex: 0 0 100%;
    }
    .features-grid .feature.highlight {
        flex: 0 0 100%;
    }
}

.feature {
    text-align: center;
    padding: 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 16px;
    color: var(--accent);
}

.feature h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Screenshots */
.screenshots {
    padding: 100px 0;
    background: var(--bg-primary);
}

.screenshots h2 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    text-align: center;
}

.screenshots-group {
    margin-bottom: 48px;
}

.screenshots-group:last-child {
    margin-bottom: 0;
}

.screenshots-group h3 {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 20px;
}

.screenshots-container {
    position: relative;
}

.screenshots-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: calc(100% - 40px);
    background: linear-gradient(to right, transparent, var(--bg-primary));
    pointer-events: none;
}

.screenshots-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 0 24px 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshots-scroll::-webkit-scrollbar {
    height: 6px;
}

.screenshots-scroll::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.screenshots-scroll::-webkit-scrollbar-thumb {
    background: var(--text-tertiary);
    border-radius: 3px;
}

.screenshots-scroll img {
    flex-shrink: 0;
    height: auto;
    border-radius: 12px;
    scroll-snap-align: center;
    border: 1px solid var(--border);
}

.screenshots-scroll.horizontal img {
    max-width: 600px;
    width: 100%;
}

.screenshots-scroll.vertical img {
    max-width: 280px;
    width: 100%;
}

.scroll-hint {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.scroll-hint svg {
    animation: bounce-x 1.5s ease-in-out infinite;
}

@keyframes bounce-x {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* What's New */
.whats-new {
    padding: 80px 0;
    background: var(--bg-primary);
}

.whats-new h2 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    text-align: center;
}

.whats-new-content {
    max-width: 600px;
    margin: 0 auto;
}

.whats-new-version {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 16px;
}

.whats-new-content ul {
    list-style: none;
}

.whats-new-content li {
    color: var(--text-secondary);
    padding: 8px 0;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.whats-new-content li::before {
    content: "+";
    color: var(--accent);
    font-weight: 600;
    margin-right: 12px;
}

/* Requirements */
.requirements {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.requirements h2 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    text-align: center;
}

.requirements p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.requirements ul {
    max-width: 500px;
    margin: 0 auto;
    list-style: none;
}

.requirements li {
    color: var(--text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.requirements li:last-child {
    border-bottom: none;
}

.requirements li::before {
    content: "\2022";
    color: var(--accent);
    margin-right: 12px;
}

/* Responsive */
@media (max-width: 900px) {
    .app-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 600px;
    }

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

    .app-hero-icon {
        margin: 0 auto 24px;
    }

    .app-hero-screenshot img {
        max-width: 500px;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .app-hero {
        padding: 100px 24px 48px;
    }

    .app-hero-icon {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }

    .features,
    .screenshots {
        padding: 60px 0;
    }

    .whats-new,
    .requirements {
        padding: 48px 0;
    }

    .screenshots-scroll.horizontal img {
        max-width: 85vw;
    }

    .screenshots-scroll.vertical img {
        max-width: 60vw;
    }
}
