/* =========================================================
   DEVSID.IN — ROOT / GLOBAL CSS
   ========================================================= */

:root {
    --black: #090909;
    --black-soft: #111111;
    --white: #ffffff;
    --paper: #f5f3ed;

    --orange: #ff914d;
    --yellow: #ffe36d;

    --text-primary: #ffffff;
    --text-secondary: #a8a8a8;
    --text-muted: #555555;

    --border: rgba(255, 255, 255, 0.09);
    --border-light: rgba(255, 255, 255, 0.14);
    --border-dark: #292929;

    --container: 1240px;
    --gutter: 40px;
    --header-height: 78px;

    --section-padding: clamp(90px, 10vw, 150px);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --transition: .3s var(--ease);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    min-height: 100vh;
    background: var(--black);
    color: var(--white);
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   DEVSID PRELOADER
   ========================================================= */

.preloader {
    position: fixed;
    z-index: 9999;
    inset: 0;

    background: #090909;
    color: #fff;

    padding: 35px 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;

    opacity: 1;
    visibility: visible;

    transition:
        opacity .8s cubic-bezier(.77, 0, .175, 1),
        visibility .8s;
}


/* =========================================================
   AMBIENT GLOW
   ========================================================= */

.preloader::before {
    content: "";

    position: absolute;

    width: 55vw;
    height: 55vw;

    right: -20vw;
    bottom: -30vw;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,145,77,.14) 0%,
            rgba(160,45,55,.08) 35%,
            transparent 70%
        );

    filter: blur(30px);

    pointer-events: none;

    animation:
        preloaderGlow 6s ease-in-out infinite;
}


.preloader::after {
    content: "";

    position: absolute;

    width: 35vw;
    height: 35vw;

    left: -18vw;
    top: -20vw;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,77,25,.08),
            transparent 70%
        );

    filter: blur(25px);

    pointer-events: none;

    animation:
        preloaderGlowTwo 8s ease-in-out infinite;
}


/* =========================================================
   EXIT
   ========================================================= */

.preloader.done {
    opacity: 0;
    visibility: hidden;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.loadtop {
    position: absolute;

    top: 35px;
    left: 40px;
    right: 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 2;

    font-family: "DM Mono", monospace;
}


.loadtop b {
    font: 800 25px "Manrope", sans-serif;
    letter-spacing: -1.5px;
}


.loadtop b span {
    color: #ff914d;
}


.loadtop i {
    font-style: normal;

    color: #ff914d;

    font-family: "DM Mono", monospace;
    font-size: 10px;

    letter-spacing: .04em;
}


.loadtop i strong {
    display: inline-block;

    min-width: 28px;

    text-align: right;

    font-weight: 400;
}


/* =========================================================
   MAIN LOADING TEXT
   ========================================================= */

.loadword {
    position: relative;
    z-index: 2;

    font-family: "Manrope", sans-serif;
    font-size: clamp(50px, 9vw, 145px);

    font-weight: 800;

    line-height: .82;
    letter-spacing: -.08em;

    white-space: nowrap;

    background:
        linear-gradient(
            110deg,
            #ffffff 0%,
            #ffffff 28%,
            #ff914d 48%,
            #ff914d 68%,
            #a02d37 100%
        );

    background-size: 220% 100%;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    animation:
        preloaderGradient 5s ease-in-out infinite,
        preloaderTextFloat 4s ease-in-out infinite;
}


/* =========================================================
   PROGRESS BAR
   ========================================================= */

.bar {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 2px;

    margin-top: 45px;

    background: #292929;

    overflow: hidden;
}


.bar span {
    position: relative;

    display: block;

    width: 0;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #ff914d,
            #ff4d19,
            #a02d37
        );

    box-shadow:
        0 0 12px rgba(255,145,77,.45),
        0 0 30px rgba(160,45,55,.2);

    transition: width .12s linear;
}


/* Moving highlight */
.bar span::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 80px;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.8),
            transparent
        );

    filter: blur(2px);

    animation:
        progressShine 1.4s ease-in-out infinite;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.preloader > small {
    position: relative;
    z-index: 2;

    margin-top: 12px;

    color: #666;

    font-family: "DM Mono", monospace;
    font-size: 8px;

    letter-spacing: .04em;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes preloaderGradient {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


@keyframes preloaderTextFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


@keyframes preloaderGlow {

    0%, 100% {
        transform: scale(1);
        opacity: .7;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}


@keyframes preloaderGlowTwo {

    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 20px);
    }
}


@keyframes progressShine {

    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: translateX(100px);
        opacity: 0;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

    .preloader {
        padding: 20px;
    }

    .loadtop {
        top: 25px;
        left: 20px;
        right: 20px;
    }

    .loadtop b {
        font-size: 21px;
    }

    .loadword {
        font-size: 15vw;
        white-space: normal;
        line-height: .85;
    }

    .bar {
        margin-top: 35px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .preloader::before,
    .preloader::after,
    .loadword,
    .bar span::after {
        animation: none;
    }
}

body.menu-open {
    overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.065em;
}

p {
    font-family: "Manrope", sans-serif;
}

.mono,
code,
pre,
small,
.label {
    font-family: "DM Mono", monospace;
}

.container {
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
}

.section {
    position: relative;
    padding-block: var(--section-padding);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-light {
    background: var(--paper);
    color: var(--black);
}

.section-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-label-number {
    color: var(--orange);
}

.section-label-text {
    color: var(--text-muted);
}

.display {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    line-height: .88;
    letter-spacing: -.075em;
}

.display-xl {
    font-size: clamp(64px, 9vw, 150px);
}

.display-lg {
    font-size: clamp(52px, 7vw, 110px);
}

.display-md {
    font-size: clamp(42px, 5vw, 80px);
}

.lead {
    max-width: 620px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
}

.text-muted {
    color: var(--text-muted);
}

.text-orange {
    color: var(--orange);
}

.text-yellow {
    color: var(--yellow);
}

.accent {
    color: var(--orange);
}

.highlight {
    color: var(--yellow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    min-height: 48px;
    padding: 0 18px;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--yellow);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--white);
}

.btn-orange {
    background: var(--orange);
    color: var(--white);
}

.btn-orange:hover {
    background: var(--white);
    color: var(--black);
}

.btn-outline {
    border: 1px solid #414141;
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: var(--white);
}

.grid-bg {
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 80px 80px;
}

.marquee {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-track {
    width: max-content;
    display: flex;
    gap: 35px;
    padding: 14px 0;
    color: var(--text-muted);
    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    animation: marquee-scroll 30s linear infinite;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

::selection {
    background: var(--orange);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: #333333;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

:focus-visible {
    outline: 1px solid var(--orange);
    outline-offset: 4px;
}

@media (max-width: 850px) {
    :root {
        --gutter: 15px;
        --header-height: 70px;
    }

    .container {
        width: calc(100% - 30px);
    }

    .section {
        padding-block: 80px;
    }

    .lead {
        font-size: 15px;
    }
}

@media (max-width: 520px) {
    :root {
        --gutter: 15px;
    }

    .section {
        padding-block: 70px;
    }

    .section-label {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
