:root {
    --bg: #030812;
    --card: #0a1426;
    --card2: #0d1c36;
    --line: #16335a;
    --blue: #0b77c3;
    --cyan: #38c6f4;
    --text: #fff;
    --mut: #b4c2d9;
    --f: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(900px 500px at 85% -5%,
            rgba(11, 119, 195, 0.22),
            transparent 60%),
        var(--bg);
    color: var(--mut);
    font: 400 16px/1.7 var(--f);
    overflow-x: hidden;
    padding: env(safe-area-inset-top, 0) 0 env(safe-area-inset-bottom, 0);
}

a {
    color: var(--cyan);
}

a:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

.w {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 30px 0;
    border-top: 1px solid var(--line);
    position: relative;
}

h1,
h2,
h3 {
    color: var(--text);
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(36px, 5.2vw, 62px);
    font-weight: 800;
}

h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 700;
    margin-bottom: 18px;
}

h3 {
    font-size: 20px;
    font-weight: 650;
    margin-bottom: 10px;
}

p {
    margin: 0 0 16px;
}

.top {
    padding: 16px 0;
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
    letter-spacing: 0.04em;
}

.top b {
    color: var(--cyan);
    font-weight: 700;
}

.k {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 14px;
}

.lede {
    font-size: 18px;
    max-width: 720px;
}

.g2,
.alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.g3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.g4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.mt {
    margin-top: 40px;
}

.card {
    background: linear-gradient(160deg, var(--card2), var(--card));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
    transition:
        transform 0.25s,
        border-color 0.25s,
        box-shadow 0.25s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--blue);
    box-shadow: 0 12px 36px rgba(11, 119, 195, 0.25);
}

.card p:last-child {
    margin-bottom: 0;
}

.n {
    color: var(--cyan);
}

.val,
.ben {
    font-size: 15px;
    color: var(--mut);
}

.val b,
.ben b,
.ka {
    color: var(--cyan);
}

.btn {
    display: inline-block;
    font-weight: 600;
    padding: 15px 26px;
    border-radius: 10px;
    text-decoration: none;
    margin: 6px 12px 6px 0;
    transition: 0.25s;
}

.bp {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 28px rgba(11, 119, 195, 0.4);
}

.bp:hover {
    background: #1590e6;
    transform: translateY(-2px);
}

.bg {
    color: var(--text);
    border: 1px solid var(--line);
}



.dl {
    display: grid;
    grid-template-columns: 170px 1fr;
    margin: 24px 0 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--card);
}

.dl dt,
.dl dd {
    margin: 0;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
}

.dl dt {
    color: var(--cyan);
    font-weight: 600;
    font-size: 14px;
}

.dl dd {
    color: var(--text);
}

.dl .hd {
    grid-column: 1/-1;
    background: rgba(11, 119, 195, 0.2);
    color: var(--text);
    font-weight: 700;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
}

.dl dt:nth-last-of-type(1),
.dl dd:last-child {
    border-bottom: 0;
}

.alt {
    margin-bottom: 72px;
}

.alt:last-child {
    margin-bottom: 0;
}

.alt.f .at {
    order: 2;
}

.big {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: var(--cyan);
    margin-bottom: 14px;
}

.step {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
}

ul.cl {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.cl li {
    padding: 7px 0 7px 22px;
    position: relative;
    border-bottom: 1px solid var(--line);
}

ul.cl li:last-child {
    border: 0;
}

ul.cl li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--cyan);
}

.tech img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 3px;
    flex: none;
}

.tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tech span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    background: rgba(11, 119, 195, 0.14);
    color: var(--text);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 500;
}

.shot .shot {
    padding: 18px 18px 24px;
}

.cta {
    background: linear-gradient(135deg, #0b77c3, #08365f 70%);
    border-radius: 22px;
    padding: 60px;
    border: 1px solid rgba(56, 198, 244, 0.35);
    box-shadow: 0 20px 60px rgba(11, 119, 195, 0.3);
}

.cta p {
    color: #e6f2fc;
    max-width: 760px;
}

.cta .bp {
    background: #fff;
    color: #06365e;
    box-shadow: none;
}

.cta .bg {
    border-color: rgba(255, 255, 255, 0.5);
}

.sum {
    font-size: 19px;
    color: var(--text);
}

footer {
    border-top: 1px solid var(--line);
    padding: 26px 0;
    font-size: 14px;
}

@media (max-width: 900px) {

    .g2,
    .alt {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .alt.f .at {
        order: 0;
    }

    .g3 {
        grid-template-columns: 1fr 1fr;
    }

    section {
        padding: 64px 0;
    }
}

@media (max-width: 600px) {
    .g3 {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 34px 22px;
    }

    .dl {
        grid-template-columns: 1fr;
    }

    .dl dt {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .card {
        padding: 22px;
    }

    .btn {
        display: block;
        text-align: center;
        margin-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ===== IMAGE FIGURES (phone screenshots, 1300x1827 webp) ===== */
.fig {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 70% 12%,
            rgba(56, 198, 244, 0.24),
            transparent 55%),
        linear-gradient(160deg, #0b1b36, #04101f);
    padding: 28px 20px;
    overflow: hidden;
    isolation: isolate;
}

.fig img {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    aspect-ratio: 1300/1827;
    object-fit: contain;
    mix-blend-mode: lighten;
}

.fig.hero {
    max-width: 480px;
    margin-left: auto;
}

.fig.hero img {
    max-width: 360px;
}

.fig.s {
    padding: 14px;
    margin-bottom: 16px;
}

.fig.s img {
    max-width: 250px;
}

.fig.duo img,
.fig.trio img {
    max-width: none;
    flex: 0 0 auto;
}

.fig.duo img {
    width: 46%;
}

.fig.duo img:nth-child(2) {
    transform: translateY(28px);
}

.fig.trio img {
    width: 32%;
}

.fig.trio img:nth-child(2) {
    transform: translateY(-22px);
}

.shot {
    padding: 18px 18px 24px;
}

@media (max-width: 900px) {
    .fig.hero {
        margin: 0 auto;
    }

    .fig img {
        max-width: 300px;
    }

    .fig.s img {
        max-width: 260px;
    }
}

@media (max-width: 600px) {
    .fig {
        padding: 20px 12px;
    }

    .fig.duo,
    .fig.trio {
        gap: 8px;
    }
}

/* scroll reveal (class added by script.js, so the page works without JS) */
.js .rv {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.js .rv.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js .rv {
        opacity: 1;
        transform: none;
    }
}

/* image figures: phone mockups blend into the glow panel */
.fig {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 70% 12%,
            rgba(56, 198, 244, 0.24),
            transparent 55%),
        linear-gradient(160deg, #0b1b36, #04101f);
    padding: 28px 20px;
    overflow: hidden;
}

.fig img {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    aspect-ratio: 1300/1827;
    mix-blend-mode: lighten;
}

.fig.hero {
    max-width: 480px;
    margin-left: auto;
}

.fig.hero img {
    max-width: 360px;
}

.fig.s {
    padding: 14px;
    margin-bottom: 16px;
}

.fig.s img {
    max-width: 250px;
}

.fig.duo img,
.fig.trio img {
    max-width: none;
}

.fig.duo img {
    width: 46%;
}

.fig.duo img:nth-child(2) {
    transform: translateY(28px);
}

.fig.trio img {
    width: 32%;
}

.fig.trio img:nth-child(2) {
    transform: translateY(-22px);
}

/* ===== TECH SECTION: center the last (7th) card & style media ===== */
#tech .g3 {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

#tech .g3>.card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 18px;
}

/* last card sits alone on its row, so place it in the middle columns */
#tech .g3>.card:last-child:nth-child(3n + 1) {
    grid-column: 3 / span 2;
}

#tech .tech-media {
    width: 100%;
    height: 190px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 70% 12%, rgba(56, 198, 244, 0.2), transparent 60%),
        radial-gradient(circle at 20% 88%, rgba(11, 119, 195, 0.25), transparent 65%),
        #050e1f;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

#tech .tech-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.35s ease;
}

#tech .card:hover .tech-media img {
    transform: scale(1.05);
}

#tech .card h3 {
    font-size: 20px;
    font-weight: 650;
    margin-bottom: 16px;
    color: var(--text);
}

#tech .card .tech {
    margin-top: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#tech .tech span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    background: rgba(11, 119, 195, 0.14);
    color: var(--text);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 500;
}

#tech .tech img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 3px;
    flex: none;
}

/* Tablet: 2 columns, last card centered */
@media (max-width: 900px) {
    #tech .g3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    #tech .g3>.card {
        grid-column: auto;
    }

    #tech .g3>.card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 10px);
    }

    #tech .tech-media {
        height: 180px;
    }
}

/* Mobile: single column, normal full-width card */
@media (max-width: 600px) {
    #tech .g3 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #tech .g3>.card {
        padding: 20px;
    }

    #tech .g3>.card:last-child:nth-child(odd) {
        width: 100%;
    }

    #tech .tech-media {
        height: 200px;
        margin-bottom: 16px;
    }
}

button.btn {
    border: 0;
    cursor: pointer;
    font-family: var(--f);
    font-size: 16px;
    line-height: 1.7;
}

.cta button.bp {
    background: #fff;
    color: #06365e;
    box-shadow: none;
}

/* ===== HERO: "Know more Services" button ===== */
#hero .btn.bg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: rgba(11, 119, 195, 0.12);
    border: 1px solid var(--cyan);
    border-radius: 10px;
    padding: 15px 26px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.25s,
        color 0.25s,
        border-color 0.25s,
        transform 0.25s,
        box-shadow 0.25s;
}

/* arrow after the text */
#hero .btn.bg::after {
    content: "→";
    transition: transform 0.25s;
}

#hero .btn.bg:hover {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #031427;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(56, 198, 244, 0.35);
}

#hero .btn.bg:hover::after {
    transform: translateX(4px);
}

#hero .btn.bg:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

/* mobile: full width, matches the other button */
@media (max-width: 600px) {
    #hero .btn.bg {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}