/* creanext.in/pages/app: the Get the App page. Uses home-v2.css + home-app.css for shared pieces. */
.ap { background: var(--paper); color: var(--ink); }

.ap-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(4rem, 8vw, 6rem);
    background: var(--ink);
    color: var(--cream);
    isolation: isolate;
}
.ap-hero::before {
    content: '';
    position: absolute;
    right: -14rem;
    top: -6rem;
    width: 52rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 38, 0.32), transparent 64%);
    z-index: -1;
}
.ap-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }

.ap-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
    padding: 0.3rem 0.85rem 0.3rem 0.35rem;
    border: 1px solid rgba(251, 239, 223, 0.3);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
}
.ap-pill img { width: 26px; height: 26px; border-radius: 7px; }

.ap-hero h1 { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; margin-bottom: 1.25rem; }
.ap-lede { max-width: 34rem; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: #E4E9EC; margin-bottom: 2rem; }

.ap-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.ap-dl { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 1.7rem; font-size: 1.125rem; }
.ap-dl i { font-size: 1.35rem; }
.ap-cta .text-link { color: var(--cream); }
.ap-cta .text-link:hover { color: var(--marigold); }
.ap-meta { margin: 1.1rem 0 0; font-size: 0.9375rem; font-weight: 600; color: #C9D3DA; }

.ap-qr { display: flex; align-items: center; gap: 1rem; max-width: 26rem; margin-top: 2rem; padding: 0.85rem; border: 1px solid rgba(251, 239, 223, 0.14); border-radius: 12px; background: rgba(251, 239, 223, 0.04); }
.ap-qr img { flex: none; width: 112px; height: 112px; padding: 4px; border-radius: 8px; background: var(--paper); }
.ap-qr p { margin: 0; font-size: 0.9375rem; line-height: 1.45; color: #BCC8D1; }
.ap-qr b { color: var(--cream); }

.ap-phones { position: relative; height: clamp(30rem, 46vw, 38rem); }
.ap-phones .phone { position: absolute; width: min(15.5rem, 40%); }
.ap-p1 { left: 2%; top: 3rem; transform: rotate(-7deg); opacity: 0.9; }
.ap-p2 { left: 50%; top: 0; z-index: 2; transform: translateX(-50%); }
.ap-p3 { right: 2%; top: 3rem; transform: rotate(7deg); opacity: 0.9; }

.ap-band { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.ap-band h2 { margin-bottom: 1rem; }
.ap-sub { max-width: 38rem; font-size: 1.125rem; color: #41515F; margin-bottom: 2rem; }

.ap-features { background: var(--paper); }
.ap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.75rem; }
.ap-grid article { padding: 1.6rem; border: 1px solid rgba(6, 38, 61, 0.14); border-radius: 12px; background: #fff; }
.ap-grid i { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1.1rem; border-radius: 10px; background: rgba(255, 106, 38, 0.14); color: var(--saffron-deep); font-size: 1.15rem; }
.ap-grid h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.ap-grid p { font-size: 1rem; line-height: 1.55; color: #41515F; }
.ap-grid .ap-offer { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.ap-grid .ap-offer i { background: var(--saffron); color: var(--ink-deep); }
.ap-grid .ap-offer p { color: #D3DCE3; }
.ap-grid .ap-offer span { color: var(--marigold); font-weight: 600; }

.ap-apps { background: var(--cream); }
.ap-apps .app-chips li { background: #fff; border-color: rgba(6, 38, 61, 0.14); }
.ap-apps .app-chips b { color: var(--ink); }
.ap-apps .app-chips small { color: #41515F; }

.ap-install { background: var(--ink); color: var(--cream); }
.ap-install .kicker { color: var(--marigold); }
.ap-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 2.75rem 0 0; padding: 0; list-style: none; counter-reset: none; }
.ap-steps li { padding: 1.6rem; border: 1px solid rgba(251, 239, 223, 0.14); border-radius: 12px; background: var(--ink-raised); }
.ap-steps span { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; border-radius: 50%; background: var(--saffron); color: var(--ink-deep); font-weight: 700; }
.ap-steps h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.ap-steps p { font-size: 1rem; line-height: 1.55; color: #BCC8D1; }
.ap-steps b { color: var(--cream); }
.ap-note { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.75rem; font-weight: 600; color: var(--marigold); }

.ap-faq { background: var(--paper); }
.ap-faq-list { max-width: 50rem; margin-top: 2rem; border-top: 1px solid rgba(6, 38, 61, 0.18); }
.ap-faq details { border-bottom: 1px solid rgba(6, 38, 61, 0.18); }
.ap-faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 60px;
    padding: 1rem 0;
    cursor: pointer;
    list-style: none;
    font-size: 1.1875rem;
    font-weight: 600;
}
.ap-faq summary::-webkit-details-marker { display: none; }
.ap-faq summary::after { content: '+'; flex: none; font-size: 1.6rem; font-weight: 400; color: var(--saffron-deep); transition: transform 0.2s; }
.ap-faq details[open] summary::after { transform: rotate(45deg); }
.ap-faq details p { padding: 0 0 1.25rem; font-size: 1.0625rem; line-height: 1.6; color: #41515F; max-width: 44rem; }
.ap-faq details a { color: var(--saffron-deep); text-decoration: underline; }

@media (max-width: 960px) {
    .ap-hero-grid { grid-template-columns: 1fr; }
    .ap-phones { height: clamp(22rem, 90vw, 30rem); max-width: 32rem; width: 100%; margin: 0 auto; }
    .ap-grid, .ap-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .ap-grid, .ap-steps { grid-template-columns: 1fr; }
    .ap-dl { width: 100%; justify-content: center; }
    .ap-cta .text-link { margin: 0 auto; }
    .ap-qr { display: none; }
    .ap-phones .phone { width: 42%; }
}
