/* ==========================================
   ADRIATEC DIGITAL
   Beyond Digital
   Main Stylesheet
========================================== */

:root {
    --bg: #080b14;
    --bg2: #0d1220;
    --bg3: #111a2b;

    --blue: #477cff;
    --blue-light: #79a1ff;
    --cyan: #5ee7ff;

    --white: #f5f7fc;
    --muted: #929caf;
    --border: rgba(255,255,255,0.09);

    --font: 'DM Sans', sans-serif;
    --heading: 'Space Grotesk', sans-serif;

    --container: 1180px;
}

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

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

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

body.loading {
    overflow: hidden;
}

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

button,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--blue);
    color: white;
}

.container {
    width: min(var(--container), 90%);
    margin: auto;
}

.section {
    padding: 125px 0;
}

.section-index {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--blue-light);
}


/* ==========================================
   LOADER
========================================== */

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity .6s, visibility .6s;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-family: var(--heading);
    font-size: 65px;
    font-weight: 700;
    animation: loaderPulse 1s infinite alternate;
}

.loader-logo span {
    color: var(--blue);
}

.loader-line {
    width: 130px;
    height: 2px;
    background: #20283a;
    margin-top: 20px;
    overflow: hidden;
}

.loader-line span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--blue);
    transform: translateX(-100%);
    animation: loaderLine 1.3s ease forwards;
}

@keyframes loaderPulse {
    from { opacity: .5; }
    to { opacity: 1; }
}

@keyframes loaderLine {
    to { transform: translateX(0); }
}


/* ==========================================
   BACKGROUND EFFECTS
========================================== */

.ambient {
    position: fixed;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    z-index: -1;
    opacity: .10;
}

.ambient-one {
    background: #245aff;
    top: -200px;
    left: -150px;
}

.ambient-two {
    background: #00baff;
    bottom: -200px;
    right: -150px;
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(71,124,255,.09),
        transparent 70%
    );
    transform: translate(-50%,-50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity .3s;
}

@media (hover:hover) and (pointer:fine) {
    .cursor-glow {
        opacity: 1;
    }
}


/* ==========================================
   HEADER
========================================== */

.header {
    height: 86px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: .3s;
}

.header.scrolled {
    background: rgba(8,11,20,.92);
    backdrop-filter: blur(18px);
    border-bottom-color: var(--border);
}

.navbar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--heading);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -1px;
}

.logo-symbol {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: white;
    border-radius: 10px;
    font-size: 17px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

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

.nav-links a:hover {
    color: white;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

#languageSelect {
    background: transparent;
    border: 1px solid var(--border);
    color: white;
    border-radius: 5px;
    padding: 8px;
    font-size: 11px;
    cursor: pointer;
}

#languageSelect option {
    background: var(--bg2);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 13px;
    background: white;
    color: var(--bg);
    padding: 12px 17px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    transition: .3s;
}

.nav-cta:hover {
    background: var(--blue-light);
    color: white;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 35px;
    height: 30px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.menu-toggle span {
    height: 2px;
    width: 25px;
    background: white;
    display: block;
    transition: .3s;
}


/* ==========================================
   HERO
========================================== */

.hero {
    min-height: 850px;
    height: 100vh;
    max-height: 1050px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 30px;
    padding-top: 80px;
}

.hero-left {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 2px;
    color: #a3afc3;
    margin-bottom: 35px;
}

.eyebrow-dot,
.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #55e5a3;
    box-shadow: 0 0 14px #55e5a3;
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--heading);
    font-size: clamp(55px, 6.2vw, 83px);
    font-weight: 700;
    letter-spacing: -5px;
    line-height: .99;
    display: flex;
    flex-direction: column;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.75);
}

.hero-last-line {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-star {
    font-size: .65em;
    color: var(--blue-light);
    display: inline-block;
    animation: starRotate 12s linear infinite;
}

@keyframes starRotate {
    to { transform: rotate(360deg); }
}

.hero-description {
    color: var(--muted);
    max-width: 470px;
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 35px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 16px 22px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    transition: .3s;
}

.button-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 8px 30px rgba(71,124,255,.2);
}

.button-primary:hover {
    background: #6390ff;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(71,124,255,.35);
}

.button-arrow {
    transition: transform .3s;
}

.button-primary:hover .button-arrow {
    transform: translate(4px,-4px);
}

.button-text {
    color: #bdc7d9;
    padding-left: 0;
}

.button-text:hover {
    color: var(--blue-light);
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 110px;
    gap: 20px;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8d9ab0;
    font-size: 10px;
}

.location-icon {
    color: var(--blue-light);
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #758198;
}

.scroll-line {
    height: 1px;
    width: 35px;
    background: var(--blue);
    animation: scrollPulse 1.8s infinite;
}

@keyframes scrollPulse {
    0%,100% { width: 25px; }
    50% { width: 45px; }
}


/* HERO VISUAL */

.hero-visual {
    height: 550px;
    width: 100%;
    position: relative;
    display: grid;
    place-items: center;
}

.visual-core {
    width: 205px;
    height: 205px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 35% 30%,
        #8ab1ff,
        #326bff 35%,
        #10275b 75%,
        #080d1b
    );
    display: grid;
    place-items: center;
    box-shadow:
        0 0 80px rgba(71,124,255,.35),
        inset 0 0 40px rgba(255,255,255,.1);
    animation: coreFloat 5s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

.visual-core::before {
    content: "";
    position: absolute;
    inset: -15px;
    border: 1px solid rgba(121,161,255,.3);
    border-radius: 50%;
}

.visual-core::after {
    content: "";
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
}

.core-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.core-inner span {
    font-family: var(--heading);
    font-size: 85px;
    font-weight: 700;
    line-height: 1;
}

.core-inner small {
    font-size: 8px;
    letter-spacing: 4px;
    margin-top: 5px;
}

@keyframes coreFloat {
    0%,100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(101,145,255,.2);
    border-radius: 50%;
}

.orbit-one {
    width: 320px;
    height: 320px;
    animation: orbitRotate 20s linear infinite;
}

.orbit-two {
    width: 430px;
    height: 430px;
    border-style: dashed;
    animation: orbitRotate 35s linear infinite reverse;
}

.orbit-three {
    width: 520px;
    height: 520px;
    border-color: rgba(101,145,255,.08);
}

.orbit-one::before,
.orbit-two::before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 20px var(--cyan);
    top: 50%;
    left: -5px;
}

.orbit-two::before {
    width: 6px;
    height: 6px;
    background: var(--blue-light);
    left: 70%;
    top: 0;
}

@keyframes orbitRotate {
    to { transform: rotate(360deg); }
}

.floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    background: rgba(18,29,50,.85);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 45px rgba(0,0,0,.25);
    animation: cardFloat 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: 9px;
}

.floating-icon {
    font-size: 23px;
    color: var(--blue-light);
}

.floating-card-one {
    top: 85px;
    left: 0;
}

.floating-card-two {
    right: -5px;
    top: 230px;
    animation-delay: -2s;
}

.floating-card-three {
    left: 20px;
    bottom: 80px;
    animation-delay: -3s;
}

@keyframes cardFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.visual-cross {
    position: absolute;
    color: var(--blue-light);
    font-size: 25px;
    opacity: .5;
}

.cross-one {
    top: 30px;
    right: 90px;
}

.cross-two {
    bottom: 60px;
    right: 80px;
}

.hero-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg,var(--blue),transparent);
}


/* ==========================================
   MARQUEE
========================================== */

.marquee-section {
    overflow: hidden;
    background: var(--blue);
    padding: 20px 0;
    transform: rotate(-1deg) scale(1.02);
}

.marquee-track {
    width: max-content;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    animation: marqueeMove 35s linear infinite;
    font-family: var(--heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
}

.marquee-content span {
    color: white;
}

.marquee-star {
    font-size: 20px;
}

@keyframes marqueeMove {
    to { transform: translateX(-50%); }
}


/* ==========================================
   INTRO
========================================== */

.intro {
    padding-top: 155px;
    padding-bottom: 145px;
}

.intro-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.intro-top .section-tag {
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 2px;
}

.intro-title {
    font-family: var(--heading);
    font-size: clamp(37px,5.5vw,69px);
    line-height: 1.2;
    letter-spacing: -3px;
    font-weight: 600;
    max-width: 1050px;
    margin-top: 65px;
}

.intro-title span {
    color: var(--blue-light);
}

.intro-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 50px;
}

.intro-bottom p {
    color: var(--muted);
    max-width: 480px;
    font-size: 13px;
    line-height: 2;
}

.round-link {
    width: 55px;
    height: 55px;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--blue-light);
    font-size: 20px;
    transition: .3s;
}

.round-link:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
    transform: rotate(45deg);
}


/* ==========================================
   SECTION HEADINGS
========================================== */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-family: var(--heading);
    font-size: clamp(38px,5vw,60px);
    letter-spacing: -3px;
    line-height: 1.1;
    margin-top: 24px;
}

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


/* ==========================================
   SERVICES
========================================== */

.services {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.service-item {
    display: grid;
    grid-template-columns: 70px 1fr 260px 45px;
    gap: 25px;
    align-items: center;
    padding: 32px 15px;
    border-bottom: 1px solid var(--border);
    transition: .35s;
    position: relative;
}

.service-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(71,124,255,.08),transparent);
    opacity: 0;
    transition: .35s;
}

.service-item:hover {
    padding-left: 25px;
}

.service-item:hover::before {
    opacity: 1;
}

.service-number {
    color: var(--blue-light);
    font-family: var(--heading);
    font-size: 14px;
    position: relative;
}

.service-main {
    position: relative;
}

.service-main h3 {
    font-family: var(--heading);
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 7px;
    transition: .3s;
}

.service-item:hover h3 {
    color: var(--blue-light);
}

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

.service-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    position: relative;
}

.service-tags span {
    font-size: 9px;
    color: #aab5c8;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 10px;
}

.service-arrow {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 18px;
    transition: .3s;
    position: relative;
}

.service-item:hover .service-arrow {
    background: var(--blue);
    border-color: var(--blue);
    transform: rotate(45deg);
}


/* ==========================================
   FEATURE SECTION
========================================== */

.feature-section {
    min-height: 680px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(110deg,rgba(8,11,20,.95),rgba(9,22,51,.85)),
        var(--bg);
    border-bottom: 1px solid var(--border);
}

.feature-background {
    position: absolute;
    width: 650px;
    height: 650px;
    right: -150px;
    top: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(55,111,255,.35),
        transparent 70%
    );
}

.feature-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 100px;
}

.feature-content h2 {
    font-family: var(--heading);
    font-size: clamp(45px,6vw,75px);
    line-height: 1.08;
    letter-spacing: -4px;
    margin: 35px 0;
}

.feature-content h2 span {
    color: var(--blue-light);
}

.feature-content > p {
    max-width: 440px;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
    margin-bottom: 30px;
}

.button-light {
    background: white;
    color: var(--bg);
}

.button-light:hover {
    background: var(--blue-light);
    color: white;
    transform: translateY(-3px);
}

.feature-decoration {
    position: absolute;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 350px;
    color: rgba(100,147,255,.12);
    animation: starRotate 40s linear infinite;
}


/* ==========================================
   PORTFOLIO
========================================== */

.work {
    background: var(--bg);
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
}

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

.work-large {
    grid-column: span 2;
}

.work-image {
    height: 390px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    transition: .4s;
}

.work-card:hover .work-image {
    filter: brightness(1.12);
}

.work-image-one {
    background:
        radial-gradient(circle at 50% 50%,#274c91,transparent 65%),
        linear-gradient(135deg,#142644,#080d1a);
}

.work-image-two {
    background:
        radial-gradient(circle at 60% 30%,#9b73b6,transparent 45%),
        linear-gradient(135deg,#322342,#120e1b);
}

.work-image-three {
    background:
        radial-gradient(circle at 50% 50%,#14546e,transparent 65%),
        linear-gradient(135deg,#0d263b,#080e19);
}

.work-top-label {
    position: absolute;
    top: 22px;
    left: 25px;
    right: 25px;
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.65);
    font-size: 9px;
    letter-spacing: 2px;
}

.work-number {
    position: absolute;
    right: 25px;
    bottom: 10px;
    font-family: var(--heading);
    font-size: 75px;
    font-weight: 700;
    color: rgba(255,255,255,.1);
}

.mockup-site {
    width: 72%;
    min-height: 270px;
    background: #e8edf7;
    color: #101d35;
    transform: rotate(-2deg);
    box-shadow: 0 25px 70px rgba(0,0,0,.3);
    transition: .5s;
}

.work-card:hover .mockup-site {
    transform: rotate(0) scale(1.03);
}

.mockup-nav {
    display: flex;
    justify-content: space-between;
    padding: 18px 25px;
    border-bottom: 1px solid rgba(0,0,0,.1);
    font-size: 10px;
    font-weight: 700;
}

.mockup-content {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
}

.mockup-content small {
    font-size: 8px;
    letter-spacing: 3px;
    color: #71809a;
}

.mockup-content strong {
    font-family: var(--heading);
    font-size: clamp(35px,5vw,65px);
    line-height: .95;
    margin: 15px 0;
}

.mockup-button {
    font-size: 9px;
    background: #376eff;
    color: white;
    width: fit-content;
    padding: 9px 13px;
}

.mockup-bottom {
    padding: 10px 25px;
    font-size: 8px;
    letter-spacing: 2px;
    border-top: 1px solid rgba(0,0,0,.1);
}

.brand-poster {
    width: 65%;
    min-height: 290px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,.4);
    transform: rotate(3deg);
    background: rgba(0,0,0,.12);
    transition: .5s;
}

.work-card:hover .brand-poster {
    transform: rotate(0) scale(1.03);
}

.brand-poster span {
    font-size: 10px;
    letter-spacing: 3px;
}

.brand-poster strong {
    font-family: var(--heading);
    font-size: clamp(45px,6vw,75px);
    line-height: .9;
}

.brand-poster small {
    font-size: 8px;
    letter-spacing: 2px;
}

.dashboard-art {
    width: 70%;
    height: 260px;
    background: rgba(10,22,40,.85);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 25px 70px rgba(0,0,0,.3);
    transform: rotate(-2deg);
    transition: .5s;
}

.work-card:hover .dashboard-art {
    transform: rotate(0) scale(1.03);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #8fa6c5;
    letter-spacing: 2px;
}

.dashboard-number {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.dashboard-number span {
    color: #8fa6c5;
    font-size: 9px;
}

.dashboard-number strong {
    font-family: var(--heading);
    font-size: 40px;
}

.dashboard-number strong span {
    color: #62e5bd;
    font-size: 18px;
}

.dashboard-bars {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    height: 55px;
    margin-top: 10px;
}

.dashboard-bars span {
    flex: 1;
    background: linear-gradient(to top,#286bff,#65cfff);
    border-radius: 3px 3px 0 0;
    animation: barPulse 2s ease-in-out infinite alternate;
}

.dashboard-bars span:nth-child(even) {
    animation-delay: -.7s;
}

@keyframes barPulse {
    to { opacity: .55; }
}

.work-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5px;
}

.work-info h3 {
    font-family: var(--heading);
    font-size: 18px;
    margin-bottom: 4px;
}

.work-info span:not(.work-link) {
    font-size: 10px;
    color: var(--muted);
}

.work-link {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: .3s;
}

.work-card:hover .work-link {
    background: var(--blue);
    transform: rotate(45deg);
}

.work-disclaimer {
    text-align: center;
    color: #68748a;
    font-size: 10px;
    margin-top: 25px;
}


/* ==========================================
   PROCESS
========================================== */

.process {
    background: var(--bg2);
    border-top: 1px solid var(--border);
}

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

.process-card {
    background: rgba(255,255,255,.025);
    border: 1px solid var(--border);
    padding: 27px;
    min-height: 270px;
    transition: .35s;
}

.process-card:hover {
    background: rgba(71,124,255,.08);
    border-color: rgba(71,124,255,.5);
    transform: translateY(-7px);
}

.process-card > span {
    font-family: var(--heading);
    color: var(--blue-light);
    font-size: 12px;
}

.process-icon {
    font-size: 34px;
    color: var(--blue-light);
    margin: 30px 0 20px;
}

.process-card h3 {
    font-family: var(--heading);
    font-size: 19px;
    margin-bottom: 10px;
}

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


/* ==========================================
   FAQ
========================================== */

.faq-section {
    border-bottom: 1px solid var(--border);
}

.faq-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
}

.faq-heading h2 {
    font-family: var(--heading);
    font-size: clamp(38px,4.5vw,55px);
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 30px 0 25px;
}

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

.text-link {
    display: inline-block;
    color: var(--blue-light);
    margin-top: 30px;
    font-size: 12px;
    border-bottom: 1px solid var(--blue);
    padding-bottom: 5px;
}

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

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: none;
    border: none;
    text-align: left;
    color: white;
    padding: 25px 5px;
    font-size: 13px;
    font-weight: 600;
}

.faq-plus {
    font-size: 23px;
    color: var(--blue-light);
    transition: .3s;
}

.faq-item.active .faq-plus {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: .35s;
}

.faq-answer p {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
    padding: 0 5px;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
    padding-bottom: 23px;
}


/* ==========================================
   CONTACT
========================================== */

.contact-section {
    padding: 115px 0 80px;
    position: relative;
    overflow: hidden;
    background: #0b1221;
    border-top: 1px solid var(--border);
}

.contact-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    top: -250px;
    right: -100px;
    background: radial-gradient(
        circle,
        rgba(71,124,255,.2),
        transparent 70%
    );
}

.contact-container {
    position: relative;
    z-index: 2;
}

.contact-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-availability {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #a8b3c6;
}

.contact-content {
    padding: 80px 0 100px;
}

.contact-content h2 {
    font-family: var(--heading);
    font-size: clamp(50px,7vw,90px);
    line-height: 1.05;
    letter-spacing: -5px;
}

.contact-content h2 span {
    color: var(--blue-light);
}

.contact-content > p {
    color: var(--muted);
    font-size: 14px;
    margin: 25px 0 35px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 45px;
    padding: 20px 25px;
    background: var(--blue);
    color: white;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
    box-shadow: 0 10px 35px rgba(71,124,255,.2);
}

.contact-button:hover {
    background: #6793ff;
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(71,124,255,.3);
}

.contact-bottom {
    display: flex;
    gap: 100px;
    padding-top: 35px;
    border-top: 1px solid var(--border);
}

.contact-bottom > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-bottom small {
    color: #77849b;
    font-size: 9px;
    letter-spacing: 2px;
}

.contact-bottom a,
.contact-bottom > div > span {
    font-size: 13px;
    color: #e4e9f4;
}


/* ==========================================
   FOOTER
========================================== */

.footer {
    background: #060911;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 50px;
    padding-top: 70px;
    padding-bottom: 70px;
}

.footer-brand > p {
    color: var(--muted);
    font-size: 12px;
    max-width: 240px;
    line-height: 1.9;
    margin-top: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-column h4 {
    font-size: 9px;
    letter-spacing: 2px;
    color: #77849b;
    margin-bottom: 10px;
}

.footer-column a {
    font-size: 11px;
    color: #a7b1c3;
    transition: .3s;
}

.footer-column a:hover {
    color: var(--blue-light);
    transform: translateX(4px);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6f7b91;
    font-size: 10px;
}

.back-top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a9b6ce;
    transition: .3s;
}

.back-top:hover {
    color: var(--blue-light);
}


/* ==========================================
   REVEAL ANIMATIONS
========================================== */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.7,.2,1);
}

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

.service-item.reveal,
.process-card.reveal,
.work-card.reveal,
.faq-item.reveal {
    transition:
        opacity .7s ease,
        transform .7s ease,
        background .3s,
        border-color .3s;
}


/* ==========================================
   RESPONSIVE: TABLET
========================================== */

@media(max-width:1000px) {

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .hero-title {
        font-size: 64px;
    }

    .hero-visual {
        transform: scale(.85);
    }

    .service-item {
        grid-template-columns: 45px 1fr 190px 40px;
        gap: 15px;
    }

    .service-main h3 {
        font-size: 19px;
    }

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

    .faq-grid {
        gap: 45px;
    }

    .footer-main {
        gap: 30px;
    }

}


/* ==========================================
   RESPONSIVE: MOBILE
========================================== */

@media(max-width:768px) {

    .section {
        padding: 85px 0;
    }

    .header {
        height: 72px;
    }

    .logo {
        font-size: 21px;
    }

    .nav-actions {
        gap: 12px;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:first-child {
        transform: translateY(4.5px) rotate(45deg);
    }

    .menu-toggle.active span:last-child {
        transform: translateY(-4.5px) rotate(-45deg);
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(8,11,20,.98);
        backdrop-filter: blur(20px);
        padding: 0 5%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .4s,padding .4s;
        border-bottom: 1px solid transparent;
    }

    .nav-links.active {
        max-height: 400px;
        padding-top: 15px;
        padding-bottom: 25px;
        border-color: var(--border);
    }

    .nav-links a {
        padding: 14px 0;
        width: 100%;
        font-size: 14px;
        border-bottom: 1px solid var(--border);
    }

    .hero {
        height: auto;
        min-height: auto;
        max-height: none;
        padding-top: 120px;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 30px;
    }

    .hero-title {
        font-size: clamp(48px,10vw,72px);
        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-bottom {
        margin-top: 65px;
        flex-wrap: wrap;
    }

    .hero-visual {
        width: 100%;
        height: 440px;
        transform: scale(.85);
        margin-top: 10px;
    }

    .orbit-three {
        width: 450px;
        height: 450px;
    }

    .intro {
        padding-top: 110px;
    }

    .intro-title {
        font-size: clamp(38px,8vw,55px);
        letter-spacing: -2px;
        margin-top: 45px;
    }

    .intro-bottom {
        align-items: flex-start;
        gap: 25px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .section-heading h2 {
        font-size: 44px;
    }

    .service-item {
        grid-template-columns: 35px 1fr 40px;
        gap: 12px;
        padding: 25px 5px;
    }

    .service-main h3 {
        font-size: 19px;
    }

    .service-tags {
        grid-column: 2;
        grid-row: 2;
    }

    .service-arrow {
        grid-column: 3;
        grid-row: 1;
    }

    .feature-section {
        min-height: 600px;
    }

    .feature-content h2 {
        font-size: clamp(46px,8vw,65px);
        letter-spacing: -3px;
    }

    .feature-decoration {
        right: -100px;
        font-size: 270px;
    }

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

    .work-large {
        grid-column: span 1;
    }

    .work-image {
        height: 300px;
    }

    .mockup-site {
        width: 80%;
    }

    .brand-poster {
        width: 75%;
    }

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

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-content {
        padding: 65px 0 80px;
    }

    .contact-content h2 {
        font-size: clamp(45px,9vw,65px);
        letter-spacing: -3px;
    }

    .contact-bottom {
        gap: 40px;
        flex-wrap: wrap;
    }

    .footer-main {
        grid-template-columns: repeat(2,1fr);
        gap: 45px 30px;
    }

    .footer-brand {
        grid-column: span 2;
    }

}


/* ==========================================
   RESPONSIVE: SMALL MOBILE
========================================== */

@media(max-width:480px) {

    .container {
        width: 90%;
    }

    .hero-title {
        font-size: 45px;
        letter-spacing: -2.5px;
    }

    .hero-buttons {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-visual {
        transform: scale(.68);
        transform-origin: center top;
        height: 360px;
        margin-bottom: -30px;
    }

    .marquee-section {
        padding: 15px 0;
    }

    .marquee-content {
        font-size: 12px;
    }

    .intro-title {
        font-size: 36px;
    }

    .intro-top {
        flex-wrap: wrap;
        gap: 15px;
    }

    .intro-bottom {
        flex-direction: column;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .service-main h3 {
        font-size: 16px;
    }

    .service-main p {
        font-size: 10px;
    }

    .service-tags span {
        font-size: 8px;
    }

    .feature-content h2 {
        font-size: 43px;
    }

    .work-image {
        height: 270px;
    }

    .work-info h3 {
        font-size: 16px;
    }

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

    .process-card {
        min-height: 220px;
    }

    .faq-heading h2 {
        font-size: 40px;
    }

    .contact-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .contact-content h2 {
        font-size: 43px;
    }

    .contact-content > p {
        font-size: 12px;
    }

    .contact-button {
        width: 100%;
        justify-content: space-between;
    }

    .footer-main {
        gap: 35px 20px;
    }

    .footer-column a {
        font-size: 10px;
    }

    .footer-bottom {
        gap: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

}


/* ==========================================
   ACCESSIBILITY & MOTION
========================================== */

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}





.loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    transition: opacity .5s ease, visibility .5s ease;
}