:root {
    --bg: #070b16;
    --bg2: #0b1120;
    --panel: #111a2b;
    --blue: #087bfa;
    --cyan: #13b9e9;
    --white: #f5f7fb;
    --muted: #9aa5b7;
    --line: rgba(157,180,220,.14);
    --font: 'DM Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .12;
    z-index: -1;

    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: 72px 72px;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

.section-wrap {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
}


/* NAVBAR */

.site-header {
    height: 88px;
    padding: 0 max(24px, calc((100vw - 1180px) / 2));

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--line);

    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(7,11,22,.9);
    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--blue);
}

.brand-word {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-word span {
    color: var(--blue);
}

.brand-word small {
    display: block;
    font-size: 7px;
    letter-spacing: 2px;
    color: var(--muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-size: 12px;
    color: #b7c0cf;
    transition: .3s;
}

.main-nav a:hover {
    color: var(--cyan);
}

.nav-cta {
    padding: 13px 18px;
    background: linear-gradient(110deg, var(--blue), var(--cyan));
    border-radius: 4px;
    color: white !important;
}

.lang-switch {
    background: transparent;
    color: white;
    border: 1px solid var(--line);
    padding: 9px 12px;
    cursor: pointer;
    border-radius: 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}


/* HERO */

.hero {
    min-height: 690px;

    display: grid;
    grid-template-columns: 1.05fr .95fr;

    align-items: center;
    gap: 40px;

    padding-top: 70px;
    padding-bottom: 90px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #a8b4c8;
}

.eyebrow i {
    width: 22px;
    height: 1px;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

.hero h1 {
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.04;
    letter-spacing: -4px;
    margin: 28px 0;
}

.hero h1 em,
h2 em {
    font-style: normal;

    background: linear-gradient(100deg, var(--blue), var(--cyan));

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.blue-dot {
    color: var(--cyan);
}

.hero-text {
    max-width: 490px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    padding: 16px 20px;
    border: none;
    border-radius: 4px;

    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.button-primary {
    color: white;

    background: linear-gradient(110deg, var(--blue), var(--cyan));

    box-shadow: 0 12px 35px rgba(0,123,250,.2);

    transition: .3s;
}

.button-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,123,250,.35);
}

.text-link {
    font-size: 12px;
    color: #d2d9e5;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 65px;

    color: #77869c;
    font-size: 8px;
    letter-spacing: 1.5px;
}

.proof-line {
    width: 40px;
    height: 1px;
    background: var(--cyan);
}


/* HERO VISUAL */

.hero-visual {
    height: 460px;

    position: relative;

    display: grid;
    place-items: center;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(28,146,255,.16);
    border-radius: 50%;
}

.orbit-one {
    width: 480px;
    height: 300px;
    transform: rotate(-24deg);
}

.orbit-two {
    width: 380px;
    height: 380px;
}

.main-visual {
    width: 430px;
    height: 315px;

    position: relative;
    z-index: 2;

    background: #101b2d;

    border: 1px solid rgba(73,155,255,.35);
    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 35px 100px rgba(0,0,0,.5);

    transform: perspective(1000px) rotateY(-8deg);
}

.visual-top {
    height: 38px;

    background: #0c1423;

    border-bottom: 1px solid var(--line);

    display: flex;
    align-items: center;
    justify-content: space-around;

    color: #8390a5;
    font-size: 9px;
}

.visual-screen {
    height: calc(100% - 38px);
    padding: 30px;

    position: relative;
    overflow: hidden;

    background: linear-gradient(130deg,#101b2d,#091326);
}

.screen-kicker {
    font-size: 8px;
    letter-spacing: 2px;
    color: #8fa4c1;
}

.screen-title {
    font-size: 58px;
    font-weight: 800;
    line-height: .95;
    margin-top: 30px;

    position: relative;
    z-index: 2;
}

.screen-title span {
    color: var(--cyan);
}

.screen-line {
    width: 80px;
    height: 2px;
    background: var(--cyan);
    margin-top: 25px;
}

.screen-sphere {
    position: absolute;
    width: 210px;
    height: 210px;

    right: -40px;
    top: 75px;

    border-radius: 50%;

    background: radial-gradient(
        circle at 32% 28%,
        #46d9fa,
        #087bfa 40%,
        #101b2d 75%
    );
}

.screen-bottom {
    position: absolute;
    bottom: 18px;
    left: 30px;

    font-size: 7px;
    letter-spacing: 2px;
    color: #8493aa;
}

.floating-tag {
    position: absolute;
    z-index: 3;

    padding: 13px 17px;

    background: #111d30;
    border: 1px solid rgba(95,157,232,.23);

    border-radius: 5px;

    font-size: 10px;
    box-shadow: 0 12px 35px #0005;
}

.tag-top {
    top: 55px;
    right: 0;
}

.tag-bottom {
    bottom: 55px;
    left: 0;
}


/* TICKER */

.ticker {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: #0a1120;
}

.ticker-track {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 35px;

    min-width: 900px;
    padding: 20px 0;

    animation: ticker 25s linear infinite;
}

.ticker-track span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #aab6c8;
}

.ticker-track b {
    color: var(--cyan);
}

@keyframes ticker {
    to {
        transform: translateX(-30%);
    }
}


/* SECTION */

.section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;

    margin-bottom: 55px;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
    font-size: clamp(38px, 4.8vw, 58px);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-top: 20px;
}

.section-heading > p {
    max-width: 360px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}


/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
}

.service-card {
    min-height: 290px;
    padding: 25px 22px;

    background: linear-gradient(145deg,#111b2d,#0d1524);
    border: 1px solid var(--line);

    transition: .3s;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--blue);
}

.service-number {
    font-size: 9px;
    color: #72829a;
}

.service-icon {
    font-size: 28px;
    color: var(--cyan);
    margin: 40px 0 20px;
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}


/* PORTFOLIO */

.work-section {
    padding: 115px 0;

    background: #0a101d;

    border-block: 1px solid var(--line);
}

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

.project-card {
    min-width: 0;
}

.project-image {
    height: 320px;

    display: block;
    position: relative;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 5px;

    transition: .3s;
}

.project-image:hover {
    transform: translateY(-6px);
    border-color: var(--cyan);
}

.project-large .project-image {
    height: 360px;
}

.project-open {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    background: #07101c;
    color: white;

    border-radius: 50%;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;

    padding-top: 18px;
}

.project-meta h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.project-meta p {
    font-size: 10px;
    color: var(--muted);
}

.project-meta > span {
    font-size: 9px;
    color: #7b8aa0;
}

.portfolio-note {
    margin-top: 25px;
    color: var(--muted);
    font-size: 10px;
}


/* DYNAMIC PROJECT PREVIEWS */

.dynamic-project {
    background: linear-gradient(135deg,#101d32,#080e1a);
}

.project-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.dynamic-project:hover .project-cover {
    transform: scale(1.05);
}

.project-art {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 28px;

    background:
        radial-gradient(circle at 75% 80%,rgba(19,185,233,.3),transparent 40%),
        linear-gradient(135deg,#101d32,#080e1a);
}

.project-art small {
    font-size: 8px;
    letter-spacing: 2px;
    color: #9eb7d6;
}

.project-art strong {
    font-size: 38px;
    line-height: 1;
}

.project-art strong span {
    color: var(--cyan);
}

.project-art em {
    font-size: 8px;
    letter-spacing: 2px;
    color: #9eb7d6;
    font-style: normal;
}


/* ABOUT */

.about-section {
    padding-top: 130px;
    padding-bottom: 130px;

    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;

    align-items: center;
}

.about-mark {
    min-height: 350px;

    display: grid;
    place-items: center;

    background: radial-gradient(circle,rgba(0,123,250,.13),transparent 65%);
}

.mark-ring {
    width: 260px;
    height: 260px;

    border: 2px solid var(--blue);
    border-radius: 50%;

    display: grid;
    place-items: center;

    box-shadow: 0 0 70px rgba(0,123,250,.15);
}

.mark-ring span {
    font-size: 155px;
    font-weight: 800;

    background: linear-gradient(140deg,var(--blue),var(--cyan));

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.mark-caption {
    font-size: 8px;
    letter-spacing: 3px;
    color: #71819a;
}

.about-copy > p {
    margin-top: 25px;
    max-width: 550px;

    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.about-points {
    margin-top: 30px;
    border-top: 1px solid var(--line);
}

.about-points div {
    display: flex;
    gap: 20px;

    padding: 15px 0;
    border-bottom: 1px solid var(--line);

    font-size: 11px;
}

.about-points b {
    color: var(--cyan);
}


/* PROCESS */

.process-section {
    padding: 110px 0;

    background: #0a101d;
    border-block: 1px solid var(--line);
}

.process-list {
    border-top: 1px solid var(--line);
}

.process-item {
    display: grid;
    grid-template-columns: 80px 1fr 30px;
    align-items: center;

    padding: 25px 10px;

    border-bottom: 1px solid var(--line);
    transition: .3s;
}

.process-item:hover {
    background: rgba(8,123,250,.06);
}

.process-item > span {
    color: var(--cyan);
}

.process-item h3 {
    font-size: 17px;
    margin-bottom: 7px;
}

.process-item p {
    color: var(--muted);
    font-size: 11px;
}

.process-item > b {
    color: var(--cyan);
}


/* CONTACT */

.contact-section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 70px;

    padding: 60px;

    background: linear-gradient(135deg,#111d31,#0c1423);

    border: 1px solid rgba(55,139,235,.24);
}

.contact-copy > p {
    max-width: 370px;

    margin-top: 20px;

    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.contact-email {
    display: inline-block;
    margin-top: 35px;
    padding-bottom: 8px;

    border-bottom: 1px solid var(--cyan);
    font-size: 13px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form label {
    display: grid;
    gap: 9px;
}

.contact-form label > span {
    font-size: 8px;
    letter-spacing: 1.5px;
    color: #9aaac0;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;

    padding: 9px 0;

    color: white;
    background: transparent;

    border: 0;
    border-bottom: 1px solid #35445b;

    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--cyan);
}

.contact-form select option {
    background: #111b2d;
}

.contact-form textarea {
    resize: vertical;
}

.form-note {
    color: #8290a5;
    font-size: 9px;
}


/* FOOTER */

.site-footer {
    padding-top: 35px;
    padding-bottom: 25px;

    border-top: 1px solid var(--line);
}

.site-footer > p {
    margin: 20px 0 30px;
    color: var(--muted);
    font-size: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 20px;

    border-top: 1px solid var(--line);

    color: #748198;
    font-size: 8px;
    letter-spacing: 1px;
}


/* ANIMATIONS */

.reveal {
    opacity: 0;
    transform: translateY(25px);

    transition: .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: radial-gradient(circle,rgba(0,123,250,.09),transparent 70%);

    pointer-events: none;
    z-index: -1;
}


/* RTL */

html[dir="rtl"] body {
    font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] .hero h1,
html[dir="rtl"] h2 {
    letter-spacing: 0;
}

html[dir="rtl"] .hero-visual {
    direction: ltr;
}

html[dir="rtl"] .contact-panel {
    direction: rtl;
}

html[dir="rtl"] .project-meta {
    direction: rtl;
}


/* RESPONSIVE */

@media(max-width:900px) {

    .main-nav {
        gap: 15px;
    }

    .hero {
        grid-template-columns: 1fr .8fr;
    }

    .hero h1 {
        font-size: 55px;
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .about-section {
        gap: 35px;
    }

    .contact-panel {
        padding: 35px;
        gap: 35px;
    }

}

@media(max-width:650px) {

    .section-wrap {
        width: calc(100% - 36px);
    }

    .site-header {
        height: 72px;
        padding: 0 18px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;

        position: absolute;
        top: 72px;
        left: 0;
        right: 0;

        padding: 25px;

        background: #0c1423;

        flex-direction: column;
        align-items: stretch;
    }

    .main-nav.open {
        display: flex;
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        padding-top: 75px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-visual {
        height: 350px;
        margin-top: 35px;
    }

    .main-visual {
        width: 90%;
        height: 260px;
    }

    .screen-title {
        font-size: 45px;
    }

    .section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 9px;
    }

    .service-card {
        padding: 18px;
        min-height: 250px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-image,
    .project-large .project-image {
        height: 300px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 30px;

        padding-top: 80px;
        padding-bottom: 80px;
    }

    .mark-ring {
        width: 210px;
        height: 210px;
    }

    .mark-ring span {
        font-size: 120px;
    }

    .process-item {
        grid-template-columns: 45px 1fr 20px;
    }

    .contact-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .contact-panel {
        grid-template-columns: 1fr;
        padding: 25px;
    }

}

@media(prefers-reduced-motion:reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}