﻿/* =========================================================
   DotNet Expert — Technology Stack
   Visual language aligned with Web Deployment Services
   ========================================================= */

#technology-overview {
    --technology-heading: #2f3638;
    --technology-primary: #159fca;
    --technology-primary-dark: #087aa1;
    --technology-accent: #22c9df;
    --technology-text: #58676d;
    --technology-border: #dce7ea;
    --technology-soft: #f5fafb;
    --technology-white: #ffffff;
    --technology-shadow: 0 18px 48px rgba(38, 54, 58, .075);
    --technology-shadow-hover: 0 22px 48px rgba(38, 54, 58, .13);
    --technology-ease: cubic-bezier(.22, 1, .36, 1);
    position: relative;
    overflow: clip;
    padding: 91px 0 68px;
    color: var(--technology-text);
    background: radial-gradient(circle at 8% 5%, rgba(34, 201, 223, .13), transparent 24%), radial-gradient(circle at 95% 14%, rgba(21, 159, 202, .10), transparent 23%), linear-gradient(180deg, #f7fbfc 0%, #ffffff 46%, #f7fbfc 100%);
    font-size: 16px;
    line-height: 1.75;
}

    #technology-overview::before,
    #technology-overview::after {
        content: "";
        position: absolute;
        z-index: 0;
        pointer-events: none;
        border-radius: 50%;
    }

    #technology-overview::before {
        width: 360px;
        height: 360px;
        top: 300px;
        left: -230px;
        border: 1px solid rgba(34, 201, 223, .14);
        box-shadow: 0 0 0 28px rgba(34, 201, 223, .025), 0 0 0 58px rgba(34, 201, 223, .018);
    }

    #technology-overview::after {
        width: 280px;
        height: 280px;
        right: -190px;
        bottom: 320px;
        border: 1px solid rgba(21, 159, 202, .12);
    }

    #technology-overview,
    #technology-overview * {
        box-sizing: border-box;
    }

        #technology-overview img {
            max-width: 100%;
            height: auto;
        }

        #technology-overview p:last-child {
            margin-bottom: 0;
        }

/* =========================================================
   Layout
   ========================================================= */

.technology-container {
    position: relative;
    z-index: 1;
    width: min(1320px, calc(100% - 40px));
    margin: 20px auto;
}

.technology-main {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--technology-border);
    border-radius: 24px;
    background: var(--technology-white);
    box-shadow: var(--technology-shadow);
    animation: technologyFadeUp .65s var(--technology-ease) both;
}

/* =========================================================
   Hero
   ========================================================= */

.technology-intro {
    position: relative;
    overflow: hidden;
    padding: 38px 42px 34px;
    background: radial-gradient(circle at 88% 0%, rgba(34, 201, 223, .16), transparent 31%), linear-gradient(135deg, #ffffff 0%, #f5fafb 100%);
}

    .technology-intro::before {
        content: "";
        position: absolute;
        top: 0;
        left: 42px;
        width: 86px;
        height: 4px;
        border-radius: 0 0 6px 6px;
        background: linear-gradient(90deg, var(--technology-primary), var(--technology-accent));
    }

.technology-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 18px;
    padding: 6px 12px;
    border: 1px solid #c9eaf0;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: var(--technology-primary-dark);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .15em;
    line-height: 1.2;
    box-shadow: 0 5px 15px rgba(21,159,202,.06);
}

.technology-intro__title {
    max-width: 930px;
    margin: 0 0 22px;
    color: var(--technology-heading);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 780;
    line-height: 1.06;
    letter-spacing: -.045em;
    animation: technologyTitleIn .75s var(--technology-ease) both;
}

.technology-intro__lead,
.technology-intro__text {
    max-width: 900px;
    color: var(--technology-text);
    animation: technologyTextIn .7s .12s var(--technology-ease) both;
}

.technology-intro__lead {
    margin: 0 0 17px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.65;
}

.technology-intro__text {
    margin: 0 0 14px;
    color: #5d7077;
    font-size: 17px;
    line-height: 1.82;
}

.technology-intro__actions {
    margin-top: 24px;
}

.technology-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid var(--technology-primary);
    border-radius: 9px;
    background: linear-gradient(135deg, #159fca, #087aa1);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(21,159,202,.16);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .technology-button:hover {
        background: linear-gradient(135deg, #087aa1, #159fca);
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(21,159,202,.20);
    }

/* =========================================================
   Common sections
   ========================================================= */

.technology-block,
.technology-feature,
.technology-cta {
    position: relative;
    padding: 40px 42px;
    border-top: 1px solid rgba(210,224,228,.78);
}

    .technology-block::before,
    .technology-feature::before,
    .technology-cta::before {
        content: "";
        position: absolute;
        top: 0;
        left: 42px;
        width: 58px;
        height: 3px;
        border-radius: 0 0 5px 5px;
        background: var(--technology-primary);
    }

.technology-block--soft {
    background: linear-gradient(135deg, #f7fbfc 0%, #ffffff 80%);
}

.technology-block__header {
    margin-bottom: 24px;
}

.technology-block__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--technology-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.3;
}

.technology-block__title {
    margin: 0 0 25px;
    color: var(--technology-heading);
    font-size: clamp(27px, 2.4vw, 35px);
    font-weight: 740;
    line-height: 1.2;
    letter-spacing: -.028em;
}

    .technology-block__title::after {
        content: "";
        display: block;
        width: 42px;
        height: 3px;
        margin-top: 12px;
        border-radius: 3px;
        background: var(--technology-accent);
        transition: width .35s var(--technology-ease);
    }

.technology-block:hover .technology-block__title::after,
.technology-feature:hover .technology-block__title::after,
.technology-cta:hover .technology-block__title::after {
    width: 64px;
}

.technology-block__intro,
.technology-feature p,
.technology-cta p {
    max-width: 900px;
    margin: 0;
    color: var(--technology-text);
    font-size: 15px;
    line-height: 1.78;
}

/* =========================================================
   Feature section
   ========================================================= */

.technology-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 34px;
    align-items: center;
    background: #fff;
}

.technology-feature__content p {
    margin: 0 0 14px;
}

.technology-feature__visual {
    overflow: hidden;
    border: 1px solid var(--technology-border);
    border-radius: 18px;
    background: #f1f7f8;
    box-shadow: 0 12px 30px rgba(38,54,58,.06);
}

    .technology-feature__visual img {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        transition: transform .7s var(--technology-ease), filter .7s ease;
    }

    .technology-feature__visual:hover img {
        transform: scale(1.025);
        filter: saturate(1.05);
    }

/* =========================================================
   Technology chips
   ========================================================= */

.technology-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.technology-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px 10px 40px;
    overflow: hidden;
    border: 1px solid var(--technology-border);
    border-radius: 11px;
    background: #fff;
    color: var(--technology-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 6px 18px rgba(38,54,58,.035);
    transition: transform .35s var(--technology-ease), border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}

    .technology-chip::before {
        content: "";
        position: absolute;
        left: 14px;
        top: 50%;
        width: 12px;
        height: 12px;
        transform: translateY(-50%);
        border-radius: 4px;
        background: linear-gradient(135deg, #087aa1, #22c9df);
        box-shadow: 0 4px 10px rgba(21,159,202,.20);
    }

    .technology-chip:hover {
        transform: translateY(-4px);
        border-color: #b7dce4;
        background: #f8fdfe;
        box-shadow: 0 12px 28px rgba(21,159,202,.10);
    }

/* =========================================================
   Section identity
   ========================================================= */

#technology-backend {
    background: linear-gradient(135deg, #f4f9fb 0%, #ffffff 82%);
}

#technology-cloud {
    background: linear-gradient(135deg, #f2faf7 0%, #ffffff 82%);
}

    #technology-cloud::before,
    #technology-cloud .technology-block__title::after {
        background: #2e8b70;
    }

#technology-reporting {
    background: linear-gradient(135deg, #f6f6fb 0%, #ffffff 82%);
}

    #technology-reporting::before,
    #technology-reporting .technology-block__title::after {
        background: #6d68a7;
    }


#technology-architecture {
    background: linear-gradient(135deg, #f7f8fc 0%, #ffffff 82%);
}

    #technology-architecture::before,
    #technology-architecture .technology-block__title::after {
        background: #6d68a7;
    }

/* =========================================================
   CTA
   ========================================================= */

#technology-contact.technology-cta {
    position: relative;
    overflow: hidden;
    padding-top: 46px;
    padding-bottom: 46px;
    background: radial-gradient(circle at 92% 15%, rgba(34,201,223,.24), transparent 25%), linear-gradient(135deg, #eaf9fc 0%, #f8fcfd 100%);
}

    #technology-contact.technology-cta::after {
        content: "";
        position: absolute;
        width: 230px;
        height: 230px;
        right: -95px;
        bottom: -125px;
        border: 1px solid rgba(21,159,202,.18);
        border-radius: 50%;
        box-shadow: 0 0 0 28px rgba(21,159,202,.035), 0 0 0 56px rgba(21,159,202,.025);
        pointer-events: none;
        transition: transform .55s var(--technology-ease);
    }

    #technology-contact.technology-cta:hover::after {
        transform: scale(1.12);
    }

.technology-cta__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

    .technology-cta__content p {
        margin: 0 0 20px;
    }

/* =========================================================
   Reveal animation
   ========================================================= */

#technology-overview.animation-ready .technology-reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity .62s var(--technology-ease) var(--technology-delay, 0ms), transform .62s var(--technology-ease) var(--technology-delay, 0ms);
    will-change: opacity, transform;
}

#technology-overview.animation-ready .technology-feature__content.technology-reveal {
    transform: translate3d(-24px, 10px, 0);
}

#technology-overview.animation-ready .technology-feature__visual.technology-reveal {
    transform: translate3d(24px, 10px, 0);
}

#technology-overview.animation-ready .technology-block__header.technology-reveal {
    transform: translate3d(0, 15px, 0);
}

#technology-overview.animation-ready .technology-cta__content.technology-reveal {
    transform: translate3d(0, 16px, 0);
}

#technology-overview.animation-ready .technology-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

@media (hover: hover) and (pointer: fine) {
    #technology-overview.animation-ready .technology-chip.technology-reveal.is-visible:hover {
        transform: translate3d(0, -4px, 0);
    }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
    .technology-intro,
    .technology-block,
    .technology-feature,
    .technology-cta {
        padding-left: 36px;
        padding-right: 36px;
    }

        .technology-intro::before,
        .technology-block::before,
        .technology-feature::before,
        .technology-cta::before {
            left: 36px;
        }

    .technology-feature {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 960px) {
    #technology-overview {
        padding-top: 44px;
    }

    .technology-feature {
        grid-template-columns: 1fr;
    }

    .technology-feature__visual {
        max-width: 760px;
    }
}

@media (max-width: 720px) {
    #technology-overview {
        padding: 90px 0 48px;
    }

    .technology-container {
        width: min(100% - 20px, 680px);
    }

    .technology-intro,
    .technology-block,
    .technology-feature,
    .technology-cta {
        padding-left: 22px;
        padding-right: 22px;
    }

    .technology-intro {
        padding-top: 30px;
        padding-bottom: 24px;
    }

        .technology-intro::before,
        .technology-block::before,
        .technology-feature::before,
        .technology-cta::before {
            left: 22px;
        }

    .technology-intro__title {
        font-size: clamp(32px, 8.5vw, 43px);
    }

    .technology-block,
    .technology-feature {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media (max-width: 480px) {
    #technology-overview {
        padding: 88px 0 36px;
    }

    .technology-container {
        width: calc(100% - 12px);
    }

    .technology-main {
        border-radius: 18px;
    }

    .technology-intro,
    .technology-block,
    .technology-feature,
    .technology-cta {
        padding-left: 16px;
        padding-right: 16px;
    }

    .technology-intro {
        padding-top: 24px;
        padding-bottom: 20px;
    }

        .technology-intro::before,
        .technology-block::before,
        .technology-feature::before,
        .technology-cta::before {
            left: 16px;
        }

    .technology-intro__title {
        font-size: 34px;
        line-height: 1.1;
    }

    .technology-intro__lead {
        font-size: 17px;
    }

    .technology-intro__text {
        font-size: 16px;
        line-height: 1.75;
    }

    .technology-block__title {
        font-size: 24px;
    }

    .technology-chip-grid {
        gap: 9px;
    }

    .technology-chip {
        min-height: 40px;
        padding: 9px 13px 9px 35px;
        font-size: 13px;
    }

        .technology-chip::before {
            left: 12px;
            width: 10px;
            height: 10px;
        }

    #technology-contact.technology-cta {
        padding-top: 36px;
        padding-bottom: 36px;
    }
}

/* =========================================================
   Motion
   ========================================================= */

@keyframes technologyFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes technologyTitleIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes technologyTextIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #technology-overview *,
    #technology-overview *::before,
    #technology-overview *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    #technology-overview.animation-ready .technology-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition-delay: 0ms !important;
    }
}
