/* ============================================================
   WebAct Website App Store Detail Pages
   Shared redesign stylesheet
   ============================================================ */

.app-detail-page {
    margin: 0;
    overflow-x: hidden;
    background: #ffffff;
    color: #071421;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.app-detail-page .page-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
    align-items: center;
    gap: clamp(36px, 6vw, 86px);
    min-height: 610px;
    box-sizing: border-box;
    padding: clamp(72px, 9vw, 132px) min(7vw, 104px);
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 14% 18%,
            rgba(51, 171, 225, .30),
            transparent 31%
        ),
        radial-gradient(
            circle at 88% 72%,
            rgba(51, 171, 225, .15),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #061421 0%,
            #0d2942 54%,
            #071421 100%
        );
}

.app-detail-page .page-hero::before {
    content: "";
    position: absolute;
    inset: auto -8% -45% auto;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow:
        0 0 0 70px rgba(255, 255, 255, .025),
        0 0 0 140px rgba(255, 255, 255, .018);
    pointer-events: none;
}

.app-detail-page .page-hero > * {
    position: relative;
    z-index: 1;
}

.app-detail-page .page-hero > div {
    max-width: 860px;
}

.app-detail-page .page-hero .breadcrumb {
    margin: 0 0 28px;
    color: #cfe9f6;
    font-size: 15px;
    font-weight: 800;
}

.app-detail-page .page-hero .breadcrumb a {
    color: #72d7ff;
    text-decoration: none;
}

.app-detail-page .page-hero .breadcrumb a:hover {
    text-decoration: underline;
}

.app-detail-page .page-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin: 0 0 18px;
    padding: 9px 14px;
    border: 1px solid rgba(115, 215, 255, .35);
    border-radius: 999px;
    background: rgba(115, 215, 255, .10);
    color: #8adfff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.app-detail-page .page-hero h1 {
    max-width: 880px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(52px, 7vw, 94px);
    line-height: .94;
    letter-spacing: -.06em;
}

.app-detail-page .page-hero .hero-lede {
    max-width: 760px;
    margin: 0;
    color: #d6eaf4;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.6;
}

.app-detail-page .page-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.app-detail-page .page-hero .button {
    min-width: 210px;
}

.app-detail-page .page-hero > img {
    width: min(100%, 510px);
    max-height: 430px;
    justify-self: center;
    object-fit: contain;
    padding: clamp(24px, 4vw, 54px);
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 34px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .15),
            rgba(255, 255, 255, .055)
        );
    box-shadow: 0 38px 90px rgba(0, 0, 0, .32);
    backdrop-filter: blur(12px);
}

/* ------------------------------------------------------------
   Shared buttons
   ------------------------------------------------------------ */

.app-detail-page .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 56px !important;
    box-sizing: border-box;
    padding: 14px 24px !important;
    border-radius: 14px !important;
    font-weight: 900 !important;
    text-align: center;
    text-decoration: none !important;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.app-detail-page .button:hover {
    transform: translateY(-2px);
}

.app-detail-page .button.primary {
    border: 2px solid #33abe1 !important;
    background: #33abe1 !important;
    color: #061421 !important;
    box-shadow: 0 14px 30px rgba(51, 171, 225, .24);
}

.app-detail-page .button.primary:hover {
    background: #25a0d7 !important;
    box-shadow: 0 18px 36px rgba(51, 171, 225, .32);
}

.app-detail-page .button.secondary {
    border: 2px solid #d8e8f1 !important;
    background: #ffffff !important;
    color: #071421 !important;
}

.app-detail-page .button.secondary:hover {
    border-color: #33abe1 !important;
}

/* ------------------------------------------------------------
   General sections
   ------------------------------------------------------------ */

.app-detail-page .section {
    padding: clamp(70px, 8vw, 116px) min(7vw, 104px);
}

.app-detail-page .section:nth-of-type(even) {
    background: #f4f8fb;
}

.app-detail-page .section-heading,
.app-detail-page .section-heading.compact {
    max-width: 880px;
    margin: 0 auto 46px;
    text-align: center;
}

.app-detail-page .section-heading .eyebrow,
.app-detail-page .website-design-copy .eyebrow {
    margin-bottom: 10px;
    color: #0c9bd2;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.app-detail-page .section-heading h2,
.app-detail-page .website-design-copy h2 {
    margin: 0 0 18px;
    color: #071421;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -.05em;
}

.app-detail-page .section-heading p,
.app-detail-page .website-design-copy p {
    color: #536674;
    font-size: 18px;
    line-height: 1.72;
}

/* ------------------------------------------------------------
   Intro and navigation row
   ------------------------------------------------------------ */

.app-detail-page .app-detail-intro {
    background: #ffffff !important;
}

.app-detail-page .service-link-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1180px;
    margin: 0 auto 54px;
}

.app-detail-page .service-link-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid #d7e6ef;
    border-radius: 999px;
    background: #ffffff;
    color: #173247;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(7, 20, 33, .05);
}

.app-detail-page .service-link-row a:hover {
    border-color: #33abe1;
    color: #087da9;
}

.app-detail-page .website-design-copy {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* ------------------------------------------------------------
   Overview cards
   ------------------------------------------------------------ */

.app-detail-page .app-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1380px;
    margin: 0 auto;
}

.app-detail-page .app-overview-grid article {
    position: relative;
    min-height: 250px;
    box-sizing: border-box;
    padding: 34px;
    overflow: hidden;
    border: 1px solid #dce8f0;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(7, 20, 33, .07);
}

.app-detail-page .app-overview-grid article::before {
    content: "";
    display: block;
    width: 48px;
    height: 6px;
    margin-bottom: 28px;
    border-radius: 999px;
    background: #33abe1;
}

.app-detail-page .app-overview-grid h3 {
    margin: 0 0 14px;
    color: #071421;
    font-size: 27px;
    line-height: 1.12;
}

.app-detail-page .app-overview-grid p {
    margin: 0;
    color: #536674;
    font-size: 17px;
    line-height: 1.72;
}

/* ------------------------------------------------------------
   Feature cards
   ------------------------------------------------------------ */

.app-detail-page .benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1380px;
    margin: 0 auto;
}

.app-detail-page .benefit-grid article {
    min-height: 300px;
    box-sizing: border-box;
    padding: 32px;
    border: 1px solid #dce8f0;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(7, 20, 33, .07);
}

.app-detail-page .benefit-grid article > span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 26px;
    border-radius: 17px;
    background: #e7f7fd;
}

.app-detail-page .benefit-grid article > span::before {
    content: "✓";
    color: #0c9bd2;
    font-size: 26px;
    font-weight: 950;
}

.app-detail-page .benefit-grid h3 {
    margin: 0 0 14px;
    color: #071421;
    font-size: 23px;
    line-height: 1.25;
}

.app-detail-page .benefit-grid p {
    margin: 0;
    color: #536674;
    font-size: 16px;
    line-height: 1.72;
}

/* ------------------------------------------------------------
   Pricing
   ------------------------------------------------------------ */

.app-detail-page .app-pricing-section {
    background:
        linear-gradient(
            180deg,
            #f4f8fb 0%,
            #ffffff 100%
        ) !important;
}

.app-detail-page .app-plan-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 360px), 1fr)
    );
    gap: 26px;
    max-width: 1240px;
    margin: 0 auto;
}

.app-detail-page .app-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-sizing: border-box;
    padding: 38px;
    overflow: hidden;
    border: 1px solid #cfe2ee;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(7, 20, 33, .11);
}

.app-detail-page .app-plan-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: linear-gradient(90deg, #33abe1, #77dcff);
}

.app-detail-page .app-plan-card > .eyebrow {
    width: max-content;
    margin: 0 0 20px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e8f8fe;
    color: #087da9;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.app-detail-page .app-plan-card h3 {
    margin: 0 0 14px;
    color: #071421;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -.045em;
}

.app-detail-page .app-plan-card > p {
    margin: 0 0 22px;
    color: #536674;
    font-size: 17px;
    line-height: 1.65;
}

.app-detail-page .app-plan-price-note {
    margin: 0 0 22px;
    padding: 14px 16px;
    border: 1px solid #cceaf7;
    border-radius: 14px;
    background: #eefaff;
    color: #17536e;
    font-weight: 800;
    line-height: 1.5;
}

.app-detail-page .app-plan-detail-list {
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.app-detail-page .app-plan-detail-list li {
    position: relative;
    padding: 9px 0 9px 30px;
    border-bottom: 1px solid #edf2f5;
    color: #425765;
    line-height: 1.5;
}

.app-detail-page .app-plan-detail-list li::before {
    content: "✓";
    position: absolute;
    left: 2px;
    color: #0c9bd2;
    font-weight: 950;
}

.app-detail-page .app-plan-card .button {
    width: 100%;
    margin-top: auto;
}

/* ------------------------------------------------------------
   Related apps
   ------------------------------------------------------------ */

.app-detail-page .app-store-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1380px;
    margin: 0 auto;
}

.app-detail-page .app-store-card {
    display: flex;
    flex-direction: column;
    min-height: 285px;
    box-sizing: border-box;
    padding: 30px;
    border: 1px solid #dce8f0;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(7, 20, 33, .07);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.app-detail-page .app-store-card:hover {
    transform: translateY(-4px);
    border-color: #33abe1;
    box-shadow: 0 24px 54px rgba(7, 20, 33, .12);
}

.app-detail-page .app-store-card .eyebrow {
    margin: 0 0 18px;
    color: #0c9bd2;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.app-detail-page .app-store-card h3 {
    margin: 0 0 14px;
    color: #071421;
    font-size: 25px;
    line-height: 1.2;
}

.app-detail-page .app-store-card > p:not(.eyebrow) {
    margin: 0 0 24px;
    color: #536674;
    line-height: 1.65;
}

.app-detail-page .app-store-card .app-card-actions {
    margin-top: auto;
}

.app-detail-page .app-store-card .button {
    width: 100%;
}

/* ------------------------------------------------------------
   Final support CTA
   ------------------------------------------------------------ */

.app-detail-page .website-solutions-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 38px;
    margin: 0;
    padding: clamp(70px, 8vw, 110px) min(7vw, 104px);
    color: #ffffff;
    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(51, 171, 225, .24),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0b2943,
            #061421
        );
}

.app-detail-page .website-solutions-band > div {
    max-width: 900px;
}

.app-detail-page .website-solutions-band .eyebrow {
    margin: 0 0 12px;
    color: #73d7ff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.app-detail-page .website-solutions-band h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -.05em;
}

.app-detail-page .website-solutions-band p {
    max-width: 820px;
    margin: 0;
    color: #d3e8f2;
    font-size: 18px;
    line-height: 1.7;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1080px) {
    .app-detail-page .page-hero {
        grid-template-columns: 1fr;
    }

    .app-detail-page .page-hero > img {
        width: min(100%, 620px);
        justify-self: start;
    }

    .app-detail-page .app-overview-grid,
    .app-detail-page .benefit-grid,
    .app-detail-page .app-store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .app-detail-page .page-hero,
    .app-detail-page .section,
    .app-detail-page .website-solutions-band {
        padding-left: 22px;
        padding-right: 22px;
    }

    .app-detail-page .page-hero {
        min-height: auto;
        padding-top: 66px;
        padding-bottom: 66px;
    }

    .app-detail-page .page-hero h1 {
        font-size: clamp(48px, 14vw, 72px);
    }

    .app-detail-page .page-hero .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .app-detail-page .page-hero .button {
        width: 100%;
        min-width: 0;
    }

    .app-detail-page .app-overview-grid,
    .app-detail-page .benefit-grid,
    .app-detail-page .app-store-grid {
        grid-template-columns: 1fr;
    }

    .app-detail-page .app-plan-card {
        padding: 30px 24px;
    }

    .app-detail-page .website-solutions-band {
        grid-template-columns: 1fr;
    }

    .app-detail-page .website-solutions-band .button {
        width: 100%;
    }
}