/* =========================================================
   MASTERDEV
   Premium Technology Website
========================================================= */
:root {
    --bg: #05070b;
    --bg-soft: #090d14;
    --card: rgba(255,255,255,0.035);
    --card-hover: rgba(255,255,255,0.065);
    --white: #f5f7fb;
    --muted: #8c96a8;
    --muted-light: #b7bfcc;
    --blue: #4f8cff;
    --cyan: #22d3ee;
    --purple: #8b5cf6;
    --border: rgba(255,255,255,0.09);
    --container: 1240px;
    --radius: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background: var(--bg);
    color: var(--white);
    line-height: 1.8;
    overflow-x: hidden;
}

body,
button,
input,
textarea {
    font-family: "Vazirmatn", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    cursor: pointer;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}


/* =========================================================
   BACKGROUND
========================================================= */

.grid-background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .25;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
    z-index: -3;
}

.page-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    opacity: .13;
    z-index: -2;
}

.glow-one {
    background: var(--blue);
    top: -250px;
    right: -150px;
}

.glow-two {
    background: var(--purple);
    bottom: -250px;
    left: -150px;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: .3s;
}

    .header.scrolled {
        background: rgba(5,7,11,.75);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
    }

.navbar {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(79,140,255,.4);
    border-radius: 10px;
    color: var(--cyan);
    background: rgba(79,140,255,.08);
    font-size: 13px;
}

.logo-text {
    font-size: 20px;
}

    .logo-text span {
        color: var(--blue);
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-right: auto;
    margin-left: auto;
}

    .nav-links a {
        color: var(--muted);
        font-size: 14px;
        transition: .25s;
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--white);
        }

.nav-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 13px;
    background: rgba(255,255,255,.035);
    transition: .3s;
}

    .nav-button:hover {
        border-color: rgba(79,140,255,.5);
        background: rgba(79,140,255,.08);
    }

    .nav-button span {
        color: var(--cyan);
    }

.menu-toggle {
    display: none;
    background: transparent;
    width: 42px;
}

    .menu-toggle span {
        display: block;
        height: 2px;
        background: white;
        margin: 6px 0;
    }


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 110px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 13px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: rgba(255,255,255,.025);
    color: var(--muted-light);
    font-size: 12px;
    margin-bottom: 25px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #35e58a;
    box-shadow: 0 0 15px #35e58a;
}

.hero h1 {
    font-size: clamp(48px, 5.2vw, 78px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -2px;
    max-width: 700px;
}

.gradient-text {
    display: inline-block;
    background: linear-gradient(100deg, var(--blue), var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 620px;
    color: var(--muted);
    font-size: 16px;
    margin-top: 25px;
    line-height: 2.1;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 600;
    transition: .3s;
}

.btn-primary {
    background: linear-gradient(100deg, #3e7cf5, #5b8dfd);
    box-shadow: 0 15px 40px rgba(79,140,255,.18);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 50px rgba(79,140,255,.3);
    }

.btn-outline {
    border: 1px solid var(--border);
    background: rgba(255,255,255,.025);
    color: var(--muted-light);
}

    .btn-outline:hover {
        border-color: rgba(255,255,255,.25);
        color: white;
    }

.hero-trust {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 42px;
}

.trust-avatars {
    display: flex;
    direction: ltr;
}

    .trust-avatars span {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        margin-left: -8px;
        border: 2px solid var(--bg);
        background: #111827;
        color: var(--muted-light);
        font-size: 9px;
    }

        .trust-avatars span:last-child {
            background: rgba(79,140,255,.2);
            color: var(--cyan);
        }

.hero-trust strong,
.hero-trust small {
    display: block;
}

.hero-trust strong {
    font-size: 12px;
}

.hero-trust small {
    color: var(--muted);
    font-size: 10px;
}


/* HERO VISUAL */

.hero-visual {
    min-height: 600px;
    position: relative;
    display: grid;
    place-items: center;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(79,140,255,.1);
    border-radius: 50%;
}

.orbit-one {
    width: 550px;
    height: 550px;
}

.orbit-two {
    width: 410px;
    height: 410px;
    border-color: rgba(34,211,238,.09);
}

.code-card {
    width: min(510px, 90%);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(10,14,23,.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0,0,0,.45), 0 0 80px rgba(79,140,255,.07);
    position: relative;
    z-index: 2;
}

.code-header {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid var(--border);
    color: #697386;
    font-size: 10px;
    direction: ltr;
}

.window-dots {
    display: flex;
    gap: 6px;
}

    .window-dots i {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #303744;
    }

.code-content {
    padding: 30px;
    direction: ltr;
    text-align: left;
    overflow: auto;
}

    .code-content pre {
        font-family: Consolas, monospace;
        font-size: 13px;
        line-height: 2;
        color: #d7deea;
    }

.code-purple {
    color: #c084fc;
}

.code-blue {
    color: #67e8f9;
}

.code-yellow {
    color: #facc15;
}

.code-green {
    color: #86efac;
}

.code-comment {
    color: #596579;
}

.code-status {
    height: 42px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    color: #718096;
    font-size: 9px;
    direction: ltr;
}

    .code-status .status-dot {
        width: 6px;
        height: 6px;
    }

.status-line {
    flex: 1;
}

.floating-card {
    position: absolute;
    z-index: 4;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(12,17,27,.8);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
    animation: float 5s ease-in-out infinite;
}

    .floating-card strong,
    .floating-card small {
        display: block;
    }

    .floating-card strong {
        font-size: 11px;
    }

    .floating-card small {
        color: var(--muted);
        font-size: 8px;
    }

.floating-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--cyan);
    background: rgba(34,211,238,.08);
}

.card-top {
    top: 100px;
    right: 20px;
}

.card-bottom {
    bottom: 100px;
    left: 20px;
    animation-delay: -2s;
}

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #566071;
    font-size: 8px;
    letter-spacing: 2px;
}

    .hero-scroll i {
        display: block;
        width: 1px;
        height: 35px;
        background: linear-gradient(var(--blue), transparent);
    }


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 140px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 65px;
}

    .section-heading.centered {
        text-align: center;
        margin-inline: auto;
    }

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cyan);
    font-size: 11px;
    margin-bottom: 18px;
    font-weight: 600;
}

    .section-label span {
        color: #667085;
        font-family: monospace;
    }

.section-heading h2,
.about-content h2 {
    font-size: clamp(35px, 4vw, 55px);
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -1px;
}

    .section-heading h2 span,
    .about-content h2 span {
        color: var(--blue);
    }

.section-heading p {
    color: var(--muted);
    margin-top: 18px;
    max-width: 650px;
}


/* =========================================================
   SERVICES
========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    position: relative;
    min-height: 330px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    overflow: hidden;
    transition: .4s;
}

    .service-card::after {
        content: "";
        position: absolute;
        width: 200px;
        height: 200px;
        background: var(--blue);
        filter: blur(100px);
        opacity: 0;
        transition: .4s;
        top: -100px;
        left: -100px;
    }

    .service-card:hover {
        transform: translateY(-8px);
        background: var(--card-hover);
        border-color: rgba(79,140,255,.2);
    }

        .service-card:hover::after {
            opacity: .12;
        }

    .service-card.featured {
        border-color: rgba(79,140,255,.25);
    }

.service-number {
    position: absolute;
    left: 25px;
    top: 25px;
    color: #343d4d;
    font-family: monospace;
    font-size: 11px;
}

.service-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: rgba(79,140,255,.08);
    color: var(--cyan);
    font-size: 18px;
    margin-bottom: 30px;
}

.service-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

    .service-tags span {
        padding: 4px 9px;
        border-radius: 6px;
        background: rgba(255,255,255,.035);
        color: #7d8798;
        font-size: 9px;
    }

.service-link {
    position: absolute;
    bottom: 25px;
    left: 30px;
    color: var(--cyan);
    font-size: 10px;
    opacity: .8;
}


/* =========================================================
   STATS
========================================================= */

.stats-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.015);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.stat {
    padding: 55px 25px;
    text-align: center;
    border-left: 1px solid var(--border);
}

    .stat:first-child {
        border-left: 0;
    }

    .stat strong {
        display: block;
        font-size: 42px;
        font-weight: 800;
        background: linear-gradient(100deg, var(--white), var(--blue));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .stat span {
        color: var(--muted);
        font-size: 11px;
    }


/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.all-projects {
    border-bottom: 1px solid var(--blue);
    padding-bottom: 5px;
    color: var(--muted-light);
    font-size: 11px;
    white-space: nowrap;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
}

.portfolio-card.large {
    grid-row: span 2;
}

.portfolio-image {
    position: relative;
    height: 290px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: #0c111b;
}

.portfolio-card.large .portfolio-image {
    height: 598px;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,7,11,.72);
    backdrop-filter: blur(4px);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: .4s;
}

    .portfolio-overlay span {
        padding: 10px 18px;
        border: 1px solid rgba(255,255,255,.2);
        border-radius: 10px;
        background: rgba(255,255,255,.08);
        font-size: 11px;
    }

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}


/* Fake website preview */

.browser-bar {
    height: 30px;
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

    .browser-bar span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #3b4350;
    }

.fake-site {
    padding: 22px;
}

.fake-nav {
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg,#29364c,#162133);
    border-radius: 5px;
}

.fake-hero {
    height: 280px;
    margin-top: 20px;
    border-radius: 12px;
    background: radial-gradient(circle at 70% 40%, rgba(34,211,238,.25), transparent 20%), linear-gradient(130deg,#101b2e,#0b101b);
}

.fake-products {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

    .fake-products i {
        height: 80px;
        flex: 1;
        background: #111827;
        border-radius: 8px;
    }

.dashboard {
    display: flex;
    height: 100%;
}

.dash-sidebar {
    width: 80px;
    border-left: 1px solid rgba(255,255,255,.05);
    background: #090e17;
}

.dash-content {
    flex: 1;
    padding: 25px;
}

.dash-title {
    height: 13px;
    width: 120px;
    background: #273247;
    border-radius: 4px;
}

.dash-boxes {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

    .dash-boxes i {
        flex: 1;
        height: 70px;
        background: linear-gradient(135deg,#142039,#101725);
        border: 1px solid rgba(255,255,255,.05);
        border-radius: 9px;
    }

.dash-chart {
    height: 110px;
    margin-top: 15px;
    border-radius: 9px;
    background: linear-gradient(transparent 95%,rgba(255,255,255,.04) 95%), linear-gradient(90deg,transparent 95%,rgba(255,255,255,.04) 95%);
    background-size: 30px 30px;
}

.landing-preview {
    height: 100%;
    padding: 25px;
    position: relative;
    background: linear-gradient(140deg,#111827,#0a0f19);
}

.lp-header {
    height: 10px;
    width: 100%;
    background: #273247;
    border-radius: 4px;
}

.lp-content {
    position: absolute;
    top: 40%;
    right: 25px;
}

.lp-text {
    width: 170px;
    height: 40px;
    background: linear-gradient(#35445e 30%,transparent 30%,transparent 55%,#202c40 55%);
}

.lp-button {
    width: 75px;
    height: 20px;
    margin-top: 15px;
    background: #3f7ff2;
    border-radius: 4px;
}

.lp-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    left: 50px;
    top: 60px;
    border: 1px solid rgba(79,140,255,.3);
    box-shadow: inset 0 0 80px rgba(79,140,255,.1);
}

.portfolio-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 5px;
}

.portfolio-category {
    color: var(--cyan);
    font-size: 9px;
}

.portfolio-info h3 {
    margin-top: 3px;
    font-size: 14px;
}

.portfolio-arrow {
    color: #667085;
    font-size: 18px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background: rgba(255,255,255,.012);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
}

.about-visual {
    height: 500px;
    position: relative;
    display: grid;
    place-items: center;
}

.about-orbit {
    width: 370px;
    height: 370px;
    border: 1px solid rgba(79,140,255,.12);
    border-radius: 50%;
    box-shadow: 0 0 100px rgba(79,140,255,.04), inset 0 0 100px rgba(79,140,255,.03);
}

.about-logo {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 30px;
}

    .about-logo span {
        color: var(--blue);
    }

    .about-logo strong {
        font-size: 55px;
    }

.about-badge {
    position: absolute;
    padding: 9px 14px;
    border: 1px solid var(--border);
    background: rgba(9,13,20,.8);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .about-badge strong {
        color: var(--cyan);
    }

    .about-badge span {
        color: var(--muted);
        font-size: 10px;
    }

.badge-one {
    top: 50px;
    right: 10px;
}

.badge-two {
    bottom: 60px;
    right: 40px;
}

.badge-three {
    top: 180px;
    left: 0;
}

.about-content > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 2.2;
    margin-top: 20px;
}

.about-features {
    margin: 28px 0;
}

    .about-features div {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 10px 0;
    }

    .about-features span {
        color: var(--cyan);
    }

    .about-features p {
        color: var(--muted-light);
        font-size: 11px;
    }


/* =========================================================
   PROCESS
========================================================= */

.process-section {
    overflow: hidden;
}

.process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
}

.process-line {
    position: absolute;
    top: 29px;
    right: 10%;
    left: 10%;
    height: 1px;
    background: linear-gradient(90deg,transparent,var(--blue),transparent);
    opacity: .4;
}

.process-item {
    position: relative;
    text-align: center;
}

.process-number {
    width: 58px;
    height: 58px;
    margin: 0 auto 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid rgba(79,140,255,.35);
    color: var(--cyan);
    font-family: monospace;
    font-size: 12px;
    position: relative;
    z-index: 2;
}

.process-item h3 {
    font-size: 14px;
    margin-bottom: 10px;
}

.process-item p {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.9;
}


/* =========================================================
   TECHNOLOGIES
========================================================= */

.tech-section {
    padding: 70px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tech-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.tech-title {
    min-width: 250px;
}

    .tech-title span {
        color: var(--cyan);
        font-size: 9px;
        letter-spacing: 3px;
    }

    .tech-title h2 {
        font-size: 18px;
        margin-top: 8px;
    }

.tech-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

    .tech-list span {
        padding: 9px 13px;
        border: 1px solid var(--border);
        border-radius: 8px;
        color: #8993a5;
        font-size: 10px;
        background: rgba(255,255,255,.02);
    }


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 130px 0;
}

.cta-box {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(79,140,255,.2);
    background: radial-gradient(circle at 80% 50%, rgba(79,140,255,.18), transparent 35%), linear-gradient(120deg,#0b1220,#080c14);
    display: flex;
    align-items: center;
    padding: 70px;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.cta-label {
    color: var(--cyan);
    font-size: 9px;
    letter-spacing: 3px;
}

.cta-content h2 {
    font-size: clamp(40px,5vw,68px);
    line-height: 1.35;
    margin: 15px 0;
}

    .cta-content h2 span {
        color: var(--blue);
    }

.cta-content p {
    color: var(--muted);
    font-size: 13px;
    max-width: 550px;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.btn-white {
    background: white;
    color: #07101e;
}

    .btn-white:hover {
        transform: translateY(-3px);
    }

.btn-ghost {
    border: 1px solid var(--border);
    color: var(--muted-light);
}

.cta-symbol {
    position: absolute;
    left: 70px;
    bottom: -30px;
    opacity: .1;
    font-family: monospace;
    display: flex;
    align-items: center;
    font-size: 40px;
}

    .cta-symbol strong {
        font-size: 180px;
    }

.cta-decoration {
    position: absolute;
    border: 1px solid rgba(79,140,255,.1);
    border-radius: 50%;
}

.decoration-one {
    width: 500px;
    height: 500px;
    left: -220px;
}

.decoration-two {
    width: 300px;
    height: 300px;
    left: -120px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    border-top: 1px solid var(--border);
    padding-top: 70px;
    background: #040609;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-brand p {
    color: var(--muted);
    max-width: 270px;
    font-size: 11px;
    margin-top: 18px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

    .footer-column h4 {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .footer-column a,
    .footer-column span {
        color: #667085;
        font-size: 10px;
        transition: .2s;
    }

        .footer-column a:hover {
            color: var(--white);
        }

.footer-bottom {
    border-top: 1px solid var(--border);
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4f5868;
    font-size: 9px;
}

    .footer-bottom b {
        color: var(--cyan);
    }


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s ease, transform .8s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .nav-links {
        gap: 15px;
    }

    .hero-container {
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .about-container {
        gap: 50px;
    }

    .process {
        gap: 10px;
    }
}


@media (max-width: 850px) {

    .container {
        width: min(var(--container), calc(100% - 30px));
    }

    .nav-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 75px;
        right: 15px;
        left: 15px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        background: rgba(8,12,19,.96);
        border: 1px solid var(--border);
        border-radius: 18px;
        backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .3s;
    }

        .nav-links.open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .nav-links a {
            padding: 12px;
        }

    .hero {
        padding-top: 130px;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .eyebrow {
        margin-inline: auto;
    }

    .hero h1 {
        margin-inline: auto;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-buttons,
    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        min-height: 500px;
    }

    .orbit-one {
        width: 450px;
        height: 450px;
    }

    .orbit-two {
        width: 340px;
        height: 340px;
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .stat {
        border-bottom: 1px solid var(--border);
    }

        .stat:nth-child(3) {
            border-left: 0;
        }

    .portfolio-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: 2;
    }

    .process {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .process-line {
        top: 30px;
        bottom: 30px;
        right: 29px;
        left: auto;
        width: 1px;
        height: auto;
        background: linear-gradient(transparent,var(--blue),transparent);
    }

    .process-item {
        display: grid;
        grid-template-columns: 58px 1fr;
        text-align: right;
        gap: 20px;
        align-items: center;
    }

    .process-number {
        grid-row: span 2;
        margin: 0;
    }

    .process-item p {
        grid-column: 2;
    }

    .tech-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .tech-list {
        justify-content: flex-start;
    }

    .footer-top {
        grid-template-columns: repeat(2,1fr);
    }
}


@media (max-width: 600px) {

    .section {
        padding: 90px 0;
    }

    .navbar {
        height: 70px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-visual {
        min-height: 400px;
    }

    .code-card {
        width: 100%;
    }

    .code-content {
        padding: 18px;
    }

        .code-content pre {
            font-size: 9px;
        }

    .floating-card {
        transform: scale(.8);
    }

    .card-top {
        right: -15px;
    }

    .card-bottom {
        left: -15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 310px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card.large {
        grid-row: auto;
    }

        .portfolio-card.large .portfolio-image {
            height: 350px;
        }

    .portfolio-image {
        height: 250px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        padding: 35px 10px;
    }

        .stat strong {
            font-size: 32px;
        }

    .about-visual {
        height: 350px;
    }

    .about-orbit {
        width: 270px;
        height: 270px;
    }

    .badge-one {
        right: 0;
    }

    .badge-three {
        left: 0;
    }

    .cta-box {
        padding: 45px 25px;
        min-height: 500px;
    }

    .cta-content h2 {
        font-size: 40px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 20px 0;
        text-align: center;
    }
}