/* =======================================================
   CodeMedic Design System v1
======================================================= */

:root {
    /* Brand */

    --primary: #06B6D4;
    --primary-hover: #0891B2;
    /* Background */

    --background: #020617;
    --surface: #0F172A;
    --surface2: #1E293B;
    /* Text */

    --text: #FFFFFF;
    --text-muted: #94A3B8;
    /* Border */

    --border: #334155;
    /* NEW Accent Colors */

    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --purple: #8B5CF6;
    --pink: #EC4899;
    --orange: #FB923C;
    /* Shadows */

    --shadow-card: 0 20px 60px rgba(0,0,0,.35);
    /* Radius */

    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius: 24px;
}

/* =======================================================
   Body
======================================================= */
html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}

body {
    font-family: "Manrope", sans-serif;
}

body,
.card,
.btn-primary,
.badge,
.hero-divider,
.feature-divider,
.hero-trust-icon,
.service-card {
    transition: background-color .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease;
}

/*==========================================
    CODEMEDIC LOGO
===========================================*/

.cm-logo {
    display: inline-flex;
    align-items: center;
    font-family: "Manrope", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.04em;
    text-decoration: none;
    transition: .3s;
}
.logo-code {
    color: var(--primary);
}
.logo-medic {
    color: var(--text);
}
.cm-logo:hover {
    transform: translateY(-2px);
}
.cm-logo:hover .logo-code {
        filter: brightness(1.5);
}


.page-bg {
    background: var(--background);
    color: var(--text);
    position: relative;
}

.surface {
    background: var(--surface);
}

.surface2 {
    background: var(--surface2);
}

.primary-text {
    color: var(--primary);
}

.primary-bg {
    background: var(--primary);
}

.primary-border {
    border-color: var(--primary);
}

.muted {
    color: var(--text-muted);
}

/* =======================================================
   Page Background
======================================================= */

.page-bg {
    background: var(--background);
    color: var(--text);
}




/* ===========================================
   Typography
=========================================== */

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--text-muted);
}

.text-body {
    color: var(--text);
}

/* ===========================================
   Navigation
=========================================== */

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: color .25s ease;
}

    .nav-link:hover {
        color: var(--primary);
    }



/* ===========================================
   Accent
=========================================== */
.accent {
    color: var(--primary);
}

/* ===========================================
   Dashboard Mockup
=========================================== */

.dashboard-line {
    height: 1rem;
    border-radius: 9999px;
    background: var(--border);
}

.dashboard-accent {
    background: var(--primary);
}

.dashboard-accent-light {
    background: color-mix(in srgb, var(--primary) 65%, white);
}

/* ===========================================
   Card Titles
=========================================== */

.card-title {
    margin-top: 1.5rem; /* Same as mt-6 */
    font-size: 1.5rem; /* Same as text-2xl */
    font-weight: 700;
    color: var(--primary);
}

.check-item {
    opacity: 0;
    transform: translateX(-15px);
    transition: all .6s ease;
    color: var(--text);
    font-size: 1.05rem;
}

.check-item.show {
        opacity: 1;
        transform: translateX(0);
}


/* ===========================================
   Check Icons
=========================================== */

.check-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    flex-shrink: 0;
}
.check-item .check-icon {
    transform: scale(.6);
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    color: var(--text);
    opacity: 0;
    transform: translateX(-20px);
    transition: all .45s ease;
}

.check-item.show {
        opacity: 1;
        transform: translateX(0);
}

/* =========================================== background: radial-gradient( circle at 15% 25%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 48% ), rgba(15, 23, 42, .72);
   Right Main Card
=========================================== */
.hero-card.hero-story {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;    
    border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent);
    box-shadow: 0 0 30px color-mix(in srgb, var(--primary) 10%, transparent), inset 0 0 35px color-mix(in srgb, var(--primary) 4%, transparent);
    transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
    background: linear-gradient( 90deg, transparent, color-mix(in srgb, var(--primary) 20%, transparent), transparent );
}

    .hero-story .story-step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: linear-gradient( 90deg, transparent, color-mix(in srgb, var(--primary) 35%, transparent), transparent );
        opacity: .65;
    }


.hero-card.hero-story::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        top: -140px;
        left: -100px;
        background: radial-gradient( circle, color-mix(in srgb, var(--primary) 18%, transparent), transparent 70% );
        filter: blur(18px);
        opacity: .45;
        animation: heroStoryGlow 7s ease-in-out infinite;
        pointer-events: none;
    }
@keyframes heroStoryGlow {

    0%, 100% {
        transform: translate(0, 0);
        opacity: .35;
    }

    50% {
        transform: translate(170px, 80px);
        opacity: .7;
    }
}
.hero-card.hero-story::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -30%;
    width: 25%;
    height: 220%;
    background: linear-gradient( 90deg, transparent, color-mix(in srgb, var(--primary) 9%, transparent), transparent );
    transform: rotate(20deg);
    animation: heroStorySweep 8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes heroStorySweep {

    0% {
        left: -35%;
        opacity: 0;
    }

    20% {
        opacity: .8;
    }

    55% {
        opacity: .8;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}
.hero-card.hero-story > * {
    position: relative;
    z-index: 2;
}




.hero-story {
    position: relative;
    overflow: hidden;
}
.story-title {
    font-size: 1rem;
    font-weight: 500;
    color: white;
}
.story-step {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 9px 0;
    opacity: 0;
    transform: translateY(12px);
    transition: all .45s ease;

}
.story-icon{
    color:var(--primary);
}
.story-step.show {
        opacity: 1;
        transform: translateY(0);
}
.story-step-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    transform: scale(.65);
    transition: all .35s ease;
}
.story-step:hover .service-icon {
    transform: scale(1.08);
}
.story-step.show .story-step-icon {
    transform: scale(1);
}
.story-arrow {
    text-align: center;
    color: var(--primary);
    opacity: 0;
    transition: .35s;
}

    .story-arrow.show {
        opacity: .7;
    }
.story-footer {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 1.1rem;
    font-weight: 500;
}

@keyframes shimmer {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(350%);
    }
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-underline {
    animation: shimmer 4s linear infinite;
}

.hero-section > .max-w-7xl {
    position: relative;
    z-index: 2;
}

/*==========================================
    THEME BTN
===========================================*/
.theme-btn {
    transition: transform .25s ease, box-shadow .25s ease;
}

    .theme-btn:hover {
        transform: scale(1.25);
        box-shadow: 0 0 14px currentColor;
    }


/*==========================================
    WHO WE HELP
===========================================*/

.section-spacing {
    padding: 7rem 0;
}
.section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
}
.section-text {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-muted);
    max-width: 560px;
}
.audience-list {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}
.audience-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.audience-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    color: var(--primary);
    flex-shrink: 0;
    background: rgba(255,255,255,.02);
    transition: .3s;
}
.audience-item:hover .audience-icon {
    transform: scale(1.08);
    box-shadow: 0 0 25px color-mix(in srgb,var(--primary) 35%, transparent);
}
.audience-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}
.audience-item p {
    margin-top: .35rem;
    color: var(--text-muted);
    line-height: 1.7;
}


/*==========================================
    HERO TRUST
===========================================*/

.trust-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid color-mix(in srgb,var(--primary) 40%, transparent);
    background: rgba(255,255,255,.02);
    transition: .3s;
}

    .trust-icon svg {
        width: 22px;
        height: 22px;
    }

.trust-text {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 420px;
}

    .trust-text strong {
        color: var(--text);
        font-weight: 600;
    }

/*==================================================
    HERO TRUST
====================================================*/

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    max-width: 520px;
}

.hero-trust-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid color-mix(in srgb,var(--primary) 35%, transparent);
    background: rgba(255,255,255,.02);
    box-shadow: 0 0 22px color-mix(in srgb,var(--primary) 15%, transparent);
    transition: .35s;
}

    .hero-trust-icon svg {
        width: 22px;
        height: 22px;
    }

.hero-trust:hover .hero-trust-icon {
    transform: translateY(-2px);
    box-shadow: 0 0 28px color-mix(in srgb,var(--primary) 30%, transparent);
}

.hero-trust-text {
    color: var(--text-muted);
    font-size: .98rem;
    line-height: 1.7;
}

    .hero-trust-text strong {
        color: var(--text);
        font-weight: 600;
    }

@media (max-width:768px) {

    .hero-trust {
        margin-top: 2rem;
        align-items: flex-start;
    }

    .hero-trust-icon {
        width: 42px;
        height: 42px;
    }

        .hero-trust-icon svg {
            width: 18px;
            height: 18px;
        }
}



/*==================================================
    CONTACT INTRO
====================================================*/

.contact-intro {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.contact-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
}
.contact-text {
    max-width: 720px;
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-muted);
}
/*==================================================
    CONTACT PAGE
====================================================*/
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 2rem;
    align-items: start;
}

.contact-intro {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
}

.contact-text {
    max-width: 700px;
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.9;
}

.contact-section {
    padding-bottom: 7rem;
}
.contact-info-card {
    margin-bottom: 1.5rem;
    padding: 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg,#0F172A,#111827);
    border: 1px solid var(--border);
    transition: .35s;
}

    .contact-info-card:hover {
        transform: translateY(-4px);
        border-color: var(--primary);
    }
.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
    color: var(--primary);
    border: 1px solid color-mix(in srgb,var(--primary) 35%, transparent);
    background: rgba(255,255,255,.02);
}

    .contact-icon svg {
        width: 24px;
        height: 24px;
    }
.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .8rem;
}
.contact-info-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width:992px) {

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/*==================================================
    CONTACT FORM
====================================================*/

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

.form-subtitle {
    margin-top: .75rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

    .form-group label,
    .form-row label {
        display: block;
        margin-bottom: .6rem;
        font-weight: 600;
        color: var(--text);
    }

.form-input {
    width: 100%;
    padding: 5px 9px;
    border-radius: 14px;
    background: #111827;
    border: 1px solid var(--border);
    color: var(--primary);
    outline: none;
    transition: .3s;
}

    .form-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px color-mix(in srgb,var(--primary) 15%, transparent);
    }

textarea.form-input {
    resize: vertical;
    min-height: 160px;
}

.validator {
    display: block;
    margin-top: 6px;
    color: #fb7185;
    font-size: .9rem;
}

.validation-summary {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(239,68,68,.08);
    color: #fda4af;
}

@media(max-width:768px) {

    .form-row {
        grid-template-columns: 1fr;
    }
}
/*==================================================
    MULTI SELECT
====================================================*/
.multi-select {
    position: relative;
}

.multi-select-header {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: #111827;
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    color: var(--text-muted);
}

.multi-select-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #111827;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    z-index: 999;
    /* Hidden State */

    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 4px 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-40px) scale(.28);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.multi-select-header {
    transition: all .25s ease;
}
    .multi-select-header.active {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px color-mix(in srgb,var(--primary) 15%, transparent);
    }

.multi-select-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.multi-select-dropdown label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1px  8px;
    font-size: .88rem;
}

.multi-select-dropdown label:hover {
            background: rgba(255,255,255,.05);
            color: white;
}
    .multi-select-dropdown input {
        width: 15px;
        height: 15px;
}

.multi-select-dropdown input[type="checkbox"] {
            width: 14px;
            height: 14px;
            margin: 0;
            accent-color: var(--primary);
            cursor: pointer;
        }
.multi-select-dropdown label:hover {
    background: color-mix(in srgb, var(--primary) 10%, transparent);
}
.multi-select-header svg {
    transition: transform .25s ease;
}
.multi-select-header.active svg {
    transform: rotate(180deg);
}
.dropdown-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 4px 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

    .dropdown-header span {
        font-size: .85rem;
        font-weight: 600;
        color: var(--text-muted);
    }
.dropdown-close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted);
    transition: .2s;
}


    .dropdown-close:hover {
        background: color-mix(in srgb,var(--primary) 12%, transparent);
        color: var(--primary);
    }

    .dropdown-close svg {
        width: 18px;
        height: 18px;
    }
.dropdown-done {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    border-radius: 999px;
    background: color-mix(in srgb,var(--primary) 12%, transparent);
    color: var(--primary);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

    .dropdown-done:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-1px);
    }

    .dropdown-done svg {
        width: 15px;
        height: 15px;
    }
.service-count {
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    font-size: .78rem;
    font-weight: 700;
}

.selectedServices {
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--primary);
    font-size: .90rem;
    font-weight: 700;
}
.validation-error {
    display: block;
    margin-top: 6px;
    color: #f87171;
    font-size: .85rem;
    font-weight: 500;
}

/*==================================================
    Problem Grid
====================================================*/

.problem-section {
    position: relative;
    padding: 110px 0 120px;
    background: #020617;
    overflow: hidden;
}
    .problem-section .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
    }
    .problem-section .section-badge {
        display: inline-flex;
        align-items: center;
        padding: 8px 18px;
        border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
        border-radius: 999px;
        background: color-mix(in srgb, var(--primary) 7%, transparent);
        color: var(--primary);
        font-size: .82rem;
        font-weight: 600;
        letter-spacing: .04em;
    }
    .problem-section .section-title {
        margin-top: 22px;
        max-width: 1000px;
        font-size: clamp(2rem, 5vw, 3rem);
        line-height: 1.1;
        font-weight: 800;
        color: white;
    }

        .problem-section .section-title span {
            color: var(--primary);
        }
    .problem-section .section-subtitle {
        margin-top: 22px;
        color: var(--text-muted);
        font-size: 1.05rem;
        line-height: 1.8;
    }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}
.problem-card {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 28px;
    background: radial-gradient( circle at 15% 20%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 45% ), rgba(15, 23, 42, .72);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
    .problem-card::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        top: -120px;
        right: -80px;
        background: radial-gradient( circle, color-mix(in srgb, var(--primary) 12%, transparent), transparent 70% );
        filter: blur(15px);
        opacity: .45;
        animation: problemGlow 7s ease-in-out infinite;
        pointer-events: none;
    }
@keyframes problemGlow {

    0%, 100% {
        transform: translate(0, 0);
        opacity: .35;
    }

    50% {
        transform: translate(-45px, 35px);
        opacity: .65;
    }
}
.problem-card > div {
    position: relative;
    z-index: 2;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--primary) 65%, transparent);
    box-shadow: 0 0 25px color-mix(in srgb, var(--primary) 12%, transparent);
}

.problem-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb,var(--primary) 12%, transparent);
    color: var(--primary);
    flex-shrink: 0;
}

.problem-card h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
    font-weight: 700;
}

.problem-quote {
    color: var(--primary);
    font-style: italic;
    margin-bottom: 12px;
}
.problem-card p:last-child {
    color: var(--text-muted);
    line-height: 1.7;
}
@media(max-width:768px) {

    .problem-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {

    .problem-section {
        padding: 80px 0 90px;
    }

        .problem-section .container {
            padding: 0 18px;
        }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }
}
.problem-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .problem-link span {
        display: inline-block;
        margin-left: 4px;
        transition: transform 0.2s ease;
    }

    .problem-link:hover {
        filter: brightness(1.5);
        transform: translateY(-2px);
    }

        .problem-link:hover span {
            transform: translateX(4px);
        }


/*==================================================
    TECHNOLOGY CARD
==================================================*/

.technology-card {
    position: relative;
    margin-top: 12px;
    padding: 22px;
    border-radius: 24px;
    background: radial-gradient( circle at 15% 50%, color-mix(in srgb, var(--primary) 13%, transparent), transparent 45% ), radial-gradient( circle at 85% 20%, rgba(59,130,246,.07), transparent 40% ), rgba(15,23,42,.72);
    border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
    box-shadow: 0 0 35px color-mix(in srgb, var(--primary) 12%, transparent), inset 0 0 35px color-mix(in srgb, var(--primary) 4%, transparent);
    overflow: hidden;
}
    .technology-card::before {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: inherit;
        padding: 1px;
        background: linear-gradient( 90deg, transparent 10%, var(--primary), transparent 90% );
        background-size: 200% 100%;
        animation: technologyBorder 4s linear infinite;
        opacity: .7;
        pointer-events: none;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: exclude;
    }
@keyframes technologyBorder {

    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}


.technology-card::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -30%;
    width: 30%;
    height: 220%;
    background: linear-gradient( 90deg, transparent, color-mix(in srgb, var(--primary) 30%, transparent), transparent );
    transform: rotate(20deg);
    animation: technologySweep 8s ease-in-out infinite;
    opacity: .9;
    pointer-events: none;
}
@keyframes technologySweep {

    0% {
        left: -40%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}
.technology-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .9fr 1.4fr;
    gap: 60px;
    align-items: center;
}
.technology-badge {
    display: inline-flex;
    padding: 7px 15px;
    border-radius: 999px;
    color: var(--primary);
    background: color-mix( in srgb, var(--primary) 9%, transparent );
    border: 1px solid color-mix( in srgb, var(--primary) 30%, transparent );
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
}
.technology-intro h3 {
    margin-top: 18px;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 800;
    color: white;
}

    .technology-intro h3 span {
        display: block;
        color: var(--primary);
    }
.technology-intro p {
    margin-top: 16px;
    max-width: 420px;
    color: var(--text-muted);
    line-height: 1.7;
}
.technology-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 28px;
}
.technology-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #dbe4f0;
    font-size: .92rem;
    transition: .25s ease;
}
.technology-item {
    opacity: 0;
    transform: translateY(8px);
    animation: technologyItemIn .5s ease forwards;
}
    .technology-item:nth-child(1) {
        animation-delay: .10s;
    }

    .technology-item:nth-child(2) {
        animation-delay: .18s;
    }

    .technology-item:nth-child(3) {
        animation-delay: .26s;
    }

    .technology-item:nth-child(4) {
        animation-delay: .34s;
    }

    .technology-item:nth-child(5) {
        animation-delay: .42s;
    }

    .technology-item:nth-child(6) {
        animation-delay: .50s;
    }

    .technology-item:nth-child(7) {
        animation-delay: .58s;
    }

    .technology-item:nth-child(8) {
        animation-delay: .66s;
    }

    .technology-item:nth-child(9) {
        animation-delay: .74s;
    }

    .technology-item:nth-child(10) {
        animation-delay: .82s;
    }

    .technology-item:nth-child(11) {
        animation-delay: .90s;
    }

    .technology-item:nth-child(12) {
        animation-delay: 1s;
    }
@keyframes technologyItemIn {

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    .technology-item svg {
        width: 17px;
        height: 17px;
        color: var(--primary);
        filter: drop-shadow( 0 0 6px color-mix(in srgb, var(--primary) 70%, transparent) );
        flex-shrink: 0;
    }
    .technology-item:hover {
        color: white;
        background: color-mix( in srgb, var(--primary) 7%, transparent );
        transform: translateX(4px);
    }
@media (max-width: 768px) {

    .technology-card {
        padding: 28px 22px;
    }

    .technology-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .technology-list {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}
.site-footer {
    position: relative;
    background: radial-gradient( circle at 50% 0%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 45% ), #020617;
    border-top: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
    padding: 45px 24px 20px;
    overflow: hidden;
}
    .site-footer::before {
        content: "";
        position: absolute;
        top: -100px;
        left: 50%;
        transform: translateX(-50%);
        width: 500px;
        height: 180px;
        background: radial-gradient( ellipse, color-mix(in srgb, var(--primary) 12%, transparent), transparent 70% );
        filter: blur(20px);
        pointer-events: none;
    }
.footer-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
}

.footer-brand p {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: .85rem;
}
.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    border: 2px solid white;
    background: rgba(255,255,255,.03);
    transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

    .social-link svg {
        width: 18px;
        height: 18px;        
    }
    .social-link:hover {
        color: var(--primary);
        border-color: var(--primary);
        background: color-mix( in srgb, var(--primary) 10%, transparent );
        transform: translateY(-3px);
        box-shadow: 0 0 18px color-mix( in srgb, var(--primary) 25%, transparent );
    }
.footer-bottom {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #64748b;
    font-size: .75rem;
}
@media (max-width: 768px) {

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social {
        margin-top: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}
.top-social-bar {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.05);
    background: rgba(2,6,23,.65);
}

.top-social-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 7px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.top-social-label {
    font-size: .72rem;
    color: #64748b;
}

.top-social-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-social-link {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #64748b;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

    .top-social-link svg {
        width: 15px;
        height: 15px;
    }

    .top-social-link:hover {
        color: var(--primary);
        background: color-mix( in srgb, var(--primary) 10%, transparent );
        transform: translateY(-2px);
    }

/*==================================================
    problem accordion
==================================================*/


.problem-showcase {
    position: relative;
    margin-top: 12px;
    padding: 22px;
    border-radius: 24px;
    background: radial-gradient( circle at 15% 50%, color-mix(in srgb, var(--primary) 13%, transparent), transparent 45% ), radial-gradient( circle at 85% 20%, rgba(59,130,246,.07), transparent 40% ), rgba(15,23,42,.72);
    border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
    box-shadow: 0 0 35px color-mix(in srgb, var(--primary) 12%, transparent), inset 0 0 35px color-mix(in srgb, var(--primary) 4%, transparent);
    overflow: hidden;
}

    .problem-showcase .section-heading {
        max-width: 720px;
        margin: 0 auto 45px;
        text-align: center;
    }

    .problem-showcase .section-eyebrow {
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .16em;
        color: var(--primary);
    }

    .problem-showcase h2 {
        margin: 12px 0;
        font-size: clamp(2rem, 4vw, 3rem);
        color: white;
    }

    .problem-showcase .section-heading p {
        color: #94a3b8;
        line-height: 1.7;
    }

.problem-panel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: radial-gradient( circle at 15% 20%, color-mix(in srgb, var(--primary) 7%, transparent), transparent 45% ), rgba(15, 23, 42, .72);
    border: 1px solid rgba(255,255,255,.07);
    transition: border-color .3s ease, box-shadow .3s ease;
}

.problem-panel-header {
    width: 100%;
    display: grid;
    grid-template-columns: 70px 1fr 40px;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    border: 0;
    background: transparent;
    color: white;
    text-align: left;
    cursor: pointer;
}

.problem-number {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--primary);
}

.problem-title {
    font-size: 1.15rem;
    font-weight: 650;
}

.problem-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid color-mix( in srgb, var(--primary) 45%, transparent );
    color: var(--primary);
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 0 12px color-mix( in srgb, var(--primary) 10%, transparent );
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.problem-panel-header:hover .problem-toggle {
    background: color-mix( in srgb, var(--primary) 12%, transparent );
    box-shadow: 0 0 20px color-mix( in srgb, var(--primary) 25%, transparent );
}

.problem-panel.open .problem-hint {
    opacity: 0;
}

.problem-panel-content {
    max-height: 0;
    overflow: auto;
    opacity: 0;
    padding: 0 28px;
    transition: max-height .5s ease, opacity .35s ease, padding .5s ease;
}

.problem-panel.open {
    border-color: color-mix(in srgb, var(--primary) 35%, transparent);
    box-shadow: 0 0 35px color-mix(in srgb, var(--primary) 10%, transparent);
}

    .problem-panel.open .problem-panel-content {
        max-height: 1000px;
        opacity: 1;
        padding: 0 28px 32px;
    }

    .problem-panel.open .problem-toggle {
        transform: rotate(45deg);
        background: color-mix(in srgb, var(--primary) 10%, transparent);
    }

.problem-panel.open {
    border-color: color-mix(in srgb, var(--primary) 35%, transparent);
    box-shadow: 0 0 35px color-mix(in srgb, var(--primary) 10%, transparent);
}

    .problem-panel.open .problem-panel-content {
        max-height: 1000px;
        opacity: 1;
        padding: 0 28px 32px;
    }

    .problem-panel.open .problem-toggle {
        transform: rotate(45deg);
        background: color-mix(in srgb, var(--primary) 10%, transparent);
    }

.problem-quote {
    max-width: 900px;
    margin: 5px 0 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e2e8f0;
}

.problem-panel-content > p:not(.problem-quote) {
    color: #94a3b8;
    line-height: 1.75;
}

.problem-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 25px 0 30px;
    font-weight: bold;
}

    .problem-tech span {
        padding: 6px 11px;
        border-radius: 999px;
        font-size: .72rem;
        color: var(--primary);
        background: color-mix(in srgb, var(--primary) 8%, transparent);
        border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
    }

.problem-details h4 {
    margin-bottom: 12px;
    font-size: .7rem;
    letter-spacing: .14em;
    color: var(--primary);
}

.problem-details ul {
    margin: 0;
    padding-left: 18px;
    color: #94a3b8;
}

.problem-details li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.problem-details h4 {
    margin-bottom: 12px;
    font-size: .7rem;
    letter-spacing: .14em;
    color: var(--primary);
}

.problem-details ul {
    margin: 0;
    padding-left: 18px;
    color: #94a3b8;
}

.problem-details li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.problem-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.problem-hint {
    font-size: 0.70rem;
    font-weight: 800;
    letter-spacing: .07em;
    color: #64748b;
    transition: color .3s ease, opacity .3s ease;
}

.problem-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.problem-panel-header {
    transition: background .3s ease;
}

    .problem-panel-header:hover {
        background: color-mix( in srgb, var(--primary) 4%, transparent );
    }

        .problem-panel-header:hover .problem-hint {
            color: var(--primary);
        }

.problem-result {
    position: relative;
    margin-top: 30px;
    padding: 18px 20px 18px 22px;
    border-left: 3px solid var(--primary);
    background: color-mix( in srgb, var(--primary) 7%, transparent );
    border-radius: 0 12px 12px 0;
    box-shadow: inset 0 0 25px color-mix( in srgb, var(--primary) 4%, transparent );
}

.result-label {
    display: block;
    margin-bottom: 7px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--primary);
}

.problem-result p {
    margin: 0;
    color: #cbd5e1;
    font-size: .9rem;
    line-height: 1.6;
}


/*==================================================
    fix-card
==================================================*/


.fix-card {
    background: var(--surface);
    border: 1px solid rgba(6, 182, 212, 0.18);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .fix-card:hover {
        transform: translateY(-6px);
        border-color: var(--primary);
        box-shadow: 0 12px 35px rgba(6, 182, 212, 0.12);
    }

.fix-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #020617;
}

    .fix-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

.fix-card:hover .fix-image img {
    transform: scale(1.04);
}

.fix-content {
    padding: 24px;
}

    .fix-content h3 {
        color: var(--text);
        margin: 0 0 12px;
        font-size: 1.25rem;
    }

    .fix-content p {
        color: var(--text-muted);
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .fix-content a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
    }

        .fix-content a:hover {
            color: var(--primary-hover);
        }


.what-we-fix-grid {
    margin-top:25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1000px) {
    .what-we-fix-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .what-we-fix-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   WHAT WE FIX - MODAL
   ========================================= */

.fix-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}


/* Modal box */

.fix-modal-content {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55), 0 0 35px rgba(6, 182, 212, 0.08);
    padding: 36px;
    animation: fixModalIn 0.25s ease;
}


/* Opening animation */

@keyframes fixModalIn {

    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Close X */

.fix-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--surface2);
    color: var(--text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .fix-modal-close:hover {
        background: var(--primary);
        color: #ffffff;
        transform: rotate(90deg);
    }


/* Header */

.fix-modal-header {
    padding-right: 40px;
    margin-bottom: 25px;
}

    .fix-modal-header h2 {
        margin: 0;
        color: var(--text);
        font-size: 1.7rem;
        line-height: 1.3;
    }


/* Small cyan line */

.fix-modal-line {
    display: block;
    width: 45px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    margin-bottom: 15px;
}


/* Body */

.fix-modal-body {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.75;
}

    .fix-modal-body p {
        margin: 0 0 18px;
    }

        .fix-modal-body p:last-child {
            margin-bottom: 0;
        }


/* Footer */

.fix-modal-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: right;
}


/* Close button */

.fix-modal-button {
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .fix-modal-button:hover {
        background: var(--primary);
        color: #ffffff;
    }


/* Mobile */

@media (max-width: 600px) {

    .fix-modal {
        padding: 12px;
    }

    .fix-modal-content {
        padding: 28px 22px;
        max-height: 90vh;
        border-radius: 16px;
    }

    .fix-modal-header h2 {
        font-size: 1.4rem;
    }

    .fix-modal-body {
        font-size: 0.95rem;
        line-height: 1.65;
    }
}