/* Homepage-only styles (shared header/footer from site.css + layouts.site) */

/* Hero store buttons: slightly stronger glass than site default */
.hero-app-buttons .app-btn{
    background:rgba(20,20,20,0.55);
}

.hero-app-buttons .app-btn:hover{
    background:rgba(20,20,20,0.68);
}

.app-btn.on-light{
    background:rgba(20,20,20,0.88);
    border-color:rgba(20,20,20,0.2);
    color:#fff;
    box-shadow:0 6px 16px rgba(0,0,0,0.12);
}

.app-btn.on-light:hover{
    background:#2a2a2a;
    color:#fff;
}

.hero-banner{
    position:relative;
    width:100%;
    height:560px;
}

.hero-bg{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    z-index:0;
    background:#2a2a2a;
    overflow:hidden;
    pointer-events:none;
}

.hero-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    display:block;
}

.hero-overlay{
    position:relative;
    z-index:1;
    height:560px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 30px;
    background:rgba(0,0,0,0.28);
    text-align:center;
}

.hero-overlay-text{
    max-width:820px;
    color:rgba(255,255,255,0.88);
}

.hero-overlay-text h2{
    font-size:52px;
    line-height:1.15;
    font-weight:700;
    margin-bottom:18px;
    text-shadow:0 2px 18px rgba(0,0,0,0.35);
}

.hero-overlay-text p{
    font-size:22px;
    line-height:1.5;
    color:rgba(255,255,255,0.78);
    text-shadow:0 2px 14px rgba(0,0,0,0.3);
    margin-bottom:28px;
}

.hero-actions{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
}

.hero-cta{
    display:inline-block;
    background:#885125;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    color:rgba(255,255,255,0.98);
    text-decoration:none;
    font-size:18px;
    font-weight:700;
    letter-spacing:0.04em;
    padding:16px 38px;
    border-radius:10px;
    border:1.5px solid #ffffff;
    box-shadow:0 12px 30px rgba(0,0,0,0.28);
    transition:background .2s, transform .2s, box-shadow .2s;
}

.hero-cta:hover{
    background:#3d598a;
    transform:translateY(-2px);
    box-shadow:0 14px 32px rgba(0,0,0,0.35);
}

.hero-app-buttons{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    justify-content:center;
}

.hero-app-buttons .app-btn{
    font-size:15px;
    padding:14px 22px;
    border:1.5px solid #ffffff;
}

.app-showcase{
    position:relative;
    z-index:2;
    width:100%;
    max-width:none;
    margin:0;
    background:#ffffff;
    padding:80px 40px 0;
}

.app-showcase-inner{
    max-width:1400px;
    width:100%;
    margin:0 auto;
    display:grid;
    /* Phone is much smaller on desktop — keep copy dominant */
    grid-template-columns:auto minmax(0, 1fr);
    gap:28px;
    align-items:center;
    padding-bottom:80px;
}

.app-showcase-media{
    display:flex;
    justify-content:center;
}

.app-showcase-media img{
    width:304px; /* ~80% of previous 380px on large desktops */
    max-width:304px;
    height:auto;
    display:block;
}

.app-showcase-copy h3{
    text-align:left;
    font-size:34px;
    margin-bottom:16px;
    color:#2a2a2a;
}

.app-showcase-copy p{
    color:#555;
    font-size:17px;
    line-height:1.65;
    margin-bottom:14px;
}

.app-showcase-copy .app-showcase-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:22px;
}

.app-showcase-copy .app-btn{
    font-size:15px;
    padding:14px 22px;
}

.page-content{
    position:relative;
    z-index:2;
    background:#f5f5f5;
}

.page-content > section{
    max-width:1100px;
    margin:auto;
    padding:60px 30px;
}

.page-content > section h3{
    text-align:center;
    font-size:34px;
    margin-bottom:50px;
}

.features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:30px;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.card h4{
    margin-bottom:15px;
    font-size:22px;
}

.card p{
    color:#666;
    line-height:1.6;
}

.testimonials{
    position:relative;
    z-index:2;
    width:100%;
    max-width:none;
    margin:0;
    padding:0 0 90px;
    background:transparent;
}

.testimonials-heading{
    display:block;
    width:100%;
    max-width:none;
    margin:0 0 48px;
    padding:28px 30px;
    border-radius:0;
    text-align:center;
    background:rgba(20,20,20,0.58);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border:0;
    border-top:1px solid rgba(255,255,255,0.12);
    border-bottom:1px solid rgba(255,255,255,0.12);
    box-shadow:none;
}

.testimonials-inner{
    position:relative;
    z-index:1;
    max-width:1100px;
    margin:0 auto;
    padding:0 30px;
}

.testimonials-heading h3{
    text-align:center;
    font-size:34px;
    margin:0 0 12px;
    color:rgba(255,255,255,0.96);
    text-shadow:0 2px 12px rgba(0,0,0,0.35);
}

.testimonials-heading .subtitle{
    text-align:center;
    max-width:none;
    margin:0;
    font-size:18px;
    line-height:1.6;
    color:rgba(255,255,255,0.86);
    text-shadow:0 1px 8px rgba(0,0,0,0.3);
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:24px;
}

.testimonial-card{
    background:rgba(20,20,20,0.62);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,0.22);
    border-radius:16px;
    padding:28px;
    box-shadow:0 12px 30px rgba(0,0,0,0.28);
    color:rgba(255,255,255,0.95);
}

.testimonial-card p{
    font-size:16px;
    line-height:1.7;
    margin-bottom:22px;
    color:rgba(255,255,255,0.88);
}

.testimonial-card .author{
    font-size:14px;
    font-weight:700;
    letter-spacing:0.03em;
}

.testimonial-card .role{
    margin-top:4px;
    font-size:13px;
    color:rgba(255,255,255,0.7);
    font-weight:400;
}

/* Laptops / mid-width screens: inset the phone + copy block */
@media (max-width: 1600px) and (min-width: 901px){
    .app-showcase{
        padding:64px 120px 0;
    }

    .app-showcase-inner{
        gap:24px;
        max-width:900px;
        width:100%;
        margin:0 auto;
        padding-bottom:64px;
    }

    .app-showcase-media img{
        width:190px; /* 50% of previous 380px */
        max-width:190px;
    }
}

@media (max-width: 900px){
    .hero-banner,
    .hero-overlay{
        height:auto;
        min-height:460px;
    }

    .hero-bg{
        position:absolute;
        height:100%;
    }

    .hero-overlay{
        padding:48px 20px;
    }

    .hero-overlay-text h2{
        font-size:34px;
    }

    .hero-overlay-text p{
        font-size:17px;
        margin-bottom:22px;
    }

    .hero-cta{
        font-size:16px;
        padding:14px 28px;
        width:100%;
        max-width:280px;
    }

    .hero-app-buttons{
        display:flex;
        width:100%;
        max-width:280px;
    }

    .hero-app-buttons .app-btn{
        flex:1;
        text-align:center;
        font-size:14px;
        padding:13px 10px;
    }

    .app-showcase{
        width:100%;
        max-width:none;
        margin:0;
        padding:56px 18px 0;
    }

    .app-showcase-inner{
        display:block;
        text-align:left;
        padding-bottom:56px;
    }

    .app-showcase-media{
        float:right;
        width:96px;
        margin:0 0 14px 16px;
        display:block;
    }

    .app-showcase-media img{
        width:96px;
        max-width:96px;
        height:auto;
        display:block;
    }

    .app-showcase-copy h3{
        text-align:left;
        font-size:28px;
    }

    .app-showcase-copy p{
        font-size:16px;
    }

    .app-showcase-copy .app-showcase-actions{
        justify-content:flex-start;
        clear:both;
    }

    .app-showcase-inner::after{
        content:"";
        display:table;
        clear:both;
    }

    .testimonials{
        width:100%;
        max-width:none;
        margin:0;
        padding:0 0 60px;
    }

    .testimonials-heading{
        width:100%;
        max-width:none;
        border-radius:0;
        margin-bottom:28px;
        padding:20px 16px;
    }

    .testimonials-heading h3{
        font-size:28px;
    }

    .testimonials-heading .subtitle{
        font-size:16px;
    }

    .testimonials-inner{
        padding:0 18px;
    }

    .page-content > section{
        padding:48px 18px;
    }

    .page-content > section h3{
        font-size:28px;
        margin-bottom:32px;
    }

    .features{
        grid-template-columns:1fr;
        gap:16px;
    }

    .card{
        padding:22px;
    }

    .card h4{
        font-size:19px;
    }

    .testimonial-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .testimonial-card{
        padding:22px;
    }
}
