.home-page {
    --navy: #1A237E;
    --navy-light: #283593;
    --gold: #F2C94C;
    --gold-dark: #F4B400;
    --charcoal: #263238;
    --surface: #FAFAF8;
    color: var(--charcoal);
}

html {
    scroll-behavior: smooth;
}

.home-hero {
    background:
        radial-gradient(circle at 14% 12%, rgba(26, 35, 126, .1), transparent 28rem),
        radial-gradient(circle at 88% 68%, rgba(242, 201, 76, .16), transparent 26rem),
        linear-gradient(180deg, #fff 0%, #FAFAF8 100%);
}

.home-grid {
    background-image:
        linear-gradient(rgba(26, 35, 126, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 35, 126, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black 10%, transparent 92%);
}

.hero-orb {
    position: absolute;
    z-index: -10;
    border-radius: 999px;
    filter: blur(1px);
    opacity: .7;
    pointer-events: none;
}

.hero-orb--one {
    top: 4rem;
    right: 7%;
    width: 9rem;
    height: 9rem;
    border: 1px solid rgba(26, 35, 126, .2);
    animation: orbit 10s ease-in-out infinite;
}

.hero-orb--two {
    right: 3%;
    bottom: 3rem;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, rgba(26, 35, 126, .08), rgba(242, 201, 76, .22));
    animation: orbit 8s ease-in-out -3s infinite reverse;
}

.text-gradient {
    display: block;
    background: linear-gradient(110deg, #1A237E 8%, #F4B400 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: .75rem;
    padding: .875rem 1.375rem;
    font-size: .875rem;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease;
}

.button-primary {
    background: var(--gold);
    color: var(--charcoal);
    box-shadow: 0 12px 28px rgba(244, 180, 0, .28);
}

.button-primary:hover {
    background: var(--gold-dark);
    box-shadow: 0 16px 34px rgba(244, 180, 0, .34);
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid rgba(26, 35, 126, .18);
    background: rgba(255, 255, 255, .88);
    color: var(--navy);
}

.button-secondary:hover {
    border-color: rgba(26, 35, 126, .35);
    background: #fff;
    color: var(--navy-light);
    transform: translateY(-2px);
}

.button-primary:focus-visible,
.button-secondary:focus-visible {
    outline: 3px solid rgba(26, 35, 126, .28);
    outline-offset: 3px;
}

.dashboard-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 35, 126, .12);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 30px 80px rgba(26, 35, 126, .14), inset 0 1px 0 #fff;
    backdrop-filter: blur(18px);
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.dashboard-shell::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(125deg, rgba(255, 255, 255, .5), transparent 30%);
}

.dashboard-bar {
    background: linear-gradient(180deg, #F2C94C, #1A237E);
    opacity: .9;
    animation: bars 3.5s ease-in-out infinite alternate;
    transform-origin: bottom;
}

.dashboard-bar:nth-child(2n) {
    animation-delay: -.8s;
}

.dashboard-bar:nth-child(3n) {
    animation-delay: -1.6s;
}

.metric-card {
    min-width: 0;
    border: 1px solid rgba(26, 35, 126, .1);
    border-radius: 1rem;
    background: #fff;
    padding: 1rem;
}

.metric-icon {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: .75rem;
}

.floating-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(26, 35, 126, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    padding: .65rem .9rem;
    font-size: .7rem;
    font-weight: 700;
    color: var(--charcoal);
    box-shadow: 0 12px 30px rgba(26, 35, 126, .12);
    backdrop-filter: blur(12px);
}

.floating-chip--left {
    bottom: 12%;
    left: -1.5rem;
}

.floating-chip--right {
    top: 18%;
    right: -1.5rem;
}

.technology-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 2.25rem;
    animation: marquee 40s linear infinite;
}

.technology-marquee {
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.technology-logo {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    white-space: nowrap;
    color: #64748b;
    transition: color .2s ease, opacity .2s ease;
}

.technology-logo img {
    width: 1.65rem;
    height: 1.65rem;
    object-fit: contain;
    opacity: .72;
    filter: grayscale(1);
    transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}

.technology-logo__label,
.technology-logo__wordmark {
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: rgba(38, 50, 56, .55);
    transition: color .2s ease;
}

.technology-logo__wordmark {
    display: inline-flex;
    min-height: 1.65rem;
    align-items: center;
    border: 1px solid rgba(26, 35, 126, .12);
    border-radius: .55rem;
    background: rgba(26, 35, 126, .04);
    padding: .2rem .65rem;
    color: var(--navy);
}

.technology-logo:hover img {
    opacity: 1;
    filter: none;
    transform: translateY(-1px);
}

.technology-logo:hover .technology-logo__label,
.technology-logo:hover .technology-logo__wordmark {
    color: var(--navy);
}

.section-space {
    padding: 6rem 0;
}

.section-heading {
    display: grid;
    gap: 1.5rem;
}

.section-heading h2 {
    margin-top: 1rem;
    max-width: 48rem;
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.035em;
    color: var(--navy);
}

.section-heading > p {
    max-width: 36rem;
    align-self: end;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(38, 50, 56, .65);
}

.section-heading--dark h2 {
    color: #fff;
}

.section-heading--dark > p {
    color: rgba(255, 255, 255, .7);
}

.eyebrow {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--navy);
}

.eyebrow--dark {
    color: var(--gold);
}

.premium-card {
    position: relative;
    display: flex;
    min-height: 19rem;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(26, 35, 126, .1);
    border-radius: 1.25rem;
    background: #fff;
    padding: 1.75rem;
    box-shadow: 0 1px 2px rgba(26, 35, 126, .03);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.premium-card::after {
    position: absolute;
    right: -3rem;
    bottom: -4rem;
    width: 10rem;
    height: 10rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(242, 201, 76, .16), transparent 70%);
    content: "";
    transition: transform .35s ease;
}

.premium-card:hover {
    border-color: rgba(26, 35, 126, .22);
    box-shadow: 0 20px 44px rgba(26, 35, 126, .1);
    transform: translateY(-5px);
}

.premium-card:hover::after {
    transform: scale(1.3) translate(-1rem, -1rem);
}

.service-icon {
    display: flex;
    width: 3.25rem;
    height: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(26, 35, 126, .08), rgba(242, 201, 76, .18));
    color: var(--navy);
}

.premium-card h3 {
    margin-top: 1.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--navy);
}

.premium-card p {
    margin-top: .75rem;
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(38, 50, 56, .65);
}

.card-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: .4rem;
    margin-top: auto;
    padding-top: 1.75rem;
    font-size: .875rem;
    font-weight: 700;
    color: var(--navy);
    transition: gap .2s ease, color .2s ease;
}

.card-link:hover {
    gap: .7rem;
    color: var(--gold-dark);
}

.industry-tile {
    position: relative;
    display: flex;
    min-height: 11rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    border: 1px solid rgba(26, 35, 126, .1);
    border-radius: 1.1rem;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(26, 35, 126, .03);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.industry-tile:hover {
    border-color: rgba(242, 201, 76, .55);
    box-shadow: 0 16px 32px rgba(26, 35, 126, .08);
    transform: translateY(-4px);
}

.industry-icon {
    display: flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: .85rem;
    background: rgba(26, 35, 126, .08);
    color: var(--navy);
    transition: color .22s ease, background .22s ease;
}

.industry-tile:hover .industry-icon {
    background: var(--navy);
    color: #fff;
}

.industry-tile h3 {
    margin-top: 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.solution-row {
    display: flex;
    min-height: 8rem;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(26, 35, 126, .1);
    border-radius: 1rem;
    background: #fff;
    padding: 1.25rem;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.solution-row:hover {
    border-color: rgba(242, 201, 76, .55);
    box-shadow: 0 12px 28px rgba(26, 35, 126, .08);
    transform: translateY(-3px);
}

.solution-number {
    flex: 0 0 auto;
    font-size: .7rem;
    font-weight: 800;
    color: rgba(26, 35, 126, .4);
}

.solution-row h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.solution-row p {
    margin-top: .3rem;
    font-size: .78rem;
    line-height: 1.5;
    color: rgba(38, 50, 56, .65);
}

.process-grid {
    display: grid;
    gap: 2rem;
}

.process-step {
    position: relative;
}

.process-marker {
    position: relative;
    display: flex;
    height: 2.75rem;
    align-items: center;
}

.process-marker span {
    position: relative;
    z-index: 2;
    display: flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(242, 201, 76, .55);
    border-radius: 999px;
    background: rgba(242, 201, 76, .18);
    font-size: .7rem;
    font-weight: 800;
    color: var(--navy);
}

.process-step h3 {
    margin-top: 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
}

.process-step p {
    margin-top: .6rem;
    max-width: 14rem;
    font-size: .8rem;
    line-height: 1.65;
    color: rgba(38, 50, 56, .65);
}

.case-card {
    display: flex;
    min-height: 31rem;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 201, 76, .16), transparent 40%),
        rgba(255, 255, 255, .04);
    padding: 1.75rem;
    transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.case-card:hover {
    border-color: rgba(242, 201, 76, .4);
    background-color: rgba(255, 255, 255, .07);
    transform: translateY(-5px);
}

.case-card dl {
    flex: 1;
}

.case-card dt {
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

.case-card dd {
    margin-top: .35rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .8);
}

.promise-card {
    min-height: 15rem;
    border: 1px solid rgba(26, 35, 126, .1);
    border-radius: 1.1rem;
    background: linear-gradient(160deg, #fff, #FAFAF8);
    padding: 1.5rem;
}

.promise-card h3 {
    margin-top: 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.promise-card p {
    margin-top: .65rem;
    font-size: .82rem;
    line-height: 1.65;
    color: rgba(38, 50, 56, .65);
}

.insight-card {
    overflow: hidden;
    border: 1px solid rgba(26, 35, 126, .1);
    border-radius: 1.25rem;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.insight-card:hover {
    border-color: rgba(242, 201, 76, .55);
    box-shadow: 0 18px 38px rgba(26, 35, 126, .08);
    transform: translateY(-5px);
}

.insight-visual {
    position: relative;
    display: flex;
    height: 11rem;
    align-items: flex-end;
    gap: .7rem;
    overflow: hidden;
    padding: 1.5rem;
    background:
        radial-gradient(circle at 78% 20%, rgba(242, 201, 76, .35), transparent 28%),
        linear-gradient(145deg, #1A237E, #283593);
}

.insight-visual::after {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 24px 24px;
    content: "";
}

.insight-visual span {
    position: relative;
    z-index: 1;
    width: 18%;
    border-radius: .35rem .35rem 0 0;
    background: linear-gradient(180deg, #F2C94C, #283593);
}

.insight-visual span:nth-child(1) { height: 35%; opacity: .55; }
.insight-visual span:nth-child(2) { height: 58%; opacity: .75; }
.insight-visual span:nth-child(3) { height: 82%; }

.final-cta {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    background:
        radial-gradient(circle at 85% 20%, rgba(242, 201, 76, .35), transparent 25%),
        radial-gradient(circle at 70% 100%, rgba(40, 53, 147, .55), transparent 38%),
        #1A237E;
    padding: 3rem 1.5rem;
    box-shadow: 0 30px 70px rgba(26, 35, 126, .22);
}

.final-cta::after {
    position: absolute;
    top: -8rem;
    right: -4rem;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    content: "";
}

.reveal {
    opacity: 1;
    transform: none;
}

.js-reveal-ready .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}

.js-reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes orbit {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-1rem, 1.5rem, 0); }
}

@keyframes bars {
    from { transform: scaleY(.86); opacity: .7; }
    to { transform: scaleY(1); opacity: 1; }
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

@media (min-width: 768px) {
    .section-heading {
        grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
        align-items: end;
    }

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

    .process-step:nth-child(-n+3) .process-marker::after {
        position: absolute;
        left: 2.75rem;
        width: calc(100% - 1rem);
        height: 1px;
        background: linear-gradient(90deg, rgba(242, 201, 76, .7), rgba(26, 35, 126, .12));
        content: "";
    }

    .final-cta {
        padding: 4rem;
    }
}

@media (min-width: 1024px) {
    .section-space {
        padding: 7.5rem 0;
    }

    .process-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 1rem;
    }

    .process-step .process-marker::after {
        position: absolute;
        left: 2.75rem;
        width: calc(100% - .5rem);
        height: 1px;
        background: linear-gradient(90deg, rgba(242, 201, 76, .7), rgba(26, 35, 126, .12));
        content: "";
    }

    .process-step:last-child .process-marker::after {
        display: none;
    }

    .final-cta {
        padding: 5rem;
    }
}

@media (max-width: 640px) {
    .floating-chip {
        display: none;
    }

    .dashboard-shell {
        transform: none;
    }

    .technology-track {
        gap: 1.5rem;
    }

    .section-space {
        padding: 4.5rem 0;
    }

    .premium-card {
        min-height: 17rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-orb,
    .dashboard-bar,
    .technology-track {
        animation: none;
    }

    .js-reveal-ready .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
