/*
 Theme Name:   Front Page Styles
 Template:     twentytwentyfive-child
 Version:      1.0
*/

:root {
    --bg-obsidian: #050505;
    --surface-dark: #111111;
    --surface-raised: #161616;
    --accent-amber: #FFB000;
    --text-primary: #FFFFFF;
    --text-secondary: #999999;
    --text-tertiary: #666666;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --glass-effect: rgba(255, 255, 255, 0.03);
    --radius-lg: 20px;
    --radius-md: 14px;
}

.home-page {
    background-color: var(--bg-obsidian);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.home-page * {
    box-sizing: border-box;
}

.home-page img {
    max-width: 100%;
    display: block;
}

.home-page section {
    padding: 56px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 32px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin: 0 0 8px;
}

.section-sub {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ── Hero ── */
.hero {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 48px;
}

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

.hero__title {
    font-size: clamp(1.9rem, 5vw + 1rem, 3.2rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 18px;
}

.hero__title .accent {
    color: var(--accent-amber);
}

.hero__subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 46ch;
    margin: 0 0 28px;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.store-btn:hover {
    border-color: var(--accent-amber);
    background: rgba(255, 176, 0, 0.06);
}

.store-btn__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

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

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

.store-btn__main {
    font-size: 0.95rem;
    font-weight: 600;
}

.hero__stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat__num {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-amber);
}

.stat__label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 320px;
}

.hero__shot {
    position: absolute;
    width: 150px;
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    object-fit: cover;
    aspect-ratio: 0.6666666667;
}

.hero__shot--left {
    transform: rotate(-9deg) translateX(-58%);
    opacity: 0.85;
    z-index: 1;
}

.hero__shot--right {
    transform: rotate(9deg) translateX(58%);
    opacity: 0.85;
    z-index: 1;
}

.hero__shot--center {
    z-index: 2;
    width: 168px;
    box-shadow: 0 0 0 1px rgba(255, 176, 0, 0.25), 0 24px 60px rgba(0, 0, 0, 0.6);
}

/* ── Apps grid ── */
.apps__grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--glass-effect);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.app-card:hover {
    border-color: rgba(255, 176, 0, 0.35);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.app-card__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 176, 0, 0.1);
    color: var(--accent-amber);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-card__icon svg {
    width: 22px;
    height: 22px;
}

.app-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.app-card__name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 2px;
}

.app-card__desc {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.4;
}

.app-card__arrow {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--accent-amber);
    opacity: 0.5;
}

.app-card:hover .app-card__arrow {
    opacity: 1;
}

/* ── Reviews ── */
.reviews__rating {
    color: var(--accent-amber);
    font-size: 0.95rem;
    margin: 0;
}

.reviews__rating strong {
    color: var(--text-primary);
}

.reviews__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.review-card {
    background: var(--surface-dark);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 0;
}

.review-card__quote {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.review-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-card__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 176, 0, 0.12);
    color: var(--accent-amber);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-card__name {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

/* ── Contact ── */
.contact {
    text-align: center;
}

.contact__email {
    display: inline-block;
    font-size: clamp(1.4rem, 3vw + 1rem, 2.2rem);
    font-weight: 700;
    color: var(--accent-amber);
    text-decoration: none;
    margin-top: 8px;
}

.contact__email:hover {
    text-decoration: underline;
}

.contact__social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.contact__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-dark);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact__social a:hover {
    color: var(--accent-amber);
    border-color: var(--accent-amber);
}

.contact__social svg {
    width: 18px;
    height: 18px;
}

/* ── Footer ── */
.home-footer {
    text-align: center;
    padding: 40px 20px 56px;
    max-width: 1100px;
    margin: 0 auto;
}

.home-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-bottom: 18px;
}

.home-footer__links a {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.home-footer__links a:hover {
    color: var(--accent-amber);
}

.home-footer__legal {
    color: var(--text-tertiary);
    font-size: 0.72rem;
    margin: 0;
}

/* ── Hide default theme footer (this template supplies its own) ── */
.wp-site-blocks > footer,
#site-footer,
.site-footer,
footer.wp-block-template-part {
    display: none !important;
}

/* ── Tablet ── */
@media (min-width: 600px) {
    .home-page section {
        padding: 72px 32px;
    }

    .hero {
        padding-top: 64px;
    }

    .apps__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .reviews__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__visual {
        height: 380px;
    }

    .hero__shot {
        width: 180px;
    }

    .hero__shot--center {
        width: 200px;
    }
}

/* ── Desktop ── */
@media (min-width: 1024px) {
    .hero {
        flex-direction: row;
        align-items: center;
        gap: 60px;
        padding-top: 80px;
    }

    .hero__text {
        flex: 1;
    }

    .hero__visual {
        flex: 1;
        height: 460px;
    }

    .hero__shot {
        width: 210px;
    }

    .hero__shot--center {
        width: 236px;
    }

    .hero__shot--left {
        transform: rotate(-10deg) translate(-70%, 10px);
    }

    .hero__shot--right {
        transform: rotate(10deg) translate(70%, 10px);
    }

    .apps__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .reviews__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-title {
        font-size: 1.9rem;
    }
}
