


/* ─── HERO ─── */
#hero {
    position: relative;
    z-index: 1;
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(var(--nav-h) + 50px) 60px 60px;
    overflow: hidden;
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: clamp(5rem, 18vw, 16rem);
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 245, 255, 0.04);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 8px;
    animation: bgDrift 20s ease-in-out infinite alternate;
}

@keyframes bgDrift {
    from {
        letter-spacing: 8px
    }

    to {
        letter-spacing: 16px
    }
}

.hero-breadcrumb {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}

.hero-breadcrumb a:hover {
    color: var(--cyan);
}

.hero-breadcrumb span {
    color: var(--border);
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: clamp(2.2rem, 6vw, 5rem);
    letter-spacing: 2px;
    line-height: 1;
    animation: fadeUp .8s ease both;
}

.hero-title .t-cyan {
    color: var(--cyan);
    text-shadow: 0 0 40px var(--cyan-glow);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 24px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    animation: fadeUp .9s .1s ease both;
}

.meta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

/* ─── FILTER BAR ─── */
#filter-bar {
    position: sticky;
    top: var(--nav-h);
    z-index: 50;
    background: rgba(0, 2, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 60px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

#filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 20px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color .25s;
    flex-shrink: 0;
}

.filter-btn::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transition: transform .25s;
}

.filter-btn:hover {
    color: var(--text);
}

.filter-btn.active {
    color: var(--cyan);
}

.filter-btn.active::after {
    transform: scaleX(1);
}

.filter-count {
    font-size: 9px;
    color: var(--text-muted);
    margin-left: 4px;
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1px 6px;
}

/* ─── STATS ROW ─── */
#stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.stat-cell {
    padding: 32px 60px;
    border-right: 1px solid var(--border);
}

.stat-cell:last-child {
    border-right: none;
}

.sc-num {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan-glow);
}

.sc-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
}

/* ─── PROJECT GRID ─── */
#projects {
    position: relative;
    z-index: 1;
    padding: 60px;
}

/* FEATURED SHOWCASE — full width, immersive */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    min-height: 520px;
    transition: box-shadow .4s;
}

.showcase:hover {
    box-shadow: 0 0 60px rgba(0, 245, 255, 0.08);
}

.showcase-visual {
    position: relative;
    overflow: hidden;
    background: var(--bg-deep);
}

.showcase-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.showcase-info {
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.proj-index {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.proj-cat {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid;
    display: inline-block;
    margin-bottom: 20px;
}

.cat-ecom {
    color: var(--amber);
    border-color: rgba(255, 170, 0, 0.3);
    background: rgba(255, 170, 0, 0.06);
}

.cat-saas {
    color: var(--cyan);
    border-color: rgba(0, 245, 255, 0.3);
    background: rgba(0, 245, 255, 0.05);
}

.cat-mobile {
    color: var(--green);
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.05);
}

.cat-corporate {
    color: #a0c4ff;
    border-color: rgba(160, 196, 255, 0.3);
    background: rgba(160, 196, 255, 0.05);
}

.cat-ai {
    color: var(--violet);
    border-color: rgba(168, 85, 247, 0.35);
    background: rgba(168, 85, 247, 0.06);
}

.cat-brand {
    color: var(--red);
    border-color: rgba(255, 45, 85, 0.3);
    background: rgba(255, 45, 85, 0.06);
}

.cat-portal {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.05);
}

.cat-landing {
    color: #f472b6;
    border-color: rgba(244, 114, 182, 0.3);
    background: rgba(244, 114, 182, 0.06);
}

.proj-title {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: 1px;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.proj-desc {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.proj-metrics {
    display: flex;
    gap: 28px;
    margin-bottom: 36px;
}

.metric {
    text-align: center;
}

.metric-val {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cyan);
}

.metric-key {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-top: 3px;
}

.proj-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bg-void);
    background: var(--cyan);
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    transition: all .25s;
    width: fit-content;
}

.proj-link:hover {
    box-shadow: 0 0 36px rgba(0, 245, 255, .55);
    transform: translateY(-2px);
}

.proj-link svg {
    width: 14px;
    height: 14px;
    stroke: var(--bg-void);
    fill: none;
    stroke-width: 2;
}

/* ─── BENTO GRID ─── */
.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    margin-bottom: 24px;
}

/* card base */
.bcard {
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: border-color .3s, transform .3s, box-shadow .3s;
    display: flex;
    flex-direction: column;
}

.bcard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.bcard:hover {
    border-color: rgba(0, 245, 255, .4);
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(0, 245, 255, .06);
}

.bcard:hover::before {
    opacity: 1;
}

/* spans */
.span-5 {
    grid-column: span 5
}

.span-7 {
    grid-column: span 7
}

.span-4 {
    grid-column: span 4
}

.span-8 {
    grid-column: span 8
}

.span-6 {
    grid-column: span 6
}

.span-3 {
    grid-column: span 3
}

.span-9 {
    grid-column: span 9
}

/* visual area inside bcard */
.bcard-visual {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-deep);
}

.bcard-canvas {
    width: 100%;
    display: block;
}

.bcard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 5, 15, .95));
}

.bcard-body {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bcard-cat {
    margin-bottom: 8px;
}

.bcard-title {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 8px;
}

.bcard-desc {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 14px;
}

.bcard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.bcard-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.bcard-tags .tag {
    font-size: 9px;
    padding: 3px 8px;
}

.bcard-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .25s;
}

.bcard:hover .bcard-arrow {
    border-color: var(--cyan);
    background: var(--cyan-dim);
}

.bcard-arrow svg {
    width: 13px;
    height: 13px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 2;
    transition: stroke .25s;
}

.bcard:hover .bcard-arrow svg {
    stroke: var(--cyan);
}

/* tall card layout */
.bcard.tall .bcard-visual {
    height: 220px;
}

.bcard.short .bcard-visual {
    height: 140px;
}

.bcard.wide .bcard-visual {
    height: 200px;
}

/* ─── HORIZONTAL FILMSTRIP ROW ─── */
.filmstrip {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin-bottom: 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.filmstrip::-webkit-scrollbar {
    height: 3px;
}

.filmstrip::-webkit-scrollbar-track {
    background: transparent;
}

.filmstrip::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.filmstrip-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filmstrip-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.fcard {
    flex-shrink: 0;
    width: 300px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all .3s;
}

.fcard:hover {
    border-color: rgba(0, 245, 255, .4);
    transform: translateY(-3px);
}

.fcard-top {
    height: 160px;
    position: relative;
    overflow: hidden;
    background: var(--bg-deep);
}

.fcard-num {
    position: absolute;
    top: 14px;
    left: 16px;
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.fcard-body {
    padding: 18px 20px 20px;
}

.fcard-cat {
    margin-bottom: 6px;
}

.fcard-title {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 6px;
}

.fcard-desc {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── TIMELINE ROW ─── */


/* ─── CTA SECTION ─── */
#cta {
    position: relative;
    z-index: 1;
    margin: 0 60px 80px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

#cta::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--cyan), transparent);
}

.cta-text .section-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--amber);
    margin-bottom: 12px;
}

.cta-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 12px;
}

.cta-sub {
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
}

.cta-btns {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.btn-primary {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    background: var(--cyan);
    color: var(--bg-void);
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 0 24px rgba(0, 245, 255, .4);
    transition: all .25s;
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(0, 245, 255, .7);
    transform: translateY(-2px);
}

.btn-outline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    border: 1px solid var(--border);
    color: var(--text);
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s;
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-dim);
}

/* ─── FOOTER ─── */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 32px 60px;
    background: rgba(0, 5, 15, 0.8);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 4px;
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan-glow);
    text-decoration: none;
}

.footer-logo span {
    color: var(--amber);
}

.footer-copy {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--cyan);
}

/* ─── FLOAT BTN ─── */
.float-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    background: var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    z-index: 200;
    box-shadow: 0 0 24px rgba(0, 245, 255, .5), 0 8px 24px rgba(0, 0, 0, .4);
    transition: all .3s;
    border: none;
    animation: floatBounce 3s ease-in-out infinite;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 245, 255, .7);
    animation: none;
}

.float-btn svg {
    width: 22px;
    height: 22px;
    stroke: var(--bg-void);
    fill: none;
    stroke-width: 2;
}

@keyframes floatBounce {
    0%,
    100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-6px)
    }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── PARTICLES ─── */
@keyframes floatP {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0
    }
    10% {
        opacity: .5
    }
    90% {
        opacity: .2
    }
    100% {
        transform: translateY(-80px);
        opacity: 0
    }
}
/* ─── MOBILE ─── */
@media(max-width:1024px) {

    #filter-bar,
    #projects,
    .timeline-section,
    #cta,
    footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    #stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .stat-cell:nth-child(2) {
        border-right: none;
    }

    .showcase {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .showcase-info {
        border-left: none;
        border-top: 1px solid var(--border);
        padding: 32px 28px;
    }

    .bento .span-5,
    .bento .span-7,
    .bento .span-4,
    .bento .span-8,
    .bento .span-6,
    .bento .span-3,
    .bento .span-9 {
        grid-column: span 12;
    }

    #cta {
        flex-direction: column;
        margin: 0 20px 60px;
        padding: 40px 28px;
    }

    .cta-btns {
        flex-wrap: wrap;
    }



    #hero {
        padding: calc(var(--nav-h)+30px) 20px 40px;
    }
}

@media(max-width:600px) {
    #stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .stat-cell {
        padding: 24px 20px;
    }

    .sc-num {
        font-size: 1.6rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    #cursor,
    #cursor-trail {
        display: none;
    }

    body {
        cursor: auto;
    }
}