/*
 Theme Name:   Mobile App Marketing
 Template:     twentytwentyfive-child
 Version:      1.0
*/

:root {
    --bg-obsidian:    #050505;
    --surface-dark:   #111111;
    --accent-amber:   #FFB000;
    --text-primary:   #FFFFFF;
    --text-secondary: #888888;
    --border-subtle:  rgba(255, 255, 255, 0.08);
    --glass-effect:   rgba(255, 255, 255, 0.03);
}

/* ── Page wrapper ── */
.app-page {
    background-color: var(--bg-obsidian);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

/* ── Hero: two-column grid ── */
.app-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: 100%;
    max-width: 1100px;
}

/* ── Left column: text ── */
.app-hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.app-hero__eyebrow {
    color: var(--accent-amber);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.app-hero__title {
    color: var(--text-primary);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.05;
    margin: 0 0 14px;
}

.app-hero__subtitle {
    color: var(--accent-amber);
    font-size: 1.15rem;
    font-weight: 500;
    font-style: italic;
    margin: 0 0 20px;
    line-height: 1.4;
}

.app-hero__desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 480px;
}

/* ── Store buttons ── */
.app-store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    min-width: 160px;
}

.store-btn--ios {
    border-color: var(--accent-amber);
    background: rgba(255, 176, 0, 0.06);
    box-shadow: 0 0 18px rgba(255, 176, 0, 0.12);
}

.store-btn--coming-soon {
    opacity: 0.45;
    cursor: default;
}

.store-btn__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--text-primary);
}

.store-btn__label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-btn__sub {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.store-btn__main {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.store-btn--ios:hover,
.store-btn--android:not(.store-btn--coming-soon):hover {
    background: rgba(255, 176, 0, 0.1);
    border-color: var(--accent-amber);
    box-shadow: 0 0 24px rgba(255, 176, 0, 0.2);
}

/* ── Right column: device ── */
.app-hero__device {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.device-frame {
    position: relative;
    display: inline-flex;
    justify-content: center;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.6));
}

.device-frame::before {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 24px;
    background: radial-gradient(ellipse at center, rgba(255, 176, 0, 0.18) 0%, transparent 70%);
    filter: blur(8px);
}

.device-img {
    max-height: 420px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ── Footer ── */
.app-footer {
    margin-top: 56px;
    text-align: center;
}

.app-footer__link {
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.app-footer__link:hover {
    color: var(--accent-amber);
    opacity: 1;
}

/* ── Hide WP default footer ── */
.wp-site-blocks > footer,
#site-footer,
.site-footer,
footer.wp-block-template-part {
    display: none !important;
}

/* ── Tablet: switch to two columns ── */
@media (min-width: 720px) {
    .app-page {
        padding: 64px 40px 48px;
    }

    .app-hero {
        flex-direction: row;
        align-items: center;
        gap: 56px;
    }

    .app-hero__text {
        flex: 1 1 0;
    }

    .app-hero__device {
        flex: 0 0 auto;
        width: auto;
        align-items: center;
    }

    .device-img {
        max-height: 500px;
    }

    .app-hero__title {
        font-size: 3.2rem;
    }
}

/* ── Desktop ── */
@media (min-width: 1024px) {
    .app-page {
        padding: 80px 64px 56px;
    }

    .app-hero {
        gap: 80px;
    }

    .app-hero__title {
        font-size: 4rem;
        letter-spacing: -1.5px;
    }

    .app-hero__subtitle {
        font-size: 1.25rem;
    }

    .app-hero__desc {
        font-size: 1rem;
    }

    .device-img {
        max-height: 560px;
    }
}
