:root {
    --bg: #06101d;
    --bg-soft: #0a1727;
    --card: #0d1d30;

    --primary: #00d9ff;
    --primary-soft: #48e8ff;

    --text: #f4f8fb;
    --muted: #8ea1b5;

    --border: rgba(255,255,255,.09);

    --container: 1180px;

    --radius: 22px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--bg);
    color: var(--text);

    font-family: "Inter", sans-serif;

    line-height: 1.7;

    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


.container {
    width: min(90%, var(--container));
    margin: auto;
}


/* ================= NAVBAR ================= */

.navbar {
    position: fixed;

    width: 100%;
    top: 0;
    left: 0;

    z-index: 1000;

    background: rgba(6,16,29,.75);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}


.nav-wrapper {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.logo {
    display: flex;
    align-items: center;
    gap: 11px;
}


.logo-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(0,217,255,.45);

    background: rgba(0,217,255,.08);

    color: var(--primary);

    font-family: monospace;

    border-radius: 10px;

    box-shadow:
        0 0 25px rgba(0,217,255,.1);
}


.logo strong {
    display: block;

    font-family: "Space Grotesk";

    font-size: 20px;

    line-height: 1;
}


.logo small {
    display: block;

    margin-top: 4px;

    font-size: 8px;

    letter-spacing: 1.8px;

    color: var(--muted);
}


.nav-menu {
    display: flex;
    align-items: center;

    gap: 28px;
}


.nav-menu a {
    font-size: 13px;

    color: #aab9c9;

    transition: .3s;
}


.nav-menu a:hover {
    color: var(--primary);
}


.nav-button {
    border: 1px solid rgba(0,217,255,.35);

    padding: 10px 18px;

    border-radius: 50px;

    font-size: 12px;

    color: var(--primary);

    transition: .3s;
}


.nav-button:hover {
    background: var(--primary);

    color: #00121b;
}


.menu-toggle {
    display: none;

    border: 0;

    background: none;

    color: white;

    font-size: 25px;

    cursor: pointer;
}


/* ================= HERO ================= */

.hero {
    min-height: 850px;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding-top: 100px;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(0,217,255,.14),
            transparent 35%
        ),

        radial-gradient(
            circle at 15% 80%,
            rgba(26,83,145,.12),
            transparent 30%
        );
}


.hero-grid {
    position: absolute;

    inset: 0;

    opacity: .22;

    background-image:
        linear-gradient(rgba(0,217,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,217,255,.08) 1px, transparent 1px);

    background-size: 50px 50px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 90%
        );
}


.hero-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 50px;

    position: relative;
}


.hero-text {
    position: relative;
    z-index: 2;
}


.eyebrow {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 22px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--primary);

    box-shadow:
        0 0 12px var(--primary);
}


.hero h1 {
    max-width: 700px;

    font-family: "Space Grotesk";

    font-size: clamp(46px, 6vw, 82px);

    line-height: .98;

    letter-spacing: -3px;

    margin-bottom: 28px;
}


.hero h1 span {
    display: block;

    color: transparent;

    -webkit-text-stroke: 1px rgba(255,255,255,.7);

    background:
        linear-gradient(
            100deg,
            #fff,
            var(--primary)
        );

    background-clip: text;

    -webkit-background-clip: text;

    -webkit-text-stroke: 0;
}


.hero-text > p {
    max-width: 610px;

    color: var(--muted);

    font-size: 16px;

    margin-bottom: 34px;
}


.hero-buttons {
    display: flex;

    gap: 13px;

    flex-wrap: wrap;
}


.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    padding: 14px 22px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 700;

    transition: .3s;
}


.btn-primary {
    background: var(--primary);

    color: #00131c;

    box-shadow:
        0 12px 40px rgba(0,217,255,.18);
}


.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 45px rgba(0,217,255,.3);
}


.btn-outline {
    border: 1px solid var(--border);

    color: white;

    background: rgba(255,255,255,.025);
}


.btn-outline:hover {
    border-color: var(--primary);

    color: var(--primary);
}


.hero-stats {
    display: flex;

    gap: 45px;

    margin-top: 65px;

    padding-top: 25px;

    border-top: 1px solid var(--border);
}


.hero-stats strong {
    display: block;

    font-family: "Space Grotesk";

    font-size: 24px;

    color: var(--primary);
}


.hero-stats span {
    font-size: 10px;

    color: var(--muted);

    letter-spacing: 1px;
}


/* ================= NETWORK VISUAL ================= */

.network-visual {
    min-height: 500px;

    position: relative;

    display: grid;

    place-items: center;
}


.orbit {
    position: absolute;

    border: 1px solid rgba(0,217,255,.15);

    border-radius: 50%;
}


.orbit-1 {
    width: 320px;
    height: 320px;
}


.orbit-2 {
    width: 460px;
    height: 460px;

    transform: rotate(45deg);

    border-style: dashed;
}


.orbit-3 {
    width: 570px;
    height: 200px;

    transform: rotate(-25deg);
}


.server-card {
    width: min(400px, 85%);

    position: relative;
    z-index: 3;

    padding: 25px;

    border: 1px solid rgba(0,217,255,.22);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(17,40,63,.92),
            rgba(6,17,30,.96)
        );

    box-shadow:
        0 30px 80px rgba(0,0,0,.45),
        0 0 70px rgba(0,217,255,.08);

    backdrop-filter: blur(20px);
}


.server-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);
}


.server-title {
    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}


.server-status {
    display: flex;

    gap: 7px;

    align-items: center;

    font-size: 8px;

    color: #76ffb5;
}


.server-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #76ffb5;

    box-shadow: 0 0 10px #76ffb5;
}


.server-body {
    padding: 22px 0;
}


.server-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 18px;
}


.server-row > span {
    font-size: 9px;

    color: var(--muted);

    letter-spacing: 1px;
}


.bars {
    display: flex;

    gap: 4px;
}


.bars i {
    display: block;

    width: 25px;
    height: 5px;

    border-radius: 3px;

    background: rgba(0,217,255,.15);
}


.bars i:nth-child(-n+4) {
    background: var(--primary);

    box-shadow:
        0 0 7px rgba(0,217,255,.5);
}


.server-code {
    display: flex;

    justify-content: space-between;

    font-family: monospace;

    font-size: 9px;

    color: rgba(0,217,255,.45);
}


.floating-node {
    position: absolute;

    z-index: 4;

    width: 45px;
    height: 45px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    border: 1px solid rgba(0,217,255,.3);

    background: #0b1c2e;

    color: var(--primary);

    font-family: monospace;

    font-size: 12px;

    box-shadow: 0 10px 35px rgba(0,0,0,.4);
}


.node-1 {
    top: 12%;

    right: 10%;
}


.node-2 {
    bottom: 13%;

    left: 10%;
}


.node-3 {
    top: 46%;

    right: 0;
}


/* ================= TICKER ================= */

.ticker {
    overflow: hidden;

    padding: 17px 0;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    background: #071422;

    white-space: nowrap;
}


.ticker-track {
    display: inline-flex;

    gap: 30px;

    min-width: max-content;

    animation: ticker 30s linear infinite;

    color: #688096;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


.ticker-track span:nth-child(2n) {
    color: var(--primary);
}


@keyframes ticker {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* ================= SECTIONS ================= */

.section {
    padding: 125px 0;
}


.section-heading {
    max-width: 760px;

    margin-bottom: 65px;
}


.section-heading.center {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


.section-number {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}


.section-heading h2,
.career h2,
.cta h2 {
    font-family: "Space Grotesk";

    font-size: clamp(36px, 5vw, 62px);

    line-height: 1.05;

    letter-spacing: -2px;
}


.section-heading h2 span,
.career h2 span,
.cta h2 span {
    color: var(--primary);
}


.section-heading p {
    color: var(--muted);

    margin-top: 20px;

    max-width: 620px;
}


/* ================= ABOUT ================= */

.about {
    background:
        linear-gradient(
            180deg,
            var(--bg),
            var(--bg-soft)
        );
}


.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}


.about-image {
    min-height: 480px;

    border-radius: var(--radius);

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #102a42,
            #06111e
        );

    border: 1px solid var(--border);

    position: relative;
}


.image-placeholder {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(0,217,255,.25),
            transparent 35%
        ),

        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 30px,
            rgba(0,217,255,.04) 31px
        ),

        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 30px,
            rgba(0,217,255,.04) 31px
        );
}


.image-overlay {
    position: absolute;

    left: 35px;
    bottom: 35px;
}


.image-overlay span {
    font-family: "Space Grotesk";

    font-size: 90px;

    font-weight: 700;

    color: rgba(255,255,255,.04);
}


.image-overlay strong {
    display: block;

    color: var(--primary);

    font-size: 11px;

    letter-spacing: 3px;
}


.about-content > p {
    color: var(--muted);

    margin: 30px 0;
}


.quote {
    display: flex;

    gap: 20px;

    padding: 25px 0;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}


.quote > span {
    font-family: Georgia;

    font-size: 55px;

    line-height: .8;

    color: var(--primary);
}


.quote p {
    font-family: "Space Grotesk";

    font-size: 20px;

    line-height: 1.45;
}


.text-link {
    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .5px;
}


.text-link:hover {
    text-decoration: underline;
}


/* ================= SKILLS ================= */

.skills {
    background: #081524;
}


.skills-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}


.skill-card {
    min-height: 270px;

    position: relative;

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: 16px;

    background: rgba(255,255,255,.018);

    transition: .35s;

    overflow: hidden;
}


.skill-card:hover,
.skill-card.active {
    border-color: rgba(0,217,255,.35);

    transform: translateY(-7px);

    background:
        linear-gradient(
            145deg,
            rgba(0,217,255,.08),
            rgba(255,255,255,.015)
        );
}


.skill-icon {
    font-family: monospace;

    font-size: 11px;

    color: var(--primary);

    margin-bottom: 70px;
}


.skill-card h3 {
    font-family: "Space Grotesk";

    font-size: 21px;

    margin-bottom: 12px;
}


.skill-card p {
    color: var(--muted);

    font-size: 13px;
}


.card-arrow {
    position: absolute;

    right: 25px;
    top: 25px;

    color: var(--primary);

    font-size: 20px;
}


/* ================= TERMINAL ================= */

.terminal-section {
    padding: 80px 0;

    background: #050d17;
}


.terminal {
    border: 1px solid rgba(0,217,255,.2);

    border-radius: 15px;

    overflow: hidden;

    background: #030911;

    box-shadow:
        0 30px 80px rgba(0,0,0,.4);
}


.terminal-header {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 13px 20px;

    background: #0b1623;

    color: #71879b;

    font-family: monospace;

    font-size: 11px;
}


.terminal-buttons {
    display: flex;

    gap: 6px;
}


.terminal-buttons span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #314456;
}


.terminal-content {
    padding: 35px;

    font-family: monospace;

    font-size: 13px;

    line-height: 2;
}


.terminal-content h3 {
    color: white;

    font-size: 27px;

    margin: 10px 0 20px;
}


.green {
    color: #64e89b;
}


.blue {
    color: var(--primary);
}


.terminal-skills {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin: 10px 0 20px;
}


.terminal-skills span {
    padding: 3px 9px;

    border: 1px solid rgba(0,217,255,.2);

    color: var(--primary);

    font-size: 10px;
}


.cursor-line {
    animation: blink 1s infinite;
}


@keyframes blink {

    50% {
        opacity: .3;
    }

}


/* ================= PROJECT ================= */

.project-grid {
    display: grid;

    grid-template-columns: 1.4fr 1fr;

    gap: 15px;
}


.project-card {
    border: 1px solid var(--border);

    border-radius: 17px;

    overflow: hidden;

    background: rgba(255,255,255,.015);
}


.project-large {
    grid-row: span 2;
}


.project-image {
    min-height: 310px;

    position: relative;

    overflow: hidden;
}


.project-large .project-image {
    min-height: 650px;
}


.project-network {
    background:
        radial-gradient(
            circle,
            rgba(0,217,255,.25),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #092139,
            #040c15
        );
}


.network-lines {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            30deg,
            transparent 48%,
            rgba(0,217,255,.3) 49%,
            transparent 50%
        ),
        linear-gradient(
            120deg,
            transparent 48%,
            rgba(0,217,255,.3) 49%,
            transparent 50%
        );

    background-size: 100px 100px;

    opacity: .5;
}


.project-server {
    background:
        radial-gradient(
            circle at center,
            rgba(0,217,255,.2),
            transparent 40%
        ),

        #081827;
}


.server-shape {
    position: absolute;

    width: 120px;
    height: 200px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(0,217,255,.35);

    border-radius: 8px;

    box-shadow:
        0 0 60px rgba(0,217,255,.15);
}


.server-shape::after {
    content: "";

    position: absolute;

    left: 25px;
    right: 25px;

    top: 35px;

    height: 5px;

    background: var(--primary);

    box-shadow:
        0 35px 0 rgba(0,217,255,.4),
        0 70px 0 rgba(0,217,255,.2);
}


.project-security {
    display: grid;

    place-items: center;

    background:
        radial-gradient(
            circle,
            rgba(0,217,255,.18),
            transparent 45%
        ),

        #071624;
}


.security-shield {
    font-size: 100px;

    color: var(--primary);

    text-shadow:
        0 0 50px rgba(0,217,255,.4);
}


.project-label {
    position: absolute;

    left: 25px;
    bottom: 25px;

    padding: 7px 12px;

    border: 1px solid rgba(0,217,255,.25);

    border-radius: 5px;

    color: var(--primary);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

    background: rgba(0,0,0,.25);
}


.project-info {
    padding: 25px;
}


.project-info > span {
    color: var(--primary);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


.project-info h3 {
    margin: 8px 0;

    font-family: "Space Grotesk";

    font-size: 21px;
}


.project-info p {
    color: var(--muted);

    font-size: 12px;
}


/* ================= CAREER ================= */

.career {
    background:
        linear-gradient(
            120deg,
            #071524,
            #06101d
        );
}


.career-wrapper {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}


.career-wrapper > div:first-child p {
    max-width: 500px;

    color: var(--muted);

    margin-top: 25px;
}


.career-list {
    display: grid;

    grid-template-columns: 1fr 1fr;

    border-top: 1px solid var(--border);
}


.career-list div {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 20px 0;

    border-bottom: 1px solid var(--border);
}


.career-list span {
    font-family: monospace;

    color: var(--primary);

    font-size: 10px;
}


.career-list strong {
    font-family: "Space Grotesk";

    font-size: 14px;
}


/* ================= NEWS ================= */

.section-top {
    display: flex;

    align-items: end;

    justify-content: space-between;

    margin-bottom: 60px;
}


.news-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}


.news-card {
    padding: 30px;

    min-height: 330px;

    position: relative;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: #091625;

    transition: .3s;
}


.news-card:hover {
    border-color: rgba(0,217,255,.3);

    transform: translateY(-5px);
}


.news-date {
    margin-bottom: 65px;

    color: var(--primary);

    font-family: monospace;

    font-size: 11px;
}


.news-card > span {
    color: #6f8498;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.news-card h3 {
    font-family: "Space Grotesk";

    font-size: 20px;

    line-height: 1.3;

    margin: 12px 0 25px;
}


.news-card a {
    position: absolute;

    bottom: 25px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;
}


/* ================= CTA ================= */

.cta {
    padding: 100px 0;
}


.cta-box {
    position: relative;

    overflow: hidden;

    text-align: center;

    padding: 100px 30px;

    border: 1px solid rgba(0,217,255,.2);

    border-radius: 25px;

    background:
        radial-gradient(
            circle at center,
            rgba(0,217,255,.12),
            transparent 50%
        ),

        #081827;
}


.cta-glow {
    position: absolute;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background: rgba(0,217,255,.12);

    filter: blur(70px);

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}


.cta-box > * {
    position: relative;

    z-index: 2;
}


.cta-box h2 {
    max-width: 750px;

    margin: auto auto 20px;
}


.cta-box p {
    color: var(--muted);

    margin-bottom: 30px;
}


/* ================= FOOTER ================= */

footer {
    border-top: 1px solid var(--border);

    background: #040b13;
}


.footer-wrapper {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 50px;

    padding: 65px 0;
}


.footer-brand p {
    max-width: 250px;

    margin-top: 18px;

    color: var(--muted);

    font-size: 12px;
}


.footer-links {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.footer-links a {
    color: var(--muted);

    font-size: 12px;

    transition: .2s;
}


.footer-links a:hover {
    color: var(--primary);
}


.footer-contact strong {
    font-family: "Space Grotesk";
}


.footer-contact p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 12px;
}


.footer-bottom {
    padding: 20px 0;

    border-top: 1px solid var(--border);

    color: #506276;

    font-size: 9px;

    letter-spacing: 1px;
}


.footer-bottom .container {
    display: flex;

    justify-content: space-between;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 950px) {

    .nav-menu {
        position: absolute;

        top: 78px;
        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        padding: 25px;

        background: #071321;

        border-bottom: 1px solid var(--border);
    }


    .nav-menu.active {
        display: flex;
    }


    .nav-button {
        display: none;
    }


    .menu-toggle {
        display: block;
    }


    .hero-content {
        grid-template-columns: 1fr;
    }


    .network-visual {
        min-height: 420px;
    }


    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .project-grid {
        grid-template-columns: 1fr;
    }


    .project-large {
        grid-row: auto;
    }


    .project-large .project-image {
        min-height: 400px;
    }


    .career-wrapper {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .news-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .hero {
        min-height: 800px;
    }


    .hero h1 {
        font-size: 45px;

        letter-spacing: -2px;
    }


    .hero-stats {
        gap: 20px;
    }


    .hero-stats span {
        font-size: 8px;
    }


    .network-visual {
        min-height: 340px;
    }


    .orbit-1 {
        width: 220px;
        height: 220px;
    }


    .orbit-2 {
        width: 300px;
        height: 300px;
    }


    .orbit-3 {
        width: 360px;
    }


    .server-card {
        padding: 18px;
    }


    .section {
        padding: 85px 0;
    }


    .skills-grid {
        grid-template-columns: 1fr;
    }


    .skill-card {
        min-height: 220px;
    }


    .skill-icon {
        margin-bottom: 45px;
    }


    .about-image {
        min-height: 330px;
    }


    .career-list {
        grid-template-columns: 1fr;
    }


    .section-top {
        align-items: start;

        flex-direction: column;

        gap: 20px;
    }


    .footer-wrapper {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .footer-bottom .container {
        flex-direction: column;

        gap: 10px;
    }

}