
/* ==========================================================
   AI Prompt Library V2
   Design System
========================================================== */

:root{

    /* Colors */

    --apl-bg:#07111F;
    --apl-bg-secondary:#0D172A;
    --apl-card:#111C32;

    --apl-primary:#4F7CFF;
    --apl-primary-hover:#355DFF;

    --apl-text:#F8FAFC;
    --apl-muted:#94A3B8;

    --apl-border:rgba(148,163,184,.12);

    --apl-glass:rgba(17,28,50,.72);

    --apl-shadow:
        0 12px 40px rgba(0,0,0,.28);

    --apl-radius:18px;

    --apl-radius-sm:12px;

    --apl-transition:.25s ease;

    --apl-max-width:1280px;

}

/* ==========================================================
   Reset
========================================================== */

.apl-v2 *,
.apl-v2 *::before,
.apl-v2 *::after{

    box-sizing:border-box;

}

.apl-v2{

    background:var(--apl-bg);

    color:var(--apl-text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height:1.6;

}

.apl-v2 img{

    display:block;

    max-width:100%;

    height:auto;

}

.apl-v2 a{

    color:inherit;

    text-decoration:none;

}

.apl-v2 button,
.apl-v2 input,
.apl-v2 select{

    font:inherit;

}

/* ==========================================================
   Layout
========================================================== */

.apl-container{

    width:min(100% - 32px,var(--apl-max-width));

    margin-inline:auto;

}

.apl-v2 section{

    padding:80px 0;

}

/* ==========================================================
   Typography
========================================================== */

.apl-v2 h1,
.apl-v2 h2,
.apl-v2 h3{

    margin:0;

    line-height:1.2;

    font-weight:700;
color: var(--apl-text);
}

.apl-v2 h1{

    font-size:clamp(2.4rem,5vw,4.5rem);

}

.apl-v2 h2{

    font-size:clamp(1.8rem,3vw,3rem);

}

.apl-v2 h3{

    font-size:1.2rem;

}

.apl-v2 p{

    margin:0;

    color:var(--apl-muted);

}

.apl-section-label{

    display:inline-flex;

    align-items:center;

    padding:.45rem .9rem;

    border:1px solid var(--apl-border);

    border-radius:999px;

    background:rgba(79,124,255,.08);

    color:var(--apl-primary);

    font-size:.82rem;

    font-weight:600;

    margin-bottom:18px;

}

/* ==========================================================
   Buttons
========================================================== */

.apl-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:.5rem;

    padding:.9rem 1.4rem;

    border-radius:12px;

    border:1px solid transparent;

    cursor:pointer;

    transition:var(--apl-transition);

    font-weight:600;

}

.apl-btn--primary{

    background:var(--apl-primary);

    color:#fff;

}

.apl-btn--primary:hover{

    background:var(--apl-primary-hover);

}

.apl-btn--secondary{

    background:transparent;

    color:var(--apl-text);

    border-color:var(--apl-border);

}

.apl-btn--secondary:hover{

    background:rgba(255,255,255,.05);

}

.apl-btn--ghost{

    background:transparent;

    border:1px solid var(--apl-border);

    color:var(--apl-muted);

}

.apl-btn--ghost:hover{

    color:var(--apl-text);

    border-color:var(--apl-primary);

}

.apl-btn--small{

    padding:.7rem 1rem;

    font-size:.92rem;

}

/* ==========================================================
   Cards
========================================================== */

.apl-card,
.apl-tool-card,
.apl-benefit-card{

    background:var(--apl-glass);

    border:1px solid var(--apl-border);

    border-radius:var(--apl-radius);

    box-shadow:var(--apl-shadow);

    backdrop-filter:blur(14px);

}

/* ==========================================================
   Accessibility
========================================================== */

.screen-reader-text{

    position:absolute;

    width:1px;

    height:1px;

    overflow:hidden;

    clip:rect(0,0,0,0);

    white-space:nowrap;

}
/* ==========================================================
   Hero Section
========================================================== */

.apl-hero{

    position:relative;

    overflow:hidden;

    padding:110px 0 90px;

    background:
        radial-gradient(circle at top center,
        rgba(79,124,255,.18) 0%,
        transparent 60%),
        linear-gradient(
        180deg,
        #07111F 0%,
        #0B162A 100%);

}

.apl-hero::before{

    content:"";

    position:absolute;

    top:-220px;
    left:50%;

    transform:translateX(-50%);

    width:700px;
    height:700px;

    border-radius:50%;

    background:
        radial-gradient(
        circle,
        rgba(79,124,255,.18) 0%,
        rgba(79,124,255,.05) 45%,
        transparent 75%);

    pointer-events:none;

    z-index:0;

}

.apl-hero .apl-container{

    position:relative;

    z-index:1;

}

/* =======================================
   Hero Content
======================================= */

.apl-hero__content{

    max-width:860px;

    margin:auto;

    text-align:center;

}

/* =======================================
   Badge
======================================= */

.apl-hero__badge{

    display:inline-flex;

    align-items:center;

    gap:.55rem;

    padding:.6rem 1rem;

    margin-bottom:28px;

    border:1px solid rgba(79,124,255,.25);

    border-radius:999px;

    background:rgba(79,124,255,.08);

    backdrop-filter:blur(12px);

    color:#BFD2FF;

    font-size:.92rem;

    font-weight:600;

}

/* =======================================
   Title
======================================= */

.apl-hero__title{

    margin-bottom:24px;

    font-size:clamp(2.8rem,6vw,5rem);

    font-weight:800;

    letter-spacing:-1px;

    color:var(--apl-text);

}

.apl-hero__title span{

    color:var(--apl-primary);

}

/* =======================================
   Description
======================================= */

.apl-hero__description{

    max-width:760px;

    margin:0 auto;

    font-size:1.1rem;

    line-height:1.9;

    color:var(--apl-muted);

}

/* =======================================
   Buttons
======================================= */

.apl-hero__actions{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:18px;

    margin-top:42px;

}

.apl-hero__actions .apl-btn{

    min-width:190px;

}

/* =======================================
   Stats
======================================= */

.apl-hero__stats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:22px;

    margin-top:70px;

    padding:0;

    list-style:none;

}

.apl-hero__stats li{

    padding:28px 20px;

    border:1px solid var(--apl-border);

    border-radius:18px;

    background:rgba(17,28,50,.70);

    backdrop-filter:blur(14px);

    transition:var(--apl-transition);

}

.apl-hero__stats li:hover{

    transform:translateY(-4px);

    border-color:rgba(79,124,255,.35);

}

.apl-hero__stats strong{

    display:block;

    margin-bottom:8px;

    font-size:1.9rem;

    font-weight:800;

    color:var(--apl-text);

}

.apl-hero__stats span{

    color:var(--apl-muted);

    font-size:.92rem;

}

/* =======================================
   Tablet
======================================= */

@media (max-width:992px){

    .apl-hero{

        padding:90px 0 70px;

    }

    .apl-hero__stats{

        grid-template-columns:repeat(2,1fr);

    }

}

/* =======================================
   Mobile
======================================= */

@media (max-width:640px){

    .apl-hero{

        padding:70px 0 55px;

    }

    .apl-hero__badge{

        font-size:.82rem;

    }

    .apl-hero__description{

        font-size:1rem;

    }

    .apl-hero__actions{

        flex-direction:column;

    }

    .apl-hero__actions .apl-btn{

        width:100%;

    }

    .apl-hero__stats{

        grid-template-columns:1fr;

        gap:16px;

        margin-top:50px;

    }

}
/* ==========================================================
   Search & Filter
========================================================== */

.apl-search{

    position:relative;

    padding:0 0 70px;

    margin-top:-35px;

    z-index:10;

}

.apl-search__form{

    display:grid;

    grid-template-columns:minmax(0,1fr) 260px auto;

    gap:18px;

    align-items:center;

    padding:22px;

    background:rgba(17,28,50,.82);

    backdrop-filter:blur(18px);

    border:1px solid var(--apl-border);

    border-radius:22px;

    box-shadow:var(--apl-shadow);

}

/* =======================================
   Search Input
======================================= */

.apl-search__field{

    position:relative;

}

.apl-search__input{

    width:100%;

    height:56px;

    padding:0 20px;

    background:rgba(7,17,31,.65);

    color:var(--apl-text);

    border:1px solid var(--apl-border);

    border-radius:14px;

    outline:none;

    transition:var(--apl-transition);

}

.apl-search__input::placeholder{

    color:var(--apl-muted);

}

.apl-search__input:focus{

    border-color:var(--apl-primary);

    box-shadow:0 0 0 3px rgba(79,124,255,.15);

}

/* =======================================
   Category Select
======================================= */

.apl-search__select{

    width:100%;

    height:56px;

    padding:0 18px;

    background:rgba(7,17,31,.65);

    color:var(--apl-text);

    border:1px solid var(--apl-border);

    border-radius:14px;

    outline:none;

    cursor:pointer;

    transition:var(--apl-transition);

}

.apl-search__select:focus{

    border-color:var(--apl-primary);

    box-shadow:0 0 0 3px rgba(79,124,255,.15);

}

.apl-search__select option{

    background:#111C32;

    color:#F8FAFC;

}

/* =======================================
   Reset Button
======================================= */

#apl-reset-filter{

    height:56px;

    white-space:nowrap;

}

/* =======================================
   Meta Information
======================================= */

.apl-search__meta{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:18px;

    padding:0 6px;

}

.apl-search__count{

    font-size:.95rem;

    color:var(--apl-muted);

}

.apl-search__count strong{

    color:var(--apl-text);

    font-weight:700;

}

/* =======================================
   Hover Effects
======================================= */

.apl-search__input:hover,
.apl-search__select:hover{

    border-color:rgba(79,124,255,.28);

}

/* =======================================
   Tablet
======================================= */

@media (max-width:992px){

    .apl-search__form{

        grid-template-columns:1fr;

    }

    #apl-reset-filter{

        width:100%;

    }

}

/* =======================================
   Mobile
======================================= */

@media (max-width:640px){

    .apl-search{

        margin-top:-20px;

        padding-bottom:55px;

    }

    .apl-search__form{

        padding:18px;

        gap:14px;

        border-radius:18px;

    }

    .apl-search__input,
    .apl-search__select,
    #apl-reset-filter{

        height:52px;

    }

    .apl-search__meta{

        justify-content:center;

        text-align:center;

    }

}
/* ==========================================================
   Prompt Library
========================================================== */

.apl-library{

    padding-top:20px;

}

.apl-library__header{

    max-width:760px;

    margin:0 auto 50px;

    text-align:center;

}

.apl-library__header h2{

    margin-bottom:16px;

}

.apl-library__header p{

    font-size:1.05rem;

}

/* =======================================
   Prompt Grid
======================================= */

.apl-grid{

    display:grid;

    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:24px;

}

/* =======================================
   Prompt Card
======================================= */

.apl-card{

    display:flex;

    flex-direction:column;

    height:100%;

    padding:24px;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

}

.apl-card:hover{

    transform:translateY(-6px);

    border-color:rgba(79,124,255,.35);

    box-shadow:
        0 18px 45px rgba(0,0,0,.35);

}

/* =======================================
   Card Header
======================================= */

.apl-card__header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.apl-card__badge{

    display:inline-flex;

    align-items:center;

    padding:6px 12px;

    border-radius:999px;

    background:rgba(79,124,255,.12);

    border:1px solid rgba(79,124,255,.20);

    color:var(--apl-primary);

    font-size:.82rem;

    font-weight:600;

}

/* =======================================
   Card Body
======================================= */

.apl-card__body{

    flex:1;

}

.apl-card__title{

    margin-bottom:14px;

    color:var(--apl-text);

}

.apl-card__description{

    font-size:.95rem;

    line-height:1.7;

}

/* =======================================
   Card Footer
======================================= */

.apl-card__footer{

    display:flex;

    gap:12px;

    margin-top:24px;

}

.apl-card__footer .apl-btn{

    flex:1;

}

/* =======================================
   Empty State
======================================= */

.apl-empty{

    max-width:600px;

    margin:60px auto 0;

    padding:50px 30px;

    text-align:center;

    border-radius:20px;

    border:1px dashed rgba(79,124,255,.30);

    background:rgba(17,28,50,.45);

}

.apl-empty h3{

    margin-bottom:12px;

}

.apl-empty p{

    color:var(--apl-muted);

}

/* =======================================
   Tablet
======================================= */

@media (max-width:992px){

    .apl-grid{

        grid-template-columns:repeat(2,minmax(0,1fr));

    }

}

/* =======================================
   Mobile
======================================= */

@media (max-width:640px){

    .apl-library__header{

        margin-bottom:36px;

    }

    .apl-grid{

        grid-template-columns:1fr;

        gap:18px;

    }

    .apl-card{

        padding:20px;

    }

    .apl-card__footer{

        flex-direction:column;

    }

    .apl-card__footer .apl-btn{

        width:100%;

    }

}
/* ==========================================================
   Prompt Modal
========================================================== */

.apl-modal{

    position:fixed;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:24px;

    z-index:9999;

}

.apl-modal[hidden]{

    display:none;

}

/* =======================================
   Overlay
======================================= */

.apl-modal__overlay{

    position:absolute;

    inset:0;

    background:rgba(3,7,18,.75);

    backdrop-filter:blur(8px);

}

/* =======================================
   Dialog
======================================= */

.apl-modal__dialog{

    position:relative;

    width:min(900px,100%);

    max-height:90vh;

    display:flex;

    flex-direction:column;

    overflow:hidden;

    background:var(--apl-card);

    border:1px solid var(--apl-border);

    border-radius:22px;

    box-shadow:
        0 30px 80px rgba(0,0,0,.45);

    animation:aplModalIn .25s ease;

}

/* =======================================
   Header
======================================= */

.apl-modal__header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:20px;

    padding:24px 28px;

    border-bottom:1px solid var(--apl-border);

}

.apl-modal__heading{

    flex:1;

}

.apl-modal__badge{

    display:inline-flex;

    align-items:center;

    padding:6px 12px;

    margin-bottom:14px;

    border-radius:999px;

    background:rgba(79,124,255,.12);

    border:1px solid rgba(79,124,255,.22);

    color:var(--apl-primary);

    font-size:.82rem;

    font-weight:600;

}

.apl-modal__title{

    font-size:1.8rem;

}

/* =======================================
   Close Button
======================================= */

.apl-modal__close{

    width:44px;

    height:44px;

    display:grid;

    place-items:center;

    border:none;

    border-radius:12px;

    background:rgba(255,255,255,.05);

    color:var(--apl-text);

    cursor:pointer;

    transition:var(--apl-transition);

}

.apl-modal__close:hover{

    background:rgba(79,124,255,.15);

}

/* =======================================
   Body
======================================= */

.apl-modal__body{

    flex:1;

    overflow:auto;

    padding:28px;

}

.apl-modal__description{

    margin-bottom:24px;

}

/* =======================================
   Prompt Box
======================================= */

.apl-modal__content{

    border:1px solid var(--apl-border);

    border-radius:16px;

    background:rgba(7,17,31,.55);

    overflow:hidden;

}

.apl-modal__content pre{

    margin:0;

    padding:24px;

    white-space:pre-wrap;

    word-break:break-word;

    font-family:
        Consolas,
        Monaco,
        monospace;

    font-size:.95rem;

    line-height:1.8;

    color:var(--apl-text);

}

/* =======================================
   Footer
======================================= */

.apl-modal__footer{

    display:flex;

    justify-content:flex-end;

    gap:14px;

    padding:22px 28px;

    border-top:1px solid var(--apl-border);

}

/* =======================================
   Animation
======================================= */

@keyframes aplModalIn{

    from{

        opacity:0;

        transform:translateY(16px) scale(.98);

    }

    to{

        opacity:1;

        transform:translateY(0) scale(1);

    }

}

/* =======================================
   Tablet
======================================= */

@media (max-width:768px){

    .apl-modal{

        padding:16px;

    }

    .apl-modal__dialog{

        max-height:94vh;

    }

}

/* =======================================
   Mobile
======================================= */

@media (max-width:640px){

    .apl-modal__header{

        padding:20px;

    }

    .apl-modal__body{

        padding:20px;

    }

    .apl-modal__footer{

        flex-direction:column;

        padding:20px;

    }

    .apl-modal__footer .apl-btn{

        width:100%;

    }

    .apl-modal__title{

        font-size:1.4rem;

    }

    .apl-modal__content pre{

        padding:18px;

        font-size:.9rem;

    }

}
/* ==========================================================
   About & Benefits
========================================================== */

.apl-about{

    position:relative;

}

.apl-about__intro{

    max-width:760px;

    margin:0 auto 60px;

    text-align:center;

}

.apl-about__intro h2{

    margin-bottom:18px;

}

.apl-about__intro p{

    font-size:1.05rem;

    line-height:1.9;

}

/* =======================================
   Benefits Grid
======================================= */

.apl-benefits{

    display:grid;

    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:24px;

}

/* =======================================
   Benefit Card
======================================= */

.apl-benefit-card{

    padding:28px;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

}

.apl-benefit-card:hover{

    transform:translateY(-6px);

    border-color:rgba(79,124,255,.35);

    box-shadow:
        0 18px 45px rgba(0,0,0,.35);

}

.apl-benefit-card h3{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:16px;

    color:var(--apl-text);

    font-size:1.15rem;

}

.apl-benefit-card p{

    color:var(--apl-muted);

    line-height:1.8;

    font-size:.96rem;

}

/* =======================================
   Tablet
======================================= */

@media (max-width:992px){

    .apl-benefits{

        grid-template-columns:repeat(2,minmax(0,1fr));

    }

}

/* =======================================
   Mobile
======================================= */

@media (max-width:640px){

    .apl-about__intro{

        margin-bottom:40px;

    }

    .apl-benefits{

        grid-template-columns:1fr;

        gap:18px;

    }

    .apl-benefit-card{

        padding:22px;

    }

}
/* ==========================================================
   Recommended AI Tools
========================================================== */

.apl-tools{

    position:relative;

}

.apl-tools__intro{

    max-width:760px;

    margin:0 auto 60px;

    text-align:center;

}

.apl-tools__intro h2{

    margin-bottom:18px;

}

.apl-tools__intro p{

    font-size:1.05rem;

    line-height:1.9;

}

/* =======================================
   Tools Grid
======================================= */

.apl-tools__grid{

    display:grid;

    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:24px;

}

/* =======================================
   Tool Card
======================================= */

.apl-tool-card{

    position:relative;

    display:flex;

    flex-direction:column;

    padding:28px;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

}

.apl-tool-card:hover{

    transform:translateY(-6px);

    border-color:rgba(79,124,255,.35);

    box-shadow:
        0 20px 50px rgba(0,0,0,.35);

}

.apl-tool-card h3{

    margin-bottom:16px;

    color:var(--apl-text);

}

.apl-tool-card p{

    flex:1;

    margin-bottom:24px;

    line-height:1.8;

    color:var(--apl-muted);

}

.apl-tool-card .apl-btn{

    align-self:flex-start;

}

/* =======================================
   Featured Card
======================================= */

.apl-tool-card--featured{

    border-color:rgba(79,124,255,.35);

    background:
        linear-gradient(
            180deg,
            rgba(79,124,255,.10),
            rgba(17,28,50,.82)
        );

}

/* =======================================
   Featured Label
======================================= */

.apl-featured-label{

    display:inline-flex;

    align-items:center;

    align-self:flex-start;

    margin-bottom:18px;

    padding:6px 12px;

    border-radius:999px;

    background:rgba(79,124,255,.15);

    border:1px solid rgba(79,124,255,.28);

    color:var(--apl-primary);

    font-size:.8rem;

    font-weight:700;

}

/* =======================================
   Coming Soon Badge
======================================= */

.apl-coming-soon{

    display:inline-flex;

    align-items:center;

    align-self:flex-start;

    margin-bottom:18px;

    padding:6px 12px;

    border-radius:999px;

    background:rgba(245,158,11,.12);

    border:1px solid rgba(245,158,11,.25);

    color:#FBBF24;

    font-size:.8rem;

    font-weight:700;

}

/* =======================================
   Disabled Button
======================================= */

.apl-tool-card .apl-btn:disabled{

    opacity:.55;

    cursor:not-allowed;

}

/* =======================================
   Tablet
======================================= */

@media (max-width:992px){

    .apl-tools__grid{

        grid-template-columns:repeat(2,minmax(0,1fr));

    }

}

/* =======================================
   Mobile
======================================= */

@media (max-width:640px){

    .apl-tools__intro{

        margin-bottom:40px;

    }

    .apl-tools__grid{

        grid-template-columns:1fr;

        gap:18px;

    }

    .apl-tool-card{

        padding:22px;

    }

    .apl-tool-card .apl-btn{

        width:100%;

        justify-content:center;

    }

}
/* ==========================================================
   FAQ Section
========================================================== */

.apl-faq{

    position:relative;

}

.apl-faq__intro{

    max-width:760px;

    margin:0 auto 60px;

    text-align:center;

}

.apl-faq__intro h2{

    margin-bottom:18px;

}

.apl-faq__intro p{

    font-size:1.05rem;

    line-height:1.9;

}

/* =======================================
   FAQ List
======================================= */

.apl-faq__list{

    max-width:900px;

    margin:0 auto;

}

/* =======================================
   FAQ Item
======================================= */

.apl-faq__item{

    margin-bottom:18px;

    background:var(--apl-glass);

    border:1px solid var(--apl-border);

    border-radius:18px;

    overflow:hidden;

    backdrop-filter:blur(14px);

    transition:
        border-color .25s ease,
        box-shadow .25s ease;

}

.apl-faq__item:hover{

    border-color:rgba(79,124,255,.30);

}

.apl-faq__item[open]{

    border-color:rgba(79,124,255,.35);

    box-shadow:0 12px 32px rgba(0,0,0,.28);

}

/* =======================================
   Summary
======================================= */

.apl-faq__item summary{

    position:relative;

    padding:22px 64px 22px 24px;

    list-style:none;

    cursor:pointer;

    font-weight:600;

    color:var(--apl-text);

    user-select:none;

}

.apl-faq__item summary::-webkit-details-marker{

    display:none;

}

/* =======================================
   Plus / Minus Icon
======================================= */

.apl-faq__item summary::after{

    content:"+";

    position:absolute;

    right:24px;

    top:50%;

    transform:translateY(-50%);

    width:32px;

    height:32px;

    display:grid;

    place-items:center;

    border-radius:50%;

    background:rgba(79,124,255,.12);

    color:var(--apl-primary);

    font-size:1.25rem;

    font-weight:700;

    transition:var(--apl-transition);

}

.apl-faq__item[open] summary::after{

    content:"−";

}

/* =======================================
   Answer
======================================= */

.apl-faq__item p{

    padding:0 24px 24px;

    line-height:1.8;

    color:var(--apl-muted);

}

/* =======================================
   Focus State
======================================= */

.apl-faq__item summary:focus-visible{

    outline:2px solid var(--apl-primary);

    outline-offset:-2px;

}

/* =======================================
   Mobile
======================================= */

@media (max-width:640px){

    .apl-faq__intro{

        margin-bottom:40px;

    }

    .apl-faq__item summary{

        padding:18px 56px 18px 20px;

        font-size:.98rem;

    }

    .apl-faq__item summary::after{

        right:18px;

        width:28px;

        height:28px;

        font-size:1.1rem;

    }

    .apl-faq__item p{

        padding:0 20px 20px;

    }

}
/* ==========================================================
   CTA Section
========================================================== */

.apl-cta{

    position:relative;

}

.apl-cta .apl-container{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:32px;

    align-items:stretch;

}

.apl-cta__content,
.apl-cta__featured{

    padding:40px;

    background:var(--apl-glass);

    border:1px solid var(--apl-border);

    border-radius:24px;

    backdrop-filter:blur(16px);

    box-shadow:var(--apl-shadow);

}

.apl-cta__content h2{

    margin:18px 0;

}

.apl-cta__content p{

    max-width:700px;

    line-height:1.9;

}

.apl-cta__actions{

    display:flex;

    flex-wrap:wrap;

    gap:16px;

    margin-top:32px;

}

.apl-cta__featured{

    display:flex;

    flex-direction:column;

}

.apl-cta__featured h3{

    margin:18px 0 16px;

}

.apl-cta__featured p{

    flex:1;

    margin-bottom:24px;

    line-height:1.8;

}

/* ==========================================================
   Library Footer
========================================================== */

.apl-footer{

    padding:80px 0 40px;

}

.apl-footer__grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:40px;

    padding-bottom:40px;

    border-bottom:1px solid var(--apl-border);

}

.apl-footer__title{

    margin-bottom:18px;

}

.apl-footer__column h3{

    margin-bottom:18px;

    font-size:1.05rem;

}

.apl-footer__column ul{

    margin:0;

    padding:0;

    list-style:none;

}

.apl-footer__column li{

    margin-bottom:14px;

}

.apl-footer__column a{

    color:var(--apl-muted);

    transition:var(--apl-transition);

}

.apl-footer__column a:hover{

    color:var(--apl-primary);

}

.apl-footer__bottom{

    display:flex;

    justify-content:center;

    align-items:center;

    padding-top:30px;

    text-align:center;

}

.apl-footer__bottom p{

    color:var(--apl-muted);

    font-size:.92rem;

}

/* ==========================================================
   Global Hover Improvements
========================================================== */

.apl-btn{

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;

}

.apl-btn:hover{

    transform:translateY(-2px);

}

.apl-card,
.apl-benefit-card,
.apl-tool-card{

    will-change:transform;

}

/* ==========================================================
   Smooth Scrolling
========================================================== */

html{

    scroll-behavior:smooth;

}

/* ==========================================================
   Tablet
========================================================== */

@media (max-width:992px){

    .apl-cta .apl-container{

        grid-template-columns:1fr;

    }

    .apl-footer__grid{

        grid-template-columns:repeat(2,1fr);

        gap:32px;

    }

}

/* ==========================================================
   Mobile
========================================================== */

@media (max-width:640px){

    .apl-cta__content,
    .apl-cta__featured{

        padding:26px;

    }

    .apl-cta__actions{

        flex-direction:column;

    }

    .apl-cta__actions .apl-btn{

        width:100%;

    }

    .apl-footer{

        padding:60px 0 30px;

    }

    .apl-footer__grid{

        grid-template-columns:1fr;

        gap:28px;

    }

    .apl-footer__column{

        text-align:left;

    }

}
