/*==================================================
Technology Applications Section
Base Layout
==================================================*/

.technology-applications{

    position:relative;

    width:100%;

    padding-block:var(--section-space);

    background:linear-gradient(
        180deg, var(--background), var(--surface));

}


/*==================================================
Container
==================================================*/

.applications-container{

    width:100%;

    max-width:var(--container-md);

    margin-inline:auto;

    padding-inline:var(--space-inline);

}


/*==================================================
Header
==================================================*/

.applications-header{

    max-width:768px;

    margin-inline:auto;

    text-align:center;

    margin-bottom:clamp(50px,7vw,80px);

}


/*----------------------------------*/

.applications-header h2{

    font-family:var(--font-heading);

    font-weight:var(--title-weight);

    font-size:var(--hero-title-size);

    line-height:1.25;

    letter-spacing:-.03em;

    color:var(--text);

    margin-bottom:1.3rem;

}


/*----------------------------------*/

.applications-header p{

    font-family:var(--font-body);

    font-weight:var(--body-weight);

    font-size:var(--hero-desc-size);

    line-height:1.95;

    color:var(--text-light);

}


/*==================================================
APPLICATIONS GRID
==================================================*/

.tech-applications-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:1.6rem;

}


/*==================================================
APPLICATION CARD
==================================================*/

.tech-app-card{

    position:relative;

    overflow:hidden;

    padding:clamp(25px,3vw,35px);

    background:var(--glass-bg);

    border-radius:var(--radius-xl);

    border:1px solid var(--border);

    backdrop-filter:blur(var(--blur-sm));

    transition:var(--transition);

}


/*----------------------------------*/

.tech-app-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg, rgba(var(--accent-rgb),.08), transparent 45%);

    opacity:0;

    transition:.45s;

}


/*----------------------------------*/

.tech-app-card:hover{

    transform:translateY(-8px);

    border-color:rgba(var(--primary-rgb),.35);

    box-shadow:var(--shadow-lg);

}


/*----------------------------------*/

.tech-app-card:hover::before{

    opacity:1;

}


/*==================================================
APPLICATION ICON
==================================================*/

.tech-app-icon{

    position:relative;

    width:60px;

    height:60px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:var(--radius-round);

    background:linear-gradient(135deg,
        rgba(var(--accent-rgb),.15), var(--background));

    margin-bottom:1.6rem;

}


/*----------------------------------*/

.tech-app-icon img{

    width:50px;

    height:50px;

}


/*----------------------------------*/

.tech-app-icon svg path{

    stroke:var(--primary);

}


/*==================================================
CARD TEXT
==================================================*/

.tech-app-card h3{

    position:relative;

    font-family:var(--font-heading);

    font-weight:var(--font-weight-h3);

    font-size:clamp(1.19rem,2vw,1.5rem);

    color:var(--text);

    margin-bottom:.9rem;

}


/*----------------------------------*/

.tech-app-card p{

    position:relative;

    font-family:var(--font-body);

    font-weight:var(--body-weight);

    color:var(--text-light);

    line-height:1.85;

    font-size:var(--font-size-p);

}


/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:992px){

    .tech-applications-grid{

        grid-template-columns:repeat(2,1fr);

    }

}


/*----------------------------------*/

@media(max-width:768px){

    .technology-applications{

        padding-block:90px;

    }

    .applications-header{

        margin-bottom:50px;

    }

    .tech-applications-grid{

        grid-template-columns:1fr;

        gap:1.2rem;

    }

}


/*----------------------------------*/

@media(max-width:576px){

    .applications-header h2{

        font-size:1.85rem;

        line-height:1.3;

    }

    .applications-header p{

        font-size:.95rem;

    }

    .tech-app-icon{

        width:52px;

        height:52px;

    }

    .tech-app-icon img{

        width:24px;

        height:24px;

    }

    .tech-app-card h3{

        font-size:1.15rem;

    }

}


/*----------------------------------*/

@media(max-width:380px){

    .applications-header h2{

        font-size:1.65rem;

    }

    .tech-app-card p{

        font-size:.88rem;

    }

}


/*==================================================
ACCESSIBILITY
Reduced Motion
==================================================*/

@media(prefers-reduced-motion:reduce){

    .technology-applications *,
    .technology-applications *::before,
    .technology-applications *::after{

        transition:none !important;

        animation:none !important;

    }

}
