:root {
    --accent-vixl: #bcbcbc;
    --accent-o: #c6c6c6;
    --accent-rt: #d0d0d0;
    --accent-xyz: #dadada;
    --accent-clipai: #e4e4e4;
    --terminal-bg: rgba(0, 0, 0, 0.72);
    --terminal-border: rgba(255, 255, 255, 0.08);
    --terminal-glow: rgba(200, 200, 200, 0.25);
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #000;
    color: #ddd;
    margin: 0;
    padding: 20px;
    line-height: 1.5;
    overflow-x: hidden;
    background-image: repeating-linear-gradient(to bottom, transparent 0px, transparent 1px, rgba(255, 255, 255, 0.1) 1px, rgba(255, 255, 255, 0.1) 2px);
    background-size: 100% 2px;
    animation: scan 1s linear infinite;
}

html {
    scrollbar-width: none;
}

body {
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 3px);
    opacity: 0.08;
    mix-blend-mode: screen;
    animation: jitter 2.5s steps(60) infinite;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
                radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 55%);
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    color: #fff;
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

.section {
    max-width: 1100px;
    margin: 120px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-title {
    color: #fff;
    font-size: 1.4em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-align: center;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.centered-section {
    max-width: 780px;
    margin: 0 auto 32px;
    text-align: center;
}

.centered-section .section-title {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.centered-section .section-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 2;
}


.terminal-card {
    position: relative;
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 14px;
    padding: 28px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(10, 255, 200, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
    opacity: 1;
}

.terminal-card::before,
.terminal-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.terminal-card::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    mix-blend-mode: overlay;
    opacity: 0.15;
}

.terminal-card::after {
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 3px);
    opacity: 0.2;
}

.terminal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(10, 255, 200, 0.18);
}

.terminal-card.pre-reveal {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
    filter: blur(8px);
}

.terminal-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition: transform 0.6s ease, box-shadow 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
}

.terminal-card.glow-on::before {
    opacity: 0.32;
}

.terminal-card.glow-on::after {
    opacity: 0.42;
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.65);
}

.terminal-header span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.terminal-badge {
    font-size: 0.75em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.boot-log {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    min-height: 56px;
    margin-bottom: 18px;
    line-height: 1.4;
    position: relative;
    padding-right: 12px;
}

.boot-log::after {
    content: "";
    position: absolute;
    right: 0;
    top: 6px;
    bottom: 6px;
    width: 6px;
    background: rgba(255, 255, 255, 0.5);
    animation: caretBlink 0.8s steps(2, start) infinite;
    opacity: 0.7;
}

.terminal-card:hover .boot-log::after {
    animation-duration: 0.45s;
}

.catch-line {
    color: #fff;
    font-weight: bold;
    font-size: 1.05em;
    margin-bottom: 12px;
}

.feature-list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.feature-list li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.75);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.25) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button .chevron {
    font-size: 0.75em;
    opacity: 0.8;
}


.terminal-card[data-accent="vixl"],
.terminal-card[data-accent="o"],
.terminal-card[data-accent="rt"],
.terminal-card[data-accent="xyz"],
.terminal-card[data-accent="clipai"] {
    border-color: rgba(200, 200, 200, 0.25);
    box-shadow: 0 0 24px rgba(90, 90, 90, 0.2);
}

.linked-tools {
    margin-top: 12px;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
}


.timeline {
    --timeline-offset: 48px;
    --axis-offset: 18px;
    --dot-diameter: 16px;
    position: relative;
    display: grid;
    gap: 28px;
    margin-top: 48px;
    padding-left: var(--timeline-offset);
}

.timeline::before {
    content: "";
    position: absolute;
    left: var(--axis-offset);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(160, 160, 160, 0.4) 0%, rgba(90, 90, 90, 0.25) 100%);
}

.timeline-entry {
    position: relative;
    display: grid;
    grid-template-columns: minmax(110px, 140px) 1fr;
    gap: 24px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.timeline-entry::before {
    content: "";
    position: absolute;
    left: calc(var(--axis-offset) - var(--timeline-offset) - (var(--dot-diameter) / 2));
    top: 8px;
    width: var(--dot-diameter);
    height: var(--dot-diameter);
    background: rgba(210, 210, 210, 0.85);
    border: 2px solid rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(160, 160, 160, 0.35);
}

.timeline-entry.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-stamp {
    font-size: 0.82em;
    letter-spacing: 0.12em;
    color: rgba(200, 200, 200, 0.85);
    text-transform: uppercase;
    padding-top: 4px;
}

.timeline-card {
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.timeline-card header {
    font-weight: bold;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.04em;
}

.timeline-card ul {
    margin: 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.74);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-card li {
    line-height: 1.5;
}

.site-footer {
    margin-top: 120px;
    padding: 40px 20px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.75);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95em;
    letter-spacing: 0.04em;
}

.footer-links a:hover {
    color: #dcdcdc;
}

.footer-links .footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.08em;
    background: rgba(60, 60, 60, 0.4);
}

.footer-links .footer-cta:hover {
    background: rgba(90, 90, 90, 0.5);
}

.resume-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    align-items: stretch;
    margin-top: 48px;
}

.resume-meta {
    display: grid;
    gap: 18px;
}

.resume-card {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 22px;
    color: rgba(255, 255, 255, 0.78);
}

.resume-card header {
    font-weight: bold;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.resume-preview {
    display: flex;
    align-items: stretch;
}

.resume-pane {
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 20px rgba(80, 80, 80, 0.2);
}

.resume-pane header {
    font-size: 1.4em;
    color: #fff;
    letter-spacing: 0.06em;
}

.resume-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(200, 200, 200, 0.4);
    object-fit: cover;
    margin-top: 8px;
    margin-bottom: 12px;
    box-shadow: 0 0 16px rgba(80, 80, 80, 0.25);
}

.resume-actions {
    display: flex;
    gap: 16px;
}

.resume-note {
    color: rgba(255, 255, 255, 0.55);
}

.hidden {
    display: none;
}

.revealed {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes overlayScan {
    0% {
        transform: translateY(-130%);
    }
    100% {
        transform: translateY(130%);
    }
}

@keyframes caretBlink {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@keyframes scan {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 2px;
    }
}

@keyframes jitter {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(1px, -1px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.05;
    }
    50% {
        opacity: 0.15;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.6em;
    }

    .section {
        margin-top: 80px;
    }

    .terminal-card {
        padding: 22px;
    }

    .cta-row {
        flex-direction: column;
    }

    .timeline {
        --timeline-offset: 32px;
        --axis-offset: 14px;
        padding-left: var(--timeline-offset);
        gap: 20px;
    }

    .timeline-entry {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .timeline-entry::before {
        top: 4px;
    }

    .resume-pane {
        padding: 26px;
    }

    .resume-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-inner {
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
    }

    body::before,
    body::after,
    .terminal-card,
    .terminal-card::before,
    .terminal-card::after {
        animation: none;
    }

    .terminal-card,
    .terminal-card:hover {
        transition: none;
        transform: none;
        box-shadow: 0 0 0 rgba(10, 255, 200, 0);
    }

    .showcase-overlay,
    .showcase-overlay .overlay-scan {
        animation: none;
        transition: none;
    }

    .boot-log::after {
        animation: none;
        opacity: 0.6;
    }

    .revealed {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .timeline-entry {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
