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

:root {
    --bg: #06040f;
    --bg2: #0d0a1a;
    --accent: #a855f7;
    --accent2: #7c3aed;
    --accent3: #c084fc;
    --accent4: #e879f9;
    --text: #f1f0f5;
    --muted: #8b8fa8;
    --border: rgba(168, 85, 247, 0.15);
    --card: rgba(13, 10, 26, 0.9);
    --mono: 'JetBrains Mono', monospace;
    --display: 'Exo 2', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--display);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: auto;
}

/* CANVAS BG */
#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* GRID OVERLAY */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(168, 85, 247, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(168, 85, 247, 0.035) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 1;
}

/* ── PROJECT MODAL ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 2, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: #0d0a1a;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 85, 247, 0.3) transparent;
}

.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}

.modal-box::-webkit-scrollbar {
    width: 4px;
}

.modal-box::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 4px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.modal-close:hover {
    background: rgba(168, 85, 247, 0.25);
    color: var(--text);
    transform: rotate(90deg);
}

.modal-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
}

.modal-visual {
    min-height: 300px;
    border-radius: 20px 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    position: sticky;
    top: 0;
    align-self: start;
}

.modal-vis-inner {
    text-align: center;
}

.modal-vis-icon {
    font-size: 52px;
    margin-bottom: 16px;
    display: block;
}

.modal-vis-label {
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.modal-vis-code {
    font-family: var(--mono);
    font-size: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 10px;
    padding: 16px;
    text-align: left;
    color: var(--muted);
    line-height: 1.9;
}

.modal-content {
    padding: 36px 32px 36px 28px;
    border-left: 1px solid rgba(168, 85, 247, 0.12);
}

.modal-exe {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 4px;
    padding: 4px 10px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 14px;
}

.modal-title {
    font-family: var(--display);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.modal-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 22px;
}

.modal-section-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.modal-bullets {
    list-style: none;
    margin-bottom: 6px;
}

.modal-bullets li {
    font-size: 14px;
    color: var(--muted);
    padding: 5px 0 5px 20px;
    position: relative;
    line-height: 1.65;
    border-bottom: 1px solid rgba(168, 85, 247, 0.06);
}

.modal-bullets li:last-child {
    border-bottom: none;
}

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

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-tag {
    font-size: 12px;
    font-family: var(--mono);
    background: rgba(168, 85, 247, 0.08);
    color: var(--accent3);
    border: 1px solid rgba(168, 85, 247, 0.18);
    border-radius: 6px;
    padding: 5px 12px;
    letter-spacing: 0.5px;
}

@media (max-width: 640px) {
    .modal-inner {
        grid-template-columns: 1fr;
    }

    .modal-visual {
        border-radius: 20px 20px 0 0;
        min-height: 200px;
        position: static;
    }

    .modal-content {
        border-left: none;
        border-top: 1px solid rgba(168, 85, 247, 0.12);
        padding: 24px 20px;
    }
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(6, 4, 15, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 500;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 2.5rem;
}

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

.nav-logo {
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent3);
}

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

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-family: var(--mono);
    transition: color 0.2s;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--accent3);
}

.nav-hire {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 4px;
    font-size: 12px;
    font-family: var(--mono);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.nav-hire:hover {
    background: var(--accent);
    color: #fff;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--muted);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, background 0.2s;
}

.hamburger:hover span {
    background: var(--accent);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(6, 4, 15, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 499;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.mobile-menu.open {
    transform: translateY(0);
    pointer-events: all;
}

.mobile-menu a {
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
    font-family: var(--mono);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(168, 85, 247, 0.08);
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: var(--accent3);
}

.mobile-menu .nav-hire {
    margin-top: 8px;
    text-align: center;
    padding: 12px;
}

/* HERO */
#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 80px 2.5rem 60px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    gap: 40px;
}

.hero-left {
    display: flex;
    flex-direction: column;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 28px;
    width: fit-content;
    background: rgba(168, 85, 247, 0.04);
}

.hero-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

.hero-pre {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.hero-name {
    font-family: var(--display);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-name .grad {
    background: linear-gradient(135deg, var(--accent), var(--accent4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-typing-row {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 20px;
    min-height: 28px;
    font-family: var(--mono);
}

.hero-typed {
    color: var(--accent3);
}

.cursor-blink {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: var(--accent);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-desc {
    font-size: 15px;
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.85;
    font-family: var(--display);
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-p {
    padding: 13px 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s, transform 0.2s;
    display: inline-block;
    font-family: var(--display);
}

.btn-p:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.btn-o {
    padding: 13px 28px;
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: var(--text);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
    display: inline-block;
    font-family: var(--display);
}

.btn-o:hover {
    border-color: var(--accent);
    background: rgba(168, 85, 247, 0.08);
    transform: translateY(-2px);
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
}

.scroll-line {
    width: 36px;
    height: 1px;
    background: rgba(139, 143, 168, 0.4);
}

.scroll-arr {
    animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* CODE GRAPHIC */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-window {
    background: rgba(13, 10, 26, 0.95);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.08);
    position: relative;
}

.code-window::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.04), transparent 60%);
    pointer-events: none;
}

.win-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(168, 85, 247, 0.04);
}

.win-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.win-dot.r {
    background: #ff5f57;
}

.win-dot.y {
    background: #febc2e;
}

.win-dot.g {
    background: #28c840;
}

.win-filename {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    margin-left: 8px;
}

.code-body {
    padding: 22px 20px;
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.8;
    position: relative;
}

.code-line {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 23px;
}

.ln {
    color: rgba(139, 143, 168, 0.3);
    min-width: 20px;
    text-align: right;
    user-select: none;
    font-size: 11px;
    padding-top: 2px;
}

.code {
    flex: 1;
}

.kw {
    color: #c084fc;
}

.fn {
    color: #60a5fa;
}

.str {
    color: #86efac;
}

.num {
    color: #fbbf24;
}

.cm {
    color: rgba(139, 143, 168, 0.5);
    font-style: italic;
}

.op {
    color: #f472b6;
}

.type {
    color: #34d399;
}

.var {
    color: #f1f0f5;
}

/* FLOATING ICONS */
.float-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 16px;
}

.ficon {
    position: absolute;
    font-size: 18px;
    opacity: 0.12;
    animation: floatIcon 6s ease-in-out infinite;
}

@keyframes floatIcon {

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

    50% {
        transform: translateY(-12px) rotate(8deg);
    }
}

.code-cursor-line {
    animation: codeblink 1.2s step-end infinite;
}

@keyframes codeblink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* SECTIONS */
section {
    padding: 100px 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.sec-label {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.sec-title {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.sec-title span {
    background: linear-gradient(135deg, var(--accent), var(--accent4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sec-bar {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent4));
    border-radius: 2px;
    margin-bottom: 52px;
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
    align-items: center;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.9;
    font-family: var(--display);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    text-align: center;
    transition: border-color 0.25s, transform 0.25s;
}

.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.stat-num {
    font-size: 30px;
    font-weight: 800;
    font-family: var(--mono);
    background: linear-gradient(135deg, var(--accent), var(--accent4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
    font-family: var(--mono);
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.07);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
}

.badge span {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent3);
    font-family: var(--display);
}

/* EXPERIENCE */
.exp-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    transition: border-color 0.25s, transform 0.25s;
}

.exp-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateX(6px);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.exp-exe {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 4px;
    padding: 4px 10px;
    letter-spacing: 1px;
}

.exp-date {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
}

.exp-role {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: var(--display);
}

.exp-company {
    font-size: 14px;
    color: var(--accent3);
    margin-bottom: 16px;
    font-family: var(--mono);
}

.exp-list {
    list-style: none;
}

.exp-list li {
    font-size: 14px;
    color: var(--muted);
    padding: 5px 0 5px 20px;
    position: relative;
    line-height: 1.7;
}

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

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.tag {
    font-size: 11px;
    font-family: var(--mono);
    background: rgba(168, 85, 247, 0.07);
    color: var(--accent3);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 4px;
    padding: 4px 10px;
    letter-spacing: 0.5px;
}

/* SKILLS */
.skills-cats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-cat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    transition: border-color 0.2s;
}

.skill-cat:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.skill-cat-title {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stag {
    font-size: 13px;
    font-weight: 500;
    background: rgba(168, 85, 247, 0.05);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 7px 14px;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    cursor: default;
    font-family: var(--display);
}

.stag:hover {
    border-color: var(--accent3);
    background: rgba(168, 85, 247, 0.1);
    transform: translateY(-2px);
}

/* PROJECTS */
.proj-hint {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.proj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}

.proj-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.proj-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(168, 85, 247, 0.12);
}

.proj-card.featured {
    border-color: rgba(168, 85, 247, 0.28);
}

.proj-exe {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.proj-feat {
    font-size: 10px;
    background: rgba(168, 85, 247, 0.12);
    color: var(--accent3);
    border: 1px solid rgba(168, 85, 247, 0.22);
    border-radius: 100px;
    padding: 3px 10px;
    letter-spacing: 1px;
}

.proj-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--display);
}

.proj-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 18px;
}

.proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

.ptag {
    font-size: 11px;
    font-family: var(--mono);
    background: rgba(168, 85, 247, 0.06);
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3px 9px;
}

.proj-click-hint {
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(168, 85, 247, 0.5);
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.proj-card:hover .proj-click-hint {
    color: var(--accent3);
}

/* TESTIMONIALS */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.testi-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: border-color 0.2s, transform 0.2s;
}

.testi-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.qmark {
    font-size: 52px;
    color: rgba(168, 85, 247, 0.2);
    line-height: 1;
    margin-bottom: 8px;
    font-family: Georgia, serif;
}

.testi-text {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.75;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ava {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent3);
    font-family: var(--mono);
}

.ava-name {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--display);
}

.ava-title {
    font-size: 12px;
    color: var(--muted);
    font-family: var(--mono);
}

/* CONTACT */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
}

.contact-info {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.8;
    display: block;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.clink {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    transition: color 0.2s, transform 0.2s;
}

.clink:hover {
    color: var(--accent3);
    transform: translateX(4px);
}

.clink-icon {
    width: 38px;
    height: 38px;
    background: rgba(168, 85, 247, 0.07);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    overflow: hidden;
}

.clink-icon img {
    width: 38px;
    height: 38px;
    object-fit: cover;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.finput {
    background: rgba(13, 10, 26, 0.95);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 13px 16px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--display);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.finput:focus {
    border-color: var(--accent);
}

.finput::placeholder {
    color: var(--muted);
}

textarea.finput {
    resize: vertical;
    min-height: 120px;
}

.fsubmit {
    padding: 13px;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    font-family: var(--mono);
    letter-spacing: 1px;
}

.fsubmit:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--mono);
    font-size: 15px;
    color: var(--accent);
}

.footer-copy {
    font-size: 13px;
    color: var(--muted);
    font-family: var(--mono);
}

.footer-avail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
}

.avail-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
}

/* FADE IN */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.fade-left {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* RESPONSIVE */
@media(max-width:900px) {
    #hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-right {
        margin-top: 40px;
        justify-content: flex-start;
    }

    .code-window {
        max-width: 100%;
    }

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

@media(max-width:700px) {

    .nav-links,
    .nav-hire {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 80px 1.4rem;
    }

    #hero {
        padding: 90px 1.4rem 50px;
    }

    nav {
        padding: 0 1.4rem;
    }

    .hero-name {
        font-size: clamp(36px, 10vw, 60px);
    }

    footer {
        padding: 24px 1.4rem;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media(max-width:480px) {
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn-p,
    .btn-o {
        text-align: center;
    }
}
