/* =========================================================
   GLOBAL
========================================================= */

:root {
    --blue: #026DAF;
    --blue-dark: #004b7d;
    --yellow: #F0B700;
    --black: #07131c;
    --text: #12202b;
    --muted: #667580;
    --white: #ffffff;
    --light: #f7fafc;
    --border: rgba(2, 109, 175, 0.12);
    --shadow: 0 25px 70px rgba(10, 40, 60, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.section {
    padding: 120px 0;
}

.section-container,
.nav-container,
.hero-container,
.feature-container,
.cta-container,
.footer-container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 850px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 40%, rgba(2, 109, 175, .12), transparent 30%),
        radial-gradient(circle at 65% 80%, rgba(240, 183, 0, .10), transparent 25%),
        #fbfdff;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image:
        linear-gradient(rgba(2, 109, 175, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 109, 175, .05) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-top: 50px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(240, 183, 0, .12);
}

.hero h1 {
    max-width: 650px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(55px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -5px;
    margin-bottom: 28px;
}

.hero h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(100deg,
            var(--blue),
            #008fd1,
            var(--yellow));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero p {
    max-width: 550px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 23px;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg,
            var(--blue),
            #008bd0);
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 15px 35px rgba(2, 109, 175, .22);
    transition: .35s ease;
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(2, 109, 175, .3);
}

.primary-btn span {
    font-size: 18px;
}

.secondary-btn {
    padding: 15px 22px;
    border: 1px solid #d9e4ea;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    background: white;
    transition: .3s ease;
}

.secondary-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.hero-stats {
    display: flex;
    gap: 45px;
    margin-top: 55px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-stats strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 23px;
}

.hero-stats small {
    color: #89959c;
    font-size: 11px;
}


/* =========================================================
   HERO 3D VISUAL
========================================================= */

.hero-visual {
    min-height: 580px;
    position: relative;
    perspective: 1000px;
}

.code-card {
    width: 460px;
    height: 330px;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) rotateY(-10deg) rotateX(6deg);
    border-radius: 20px;
    background: rgba(7, 19, 28, .94);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow:
        35px 40px 80px rgba(0, 30, 50, .24),
        inset 0 1px rgba(255, 255, 255, .08);
    overflow: hidden;
    z-index: 5;
    transition: transform .2s ease;
}

.code-header {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 17px;
    background: rgba(255, 255, 255, .04);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #76828a;
}

.code-title {
    color: #87949d;
    font-size: 11px;
}

.code-menu {
    color: #77848c;
    font-size: 12px;
}

.code-body {
    padding: 25px;
    color: #dce6ec;
    font-family: monospace;
    font-size: 13px;
    line-height: 2.15;
}

.number {
    display: inline-block;
    width: 25px;
    color: #52616b;
}

.purple {
    color: #c084fc;
}

.blue {
    color: #38bdf8;
}

.yellow-text {
    color: #facc15;
}

.green {
    color: #4ade80;
}

.orange {
    color: #fb923c;
}

.property {
    color: #f1f5f9;
}

.cursor {
    display: inline-block;
    width: 7px;
    height: 15px;
    margin-left: 4px;
    background: var(--yellow);
    vertical-align: middle;
    animation: blink .8s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


/* FLOATING CARDS */

.floating-card {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 14px;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 50, 80, .12);
    animation: float 5s ease-in-out infinite;
}

.floating-card strong {
    display: block;
    font-size: 14px;
}

.floating-card small {
    display: block;
    margin-top: 2px;
    color: #7b8790;
    font-size: 9px;
}

.mini-icon,
.device-icon,
.secure-icon {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-weight: 800;
}

.mini-icon {
    color: #8a6500;
    background: rgba(240, 183, 0, .18);
}

.device-icon {
    color: var(--blue);
    background: rgba(2, 109, 175, .12);
}

.secure-icon {
    color: #159447;
    background: rgba(21, 148, 71, .12);
}

.speed-card {
    top: 70px;
    right: 5px;
}

.responsive-card {
    bottom: 110px;
    left: 0;
    animation-delay: 1s;
}

.secure-card {
    bottom: 35px;
    right: 55px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.orb-one {
    width: 180px;
    height: 180px;
    top: 40px;
    right: 60px;
    background: linear-gradient(135deg,
            rgba(2, 109, 175, .2),
            rgba(2, 109, 175, 0));
}

.orb-two {
    width: 140px;
    height: 140px;
    bottom: 50px;
    left: 60px;
    background: linear-gradient(135deg,
            rgba(240, 183, 0, .22),
            transparent);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    max-width: 700px;
    margin-bottom: 65px;
}

.section-heading h2,
.feature-content h2,
.tech-heading h2,
.cta-container h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -3px;
}

.section-heading h2 span,
.feature-content h2 span,
.tech-heading h2 span,
.cta-container h2 span {
    color: var(--blue);
}

.section-heading p {
    color: var(--muted);
    line-height: 1.8;
    margin-top: 20px;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    background: #f7fafc;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    min-height: 310px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: white;
    overflow: hidden;
    transition: .4s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -100px;
    top: -100px;
    border-radius: 50%;
    background: rgba(2, 109, 175, .07);
    transition: .4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    transform: scale(2);
}

.service-card.featured {
    color: white;
    background: linear-gradient(145deg,
            #005c94,
            #003e66);
    box-shadow: 0 25px 60px rgba(0, 76, 125, .22);
}

.service-card.featured p {
    color: #c4d8e4;
}

.service-card.featured a {
    color: var(--yellow);
}

.service-number {
    position: absolute;
    top: 25px;
    right: 28px;
    color: #aebcc4;
    font-size: 11px;
    font-weight: 700;
}

.featured .service-number {
    color: #9fc4d8;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 35px;
    border-radius: 15px;
    color: var(--blue);
    background: rgba(2, 109, 175, .09);
    font-weight: 800;
    font-family: monospace;
}

.featured .service-icon {
    color: var(--yellow);
    background: rgba(255, 255, 255, .1);
}

.service-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    margin-bottom: 13px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-card a {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   FEATURE
========================================================= */

.feature-section {
    padding: 130px 0;
    background: white;
}

.feature-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.feature-visual {
    min-height: 420px;
    display: grid;
    place-items: center;
    position: relative;
}

.feature-visual::before {
    content: "";
    position: absolute;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: linear-gradient(135deg,
            rgba(2, 109, 175, .13),
            rgba(240, 183, 0, .12));
    filter: blur(5px);
}

.dashboard {
    position: relative;
    z-index: 2;
    width: 470px;
    padding: 25px;
    border: 1px solid #dce7ed;
    border-radius: 25px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 30px 30px 80px rgba(0, 50, 80, .14);
    transform: rotateY(10deg) rotateX(5deg);
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 800;
}

.live {
    color: #16a05d;
    font-size: 9px;
}

.chart {
    height: 190px;
    position: relative;
    margin: 30px 0;
    overflow: hidden;
    border-bottom: 1px solid #e6edf1;
    background:
        linear-gradient(rgba(2, 109, 175, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 109, 175, .06) 1px, transparent 1px);
    background-size: 45px 45px;
}

.chart-line {
    position: absolute;
    left: 5%;
    top: 65%;
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg,
            var(--blue),
            #008bd0,
            var(--yellow));
    transform: rotate(-10deg);
    box-shadow: 0 0 15px rgba(2, 109, 175, .35);
}

.chart-point {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 6px rgba(2, 109, 175, .1);
}

.point-one {
    left: 10%;
    top: 67%;
}

.point-two {
    left: 30%;
    top: 58%;
}

.point-three {
    left: 52%;
    top: 47%;
}

.point-four {
    left: 70%;
    top: 38%;
}

.point-five {
    left: 88%;
    top: 25%;
    background: var(--yellow);
}

.dashboard-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.dashboard-bottom small {
    display: block;
    color: #87949d;
    font-size: 9px;
    margin-bottom: 5px;
}

.dashboard-bottom strong {
    font-size: 15px;
}

.feature-content p {
    color: var(--muted);
    line-height: 1.8;
    margin: 25px 0;
}

.feature-list {
    display: grid;
    gap: 17px;
}

.feature-list div {
    display: flex;
    align-items: center;
    gap: 13px;
}

.feature-list span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--blue);
    background: rgba(2, 109, 175, .1);
    font-size: 12px;
}

.feature-list strong {
    font-size: 13px;
}


/* =========================================================
   PROCESS
========================================================= */

.process {
    background: #f7fafc;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-item {
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: white;
    transition: .35s ease;
}

.process-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.process-item>span {
    display: block;
    color: var(--yellow);
    font-family: "Space Grotesk", sans-serif;
    font-size: 30px;
    margin-bottom: 50px;
}

.process-item h3 {
    font-family: "Space Grotesk", sans-serif;
    margin-bottom: 12px;
}

.process-item p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   TECHNOLOGY
========================================================= */

.technology {
    background: white;
}

.tech-heading {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: end;
    margin-bottom: 50px;
}

.tech-heading p {
    max-width: 400px;
    color: var(--muted);
    line-height: 1.7;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.tech {
    height: 100px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(145deg,
            #fff,
            #f7fafc);
    transition: .3s ease;
}

.tech span {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 15px;
}

.tech:hover {
    color: white;
    border-color: var(--blue);
    background: var(--blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(2, 109, 175, .2);
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: #06141e;
    color: white;
}

.cta-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(2, 109, 175, .35),
            transparent 70%);
}

.cta-container {
    position: relative;
    text-align: center;
}

.cta-badge {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50px;
    color: #9ab2c1;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.cta-container h2 {
    max-width: 800px;
    margin: auto;
}

.cta-container h2 span {
    color: var(--yellow);
}

.cta-container p {
    max-width: 560px;
    margin: 25px auto 35px;
    color: #9caeb9;
    line-height: 1.8;
}

.large {
    padding: 18px 27px;
}


 

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .hero-container {
        gap: 30px;
    }

    .hero h1 {
        font-size: 60px;
    }

    .code-card {
        width: 400px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 800px) {

    .navbar {
        position: absolute;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 90px;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        min-height: 500px;
        transform: scale(.9);
    }

    .feature-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .feature-content {
        text-align: center;
    }

    .feature-list {
        text-align: left;
        max-width: 450px;
        margin: auto;
    }

    .tech-heading {
        flex-direction: column;
        align-items: start;
    }

}


@media (max-width: 600px) {

    .section {
        padding: 80px 0;
    }

    .section-container,
    .nav-container,
    .hero-container,
    .feature-container,
    .cta-container,
    .footer-container {
        width: min(100% - 28px, 1180px);
    }

    .nav-btn {
        padding: 10px 14px;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -3px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stats strong {
        font-size: 18px;
    }

    .hero-visual {
        min-height: 420px;
        transform: scale(.78);
        margin-left: -40px;
        margin-right: -40px;
    }

    .code-card {
        top: 80px;
        width: 390px;
    }

    .service-grid,
    .process-grid,
    .tech-stack {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 280px;
    }

    .dashboard {
        width: 100%;
        transform: none;
    }

    .feature-visual::before {
        width: 300px;
        height: 300px;
    }

    .section-heading h2,
    .feature-content h2,
    .tech-heading h2,
    .cta-container h2 {
        font-size: 39px;
        letter-spacing: -2px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

}