/* === App Page - Unique Styles ===
   Shared base styles are in functionPages.css
*/

/* HERO */

/* Hero floaters */

.hero-floaters {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 1
    }

.hero-floater {
        position: absolute;
        backdrop-filter: blur(8px)
    }

@media(max-width:900px) {
        .hero-floater {
            display: none
        }
    }

/* Left: Push notification stack */

.hero-floater.left {
        left: 3%;
        bottom: 10%;
        animation: float-left 8s ease-in-out infinite
    }

.notif-card {
        background: rgba(255,255,255,.07);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 14px;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 8px;
        min-width: 220px;
        transition: opacity .3s
    }

.notif-card:last-child {
            margin-bottom: 0
        }

.notif-card.faded {
            opacity: .45;
            transform: scale(.96);
            transform-origin: top left
        }

.notif-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: .9rem
    }

.notif-icon.blue {
            background: rgba(21,93,238,.25)
        }

.notif-icon.green {
            background: rgba(22,163,74,.25)
        }

.notif-icon.amber {
            background: rgba(217,119,6,.25)
        }

.notif-body {
        display: flex;
        flex-direction: column;
        gap: 1px
    }

.notif-title {
        font-size: .72rem;
        font-weight: 600;
        color: rgba(255,255,255,.85);
        font-family: var(--font-body);
        white-space: nowrap
    }

.notif-desc {
        font-size: .62rem;
        color: rgba(255,255,255,.4);
        font-family: var(--font-body);
        white-space: nowrap
    }

.notif-time {
        font-size: .55rem;
        color: rgba(255,255,255,.25);
        font-family: var(--font-body);
        margin-left: auto;
        flex-shrink: 0;
        align-self: flex-start;
        padding-top: 2px
    }

/* Right: Mini phone screen */

.hero-floater.right {
        right: 3%;
        top: 15%;
        animation: float-right 7s ease-in-out infinite
    }

.mini-phone {
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 20px;
        width: 180px;
        overflow: hidden
    }

.mini-phone-status {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 14px 4px;
        font-size: .5rem;
        color: rgba(255,255,255,.3);
        font-family: var(--font-body)
    }

.mini-phone-header {
        padding: 4px 14px 10px;
        text-align: center
    }

.mini-phone-header span {
            font-size: .7rem;
            font-weight: 600;
            color: rgba(255,255,255,.7);
            font-family: var(--font-body)
        }

.mini-phone-body {
        padding: 0 10px 12px;
        display: flex;
        flex-direction: column;
        gap: 6px
    }

.mini-shift {
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255,255,255,.06);
        border-radius: 8px;
        padding: 7px 10px
    }

.mini-shift-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        flex-shrink: 0
    }

.mini-shift-dot.blue {
            background: rgba(21,93,238,.7)
        }

.mini-shift-dot.green {
            background: rgba(22,163,74,.7)
        }

.mini-shift-dot.purple {
            background: rgba(124,58,237,.7)
        }

.mini-shift-info {
        display: flex;
        flex-direction: column;
        gap: 0
    }

.mini-shift-name {
        font-size: .6rem;
        font-weight: 600;
        color: rgba(255,255,255,.7);
        font-family: var(--font-body)
    }

.mini-shift-time {
        font-size: .52rem;
        color: rgba(255,255,255,.35);
        font-family: var(--font-body)
    }

/* SHARED SECTION */

/* APP SHOWCASE */

.app-showcase {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center
    }

@media(max-width:800px) {
        .app-showcase {
            grid-template-columns: 1fr;
            gap: 2.5rem
        }

        .app-showcase-visual {
            order: -1
        }
    }

.app-showcase-visual {
        display: flex;
        justify-content: center
    }

.app-phone-frame {
        width: 100%;
        border-radius: 36px;
        overflow: hidden;
    }

.app-phone-frame img {
            width: 100%;
            height: auto;
            display: block
        }

.app-showcase-text h3 {
        font-family: var(--font-display);
        font-size: clamp(1.5rem,3vw,2rem);
        font-weight: 400;
        margin-bottom: .75rem;
        line-height: 1.2
    }

.app-showcase-text > p {
        font-size: .95rem;
        color: var(--text-mid);
        line-height: 1.7;
        margin-bottom: 1.5rem
    }

.app-highlight-list {
        display: flex;
        flex-direction: column;
        gap: 16px
    }

.app-highlight {
        display: flex;
        align-items: flex-start;
        gap: 14px
    }

.app-highlight-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0
    }

.app-highlight-icon svg {
            width: 22px;
            height: 22px
        }

.app-highlight-icon.blue {
            background: var(--accent-light)
        }

.app-highlight-icon.blue svg {
                fill: var(--accent)
            }

.app-highlight-icon.green {
            background: var(--green-light)
        }

.app-highlight-icon.green svg {
                fill: var(--green)
            }

.app-highlight-icon.purple {
            background: var(--purple-light)
        }

.app-highlight-icon.purple svg {
                fill: var(--purple)
            }

.app-highlight-text h4 {
        font-size: .95rem;
        font-weight: 600;
        margin-bottom: 2px
    }

.app-highlight-text p {
        font-size: .85rem;
        color: var(--text-mid);
        line-height: 1.55;
        margin-bottom: 0
    }

/* FLOW */

.flow-track {
        display: flex;
        gap: 0;
        align-items: stretch;
        overflow-x: auto;
        padding-bottom: 10px
    }

.flow-node {
        flex: 1;
        min-width: 200px;
        text-align: center;
        padding: 2rem 1.5rem;
        position: relative
    }

.flow-node::after {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-top: 14px solid transparent;
            border-bottom: 14px solid transparent;
            border-left: 14px solid var(--border)
        }

.flow-node:last-child::after {
            display: none
        }

.flow-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        margin: 0 auto 1rem;
        display: flex;
        align-items: center;
        justify-content: center
    }

.flow-icon svg {
            width: 26px;
            height: 26px
        }

.flow-icon.blue {
            background: var(--accent-light)
        }

.flow-icon.blue svg {
                fill: var(--accent)
            }

.flow-icon.green {
            background: var(--green-light)
        }

.flow-icon.green svg {
                fill: var(--green)
            }

.flow-icon.amber {
            background: var(--amber-light)
        }

.flow-icon.amber svg {
                fill: var(--amber)
            }

.flow-icon.purple {
            background: var(--purple-light)
        }

.flow-icon.purple svg {
                fill: var(--purple)
            }

.flow-node h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: .4rem
    }

.flow-node p {
        font-size: .85rem;
        color: var(--text-mid);
        line-height: 1.55
    }

@media(max-width:768px) {
        .flow-track {
            flex-direction: column;
            gap: 8px
        }

        .flow-node::after {
            display: none
        }

        .flow-node {
            min-width: 0;
            padding: 1.2rem
        }
    }

/* SPLIT SHOWCASES */

.showcase-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
        margin-bottom: 5rem
    }

.showcase-row:last-child {
            margin-bottom: 0
        }

.showcase-row.reverse {
            direction: rtl
        }

.showcase-row.reverse > * {
                direction: ltr
            }

@media(max-width:800px) {
        .showcase-row, .showcase-row.reverse {
            grid-template-columns: 1fr;
            direction: ltr
        }
    }

.showcase-label {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 5px 14px;
        border-radius: 100px;
        font-size: .72rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .04em;
        margin-bottom: 1rem
    }

.showcase-label.blue {
            background: var(--accent-light);
            color: var(--accent)
        }

.showcase-label.green {
            background: var(--green-light);
            color: var(--green)
        }

.showcase-label.amber {
            background: var(--amber-light);
            color: var(--amber)
        }

.showcase-label.purple {
            background: var(--purple-light);
            color: var(--purple)
        }

.showcase-text h3 {
        font-family: var(--font-display);
        font-size: clamp(1.5rem,3vw,2rem);
        font-weight: 400;
        margin-bottom: .75rem;
        line-height: 1.2
    }

.showcase-text p {
        font-size: .95rem;
        color: var(--text-mid);
        line-height: 1.7;
        margin-bottom: 1.25rem
    }

.showcase-bullets {
        display: flex;
        flex-direction: column;
        gap: 8px
    }

.showcase-bullet {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: .88rem;
        color: var(--text-mid)
    }

.showcase-bullet-icon {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: var(--green-light);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: var(--green);
        font-size: .7rem;
        font-weight: 700
    }

.showcase-visual {
        display: flex;
        justify-content: center
    }

.screenshot-card {
        width: 100%;
        max-width: 320px;
        border-radius: 54px;
        overflow: hidden;
        box-shadow: var(--shadow-xl);
        border: 1px solid var(--border)
    }

.screenshot-card img {
            width: 100%;
            height: auto;
            display: block
        }

/* FEATURE GRID */

.feature-grid {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 20px
    }

@media(max-width:900px) {
        .feature-grid {
            grid-template-columns: repeat(2,1fr)
        }
    }

@media(max-width:550px) {
        .feature-grid {
            grid-template-columns: 1fr
        }
    }

.feature-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 2rem 1.5rem;
        transition: transform .3s,box-shadow .3s,border-color .3s
    }

.feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: var(--accent)
        }

.feature-card-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.2rem
    }

.feature-card-icon svg {
            width: 24px;
            height: 24px
        }

.feature-card-icon.blue {
            background: var(--accent-light)
        }

.feature-card-icon.blue svg {
                fill: var(--accent)
            }

.feature-card-icon.green {
            background: var(--green-light)
        }

.feature-card-icon.green svg {
                fill: var(--green)
            }

.feature-card-icon.amber {
            background: var(--amber-light)
        }

.feature-card-icon.amber svg {
                fill: var(--amber)
            }

.feature-card-icon.purple {
            background: var(--purple-light)
        }

.feature-card-icon.purple svg {
                fill: var(--purple)
            }

.feature-card h4 {
        font-size: 1.05rem;
        font-weight: 600;
        margin-bottom: .4rem
    }

.feature-card p {
        font-size: .88rem;
        color: var(--text-mid);
        line-height: 1.6
    }

/* STATS */

.stats-bar {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 20px
    }

@media(max-width:800px) {
        .stats-bar {
            grid-template-columns: repeat(2,1fr)
        }

        .related-grid {
            grid-template-columns: repeat(1,1fr);
        }
    }

@media(max-width:700px) {
        .stats-bar {
            grid-template-columns: repeat(1,1fr)
        }
    }

.stat-card {
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: var(--radius-lg);
        padding: 2rem 1.5rem;
        text-align: center;
        backdrop-filter: blur(6px);
        transition: transform .3s,border-color .3s
    }

.stat-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255,255,255,.25)
        }

.stat-number {
        font-family: var(--font-display);
        font-size: 2.2rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: .25rem
    }

.stat-label {
        font-size: .88rem;
        color: rgba(255,255,255,.5)
    }

/* FAQ */

.faq-list {
        max-width: 720px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 8px
    }

.faq-item {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        overflow: hidden;
        transition: border-color .25s
    }

.faq-item.open {
            border-color: var(--accent)
        }

.faq-trigger {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        background: none;
        border: none;
        font-family: var(--font-body);
        font-size: .95rem;
        font-weight: 600;
        color: var(--text);
        cursor: pointer;
        text-align: left;
        gap: 12px
    }

.faq-chevron {
        width: 20px;
        height: 20px;
        fill: var(--text-light);
        transition: transform .3s;
        flex-shrink: 0
    }

.faq-item.open .faq-chevron {
        transform: rotate(180deg)
    }

.faq-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease
    }

.faq-body-inner {
        padding: 0 20px 18px;
        font-size: .9rem;
        color: var(--text-mid);
        line-height: 1.7
    }

/* SCROLL REVEAL */

/* KEYFRAMES */

/* MOBILE */

@media(max-width:600px) {
        .hero {
            min-height: 70vh;
            padding: 4rem 1.5rem
        }

        .section {
            padding: 3.5rem 1.5rem
        }
    }