/* ===== Variables ===== */
:root {
    --bg: #050816;
    --bg-2: #0a0f24;
    --bg-3: #10162f;
    --bg-card: rgba(12, 18, 42, 0.85);
    --text: #e2e8f0;
    --text-2: #94a3b8;
    --text-3: #475569;
    --accent: #38bdf8;
    --accent-2: #a78bfa;
    --accent-3: #34d399;
    --accent-4: #fb923c;
    --accent-5: #f472b6;
    --red: #f87171;
    --green: #4ade80;
    --yellow: #facc15;
    --grad: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
    --grad-2: linear-gradient(135deg, #34d399 0%, #38bdf8 100%);
    --border: rgba(56, 189, 248, 0.1);
    --border-h: rgba(56, 189, 248, 0.3);
    --glow: 0 0 40px rgba(56, 189, 248, 0.1);
    --font: 'Space Grotesk', 'Inter', sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --nav-h: 64px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    cursor: none;
}

strong {
    color: var(--accent);
    font-weight: 600;
}

::selection {
    background: rgba(56, 189, 248, 0.3);
}

img {
    max-width: 100%;
}

/* ===== Custom Cursor ===== */
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s var(--ease);
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(56, 189, 248, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.15s var(--ease);
}

.cursor-ring.hover {
    width: 56px;
    height: 56px;
    border-color: var(--accent);
    background: rgba(56, 189, 248, 0.06);
}

/* ===== Particle Canvas ===== */
#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ===== Pipeline Progress (Side Scroll) ===== */
.pipeline-progress {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pipeline-stages {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.pipeline-stage {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 0.55rem;
    color: var(--text-3);
    background: var(--bg);
    cursor: none;
    transition: all 0.3s var(--ease);
    position: relative;
}

.pipeline-stage span {
    opacity: 0;
    position: absolute;
    right: 44px;
    white-space: nowrap;
    font-size: 0.7rem;
    color: var(--text-2);
    transition: opacity 0.2s;
    pointer-events: none;
}

.pipeline-stage:hover span {
    opacity: 1;
}

.pipeline-stage.active {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.1);
}

.pipeline-stage.passed {
    border-color: var(--accent-3);
    color: var(--accent-3);
    background: rgba(52, 211, 153, 0.1);
}

.pipeline-connector {
    width: 2px;
    height: 16px;
    background: var(--border);
    transition: background 0.3s;
}

.pipeline-connector.active {
    background: linear-gradient(to bottom, var(--accent-3), var(--accent));
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 500;
    background: rgba(5, 8, 22, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: transform 0.35s var(--ease);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text) !important;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-link {
    font-size: 0.85rem;
    color: var(--text-2) !important;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
    background: rgba(56, 189, 248, 0.06);
}

.nav-cta {
    background: var(--grad) !important;
    color: var(--bg) !important;
    font-weight: 600;
    padding: 8px 20px !important;
}

.nav-cta:hover {
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== Section Base ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: var(--bg-2);
}

.section-label {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-label span {
    color: var(--text-3);
    font-size: 0.75rem;
}

/* ===== Animations ===== */
.animate-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-h) + 32px) 24px 32px;
    position: relative;
    z-index: 1;
}

.hero-layout {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--accent-3);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(52, 211, 153, 0.25);
    background: rgba(52, 211, 153, 0.06);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-3);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
    }
}

.hero-name {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 20px;
}

.name-line {
    display: block;
}

.name-accent {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blink-underscore {
    -webkit-text-fill-color: var(--accent);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-tagline {
    font-size: 1.3rem;
    color: var(--text-2);
    margin-bottom: 32px;
    height: 2em;
}

.rotating-text {
    color: var(--accent);
    font-weight: 600;
    border-right: 2px solid var(--accent);
    padding-right: 2px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hm {
    display: flex;
    flex-direction: column;
}

.hm-value {
    font-family: var(--mono);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hm-label {
    font-size: 0.75rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hm-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ===== Terminal ===== */
.term-window {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--glow), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.term-bar {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.term-dots {
    display: flex;
    gap: 6px;
}

.term-dots i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.term-dots i:nth-child(1) {
    background: #ff5f57;
}

.term-dots i:nth-child(2) {
    background: #ffbd2e;
}

.term-dots i:nth-child(3) {
    background: #28c840;
}

.term-title {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-3);
    flex: 1;
    text-align: center;
}

.term-actions {
    display: flex;
    gap: 8px;
}

.term-action {
    font-size: 0.9rem;
    color: var(--text-3);
    cursor: none;
    transition: color 0.2s;
    background: none;
    border: none;
    font-family: inherit;
}

.term-action:hover {
    color: var(--text);
}

.term-body {
    padding: 16px;
    font-family: var(--mono);
    font-size: 0.82rem;
    line-height: 1.7;
    min-height: 240px;
    max-height: 300px;
    overflow-y: auto;
    color: var(--text-2);
}

.term-body::-webkit-scrollbar {
    width: 4px;
}

.term-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.ascii-art {
    color: var(--accent);
    font-size: 0.65rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.welcome-text {
    color: var(--text-2);
    font-size: 0.8rem;
}

.cmd-hint {
    color: var(--yellow);
    font-weight: 600;
}

.term-input-row {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
    gap: 8px;
}

.term-prompt {
    color: var(--accent-3);
    font-family: var(--mono);
    font-weight: 700;
    font-size: 1rem;
}

.term-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.85rem;
    outline: none;
    cursor: none;
    caret-color: var(--accent);
}

.term-input::placeholder {
    color: var(--text-3);
}

.term-output-line {
    margin-bottom: 2px;
}

.term-cmd-echo {
    color: var(--text-3);
}

.term-cmd-echo .echo-cmd {
    color: var(--text);
}

.term-result {
    color: var(--text-2);
}

.term-result .r-key {
    color: var(--accent-2);
}

.term-result .r-val {
    color: var(--accent-3);
}

.term-result .r-num {
    color: var(--accent-4);
}

.term-result .r-comment {
    color: var(--text-3);
    font-style: italic;
}

.term-error {
    color: var(--red);
}

.term-table {
    border-collapse: collapse;
    width: 100%;
    margin: 4px 0;
}

.term-table th {
    color: var(--accent);
    text-align: left;
    border-bottom: 1px solid var(--border);
    padding: 2px 12px 2px 0;
    font-weight: 600;
}

.term-table td {
    padding: 2px 12px 2px 0;
    color: var(--text-2);
}

/* ===== Scroll Cue ===== */
.scroll-cue {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-3);
    font-size: 0.72rem;
    font-family: var(--mono);
    letter-spacing: 2px;
    animation: fadeInUp 1s 1.5s both;
}

.mouse-icon {
    width: 22px;
    height: 34px;
    border: 2px solid var(--text-3);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== About ===== */
.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-story h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-story p {
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-2) !important;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.about-link:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
    background: rgba(56, 189, 248, 0.06);
    transform: translateY(-2px);
}

.about-link svg {
    transition: transform 0.3s;
}

.about-link:hover svg {
    transform: scale(1.1);
}

/* Config File Card */
.config-file {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.config-bar {
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.config-icon {
    font-size: 0.9rem;
}

.config-body {
    padding: 16px 20px;
}

.config-line {
    font-family: var(--mono);
    font-size: 0.78rem;
    line-height: 1.9;
    display: flex;
    gap: 4px;
}

.config-indent {
    padding-left: 20px;
}

.cfg-key {
    color: var(--accent-2);
}

.cfg-sep {
    color: var(--text-3);
}

.cfg-str {
    color: var(--accent-3);
}

.cfg-num {
    color: var(--accent-4);
}

.cfg-arr {
    color: var(--accent);
}

/* ===== Architecture Diagram ===== */
.arch-subtitle {
    color: var(--text-2);
    font-size: 1rem;
    margin-top: -32px;
    margin-bottom: 48px;
    max-width: 600px;
}

.arch-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 40px 0;
    overflow-x: auto;
}

.arch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    min-width: 110px;
    text-align: center;
    transition: all 0.4s var(--ease);
    position: relative;
    backdrop-filter: blur(10px);
}

.arch-node:hover {
    border-color: var(--border-h);
    transform: translateY(-6px);
    box-shadow: var(--glow);
}

.arch-node-icon {
    font-size: 1.5rem;
}

.arch-node-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.arch-node-sub {
    font-size: 0.7rem;
    color: var(--text-3);
    font-family: var(--mono);
}

.arch-node-metric {
    font-family: var(--mono);
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 50px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    margin-top: 4px;
}

.arch-source {
    border-color: rgba(251, 146, 60, 0.3);
}

.arch-kafka {
    border-color: rgba(167, 139, 250, 0.3);
}

.arch-processor {
    border-color: rgba(56, 189, 248, 0.3);
}

.arch-search {
    border-color: rgba(52, 211, 153, 0.3);
}

.arch-output {
    border-color: rgba(244, 114, 182, 0.3);
}

.arch-arrow {
    display: flex;
    align-items: center;
    min-width: 60px;
    position: relative;
}

.arch-arrow-line {
    height: 2px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.arch-arrow-packet {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: flow-packet 2s infinite;
    left: 0;
}

#packet-1 {
    animation-delay: 0s;
}

#packet-2 {
    animation-delay: 0.4s;
}

#packet-3 {
    animation-delay: 0.8s;
}

#packet-4 {
    animation-delay: 1.2s;
}

@keyframes flow-packet {
    0% {
        left: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: calc(100% - 8px);
        opacity: 0;
    }
}

.arch-arrow-head {
    color: var(--accent);
    font-size: 1.2rem;
    margin-left: -4px;
    opacity: 0.5;
}

.arch-stats {
    display: flex;
    justify-content: center;
    gap: 56px;
    margin-top: 48px;
}

.arch-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.arch-stat-before {
    font-family: var(--mono);
    font-size: 1rem;
    color: var(--red);
    text-decoration: line-through;
    opacity: 0.7;
}

.arch-stat-arrow {
    color: var(--text-3);
    font-size: 1.2rem;
}

.arch-stat-after {
    font-family: var(--mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-3);
}

.arch-stat-label {
    font-size: 0.72rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Skills Radar ===== */
.skills-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.skills-radar-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

#radar-canvas {
    max-width: 100%;
    height: auto;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.skill-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.sg-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.sg-backend {
    background: var(--accent);
}

.sg-lang {
    background: var(--accent-2);
}

.sg-infra {
    background: var(--accent-3);
}

.sg-data {
    background: var(--accent-4);
}

.sg-front {
    background: var(--accent-5);
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    font-family: var(--mono);
    font-size: 0.76rem;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--text-2);
    background: var(--bg-card);
    transition: all 0.3s var(--ease);
    cursor: none;
}

.chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(56, 189, 248, 0.08);
    transform: translateY(-2px);
}

.chip-primary {
    border-color: rgba(56, 189, 248, 0.25);
    color: var(--accent);
    background: rgba(56, 189, 248, 0.08);
}

.chip-primary:hover {
    background: rgba(56, 189, 248, 0.15);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

/* ===== Git Timeline ===== */
.git-log {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.git-commit {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
}

.git-graph {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.git-line {
    width: 2px;
    flex: 1;
}

.git-line-top {
    background: linear-gradient(to bottom, transparent 0%, var(--accent) 100%);
}

.git-line-bottom {
    background: linear-gradient(to bottom, var(--accent) 0%, var(--accent-2) 100%);
}

.git-line-end {
    background: linear-gradient(to bottom, var(--accent-2) 0%, transparent 100%);
}

.git-node {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.git-node-main {
    background: var(--accent);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
}

.git-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: git-pulse 2s infinite;
}

@keyframes git-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.git-node-feature {
    background: var(--accent-2);
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.4);
}

.git-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(10px);
}

.git-card:hover {
    border-color: var(--border-h);
    box-shadow: var(--glow);
    transform: translateX(4px);
}

.git-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.git-hash {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--accent-4);
    background: rgba(251, 146, 60, 0.1);
    padding: 2px 10px;
    border-radius: 4px;
}

.git-date {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-3);
}

.git-role {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.git-company {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 16px;
}

.git-loc {
    color: var(--text-3);
    font-weight: 400;
}

.git-diff {
    margin-bottom: 16px;
}

.diff-line {
    font-family: var(--mono);
    font-size: 0.78rem;
    line-height: 1.8;
    padding: 1px 8px;
    border-radius: 3px;
}

.diff-add {
    color: var(--accent-3);
    background: rgba(52, 211, 153, 0.04);
    border-left: 2px solid rgba(52, 211, 153, 0.3);
}

.git-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.git-tags span {
    font-family: var(--mono);
    font-size: 0.68rem;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(167, 139, 250, 0.1);
    color: var(--accent-2);
    border: 1px solid rgba(167, 139, 250, 0.2);
}

/* ===== Project Browser ===== */
.project-browser {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.browser-dots i:nth-child(1) {
    background: #ff5f57;
}

.browser-dots i:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots i:nth-child(3) {
    background: #28c840;
}

.browser-url {
    flex: 1;
    text-align: center;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 16px;
    border-radius: 6px;
}

.url-lock {
    font-size: 0.7rem;
}

.browser-body {
    padding: 36px;
}

.project-badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.72rem;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(52, 211, 153, 0.1);
    color: var(--accent-3);
    border: 1px solid rgba(52, 211, 153, 0.25);
    margin-bottom: 16px;
}

.project-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-desc {
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 560px;
}

.project-impact {
    display: flex;
    gap: 36px;
    margin-bottom: 28px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.impact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.impact-num {
    font-family: var(--mono);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-label {
    font-size: 0.72rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-feats {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-feats li {
    position: relative;
    padding-left: 18px;
    color: var(--text-2);
    font-size: 0.9rem;
}

.project-feats li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-stack span {
    font-family: var(--mono);
    font-size: 0.68rem;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(167, 139, 250, 0.1);
    color: var(--accent-2);
    border: 1px solid rgba(167, 139, 250, 0.2);
}

/* ===== Achievements Marquee ===== */
.achievements-marquee {
    overflow: hidden;
    margin: 0 -24px;
    padding: 0 24px;
}

.marquee-track {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.ach-card {
    flex: 0 0 200px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(10px);
}

.ach-card:hover {
    border-color: var(--border-h);
    box-shadow: var(--glow);
    transform: translateY(-6px);
}

.ach-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.ach-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ach-card p {
    font-size: 0.8rem;
    color: var(--text-3);
    line-height: 1.5;
}

/* ===== Contact ===== */
.contact-hero {
    text-align: center;
    margin-bottom: 48px;
}

.contact-hero h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.contact-accent {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero p {
    color: var(--text-2);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s var(--ease);
    color: var(--text) !important;
    backdrop-filter: blur(10px);
}

.contact-tile:hover {
    border-color: var(--border-h);
    box-shadow: var(--glow);
    transform: translateY(-4px);
}

.ct-icon {
    font-size: 1.5rem;
}

.ct-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ct-value {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--accent);
    text-align: center;
    word-break: break-all;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 1;
    padding: 32px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer p {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--text-3);
}

.f-prompt {
    color: var(--accent-3);
}

.f-year {
    color: var(--text-3);
    opacity: 0.5;
}

/* ===== Magnetic Button ===== */
.magnetic-btn {
    transition: transform 0.2s var(--ease);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-name {
        font-size: 3.2rem;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .skills-layout {
        grid-template-columns: 1fr;
    }

    .skills-radar-wrap {
        order: -1;
    }

    .arch-diagram {
        flex-wrap: wrap;
        justify-content: center;
    }

    .arch-arrow {
        min-width: 40px;
    }

    .pipeline-progress {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(5, 8, 22, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        transform: translateY(-120%);
        transition: transform 0.35s var(--ease);
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .hero-name {
        font-size: 2.4rem;
    }

    .hero-metrics {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hm-divider {
        width: 40px;
        height: 1px;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .section {
        padding: 80px 0;
    }

    .git-commit {
        grid-template-columns: 32px 1fr;
        gap: 12px;
    }

    .git-card {
        padding: 20px;
    }

    .contact-hero h2 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-impact {
        flex-wrap: wrap;
        gap: 20px;
    }

    .arch-stats {
        flex-direction: column;
        gap: 24px;
    }

    .about-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }

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

    .marquee-track {
        flex-direction: column;
        align-items: center;
    }

    .ach-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
    }
}