/* ═══════════════════════════════════════════════
   Mollusca App page
   ═══════════════════════════════════════════════ */

.app-root {
    position: relative;
    color: #f0f0f0;
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.app-root *, .app-root *::before, .app-root *::after { box-sizing: border-box; }

.app-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Hero ── */
.app-hero {
    padding: 140px 0 60px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(200,169,126,0.18), transparent 55%),
        #16161a;
}
.app-hero__content { max-width: 720px; margin: 0 auto; }

.app-hero__overtitle {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c8a97e;
    margin-bottom: 18px;
}
.app-hero__title {
    font-family: 'Cormorant', serif;
    font-size: 64px;
    font-weight: 300;
    color: #f5f5f5;
    line-height: 1.05;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}
.app-hero__desc {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(240,240,240,0.75);
    margin: 0 0 36px;
}

.app-hero__badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.app-badge { display: inline-block; transition: transform .25s, opacity .25s; }
.app-badge:hover { transform: translateY(-2px); opacity: 0.9; }
.app-badge img { display: block; height: 48px; width: auto; }
.app-badge--lg img { height: 60px; }

/* ── Screenshots row ── */
.app-shots {
    padding: 40px 0 80px;
    background: #16161a;
}
.app-shots__track {
    display: flex;
    gap: 24px;
    padding: 0 32px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: nowrap;
}
.app-shots__item {
    flex: 0 0 auto;
    width: calc((100% - 72px) / 4);
    max-width: 260px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55), 0 8px 20px -8px rgba(0,0,0,0.4);
    background: #0f0f12;
}
.app-shots__item img {
    display: block;
    width: 100%;
    height: auto;
}

/* ── Features ── */
.app-features {
    padding: 100px 0 80px;
    background: #1a1a1f;
}
.app-section__title {
    font-family: 'Cormorant', serif;
    font-size: 44px;
    font-weight: 300;
    color: #f5f5f5;
    text-align: center;
    margin: 0 0 56px;
    line-height: 1.1;
}
.app-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.app-feature {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 28px 24px;
    transition: background .25s, border-color .25s, transform .25s;
}
.app-feature:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(200,169,126,0.25);
    transform: translateY(-2px);
}
.app-feature__icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 16px;
}
.app-feature__title {
    font-family: 'Cormorant', serif;
    font-size: 22px;
    font-weight: 400;
    color: #f0f0f0;
    margin: 0 0 10px;
    line-height: 1.2;
}
.app-feature__text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(240,240,240,0.65);
    margin: 0;
}

/* ── Final CTA ── */
.app-cta {
    padding: 80px 0 120px;
    background: #16161a;
    text-align: center;
}
.app-cta__title {
    font-family: 'Cormorant', serif;
    font-size: 38px;
    font-weight: 300;
    color: #f5f5f5;
    margin: 0 0 12px;
}
.app-cta__sub {
    font-size: 15px;
    color: rgba(240,240,240,0.6);
    margin: 0 0 32px;
}
.app-cta__badges {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* ── Reveal animation ── */
.app-anim {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.app-anim.app-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .app-hero__title { font-size: 52px; }
    .app-features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .app-container { padding: 0 20px; }
    .app-hero { padding: 110px 0 40px; }
    .app-hero__title { font-size: 38px; }
    .app-hero__desc { font-size: 15px; }
    .app-hero__badges { gap: 12px; }
    .app-badge img { height: 42px; }

    .app-shots { padding: 24px 0 56px; }
    .app-shots__track {
        padding: 0 20px;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }
    .app-shots__track::-webkit-scrollbar { display: none; }
    .app-shots__item {
        width: 70vw;
        max-width: 280px;
        scroll-snap-align: center;
        border-radius: 22px;
    }

    .app-features { padding: 64px 0 48px; }
    .app-section__title { font-size: 32px; margin-bottom: 36px; }
    .app-features__grid { grid-template-columns: 1fr; gap: 14px; }
    .app-feature { padding: 22px 20px; }

    .app-cta { padding: 56px 0 80px; }
    .app-cta__title { font-size: 30px; }
    .app-badge--lg img { height: 50px; }
}
