/* OWL Flow Rator app landing styles */
body.app-landing {
    background: linear-gradient(160deg, rgba(59,130,246,0.12) 0%, rgba(13,148,136,0.08) 46%, rgba(15,23,42,0.05) 100%);
    min-height: 100vh;
    color: var(--color-text);
}

html[data-theme='dark'] body.app-landing {
    background: radial-gradient(circle at top, rgba(14,116,144,0.25) 0%, rgba(15,23,42,0.95) 65%);
    color: var(--color-text-inverse);
}

body.app-landing .header {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15,23,42,0.08);
}

html[data-theme='dark'] body.app-landing .header {
    background: rgba(15,23,42,0.85);
    border-bottom-color: rgba(148,163,184,0.18);
}

body.app-landing .brand-subtitle {
    color: var(--color-text-secondary);
}

html[data-theme='dark'] body.app-landing .brand-subtitle {
    color: rgba(226,232,240,0.75);
}

body.app-landing .main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2.25rem, 4.5vw, 3.5rem) 1.2rem clamp(3rem, 5.5vw, 4.25rem);
}

.app-hero {
    width: 100%;
    max-width: 560px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,0.18);
    background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(248,250,252,0.9));
    box-shadow: 0 28px 55px -40px rgba(15,23,42,0.75);
}

html[data-theme='dark'] body.app-landing .app-hero {
    background: linear-gradient(135deg, rgba(30,41,59,0.94), rgba(15,23,42,0.92));
    border-color: rgba(51,65,85,0.6);
    box-shadow: 0 30px 68px -46px rgba(2,6,23,0.95);
}

.app-hero__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(1.4rem, 3vw, 2rem);
    padding: clamp(2.4rem, 5vw, 3.4rem);
}

@media (max-width: 720px) {
    .app-hero__inner {
        padding: clamp(2.1rem, 6vw, 2.8rem);
    }
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(59,130,246,0.14);
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

html[data-theme='dark'] body.app-landing .app-badge {
    background: rgba(59,130,246,0.22);
    color: rgba(191,219,254,0.95);
}

.app-title {
    margin-top: 0.85rem;
    font-size: clamp(1.95rem, 4vw, 2.45rem);
    font-weight: 700;
    line-height: 1.18;
}

.app-subtitle {
    margin-top: 0.45rem;
    color: var(--color-text-secondary);
    font-size: 1rem;
    max-width: 32ch;
}

html[data-theme='dark'] body.app-landing .app-subtitle {
    color: rgba(226,232,240,0.8);
}

.app-credit {
    margin-top: 0.55rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

html[data-theme='dark'] body.app-landing .app-credit {
    color: rgba(203,213,225,0.82);
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

@media (max-width: 520px) {
    .store-buttons {
        flex-direction: column;
    }

    .store-button {
        width: 100%;
    }
}

.store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem 1.35rem;
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
    min-width: 190px;
    transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease;
    position: relative;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 18px 38px -24px rgba(15,23,42,0.45);
}

.store-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -22px rgba(15,23,42,0.55);
    filter: brightness(1.05);
}

.store-button:focus-visible {
    outline: 3px solid rgba(59,130,246,0.6);
    outline-offset: 3px;
}

.store-button__icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    padding: 0.18rem;
    border-radius: 9px;
    background: rgba(255,255,255,0.2);
}

.store-button__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.store-button__text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.store-button__label {
    font-size: 0.8rem;
    opacity: 0.85;
    font-weight: 500;
}

.store-button__caption {
    font-size: 1rem;
    font-weight: 600;
}

.store-button--ios {
    background: linear-gradient(135deg, #111827, #1f2937 55%, #374151);
}

.store-button--android {
    background: linear-gradient(135deg, #0f766e, #14b8a6 55%, #2dd4bf);
}

.store-button--active {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px -26px rgba(15,23,42,0.55);
}

.store-button--active:hover {
    transform: translateY(-4px);
}

html[data-theme='dark'] body.app-landing .store-button--active {
    box-shadow: 0 28px 52px -28px rgba(2,6,23,0.85);
}

.redirect-message {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.redirect-message[data-state='redirecting'] {
    color: var(--color-primary-dark);
    font-weight: 600;
}

html[data-theme='dark'] body.app-landing .redirect-message {
    color: rgba(203,213,225,0.75);
}

.redirect-cancel {
    appearance: none;
    border: 1px solid rgba(15,23,42,0.12);
    border-radius: 999px;
    background: transparent;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.redirect-cancel:hover {
    border-color: rgba(59,130,246,0.45);
    background: rgba(59,130,246,0.12);
}

.redirect-cancel:focus-visible {
    outline: 3px solid rgba(59,130,246,0.45);
    outline-offset: 2px;
}

html[data-theme='dark'] body.app-landing .redirect-cancel {
    border-color: rgba(148,163,184,0.35);
}

html[data-theme='dark'] body.app-landing .redirect-cancel:hover {
    background: rgba(56,189,248,0.18);
    border-color: rgba(56,189,248,0.6);
}

@media (max-width: 420px) {
    .app-title {
        font-size: 2rem;
    }

    .app-subtitle {
        font-size: 0.95rem;
    }

    .redirect-message {
        font-size: 0.85rem;
    }
}


