:root {
    --blue: #245BFF;
    --dark: #071122;
    --text: #101828;
    --muted: #667085;
    --soft: #f4f7ff;
    --line: #e9edf6
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: #fff
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    width: min(1180px, 92%);
    margin: auto
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: rgba(7, 17, 34, .18);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease, backdrop-filter .3s ease
}

.site-header.scrolled {
    background: rgba(7, 17, 34, .18);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .08)
}

.nav-wrap {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand img {
    width: 190px;
    display: block;
    transition: opacity .3s ease
}

.brand img.logo-default {
    display: none
}

.brand img.logo-scrolled {
    display: block
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-weight: 700;
    color: #fff
}

.main-nav a,
.dropdown button {
    font: inherit;
    background: 0;
    border: 0;
    cursor: pointer;
    color: #fff;
    transition: color .3s ease
}

.scrolled .main-nav,
.scrolled .main-nav>a,
.scrolled .dropdown>button {
    color: #fff
}

.site-header.over-light {
    background: rgba(255, 255, 255, .68);
    border-bottom: 1px solid rgba(13, 30, 80, .1);
    box-shadow: 0 8px 32px rgba(13, 30, 80, .08)
}

.site-header.over-light .brand img.logo-default {
    display: block
}

.site-header.over-light .brand img.logo-scrolled {
    display: none
}

.site-header.over-light .main-nav,
.site-header.over-light .main-nav>a,
.site-header.over-light .dropdown>button {
    color: #172036
}

.site-header.over-light .menu-toggle span {
    background: #172036
}

.dropdown {
    position: relative
}

.dropdown>button::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
    margin-left: 7px;
    transition: transform .2s ease
}

.dropdown:hover>button::after {
    transform: rotate(225deg) translateY(-3px)
}

.dropdown-menu {
    position: absolute;
    top: 35px;
    left: -22px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(13, 30, 80, .15);
    padding: 14px;
    min-width: 420px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.dropdown-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #344054
}

.dropdown-menu.product-menu a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
}

.dropdown-menu.product-menu a .product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #eef3ff;
    color: var(--blue);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.dropdown-menu.product-menu a strong {
    display: block;
    font-weight: 700;
}

.dropdown-menu.product-menu a span {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    color: #667085;
    line-height: 1.4;
    font-weight: normal;
}

@media(max-width:560px) {
    .dropdown-menu.product-menu a span {
        display: none;
    }
}

@media(max-width:900px) {
    .dropdown-menu.product-menu a {
        padding: 10px 12px;
    }
}

.dropdown-menu a:hover {
    background: #eef3ff;
    color: var(--blue)
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    margin: 5px;
    border-radius: 10px;
    transition: background .3s ease
}

.site-header.scrolled:not(.over-light) .menu-toggle span {
    background: #fff
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(125deg, #071122 0%, #0c1f4c 25%, #245BFF 55%, #0c1f4c 75%, #071122 100%);
    background-size: 300% 300%;
    animation: hero-bg-shift 16s ease-in-out infinite;
    color: white;
    padding: 203px 0 120px
}

@keyframes hero-bg-shift {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    will-change: transform
}

.glow-1 {
    width: 620px;
    height: 620px;
    background: rgba(255, 255, 255, .15);
    top: -180px;
    right: 8%;
    animation: glow-drift 14s ease-in-out infinite
}

.glow-2 {
    width: 520px;
    height: 520px;
    background: rgba(36, 91, 255, .6);
    bottom: -160px;
    left: -80px;
    animation: glow-drift 18s ease-in-out infinite reverse
}

.glow-3 {
    width: 320px;
    height: 320px;
    background: rgba(36, 91, 255, .28);
    top: 40%;
    left: 38%;
    animation: glow-drift 11s ease-in-out infinite 3s
}

@keyframes glow-drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    33% {
        transform: translate(55px, -45px) scale(1.08)
    }

    66% {
        transform: translate(-35px, 40px) scale(.93)
    }
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 60px;
    align-items: center
}

.eyebrow {
    font-family: Inter, Arial, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
    color: #aac2ff
}

.blue {
    color: var(--blue)
}

h1 {
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(32px, 5vw, 62px);
    line-height: 1.05;
    margin: 12px 0 22px;
    letter-spacing: -.04em;
    font-weight: 900;
    max-width: 800px
}

.hero-line {
    font-size: 21px;
    color: #d8e3ff;
    margin-bottom: 34px;
    min-height: 1.5em
}

.hero-line .typewriter-highlight {
    color: white;
    font-weight: 900
}

.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #fff;
    margin-left: 4px;
    vertical-align: -.12em;
    animation: cursor-blink .85s steps(2, start) infinite
}

@keyframes cursor-blink {

    0%,
    45% {
        opacity: 1
    }

    46%,
    100% {
        opacity: 0
    }
}

.primary-btn,
.contact-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: white;
    border: 0;
    border-radius: 999px;
    padding: 16px 32px;
    font-weight: 900;
    box-shadow: 0 18px 35px rgba(36, 91, 255, .35);
    cursor: pointer
}

.hero-card {
    position: relative;
    min-height: 390px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 36px;
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 35px 90px rgba(0, 0, 0, .24);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
    overflow: hidden
}

.hero-card img {
    width: 100%;
    max-width: 520px;
    position: relative;
    z-index: 2
}

.hero-card p {
    font-size: 20px;
    color: #dce7ff;
    position: relative;
    z-index: 2
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    will-change: transform
}

.orb-1 {
    width: 190px;
    height: 190px;
    background: #245BFF;
    right: -60px;
    top: -60px;
    animation: orb-float 9s ease-in-out infinite
}

.orb-2 {
    width: 130px;
    height: 130px;
    background: #fff;
    opacity: .12;
    left: 30px;
    bottom: 20px;
    animation: orb-float 12s ease-in-out infinite reverse
}

@keyframes orb-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    50% {
        transform: translate(-18px, 14px) scale(1.09)
    }
}

.services {
    padding: 110px 0;
    background: #fff
}

.section-head {
    text-align: center;
    margin-bottom: 45px
}

.section-head h2,
.testimonial-intro h2,
.contact h2 {
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    margin: 10px 0;
    font-weight: 900;
    letter-spacing: -.03em
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px
}

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 18px 55px rgba(16, 24, 40, .07);
    min-height: 345px;
    transition: .25s
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 75px rgba(16, 24, 40, .12)
}

.service-card.dark {
    background: #071122;
    color: white
}

.service-card.blue-card {
    background: var(--blue);
    color: white
}

.icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: #edf3ff;
    color: var(--blue);
    border-radius: 18px;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 22px
}

.dark .icon,
.blue-card .icon {
    background: rgba(255, 255, 255, .16);
    color: white
}

.service-card h3 {
    font-size: 22px;
    margin: 0 0 12px
}

.service-card h4 {
    font-size: 18px;
    margin: 22px 0 10px
}

.service-card p {
    color: var(--muted);
    line-height: 1.72
}

.dark p,
.blue-card p {
    color: rgba(255, 255, 255, .78)
}

.testimonials {
    background: #f6f8ff;
    padding: 105px 0
}

.testimonial-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 52px;
    align-items: start
}

.testimonial-intro p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.8
}

.reviews {
    display: grid;
    gap: 20px
}

.review {
    background: white;
    border-radius: 28px;
    padding: 26px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 18px 55px rgba(16, 24, 40, .08);
    border: 1px solid #edf0f7
}

.review.active {
    border: 2px solid rgba(36, 91, 255, .25)
}

.review img {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(1);
    flex-shrink: 0
}

.avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: #dce8ff;
    color: var(--blue);
    font-size: 28px;
    font-weight: 900
}

.review h3 {
    margin: 0 0 4px;
    font-size: 18px
}

.role {
    margin: 0 0 12px !important;
    color: #667085 !important;
    font-weight: 700
}

.review p {
    line-height: 1.7;
    margin: 0 0 10px;
    color: #344054
}

.review small {
    color: var(--blue);
    font-weight: 900
}

.contact {
    padding: 110px 0;
    background: #fff
}

.contact-solo {
    max-width: 620px
}

.contact p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8
}

.contact-list {
    padding: 0;
    margin: 30px 0 0;
    list-style: none;
    display: grid;
    gap: 18px;
    font-weight: 700
}

.contact-list span {
    display: inline-grid;
    place-items: center;
    width: 25px;
    height: 25px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    font-size: 13px;
    margin-right: 10px
}

.contact-list {
    margin-bottom: 32px
}

.footer {
    background: #050b18;
    color: white;
    padding: 70px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 42px
}

.footer-brand img {
    width: 260px;
    max-width: 100%;
    margin-bottom: 18px
}

.footer p {
    color: #aeb8cf
}

.footer h3 {
    margin: 0 0 18px
}

.footer a {
    display: block;
    color: #b7c0d8;
    margin: 11px 0
}

.socials {
    display: flex;
    gap: 14px;
    margin-top: 18px
}

.socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    transition: background .2s ease
}

.socials a:hover {
    background: var(--blue)
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 50px;
    padding: 24px;
    color: #9aa6c2
}

@media(max-width:900px) {
    .menu-toggle {
        display: block
    }

    .main-nav {
        position: absolute;
        top: 88px;
        left: 4%;
        right: 4%;
        background: rgba(7, 17, 34, .96);
        border-radius: 20px;
        box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
        padding: 20px;
        display: none;
        flex-direction: column;
        align-items: flex-start
    }

    .main-nav.open {
        display: flex
    }

    .site-header.over-light .main-nav.open,
    .site-header.over-light .main-nav.open>a,
    .site-header.over-light .main-nav.open .dropdown>button {
        color: #fff
    }

    .dropdown-menu {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        padding-left: 0;
        width: auto;
        max-width: 320px;
        margin-top: 10px;
    }

    .dropdown.open .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown>button {
        width: 100%;
        text-align: left;
        padding: 12px 0;
    }

    .hero-grid,
    .testimonial-grid,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .service-grid {
        grid-template-columns: 1fr
    }

    .hero {
        padding: 158px 0 80px
    }

    .brand img {
        width: 160px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .nav-wrap {
        height: 78px
    }
}

@media(max-width:560px) {
    h1 {
        font-size: 38px
    }

    .hero-line {
        font-size: 13px
    }

    .hero-card {
        display: none
    }

    .review {
        flex-direction: column
    }

    .footer-grid {
        grid-template-columns: 1fr
    }
}

/* ── Client Logos ── */
.clients {
    padding: 72px 0;
    background: var(--soft);
    border-bottom: 1px solid var(--line)
}

.clients-copy {
    text-align: center;
    margin: 0 auto 28px;
    max-width: 900px
}

.clients-copy h2 {
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
    margin: 0 0 6px;
    letter-spacing: -.04em;
    font-weight: 900;
    color: var(--dark)
}

.clients-copy p {
    font-size: 21px;
    line-height: 1.35;
    color: #667085;
    margin: 0
}

.clients-label {
    text-align: center;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0 0 48px
}

.logo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 52px;
    flex-wrap: nowrap;
    min-height: 170px;
    padding: 22px 0
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 145px
}

.logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

@media(min-width:901px) {
    .hero {
        min-height: 100vh;
        padding: 104px 0 64px;
        display: flex;
        align-items: center
    }

    .hero-grid {
        gap: 48px
    }

    .hero h1 {
        font-size: clamp(36px, 4.4vw, 58px);
        margin-bottom: 18px
    }

    .hero-line {
        margin-bottom: 28px
    }

    .hero-card {
        min-height: 310px;
        padding: 34px;
        border-radius: 28px
    }

    .hero-card img {
        max-width: 440px
    }

    .clients {
        min-height: 250px;
        padding: 48px 0 58px
    }

    .clients-copy {
        margin-bottom: 22px
    }

    .clients-copy h2 {
        font-size: clamp(30px, 3.4vw, 46px);
        margin-bottom: 4px
    }

    .clients-copy p {
        font-size: 18px
    }

    .clients-label {
        font-size: clamp(18px, 1.8vw, 24px);
        margin-bottom: 24px
    }

    .logo-strip {
        min-height: 190px;
        gap: clamp(18px, 2.8vw, 34px);
        padding: 28px 0
    }

    .logo-item {
        width: clamp(140px, 16vw, 205px);
        height: 112px
    }
}

@media(min-width:901px) and (max-height:740px) {
    .nav-wrap {
        height: 76px
    }

    .brand img {
        width: 168px
    }

    .hero {
        min-height: 100vh;
        padding: 82px 0 44px
    }

    .hero h1 {
        font-size: clamp(32px, 4vw, 50px);
        margin-bottom: 14px
    }

    .hero-line {
        font-size: 18px;
        margin-bottom: 22px
    }

    .primary-btn,
    .contact-form button {
        padding: 13px 26px
    }

    .hero-card {
        min-height: 250px;
        padding: 28px
    }

    .hero-card p {
        font-size: 17px
    }

    .clients {
        min-height: 210px;
        padding: 38px 0 44px
    }

    .clients-copy {
        margin-bottom: 16px
    }

    .clients-copy h2 {
        font-size: clamp(26px, 2.8vw, 36px);
        margin-bottom: 4px
    }

    .clients-copy p {
        font-size: 16px
    }

    .clients-label {
        font-size: clamp(16px, 1.6vw, 20px);
        margin-bottom: 18px
    }

    .logo-strip {
        min-height: 150px;
        gap: clamp(14px, 2vw, 28px);
        padding: 24px 0
    }

    .logo-item {
        width: clamp(126px, 14vw, 172px);
        height: 92px
    }
}

@media(max-width:900px) {
    .logo-strip {
        gap: 24px;
        flex-wrap: wrap
    }
}

@media(max-width:560px) {
    .logo-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
        justify-items: center
    }

    .logo-strip .logo-item:nth-child(5) {
        grid-column: 1/-1
    }

    .logo-item {
        width: 100%;
        height: 100px
    }

    .logo-item img {
        width: 100%;
        height: 100%;
        object-fit: contain
    }
}