﻿:root {
    --bg: #0b0f17;
    --panel: rgba(255,255,255,.06);
    --panel-strong: rgba(255,255,255,.10);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.70);
    --muted2: rgba(255,255,255,.55);
    --line: rgba(255,255,255,.12);
    --shadow: 0 18px 60px rgba(0,0,0,.45);
    --radius: 22px;
    --accent: rgba(120,170,255,.22);
    --accentLine: rgba(120,170,255,.38);
    --phoneW: 1080px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow: hidden;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        background: radial-gradient(1400px 900px at 50% 18%, rgba(120,170,255,.18), transparent 60%), radial-gradient(1400px 900px at 20% 82%, rgba(180,120,255,.14), transparent 60%), var(--bg);
    }

a {
    color: inherit;
    text-decoration: none;
}

    a:visited {
        color: inherit;
    }

/* Hide native cursor everywhere */
html, body, a, button, .btn, .mitem, * {
    cursor: none !important;
}

.app {
    min-height: 100%;
    display: grid;
    place-items: start center;
    padding: 26px;
}

.topbar {
    width: min(var(--phoneW),100%);
    display: flex;
    justify-content: center;
    margin: 6px 0 14px;
}

.pill {
    padding: 10px 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--line);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.shell {
    width: min(var(--phoneW),100%);
}

/* Menu attached to box */
.menubar {
    width: 100%;
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--line);
    border-bottom: none;
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: space-between;
}

.mitem {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 14px;
    color: var(--muted);
    font-size: 13px;
    border: 1px solid transparent;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
    user-select: none;
}

    .mitem:hover {
        background: rgba(255,255,255,.06);
        color: var(--text);
        transform: translateY(-1px);
    }

    .mitem.active {
        background: rgba(120,170,255,.18);
        border-color: rgba(120,170,255,.35);
        color: var(--text);
    }

/* Main box */
.phone {
    width: 100%;
    height: calc(100vh - 170px);
    min-height: 560px;
    border-radius: 0 0 var(--radius) var(--radius);
    border: 1px solid var(--line);
    border-top: none;
    background: linear-gradient(180deg,var(--panel-strong),var(--panel));
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

/* Hide scrollbar */
.scrollArea {
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

    .scrollArea::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

/* Content spacing */
.content {
    padding: 32px;
    padding-bottom: 72px;
    display: grid;
    gap: 64px;
}

/* Sections */
.sectionCard {
    border-radius: 18px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.heroCard {
    padding: 34px 18px 24px;
}

/* ===== NEW CLEAN HERO ===== */
.heroInner.heroClean {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 18px 12px;
}

.heroKicker {
    font-size: 12px;
    color: rgba(255,255,255,.55);
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
}

.heroName {
    margin: 0;
    font-size: 64px;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.05;
    background: linear-gradient(90deg, #ffffff, rgba(158,203,255,1), #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroGradient 6s ease-in-out infinite;
}

@keyframes heroGradient {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

.heroSubtitle {
    margin: 0;
    font-size: 15px;
    color: rgba(255,255,255,.68);
    max-width: 720px;
    line-height: 1.5;
}

/* badges */
.heroBadges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 760px;
}

    .heroBadges span {
        padding: 8px 14px;
        border-radius: 999px;
        font-size: 12px;
        border: 1px solid rgba(255,255,255,.14);
        background: rgba(255,255,255,.04);
        color: rgba(255,255,255,.75);
        transition: transform .18s ease, background .18s ease, border-color .18s ease;
    }

        .heroBadges span:hover {
            transform: translateY(-2px);
            background: rgba(120,170,255,.16);
            border-color: rgba(120,170,255,.34);
        }

.heroLine {
    width: 140px;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient( 90deg, rgba(120,170,255,0), rgba(120,170,255,.75), rgba(120,170,255,0) );
    animation: heroLinePulse 3s ease-in-out infinite;
}

@keyframes heroLinePulse {
    0%,100% {
        opacity: .45;
        width: 120px;
    }

    50% {
        opacity: 1;
        width: 190px;
    }
}

.heroCTA {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
}

/* Headers */
.sectionHead {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

    .sectionHead h2 {
        margin: 0;
        font-size: 18px;
    }

    .sectionHead p {
        margin: 0;
        color: var(--muted2);
        font-size: 13px;
        line-height: 1.35;
    }

/* Cards */
.card {
    background: radial-gradient(900px 560px at 18% 8%, rgba(120,170,255,.06), transparent 60%), rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

    .card h3 {
        margin: 0 0 10px;
        font-size: 16px;
    }

.placeholder {
    color: var(--muted2);
}

/* Grids */
.grid {
    display: grid;
    gap: 12px;
}

    .grid.two {
        grid-template-columns: 1fr 1fr;
    }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    color: var(--text);
    background: rgba(255,255,255,.06);
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
    min-width: 140px;
}

    .btn:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.09);
        border-color: rgba(255,255,255,.20);
    }

    .btn.primary {
        background: var(--accent);
        border-color: var(--accentLine);
    }

        .btn.primary:hover {
            background: rgba(120,170,255,.30);
        }

    .btn.ghost {
        background: rgba(255,255,255,.04);
    }

    .btn.small {
        min-width: unset;
        padding: 10px 12px;
        border-radius: 12px;
        font-size: 13px;
    }

/* Projects */
.projectTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.tag {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
    color: var(--muted);
}

/* Work */
.row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.muted {
    color: var(--muted2);
    font-size: 13px;
}

.bullets {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

    .bullets li {
        margin: 6px 0;
    }

/* Contact */
.contactGrid {
    align-items: stretch;
}

.contactForm {
    display: grid;
    gap: 12px;
}

.field {
    display: grid;
    gap: 6px;
}

.labelText {
    font-size: 12px;
    color: var(--muted2);
}

.input, .textarea {
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    color: var(--text);
    outline: none;
    transition: border-color .15s ease, background .15s ease;
}

    .input::placeholder, .textarea::placeholder {
        color: rgba(255,255,255,.35);
    }

    .input:focus, .textarea:focus {
        border-color: rgba(120,170,255,.50);
        background: rgba(255,255,255,.07);
    }

.textarea {
    resize: vertical;
    min-height: 160px;
}

.centerRow {
    display: flex;
    justify-content: center;
}

.tinyNote {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--muted2);
    text-align: center;
}

.contactRightColumn {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.linksRow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

    .linksRow .btn {
        width: 100%;
        min-width: 0;
    }

.availabilityText {
    margin: 6px 0 0;
    color: rgba(255,255,255,.78);
    line-height: 1.4;
}

/* Footer */
.siteFooter {
    margin-top: 22px;
    padding: 14px 0 2px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
}

.footerInner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footerLeft {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: .4px;
}

/* Responsive */
@media (max-width:980px) {
    :root {
        --phoneW: 720px;
    }

    .grid.two {
        grid-template-columns: 1fr;
    }

    .heroName {
        font-size: 46px;
    }

    .linksRow {
        grid-template-columns: 1fr;
    }
}

@media (max-width:720px) {
    :root {
        --phoneW: 560px;
    }
}

/* Custom cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    background: rgba(200,200,200,0.25);
    border: 1px solid rgba(255,255,255,0.4);
    transform: translate(-50%,-50%);
    transition: width .18s ease, height .18s ease, background .18s ease;
}

    .custom-cursor.hover {
        width: 40px;
        height: 40px;
        background: rgba(200,200,200,0.15);
    }
