/* =========================================================
   DEVSID.IN — HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #111111;
    color: #ffffff;
    isolation: isolate;
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .2;
    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;
    pointer-events: none;
    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 58%,
        transparent 100%
    );
}

.hero-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 21px;
    border-bottom: 1px solid rgba(255,255,255,.09);
    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.hero-topline span:first-child {
    color: #ff914d;
}

.hero-topline span:last-child {
    color: #555555;
}
.eyebrow {
    font-size: 11px;
    letter-spacing: .1em;
    margin: 0 0 24px
}

.index {
    color: #555;
    font-size: 10px;
    margin: 0 0 15px
}
.hero-content {
    flex: 1;
    min-height: 620px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 25px;
    padding: 20px 0 15px;
}

.hero-copy {
    position: relative;
    z-index: 10;
}

.hero-title {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(72px, 10.5vw, 155px);
    font-weight: 800;
    line-height: .86;
    letter-spacing: -.078em;
}

.hero-title > span {
    display: block;
}

.hero-title-highlight {
    background: linear-gradient(
        45deg,
        #ff914d 0%,
        #a02d37 50%,
        #383838 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-dot {
    background: linear-gradient(
        45deg,
        #ff914d 0%,
        #a02d37 50%,
        #383838 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-top: 92px;
}

.hero-description {
    width: min(390px, 45%);
    margin: 0;
    color: #f1f1f1;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 27px;
    flex-shrink: 0;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    min-height: 47px;
    font-family: "DM Mono", monospace;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .035em;
    text-transform: uppercase;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-button-primary {
    padding: 0 18px;
    background: linear-gradient(
        135deg,
        #ff914d 0%,
        #a02d37 70%
    );
    color: #fff;
    transition: transform 0.3s ease, background 0.5s ease;
    
}

.hero-button-primary:hover {
    background: linear-gradient(
        135deg,
        #ff914d 0%,
        #a02d37 100%
    );
    transform: translateY(-10px) rotate(-2deg);
}

.hero-button-secondary {
    color: #ffffff;
}

.hero-button-secondary:hover {
    color: #ff914d;
}

/* =========================================================
   RIGHT-SIDE PORTFOLIO COMPOSITION
   ========================================================= */

.hero-work-visual {
    position: relative;
    width: 100%;
    height: 570px;
    transform: translateX(15px);
    transition: transform .2s ease-out;
    
}

.work-orbit {
    position: absolute;
    border: 1px solid rgba(255,77,25,.45);
    border-radius: 50%;
    pointer-events: none;
        box-shadow:
        0 0 25px rgba(255, 77, 25, .08),
        0 0 60px rgba(160, 45, 55, .06);
}

.work-orbit-one {
    width: 570px;
    height: 335px;
    left: -50px;
    top: 135px;
    transform: rotate(-25deg);
        box-shadow:
        0 0 25px rgba(255, 77, 25, .08),
        0 0 60px rgba(160, 45, 55, .06);
}

.work-orbit-two {
    width: 510px;
    height: 275px;
    left: -10px;
    top: 155px;
    transform: rotate(17deg);
    border-color: rgba(255,77,25,.23);
        box-shadow:
        0 0 25px rgba(255, 77, 25, .08),
        0 0 60px rgba(160, 45, 55, .06);
}

.project-card {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0,0,0,.4);
    
}

.project-browser {
    height: 36px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #151515;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-family: "DM Mono", monospace;
    font-size: 7px;
    font-weight: 500;
    letter-spacing: .03em;
}

.project-browser i {
    width: 4px;
    height: 4px;
    margin-left: 1px;
    border-radius: 50%;
    background: #555555;
}

.project-browser i:first-of-type {
    margin-left: auto;
}

.project-browser small {
    margin-left: auto;
    color: #777777;
    font-size: 6px;
}

.project-lynktown {
    width: 430px;
    height: 280px;
    left: 55px;
    top: 5px;
    z-index: 1;
    transform: rotate(-2deg);
}

.lynktown-body {
    position: relative;
    height: calc(100% - 36px);
    overflow: hidden;
    background: #0c1c12;
}

.lynk-lines {
    position: absolute;
    inset: -20%;
    opacity: .45;
    background:
        repeating-linear-gradient(
            32deg,
            transparent 0 31px,
            #315b3c 32px 34px
        ),
        repeating-linear-gradient(
            -32deg,
            transparent 0 31px,
            #315b3c 32px 34px
        );
}

.lynk-phone {
    position: absolute;
    width: 103px;
    height: 220px;
    right: 70px;
    top: 22px;
    border: 4px solid #e7e9e2;
    border-radius: 17px;
    background: #e9e9e3;
    color: #5c665e;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    transform: rotate(-2deg);
}

.lynk-phone span {
    display: block;
    width: 100%;
    height: 48px;
    border-bottom: 2px solid #c6cec5;
    transform: skewY(13deg);
}

.lynk-phone b {
    position: absolute;
    left: 18px;
    bottom: 38px;
    font: 700 11px/1.1 "Manrope", sans-serif;
}

.project-icor {
    width: 410px;
    height: 245px;
    left: 5px;
    top: 185px;
    z-index: 3;
    transform: rotate(.5deg);
}

.icor-body {
    position: relative;
    height: calc(100% - 36px);
    overflow: hidden;
    background: #141414;
}

.icor-copy {
    position: relative;
    z-index: 2;
    padding: 34px 28px;
}

.icor-copy small {
    display: block;
    margin-bottom: 9px;
    color: #aaaaaa;
    font: 8px/1 "DM Mono", monospace;
}

.icor-copy strong {
    display: block;
    font: 700 23px/.98 "Manrope", sans-serif;
    letter-spacing: -.04em;
}

.icor-copy b {
    display: block;
    margin-top: 62px;
    font: 700 16px/1 "Manrope", sans-serif;
}

.icor-glow {
    position: absolute;
    width: 230px;
    height: 230px;
    right: 20px;
    top: 35px;
    border: 1px solid rgba(255,77,25,.6);
    border-radius: 50%;
    box-shadow:
        0 0 55px rgba(255,77,25,.2),
        inset 0 0 40px rgba(255,77,25,.08);
}

.project-hitasha {
    width: 405px;
    height: 250px;
    left: 135px;
    top: 350px;
    z-index: 5;
    transform: rotate(-1deg);
}

.hitasha-body {
    position: relative;
    height: calc(100% - 36px);
    overflow: hidden;
    padding: 36px 26px;
    background: #e7c2b2;
    color: #4a2721;
}

.hitasha-body small {
    font: 8px/1 "DM Mono", monospace;
    letter-spacing: .05em;
}

.hitasha-body strong {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 14px;
    font: 700 24px/.92 "Manrope", sans-serif;
    letter-spacing: -.05em;
}

.hitasha-body button {
    position: relative;
    z-index: 3;
    margin-top: 18px;
    padding: 9px 13px;
    border: 0;
    border-radius: 2px;
    background: #542b24;
    color: #ffffff;
    font: 7px "DM Mono", monospace;
}

.hitasha-shape {
    position: absolute;
    width: 190px;
    height: 235px;
    right: -8px;
    bottom: -90px;
    border-radius: 50% 50% 0 0;
    background: #c48d7a;
}

/* =========================================================
   METRIC CARDS
   ========================================================= */

.metric-card {
    position: absolute;
    z-index: 8;
    min-width: 104px;
    padding: 12px;
    border: 1px solid rgba(255,77,25,.35);
    border-radius: 5px;
    background: rgba(15,15,15,.94);
        box-shadow:
        0 0 25px rgba(255, 77, 25, .08),
        0 0 60px rgba(160, 45, 55, .06);
}

.metric-card strong {
    display: block;
    color: #ff914d;
    font: 700 14px/1 "DM Mono", monospace;
}

.metric-card span {
    display: block;
    margin-top: 7px;
    color: #dddddd;
    font: 8px/1 "Manrope", sans-serif;
}

.metric-speed {
    left: -50px;
    top: 145px;
}

.metric-conversion {
    left: -2px;
    top: 420px;
}

.metric-growth {
    right: -3px;
    top: 330px;
}

.visual-cross {
    position: absolute;
    z-index: 9;
    width: 13px;
    height: 13px;
}

.visual-cross::before,
.visual-cross::after {
    content: "";
    position: absolute;
    background: #ff914d;
}

.visual-cross::before {
    width: 13px;
    height: 1px;
    top: 6px;
}

.visual-cross::after {
    width: 1px;
    height: 13px;
    left: 6px;
}

.cross-one {
    left: 95px;
    top: 245px;
}

.cross-two {
    right: 60px;
    top: 90px;
    transform: scale(.7);
}

/* =========================================================
   INDIVIDUAL PORTFOLIO MOTION
   ========================================================= */

/* Main orbit movement */
.work-orbit-one {
    animation: orbitFloatOne 9s ease-in-out infinite;
    transform-origin: center;
}

.work-orbit-two {
    animation: orbitFloatTwo 11s ease-in-out infinite;
    transform-origin: center;
}


/* Project cards */
.project-lynktown {
    animation: lynktownFloat 6s ease-in-out infinite;
}

.project-icor {
    animation: icorFloat 7.5s ease-in-out infinite;
}

.project-hitasha {
    animation: hitashaFloat 6.8s ease-in-out infinite;
}


/* Individual elements inside cards */
.lynk-lines {
    animation: linesDrift 12s linear infinite;
}

.lynk-phone {
    animation: phoneFloat 5s ease-in-out infinite;
}

.icor-glow {
    animation: glowPulse 5s ease-in-out infinite;
}

.hitasha-shape {
    animation: shapeFloat 6s ease-in-out infinite;
}


/* =========================================================
   ORBITS
   ========================================================= */

@keyframes orbitFloatOne {
    0%, 100% {
        transform: rotate(-25deg) translate3d(0, 0, 0);
    }

    50% {
        transform: rotate(-22deg) translate3d(8px, -8px, 0);
    }
}

@keyframes orbitFloatTwo {
    0%, 100% {
        transform: rotate(17deg) translate3d(0, 0, 0);
    }

    50% {
        transform: rotate(20deg) translate3d(-8px, 10px, 0);
    }
}


/* =========================================================
   PROJECT CARDS
   ========================================================= */

@keyframes lynktownFloat {
    0%, 100% {
        transform: rotate(-2deg) translate3d(0, 0, 0);
    }

    50% {
        transform: rotate(-1deg) translate3d(5px, -8px, 0);
    }
}

@keyframes icorFloat {
    0%, 100% {
        transform: rotate(.5deg) translate3d(0, 0, 0);
    }

    50% {
        transform: rotate(1deg) translate3d(-7px, 7px, 0);
    }
}

@keyframes hitashaFloat {
    0%, 100% {
        transform: rotate(-1deg) translate3d(0, 0, 0);
    }

    50% {
        transform: rotate(-2deg) translate3d(8px, -6px, 0);
    }
}


/* =========================================================
   INNER ELEMENTS
   ========================================================= */

@keyframes linesDrift {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    50% {
        transform: translate3d(18px, -12px, 0) rotate(1deg);
    }

    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
}

@keyframes phoneFloat {
    0%, 100% {
        transform: rotate(-2deg) translate3d(0, 0, 0);
    }

    50% {
        transform: rotate(1deg) translate3d(0, -10px, 0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: .75;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-7px, -9px, 0) scale(1.03);
    }
}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .work-orbit-one,
    .work-orbit-two,
    .project-lynktown,
    .project-icor,
    .project-hitasha,
    .lynk-lines,
    .lynk-phone,
    .icor-glow,
    .hitasha-shape {
        animation: none;
    }
}
/* =========================================================
   HERO FOOTER / MARQUEE
   ========================================================= */

.hero-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 57px;
    border-top: 1px solid rgba(255,255,255,.14);
    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.hero-capabilities {
    display: flex;
    gap: 18px;
    overflow: hidden;
    color: #555555;
    white-space: nowrap;
}

.hero-capabilities span:not(:last-child)::after {
    content: "—";
    margin-left: 18px;
    color: #333333;
}

.hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #777777;
    white-space: nowrap;
}

.hero-scroll span:last-child {
    color: #ff914d;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1150px) {
    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 45px;
    }

    .hero-work-visual {
        display: none;
    }

    .hero-title {
        font-size: clamp(70px, 10vw, 120px);
    }

    .hero-bottom {
        margin-top: 60px;
    }
}

@media (max-width: 850px) {
    .hero-inner {
        width: calc(100% - 30px);
        padding-top: 92px;
    }

    .hero-topline span:last-child {
        display: none;
    }

    .hero-content {
        min-height: auto;
        padding: 55px 0 65px;
    }

    .hero-title {
        font-size: clamp(58px, 15.5vw, 88px);
    }

    .hero-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        margin-top: 45px;
    }

    .hero-description {
        width: min(100%, 390px);
    }

    .hero-actions {
        gap: 24px;
    }

    .hero-capabilities {
        display: none;
    }

    .hero-scroll {
        margin-left: auto;
    }
}

@media (max-width: 520px) {
    .hero-inner {
        width: calc(100% - 30px);
    }

    .hero-title {
        font-size: clamp(52px, 16.5vw, 76px);
    }

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

    .hero-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .hero-button-primary {
        min-width: 150px;
        padding-inline: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-work-visual {
        transition: none;
    }
}
