:root {
    --color-background: #0a0a0a;
    --color-text: #ffffff;
    --color-accent: #7dd3fc;
    --color-muted: #a1a1aa;
    --color-muted-dark: #71717a;
    --color-border: #27272a;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);

    font-family: Arial, sans-serif;

    min-height: 100vh;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.010) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 80px 80px;
    background-position: 0 0;

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

.hero {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;
    position: relative;
    overflow: hidden;
    }
.hero-room {
    position: absolute;
    inset: -20px;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.42),
            rgba(0, 0, 0, 0.42)
        ),
        url("assets/images/hero-room.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate(
    var(--room-x, 0px),
    var(--room-y, 0px)
);

    transition: transform 0.1s linear;

    z-index: 0;
    pointer-events: none;
}
.hero-subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
}

.hero-description {
    font-size: 18px;
    color: var(--color-muted);
    margin-top: 20px;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    padding: 30px 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    color: var(--color-text);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--color-accent);
   
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--color-muted);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
}

.nav-links a {
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-accent);
}
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}
.btn {
    padding: 14px 24px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;

    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-primary {
    background-color: var(--color-accent);
    color: #0a0a0a;
    border-color: var(--color-accent);
}
.btn-primary:hover {
    background-color: white;
    border-color: white;
}
.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
}
.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.hero > *:not(.hero-room) {
    position: relative;
    z-index: 2;
}
.hero::after {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    background: radial-gradient(
        circle,
        rgba(125, 211, 252, 0.20) 0%,
        rgba(125, 211, 252, 0.08) 40%,
        transparent 70%
    );

    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);

    transform: translate(-50%, -50%);

    z-index: 1;

    pointer-events: none;
}
.about {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 100px 10%;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            to bottom,
            rgba(20, 10, 55, 0.45) 0%,
            rgba(10, 20, 55, 0.25) 12%,
            rgba(8, 8, 8, 0.05) 35%,
            transparent 60%
        ),
        radial-gradient(
            ellipse at 75% 0%,
            rgba(100, 40, 255, 0.16),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 25% 0%,
            rgba(40, 120, 255, 0.12),
            transparent 40%
        );
}

.about-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}
.section-number {
    color: var(--color-accent);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 30px;
}
.about-title {
    font-size: 72px;
    line-height: 1;
}
.about-photo {
    width: 340px;
    height: 430px;

    margin-top: 40px;
    overflow: hidden;

   border: 1px solid rgba(255, 255, 255, 0.12);

    position: relative;
}
.about-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;

    transition: transform 0.5s ease,
                filter 0.5s ease;
}

.about-photo:hover img {
    transform: scale(1.03);
}
.about-photo::before,
.about-photo::after {
    content: "";
    position: absolute;

    width: 45px;
    height: 45px;

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

.about-photo::before {
    top: -1px;
    left: -1px;

    border-top: 2px solid var(--color-accent);
    border-left: 2px solid var(--color-accent);

    box-shadow: -4px -4px 12px rgba(125, 211, 252, 0.25);
}

.about-photo::after {
    right: -1px;
    bottom: -1px;

    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);

    box-shadow: 4px 4px 12px rgba(125, 211, 252, 0.25);
}
.about-photo-info {
    width: 340px;

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

    margin-top: 12px;

    font-size: 10px;
    letter-spacing: 2px;
    color: var(--color-accent);
}
.about-text {
    max-width: 650px;

    color: var(--color-muted);

    font-size: 20px;
    line-height: 1.7;
}
.about-content {
    display: flex;
    justify-content: space-between;
    gap: 100px;
}
.about-left {
    flex: 1;
}

.about-right {
    padding-top: 200px;
}

.about-text + .about-text {
    margin-top: 30px;
}
.about-info {
    display: flex;
    gap: 80px;

    margin-top: 60px;
    padding-top: 30px;

    border-top: 1px solid var(--color-border);
}
.about-story {
    margin-top: 120px;
    padding-top: 40px;

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

.story-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 50px;

    font-size: 12px;
    letter-spacing: 3px;
    color: var(--color-accent);
}

.story-title {
    margin: 0;

    font-size: 64px;
    line-height: 0.95;
    letter-spacing: -2px;
    font-weight: 700;

    color: var(--color-text);
}
.story-chapter {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 60px;

    width: 100%;
    margin-top: 80px;
    padding-top: 40px;

    border-top: 1px solid var(--color-border);
}
.story-year {
    display: flex;
    flex-direction: column;
    gap: 8px;

    font-size: 12px;
    letter-spacing: 3px;
    color: var(--color-accent);
}

.story-year span:last-child {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;

    color: var(--color-text);
}

.story-label {
    margin: 0 0 20px;

    font-size: 12px;
    letter-spacing: 3px;

    color: var(--color-accent);
}

.story-text {
    max-width: 700px;
    margin: 0;

    font-size: 18px;
    line-height: 1.8;

    color: var(--color-muted);
}
.story-text-secondary {
    margin-top: 24px;
}
.story-ending p {
    margin: 0 0 20px;

    font-size: 11px;
    letter-spacing: 3px;

    color: var(--color-accent);
}

.story-ending h3 {
    max-width: 1000px;
    margin: 0;

    font-size: clamp(36px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -2px;

    color: var(--color-text);
}

.story-ending h3 span {
    color: var(--color-accent);
}
.story-content {
    min-width: 0;
    width: 100%;
}

.story-ending {
    width: 100%;
    clear: both;

    margin-top: 100px;
    padding-top: 50px;
    padding-bottom: 60px;

    border-top: 1px solid var(--color-border);
}
.story-chapter {
    position: relative;
}

.story-chapter::before {
    content: "";
    position: absolute;

    top: -4px;
    left: 0;

    width: 7px;
    height: 7px;

    background: var(--color-accent);

    box-shadow: 0 0 12px var(--color-accent);
}
.story-chapter {
    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.story-chapter.story-visible {
    opacity: 1;
    transform: translateY(0);
}
.info-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-label {
    color: var(--color-muted-dark);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}
.info-value {
    color: var(--color-text);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1px;
}
.projects {
    min-height: 100vh;

    padding: 120px 10%;

    display: flex;
    align-items: center;
}

.projects-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}

.projects-title {
    font-size: 72px;
    line-height: 1;

    margin-bottom: 70px;
}
.projects-list {
    width: 100%;
}

.project-card {
    position: relative;

    display: grid;
    grid-template-columns: 80px 1fr 80px;

    gap: 40px;

    padding: 50px 0;

    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    transition: padding 0.4s ease;
}
.project-number {
    color: var(--color-muted-dark);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    padding-top: 10px;
    transition: color 0.3s ease;
}
.project-name {
    font-size: 48px;
    line-height: 1;

    margin-bottom: 20px;
    transition: transform 0.4s ease;
}.project-name span {
    color: var(--color-accent);
}
.project-description {
    max-width: 600px;

    color: var(--color-muted);

    font-size: 16px;
    line-height: 1.7;

    margin-bottom: 25px;
}
.project-tech {
    color: var(--color-muted-dark);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}
.project-arrow {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-right: 10px;

    color: var(--color-accent);

    font-size: 28px;

    transition: transform 0.3s ease;
}
.project-card:hover .project-arrow {
    transform: translate(6px, -6px);
}
.project-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(125, 211, 252, 0.06),
        transparent
    );

    transform: translateX(-100%);
    transition: transform 0.6s ease;

    pointer-events: none;
}
.project-card:hover::before {
    transform: translateX(100%);
}
.project-card:hover .project-name {
    transform: translateX(10px);
}
.project-card:hover .project-number {
    color: var(--color-accent);
}
.project-link {
    display: block;

    color: inherit;
    text-decoration: none;

    cursor: pointer;
}
/* =========================
   PROJECT PAGE
========================= */

.project-hero {
    position: relative;

    min-height: 100vh;
    padding: 60px 10%;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.project-hero-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    position: relative;
    z-index: 1;
}
.back-link {
    position: absolute;
    top: -100px;
    left: 0;

    color: var(--color-muted);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    text-decoration: none;

    transition: color 0.3s ease;
}
.back-link:hover {
    color: var(--color-accent);
}
.project-page-title {
    max-width: 900px;

    margin-top: 25px;

    color: var(--color-text);

    font-size: clamp(80px, 11vw, 170px);
    font-weight: 700;

    line-height: 0.82;
    letter-spacing: -6px;
}
.project-page-title span {
    color: var(--color-accent);
}
.project-page-subtitle {
    max-width: 500px;

    margin-top: 45px;

    color: var(--color-muted);

    font-size: 18px;
    line-height: 1.7;
}
.project-hero::before {
    content: "";
    position: absolute;
    inset: 0;
      background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );
    background-size: 80px 80px;   
    pointer-events: none;
}

.project-page-subtitle {
    position: relative;
}

.project-page-subtitle::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    margin-top: 30px;
    background: var(--color-accent);
}

.project-overview {
    min-height: 100vh;
    padding: 120px 10%;
    display: flex;
    align-items: center;
}

.project-overview-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-top: 60px;
    border-top: 1px solid var(--color-border);
    padding-top: 60px;
}

.overview-title {
    color: var(--color-text);
    font-size: 64px;
    line-height: 0.95;
    letter-spacing: -2px;
}

.overview-text {
    color: var(--color-muted);
    font-size: 18px;
    line-height: 1.8;
}

.overview-text + .overview-text {
    margin-top: 30px;
}
/* =========================
   PROJECT TECHNOLOGIES
========================= */

.project-technologies {
    min-height: 100vh;

    padding: 120px 10%;

    display: flex;
    align-items: center;
}

.technologies-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}
.technologies-title {
    margin-top: 40px;

    color: var(--color-text);

    font-size: 64px;
    line-height: 0.95;

    letter-spacing: -2px;
}
.technologies-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    margin-top: 70px;

    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.technology-item {
    position: relative;

    padding: 45px 35px;

    border-right: 1px solid var(--color-border);

    overflow: hidden;

    transition: background 0.3s ease;
}
.technology-item:last-child {
    border-right: none;
}
.technology-number {
    color: var(--color-accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}
.technology-name {
    margin-top: 50px;

    color: var(--color-text);

    font-size: 32px;
    font-weight: 600;

    letter-spacing: -1px;

    transition: transform 0.3s ease;
}
.technology-description {
    margin-top: 12px;

    color: var(--color-muted);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 2px;
}
.technology-item:hover {
    background: rgba(125, 211, 252, 0.04);
}
.technology-item:hover .technology-name {
    transform: translateY(-5px);
}
/* =========================
   DEVELOPMENT JOURNEY
========================= */

.development {
    min-height: 100vh;

    padding: 120px 10% 220px;

    display: flex;
    align-items: center;
}

.development-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}

.development-title {
    margin-top: 40px;

    color: var(--color-text);

    font-size: 64px;
    line-height: 0.95;

    letter-spacing: -2px;
}
.development-list {
    margin-top: 70px;

    border-top: 1px solid var(--color-border);
}
.development-item {
    display: grid;

    grid-template-columns: 80px 1fr 120px;

    gap: 40px;

    padding: 45px 0;

    border-bottom: 1px solid var(--color-border);
    transition: padding-left 0.3s ease;
}
.development-number {
    color: var(--color-muted);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}
.development-version {
    color: var(--color-accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}
.development-name {
    margin-top: 12px;

    color: var(--color-text);

    font-size: 28px;

    letter-spacing: -1px;
}
.development-description {
    max-width: 600px;

    margin-top: 15px;

    color: var(--color-muted);

    font-size: 15px;
    line-height: 1.7;
}
.development-status {
    justify-self: end;

    color: var(--color-muted);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}
.development-status.completed {
    color: var(--color-accent);
}
.development-item:hover {
    padding-left: 10px;
}
/* =========================
   SCROLL REVEAL
========================= */

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

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.technology-item:nth-child(1) {
    transition-delay: 0s;
}

.technology-item:nth-child(2) {
    transition-delay: 0.1s;
}

.technology-item:nth-child(3) {
    transition-delay: 0.2s;
}/* =========================
   PROJECT PREVIEW
========================= */

.project-preview {
    min-height: 100vh;
    padding: 120px 10% 180px;

    display: flex;
    align-items: center;
}

.preview-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}

.preview-title {
    margin-top: 40px;

    color: var(--color-text);

    font-size: 64px;
    line-height: 0.95;

    letter-spacing: -2px;
}
.terminal {
    max-width: 900px;

    margin-top: 70px;

    border: 1px solid var(--color-border);

    background: #080808;

    overflow: hidden;
}
.terminal-header {
    height: 55px;

    padding: 0 20px;

    display: flex;
    align-items: center;

    position: relative;

    border-bottom: 1px solid var(--color-border);
}
.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dots span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: var(--color-muted);

    opacity: 0.5;
}
.terminal-body {
    min-height: 430px;

    padding: 45px;

    color: #d8d8d8;

    font-family: "Courier New", monospace;

    font-size: 15px;
    line-height: 1.8;
}
.terminal-prompt {
    color: var(--color-accent);

    margin-right: 8px;
}
.terminal-cursor {
    display: inline-block;

    width: 8px;
    height: 16px;

    margin-left: 5px;

    background: var(--color-accent);

    vertical-align: middle;

    animation: terminalBlink 0.8s infinite;
}

@keyframes terminalBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }

}
#terminal-output {
    white-space: pre-wrap;
}

.terminal-line {
    min-height: 1.8em;
}

.terminal-command {
    color: var(--color-accent);
}
.terminal-line {
    min-height: 1.8em;
    color: var(--color-text);
}

.terminal-command {
    color: var(--color-accent);
}
/* =========================
   PROJECT FOOTER
========================= */

.project-footer {
    min-height: 80vh;

    padding: 120px 10%;

    display: flex;
    align-items: center;
}

.project-footer-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}
.project-footer-title {
    margin-top: 40px;

    color: var(--color-text);

    font-size: 72px;
    line-height: 0.95;

    letter-spacing: -3px;
    margin-bottom: 50px;
}
.project-footer-actions {
    display: flex;
    gap: 15px;

}
.project-footer-button {
    padding: 16px 26px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    text-decoration: none;

    border: 1px solid var(--color-border);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}.project-footer-button.primary {
    background: var(--color-accent);
    border-color: var(--color-accent);

    color: var(--color-background);
}

.project-footer-button.primary:hover {
    background: var(--color-text);
    border-color: var(--color-text);
}
.project-footer-button.secondary {
    color: var(--color-text);
    background: transparent;
}

.project-footer-button.secondary:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}
/* =========================
   RESPONSIVE - MOBILE
========================= */

@media (max-width: 768px) {

    .project-footer {
    padding: 80px 24px;
    }

    .project-footer-container {
        width: 100%;
        max-width: 100%;
    }

    .project-footer-title {
        font-size: 52px;
        line-height: 0.95;
        letter-spacing: -2px;
        margin-bottom: 40px;
    }

        .project-footer-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 40px;
    }

    .project-footer-button {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 16px 20px;
    }

    .projects {
        padding: 80px 24px;
    }

    .projects-container {
        width: 100%;
        max-width: 100%;
    }

    .projects-title {
        font-size: 52px;
        line-height: 0.95;
        letter-spacing: -2px;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 35px 0;
    }

    .project-name {
        font-size: 38px;
        line-height: 1;
        word-break: normal;
    }

    .project-description {
        font-size: 16px;
        line-height: 1.6;
        max-width: 100%;
    }
    .navbar {
    padding: 25px 24px;
    }

    .nav-container {
        width: 100%;
    }

    .nav-links {
        display: none;
    }

    .logo {
        font-size: 20px;
    }
    .about {
    padding: 80px 24px;
    }

    .about-container {
        width: 100%;
        max-width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-title {
        font-size: 64px;
        line-height: 0.95;
    }

    .about-text {
        width: 100%;
        max-width: 100%;
    }
    /* =========================
   ABOUT - MOBILE
    ========================= */

    .about {
        padding: 80px 24px;
    }

    .about-container {
        width: 100%;
        max-width: 100%;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        gap: 45px;
    }

    .about-left,
    .about-right {
        width: 100%;
        max-width: 100%;
    }

    .about-title {
        font-size: 56px;
        line-height: 0.95;
        letter-spacing: -2px;
    }

    .about-text {
        width: 100%;
        max-width: 100%;
        font-size: 17px;
        line-height: 1.7;
    }

    .about-info {
        width: 100%;
    }
    /* TECHNOLOGIES - MOBILE */

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

    .technology-item {
    width: 100%;
    padding: 30px 0;

    border-right: none;
    border-bottom: 1px solid var(--color-border);
    }
    .technology-name {
        font-size: 32px;
    }
    /* =========================
   DEVELOPMENT - MOBILE
    ========================= */

    .development-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 35px 0;
    }

    .development-content {
        width: 100%;
    }

    .development-description {
        max-width: 100%;
    }

    .development-status {
        justify-self: start;
    }
    .terminal-title {
    margin-left: 10px;
    }

}