/* =========================================================
   LogicGraft Homepage
   File: assets/css/home.css
========================================================= */


/* =========================================================
   Page
========================================================= */

.page-home,
.home-page {
    background: var(--lg-light);
}


/* =========================================================
   Shared Homepage Elements
========================================================= */

.home-section {
    padding: 108px 0;
}

.home-section-head {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 80px;
    align-items: end;
    margin-bottom: 50px;
}

.home-section-head h2 {
    max-width: 760px;
    margin: 0;
    color: #17202A;
    font-size: clamp(38px, 4.6vw, 62px);
    line-height: 1.06;
    letter-spacing: -.048em;
}

.home-section-head h2 span {
    color: #9A7A39;
}

.home-section-head-copy {
    max-width: 640px;
}

.home-section-head-copy p {
    margin: 0 0 22px;
    color: #66717B;
    font-size: 16px;
    line-height: 1.78;
}

.home-inline-link {
    display: inline-flex;
    align-items: center;
    color: #765B2B;
    font-size: 13px;
    font-weight: 800;
    transition:
        color .2s ease,
        transform .2s ease;
}

.home-inline-link:hover,
.home-inline-link:focus-visible {
    color: #17202A;
    transform: translateX(3px);
}

.home-btn-secondary {
    color: var(--lg-text);
    border: 1px solid rgba(248, 247, 244, .22);
    background: rgba(255, 255, 255, .035);
}

.home-btn-secondary:hover,
.home-btn-secondary:focus-visible {
    color: var(--lg-gold-soft);
    border-color: var(--lg-gold);
    transform: translateY(-2px);
}


/* =========================================================
   Hero
========================================================= */

.home-hero {
    position: relative;
    overflow: hidden;
    color: var(--lg-text);
    background:
        radial-gradient(circle at 14% 16%, rgba(199, 163, 90, .15), transparent 31%),
        radial-gradient(circle at 84% 24%, rgba(224, 201, 142, .07), transparent 27%),
        linear-gradient(135deg, #07101B 0%, #0A1420 52%, #0E1926 100%);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: linear-gradient(to bottom, black, transparent 94%);
}

.home-hero-grid {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 84px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
    gap: 76px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 78px;
}

.home-hero-copy {
    max-width: 820px;
}

.home-hero h1 {
    max-width: 830px;
    margin: 0 0 26px;
    font-size: clamp(56px, 6.3vw, 88px);
    line-height: .98;
    letter-spacing: -.057em;
}

.home-hero h1 span {
    display: block;
    color: var(--lg-gold-soft);
}

.home-hero-copy > p {
    max-width: 720px;
    margin: 0 0 32px;
    color: rgba(248, 247, 244, .66);
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.76;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.home-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.home-hero-proof span {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 999px;
    color: rgba(248, 247, 244, .56);
    background: rgba(255, 255, 255, .025);
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   Hero Visual / Microsoft Orbit
========================================================= */

.home-hero-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-orbit-card {
    position: relative;
    width: min(560px, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, rgba(199, 163, 90, .08), rgba(255, 255, 255, .02) 42%, transparent 68%);
}

.home-orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .07);
}

.ring-one {
    inset: 2%;
}

.ring-two {
    inset: 18%;
}

.ring-three {
    inset: 34%;
}

.home-orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    width: 164px;
    height: 164px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translate(-50%, -50%);
    border-radius: 34px;
    color: var(--lg-text);
    background: linear-gradient(145deg, rgba(199,163,90,.16), rgba(255,255,255,.04));
    border: 1px solid rgba(199, 163, 90, .25);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .25);
}

.home-orbit-logo {
    width: 86px;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .28));
}

.home-orbit-center small {
    color: rgba(248, 247, 244, .70);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-orbit-item {
    position: absolute;
    z-index: 5;
    min-width: 124px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(18, 31, 45, .96);
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}

.home-orbit-item b {
    display: block;
    margin-bottom: 6px;
    color: var(--lg-gold-soft);
    font-size: 15px;
    line-height: 1.1;
    font-weight: 800;
    text-align:center;
}

.home-orbit-item span {
    display: block;
    color: rgba(248, 247, 244, .64);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;
    text-align:center;
}

.orbit-one {
    top: 7%;
    left: 40%;
}

.orbit-two {
    top: 28%;
    right: -1%;
}

.orbit-three {
    right: 6%;
    bottom: 17%;
}

.orbit-four {
    left: 8%;
    bottom: 17%;
}

.orbit-five {
    top: 29%;
    left: -2%;
}

.home-orbit-connector {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    height: 1px;
    transform-origin: 0 50%;
    background: linear-gradient(90deg, rgba(199, 163, 90, .36), rgba(255, 255, 255, .10));
}

.connector-one {
    width: 116px;
    transform: translate(0, -54px) rotate(-90deg);
}

.connector-two {
    width: 146px;
    transform: translate(26px, -12px) rotate(-24deg);
}

.connector-three {
    width: 138px;
    transform: translate(20px, 34px) rotate(33deg);
}

.connector-four {
    width: 138px;
    transform: translate(-8px, 34px) rotate(147deg);
}

.connector-five {
    width: 146px;
    transform: translate(-24px, -10px) rotate(205deg);
}


/* =========================================================
   Capability Strip
========================================================= */

.home-capability-strip {
    border-top: 1px solid rgba(255, 255, 255, .05);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: rgba(248, 247, 244, .60);
    background: #0B1522;
}

.home-capability-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.home-capability-strip-grid > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 0 22px;
    border-right: 1px solid rgba(255, 255, 255, .06);
    font-size: 12px;
    font-weight: 700;
}

.home-capability-strip-grid > div:first-child {
    padding-left: 0;
}

.home-capability-strip-grid > div:last-child {
    border-right: 0;
}

.home-capability-strip-grid span {
    color: var(--lg-gold);
    font-size: 14px;
}


/* =========================================================
   Microsoft Section
========================================================= */

.home-microsoft {
    background: var(--lg-light);
}

.home-microsoft-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-microsoft-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 150px;
    padding: 24px;
    border: 1px solid #E3DFD6;
    border-radius: 22px;
    background: #fff;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home-microsoft-card:last-child {
    grid-column: span 2;
}

.home-microsoft-card:hover,
.home-microsoft-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(199, 163, 90, .52);
    box-shadow: 0 22px 60px rgba(8, 17, 29, .09);
}

.home-card-code {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #876A33;
    background: #F5F0E6;
    border: 1px solid rgba(199, 163, 90, .20);
    font-size: 10px;
    font-weight: 800;
}

.home-microsoft-card h3 {
    margin: 0 0 6px;
    color: #17202A;
    font-size: 19px;
    letter-spacing: -.025em;
}

.home-microsoft-card p {
    max-width: 620px;
    margin: 0;
    color: #6B757E;
    font-size: 13px;
    line-height: 1.65;
}

.home-card-arrow {
    color: #9B7B3C;
    font-size: 18px;
    transition: transform .2s ease;
}

.home-microsoft-card:hover .home-card-arrow {
    transform: translateX(4px);
}


/* =========================================================
   Business Solutions
========================================================= */

.home-solutions {
    background: #fff;
}

.home-solution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-solution-card {
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    border-radius: 26px;
    color: var(--lg-text);
    background:
        radial-gradient(circle at 90% 12%, rgba(199, 163, 90, .13), transparent 29%),
        linear-gradient(145deg, #0A1420, #14202D);
    border: 1px solid rgba(199, 163, 90, .13);
    transition: transform .25s ease, border-color .25s ease;
}

.home-solution-card:hover,
.home-solution-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(199, 163, 90, .42);
}

.home-solution-number {
    position: absolute;
    top: 26px;
    right: 28px;
    color: rgba(248, 247, 244, .25);
    font-size: 11px;
    font-weight: 800;
}

.home-solution-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 68px;
    border-radius: 14px;
    color: var(--lg-gold-soft);
    background: rgba(199, 163, 90, .08);
    border: 1px solid rgba(199, 163, 90, .18);
    font-size: 10px;
    font-weight: 800;
}

.home-solution-card h3 {
    max-width: 440px;
    margin: 0 0 12px;
    color: var(--lg-text);
    font-size: 27px;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.home-solution-card p {
    max-width: 520px;
    margin: 0 0 26px;
    color: rgba(248, 247, 244, .53);
    font-size: 14px;
    line-height: 1.7;
}

.home-solution-link {
    margin-top: auto;
    color: var(--lg-gold-soft);
    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   Connected Flow
========================================================= */

.home-connected {
    color: var(--lg-text);
    background: var(--lg-bg);
}

.home-connected-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(450px, 1.15fr);
    gap: 90px;
    align-items: center;
}

.home-connected-copy h2 {
    max-width: 650px;
    margin: 0 0 22px;
    color: var(--lg-text);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.06;
    letter-spacing: -.05em;
}

.home-connected-copy h2 span {
    color: var(--lg-gold-soft);
}

.home-connected-copy p {
    max-width: 620px;
    margin: 0 0 28px;
    color: rgba(248, 247, 244, .57);
    font-size: 16px;
    line-height: 1.78;
}

.home-flow-panel {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
    box-shadow: 0 28px 80px rgba(0, 0, 0, .22);
}

.home-flow-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 17px 18px;
    border: 1px solid rgba(255, 255, 255, .065);
    border-radius: 16px;
    background: rgba(255, 255, 255, .03);
}

.home-flow-code {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--lg-gold-soft);
    background: rgba(199, 163, 90, .08);
    border: 1px solid rgba(199, 163, 90, .18);
    font-size: 10px;
    font-weight: 800;
}

.home-flow-row strong {
    display: block;
    margin-bottom: 3px;
    color: var(--lg-text);
    font-size: 13px;
}

.home-flow-row small {
    display: block;
    color: rgba(248, 247, 244, .43);
    font-size: 11px;
}

.home-flow-row > span {
    color: var(--lg-gold-soft);
    font-size: 10px;
    font-weight: 800;
}

.home-flow-line {
    width: 1px;
    height: 16px;
    margin: 0 0 0 38px;
    background: rgba(199, 163, 90, .24);
}


/* =========================================================
   Why LogicGraft
========================================================= */

.home-why {
    background: var(--lg-light);
}

.home-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.home-why-card {
    min-height: 250px;
    padding: 26px;
    border: 1px solid #E3DFD6;
    border-radius: 22px;
    background: #fff;
}

.home-why-card > span {
    display: block;
    margin-bottom: 52px;
    color: var(--lg-gold);
    font-size: 11px;
    font-weight: 800;
}

.home-why-card h3 {
    margin: 0 0 9px;
    color: #17202A;
    font-size: 19px;
}

.home-why-card p {
    margin: 0;
    color: #6B757E;
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   Process
========================================================= */

.home-process {
    background: #fff;
}

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.home-process-step {
    min-height: 220px;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #E4E0D7;
    background: var(--lg-light);
}

.home-process-step span {
    display: block;
    margin-bottom: 46px;
    color: var(--lg-gold);
    font-size: 10px;
    font-weight: 800;
}

.home-process-step h3 {
    margin: 0 0 8px;
    color: #17202A;
    font-size: 18px;
}

.home-process-step p {
    margin: 0;
    color: #707982;
    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   Work
========================================================= */

.home-work {
    color: var(--lg-text);
    background: var(--lg-bg);
}

.home-work .home-section-head h2 {
    color: var(--lg-text);
}

.home-work .home-section-head h2 span {
    color: var(--lg-gold-soft);
}

.home-work .home-section-head-copy p {
    color: rgba(248, 247, 244, .52);
}

.home-work .home-inline-link {
    color: var(--lg-gold-soft);
}

.home-work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-work-card {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(circle at 88% 12%, rgba(199, 163, 90, .12), transparent 31%),
        rgba(255, 255, 255, .028);
}

.home-work-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.home-work-top span {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--lg-gold-soft);
    background: rgba(199, 163, 90, .08);
    border: 1px solid rgba(199, 163, 90, .15);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-work-top b {
    color: rgba(248, 247, 244, .21);
    font-size: 11px;
}

.home-work-card h3 {
    max-width: 560px;
    margin: 0 0 12px;
    color: var(--lg-text);
    font-size: 29px;
    line-height: 1.14;
    letter-spacing: -.036em;
}

.home-work-card p {
    max-width: 590px;
    margin: 0;
    color: rgba(248, 247, 244, .51);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   Insights
========================================================= */

.home-insights {
    background: var(--lg-light);
}

.home-insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-insight-card {
    min-height: 310px;
    padding: 28px;
    border: 1px solid #E4E0D7;
    border-radius: 24px;
    background: #fff;
}

.home-insight-card > span {
    display: inline-flex;
    margin-bottom: 52px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #8A6B32;
    background: #F6F0E5;
    border: 1px solid rgba(199, 163, 90, .17);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-insight-card h3 {
    margin: 0 0 12px;
    color: #17202A;
    font-size: 22px;
    line-height: 1.24;
    letter-spacing: -.03em;
}

.home-insight-card p {
    margin: 0;
    color: #6A747D;
    font-size: 13px;
    line-height: 1.68;
}


/* =========================================================
   Final CTA
========================================================= */

.home-final-cta {
    padding: 0 0 108px;
    background: var(--lg-light);
}

.home-final-cta-box {
    position: relative;
    overflow: hidden;
    padding: 68px;
    border-radius: 30px;
    color: var(--lg-text);
    background:
        radial-gradient(circle at 86% 20%, rgba(199, 163, 90, .17), transparent 28%),
        linear-gradient(135deg, #09131F, #121E2B);
    box-shadow: 0 28px 80px rgba(8, 17, 29, .16);
}

.home-final-cta-box h2 {
    max-width: 930px;
    margin: 0 0 20px;
    font-size: clamp(38px, 4.8vw, 64px);
    line-height: 1.04;
    letter-spacing: -.048em;
}

.home-final-cta-box p {
    max-width: 760px;
    margin: 0 0 30px;
    color: rgba(248, 247, 244, .58);
    font-size: 16px;
    line-height: 1.75;
}

.home-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1080px) {

    .home-hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 54px;
        padding-top: 76px;
        padding-bottom: 80px;
    }

    .home-hero-copy {
        max-width: 880px;
    }

    .home-hero-visual {
        min-height: 520px;
    }

    .home-section-head {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-connected-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .home-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =========================================================
   Small Tablet
========================================================= */

@media (max-width: 800px) {

    .home-section {
        padding: 84px 0;
    }

    .home-capability-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-capability-strip-grid > div {
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

    .home-microsoft-grid,
    .home-solution-grid,
    .home-work-grid {
        grid-template-columns: 1fr;
    }

    .home-microsoft-card:last-child {
        grid-column: auto;
    }

    .home-insight-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 600px) {

    .home-hero-grid {
        padding-top: 60px;
        padding-bottom: 66px;
    }

    .home-hero h1 {
        font-size: clamp(45px, 13.5vw, 62px);
    }

    .home-hero-copy > p {
        font-size: 16px;
    }

    .home-hero-actions {
        display: grid;
    }

    .home-hero-actions .btn {
        width: 100%;
    }

    .home-hero-visual {
        min-height: 370px;
    }

    .home-orbit-card {
        width: 338px;
        max-width: 100%;
    }

    .home-orbit-center {
        width: 104px;
        height: 104px;
        border-radius: 24px;
        gap: 4px;
    }

    .home-orbit-logo {
        width: 56px;
    }

    .home-orbit-center small {
        font-size: 8px;
        letter-spacing: .10em;
    }

    .home-orbit-item {
        min-width: 82px;
        padding: 10px 10px;
        border-radius: 13px;
    }

    .home-orbit-item b {
        font-size: 11px;
        margin-bottom: 3px;
        text-align:center;
    }

    .home-orbit-item span {
        font-size: 9px;
        line-height: 1.2;
        text-align:center;
    }

    .orbit-one {
        top: 3%;
        left: 36%;
    }

    .orbit-two {
        top: 24%;
        right: -1%;
    }

    .orbit-three {
        right: 3%;
        bottom: 11%;
    }

    .orbit-four {
        left: 4%;
        bottom: 10%;
    }

    .orbit-five {
        top: 24%;
        left: -1%;
    }

    .connector-one {
        width: 78px;
        transform: translate(0, -34px) rotate(-92deg);
    }

    .connector-two {
        width: 98px;
        transform: translate(15px, -10px) rotate(-25deg);
    }

    .connector-three {
        width: 92px;
        transform: translate(12px, 19px) rotate(31deg);
    }

    .connector-four {
        width: 92px;
        transform: translate(-5px, 19px) rotate(149deg);
    }

    .connector-five {
        width: 98px;
        transform: translate(-15px, -10px) rotate(205deg);
    }

    .home-capability-strip-grid {
        grid-template-columns: 1fr;
    }

    .home-capability-strip-grid > div {
        min-height: 58px;
        padding: 0 4px;
        border-right: 0;
    }

    .home-section {
        padding: 72px 0;
    }

    .home-section-head {
        margin-bottom: 36px;
    }

    .home-section-head h2 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .home-microsoft-card {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
        padding: 20px;
    }

    .home-microsoft-card .home-card-arrow {
        grid-column: 2;
    }

    .home-solution-card {
        min-height: 330px;
        padding: 24px;
    }

    .home-connected-grid {
        gap: 34px;
    }

    .home-connected-copy h2 {
        font-size: clamp(36px, 10vw, 48px);
    }

    .home-flow-panel {
        padding: 18px;
    }

    .home-flow-row {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .home-flow-row > span {
        grid-column: 2;
    }

    .home-flow-line {
        margin-left: 19px;
    }

    .home-why-grid,
    .home-process-grid {
        grid-template-columns: 1fr;
    }

    .home-why-card,
    .home-process-step {
        min-height: auto;
    }

    .home-why-card > span,
    .home-process-step span {
        margin-bottom: 30px;
    }

    .home-work-card {
        min-height: 330px;
        padding: 24px;
    }

    .home-work-card h3 {
        font-size: 25px;
    }

    .home-final-cta {
        padding-bottom: 76px;
    }

    .home-final-cta-box {
        padding: 44px 24px;
        border-radius: 24px;
    }

    .home-final-actions {
        display: grid;
    }

    .home-final-actions .btn {
        width: 100%;
    }

}

/* =========================================================
   LogicGraft Animated Terminal
========================================================= */

.lg-terminal-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background:
        radial-gradient(
            circle at 82% 40%,
            rgba(199, 163, 90, 0.08),
            transparent 30%
        ),
        #08111D;
}


/* ---------------------------------------------------------
   Layout
--------------------------------------------------------- */

.lg-terminal-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
    gap: 72px;
    align-items: center;
}


/* ---------------------------------------------------------
   Text content
--------------------------------------------------------- */

.lg-terminal-copy {
    max-width: 580px;
}

.lg-terminal-eyebrow {
    display: inline-block;
    margin-bottom: 18px;

    color: #C7A35A;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.18em;
}

.lg-terminal-copy h2 {
    margin: 0;

    color: #F8F7F4;

    font-size: clamp(36px, 4vw, 58px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.lg-terminal-copy h2 span {
    color: #C7A35A;
}

.lg-terminal-copy p {
    max-width: 540px;
    margin: 26px 0 0;

    color: #AAA8A2;

    font-size: 17px;
    line-height: 1.75;
}

.lg-terminal-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 30px;
}

.lg-terminal-points span {
    padding: 8px 13px;

    border: 1px solid rgba(224, 201, 142, 0.16);
    border-radius: 999px;

    background: rgba(20, 32, 45, 0.7);

    color: #E0C98E;

    font-size: 12px;
    font-weight: 600;
}


/* ---------------------------------------------------------
   Terminal shell
--------------------------------------------------------- */

.lg-terminal-shell {
    position: relative;
    width: 100%;
}

.lg-terminal-shell::before {
    content: "";

    position: absolute;
    z-index: 0;

    width: 72%;
    height: 65%;

    top: 18%;
    left: 14%;

    background: rgba(199, 163, 90, 0.13);

    filter: blur(90px);

    pointer-events: none;
}


/* ---------------------------------------------------------
   Terminal window
--------------------------------------------------------- */

.lg-terminal-window {
    position: relative;
    z-index: 1;

    overflow: hidden;

    min-height: 470px;

    border: 1px solid rgba(224, 201, 142, 0.14);
    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            rgba(20, 32, 45, 0.98),
            rgba(8, 17, 29, 0.98)
        );

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.32),
        0 12px 32px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}


/* ---------------------------------------------------------
   Mac-style toolbar
--------------------------------------------------------- */

.lg-terminal-toolbar {
    position: relative;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    height: 52px;

    padding: 0 18px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.055);

    background: rgba(20, 32, 45, 0.88);

    backdrop-filter: blur(14px);
}

.lg-terminal-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lg-terminal-dot {
    display: block;

    width: 11px;
    height: 11px;

    border-radius: 50%;
}

.lg-terminal-dot-red {
    background: #ff5f57;
}

.lg-terminal-dot-yellow {
    background: #febc2e;
}

.lg-terminal-dot-green {
    background: #28c840;
}

.lg-terminal-title {
    color: rgba(248, 247, 244, 0.58);

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        Menlo,
        monospace;

    font-size: 12px;
}

.lg-terminal-toolbar-spacer {
    min-width: 50px;
}


/* ---------------------------------------------------------
   Terminal body
--------------------------------------------------------- */

.lg-terminal-body {
    min-height: 418px;

    padding: 28px 30px 34px;

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        Menlo,
        monospace;

    font-size: 13.5px;
    line-height: 1.75;
}

.lg-terminal-meta {
    color: rgba(170, 168, 162, 0.47);
}

.lg-terminal-meta span {
    color: rgba(224, 201, 142, 0.68);
}

.lg-terminal-output {
    margin-top: 26px;
}


/* ---------------------------------------------------------
   Terminal lines
--------------------------------------------------------- */

.lg-terminal-line {
    min-height: 24px;

    opacity: 0;

    transform: translateY(4px);

    animation: lgTerminalLineIn 0.28s ease forwards;
}

@keyframes lgTerminalLineIn {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* Command */

.lg-terminal-command {
    margin-top: 8px;

    color: #F8F7F4;
}

.lg-terminal-prompt {
    color: #C7A35A;
    font-weight: 700;

    margin-right: 8px;
}


/* Output */

.lg-terminal-info {
    color: #AAA8A2;
}

.lg-terminal-info .lg-terminal-arrow {
    color: #E0C98E;
}


/* Success */

.lg-terminal-success {
    color: #E0C98E;
}

.lg-terminal-success .lg-terminal-check {
    color: #C7A35A;

    font-weight: 700;
}


/* Detail / secondary */

.lg-terminal-detail {
    color: rgba(170, 168, 162, 0.7);
}


/* ---------------------------------------------------------
   Blinking cursor
--------------------------------------------------------- */

.lg-terminal-cursor {
    display: inline-block;

    width: 7px;
    height: 15px;

    margin-left: 3px;

    vertical-align: -2px;

    background: #C7A35A;

    animation: lgTerminalCursorBlink 0.92s steps(1) infinite;
}

@keyframes lgTerminalCursorBlink {

    0%,
    48% {
        opacity: 1;
    }

    49%,
    100% {
        opacity: 0;
    }

}


/* ---------------------------------------------------------
   Scenario transition
--------------------------------------------------------- */

.lg-terminal-output.lg-terminal-clearing {
    opacity: 0;

    transform: translateY(-4px);

    transition:
        opacity 0.32s ease,
        transform 0.32s ease;
}


/* ---------------------------------------------------------
   Screen-reader helper
--------------------------------------------------------- */

.lg-sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);
    white-space: nowrap;

    border: 0;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1050px) {

    .lg-terminal-layout {
        grid-template-columns: 1fr;

        gap: 52px;
    }

    .lg-terminal-copy {
        max-width: 700px;
    }

    .lg-terminal-shell {
        max-width: 780px;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 700px) {

    .lg-terminal-section {
        padding: 78px 0;
    }

    .lg-terminal-layout {
        gap: 38px;
    }

    .lg-terminal-copy h2 {
        font-size: 38px;
    }

    .lg-terminal-copy p {
        font-size: 16px;
    }

    .lg-terminal-window {
        min-height: 430px;

        border-radius: 14px;
    }

    .lg-terminal-toolbar {
        grid-template-columns: auto 1fr;

        height: 48px;

        padding: 0 14px;
    }

    .lg-terminal-title {
        justify-self: end;

        max-width: 170px;

        overflow: hidden;

        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lg-terminal-toolbar-spacer {
        display: none;
    }

    .lg-terminal-body {
        min-height: 380px;

        padding: 22px 18px 26px;

        font-size: 12px;
        line-height: 1.7;
    }

}


/* =========================================================
   Reduced motion
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .lg-terminal-line,
    .lg-terminal-cursor {
        animation: none !important;
    }

    .lg-terminal-output {
        transition: none !important;
    }

}
/* =========================================================
   Premium angled terminal effect
========================================================= */

.lg-terminal-shell {
    position: relative;
    width: 100%;

    perspective: 1400px;

    padding: 28px 18px 42px;
}


/* Main gold glow */

.lg-terminal-shell::before {
    content: "";

    position: absolute;
    z-index: 0;

    width: 78%;
    height: 70%;

    left: 12%;
    top: 20%;

    background:
        radial-gradient(
            circle,
            rgba(199, 163, 90, 0.22) 0%,
            rgba(199, 163, 90, 0.09) 35%,
            transparent 72%
        );

    filter: blur(75px);

    pointer-events: none;
}


/* Lower glow */

.lg-terminal-shell::after {
    content: "";

    position: absolute;
    z-index: 0;

    width: 65%;
    height: 90px;

    left: 18%;
    bottom: 5px;

    background: rgba(199, 163, 90, 0.18);

    filter: blur(55px);

    border-radius: 50%;

    pointer-events: none;
}


/* Angled terminal */

.lg-terminal-window {
    position: relative;
    z-index: 2;

    transform:
        perspective(1400px)
        rotateY(-18deg)
        rotateX(6deg)
        rotateZ(1deg);

    transform-origin: center center;

    box-shadow:
        0 45px 90px rgba(0, 0, 0, 0.55),
        0 20px 50px rgba(0, 0, 0, 0.34),
        0 0 45px rgba(199, 163, 90, 0.08),
        0 0 90px rgba(199, 163, 90, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}


/* Soft outer glow */

.lg-terminal-window::after {
    content: "";

    position: absolute;
    inset: -1px;

    z-index: -1;

    border-radius: inherit;

    box-shadow:
        0 0 55px rgba(20, 32, 45, 0.8),
        0 0 100px rgba(199, 163, 90, 0.06);

    pointer-events: none;
}


/* Remove strong 3D angle on mobile */

@media (max-width: 700px) {

    .lg-terminal-shell {
        padding: 10px 0 30px;
        perspective: none;
    }

    

    .lg-terminal-shell::before {
        width: 90%;
        left: 5%;
    }

}

/* image css for hero */
.home-hero-image {
    width: 100%;
    min-height: 480px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 680px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .home-hero-image {
        min-height: 340px;
    }
}
