/* =====================================================
   KINETIC BLUEPRINT — System Architect & Defender
   Style Sheet — Industrial Futurism
   ===================================================== */

/* ---- TOKENS ---- */
:root {
    --bg: #0a0b0f;
    --bg2: #0f1118;
    --surface: rgba(16, 20, 32, 0.85);
    --glass: rgba(20, 28, 50, 0.6);
    --blue: #1e90ff;
    --blue-dim: rgba(30, 144, 255, 0.15);
    --blue-glow: rgba(30, 144, 255, 0.4);
    --green: #00ff9d;
    --green-dim: rgba(0, 255, 157, 0.12);
    --red: #ff3e5e;
    --red-dim: rgba(255, 62, 94, 0.12);
    --gold: #ffd700;
    --gold-dim: rgba(255, 215, 0, 0.15);
    --grey: #94a3b8;
    --grey-dim: rgba(148, 163, 184, 0.1);
    --text: #e2e8f0;
    --text-dim: #64748b;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --border: rgba(30, 144, 255, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    overflow-x: hidden;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

/* ---- CANVAS BG ---- */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- CURSOR GLOW ---- */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: left 0.1s ease, top 0.1s ease;
}

/* ---- LOADER ---- */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

#loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.loader-grid {
    width: 60px;
    height: 60px;
    background:
        linear-gradient(var(--blue) 1px, transparent 1px) 0 0 / 10px 10px,
        linear-gradient(90deg, var(--blue) 1px, transparent 1px) 0 0 / 10px 10px;
    margin: 0 auto 24px;
    opacity: 0.4;
    animation: gridPulse 1.2s ease-in-out infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: .2
    }

    50% {
        opacity: .6
    }
}

.loader-text {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--green);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.loader-bar {
    width: 240px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--green));
    border-radius: 2px;
    transition: width 0.05s linear;
}

.blink {
    animation: blink 1s step-start infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

/* ---- NAVBAR ---- */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 16px 48px;
    background: rgba(10, 11, 15, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    margin-right: auto;
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-dim);
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
    background: var(--blue-dim);
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--green);
    letter-spacing: 2px;
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

/* ---- SECTIONS ---- */
.section {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 120px 64px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--green);
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.accent {
    color: var(--green);
}

.accent-text {
    color: var(--green);
}

/* Grid overlay */
.section-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 144, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 144, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
    0% {
        background-position: 0 0
    }

    100% {
        background-position: 40px 40px
    }
}

/* ---- FLOAT CARD ---- */
.float-card {
    animation: floatCard 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.float-card:nth-child(2n) {
    animation-duration: 7s;
    animation-delay: -2s;
}

.float-card:nth-child(3n) {
    animation-duration: 5.5s;
    animation-delay: -4s;
}

.float-card:nth-child(4n) {
    animation-duration: 8s;
    animation-delay: -1s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0px) rotate3d(1, 1, 0, 0deg);
    }

    33% {
        transform: translateY(-8px) rotate3d(1, 0, 0, 1deg);
    }

    66% {
        transform: translateY(-4px) rotate3d(0, 1, 0, -1deg);
    }
}

/* ---- HERO ---- */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ID Badge */
.id-badge {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: 0 0 60px rgba(30, 144, 255, 0.1), var(--shadow);
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.id-badge:hover {
    box-shadow: 0 0 80px rgba(30, 144, 255, 0.2), 0 0 120px rgba(0, 255, 157, 0.08), var(--shadow);
    transform: translateY(-12px) rotate3d(1, 0, 0, 2deg) !important;
}

.badge-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.badge-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--green);
    letter-spacing: 3px;
}

.badge-id {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
}

.badge-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.avatar-hex {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--blue-dim), var(--green-dim));
    border: 2px solid var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 30px var(--blue-glow);
}

.avatar-initials {
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--blue);
}

.avatar-scanner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 255, 157, 0.3) 50%, transparent 60%);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% {
        transform: translateY(-50px)
    }

    100% {
        transform: translateY(50px)
    }
}

.badge-name {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.badge-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--blue);
    text-align: center;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.amp {
    color: var(--text-dim);
    margin: 0 4px;
}

.badge-tagline {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 24px;
}

.badge-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.badge-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.badge-link svg {
    width: 14px;
    height: 14px;
}

.linkedin-link {
    background: var(--blue-dim);
    color: var(--blue);
    border-color: var(--blue);
}

.linkedin-link:hover {
    background: var(--blue);
    color: #fff;
}

.github-link {
    background: var(--grey-dim);
    color: var(--text-dim);
    border-color: rgba(148, 163, 184, 0.3);
}

.github-link:hover {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text);
}

.badge-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

.badge-glow-border {
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--blue), transparent, var(--green), transparent);
    z-index: -1;
    opacity: 0.3;
    animation: borderRotate 6s linear infinite;
}

@keyframes borderRotate {
    0% {
        filter: hue-rotate(0deg)
    }

    100% {
        filter: hue-rotate(360deg)
    }
}

/* Hero text */
.hero-title-block {}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--green);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 28px;
}

.title-line {
    display: block;
}

.hero-proof {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.proof-line {
    position: relative;
    padding-left: 16px;
    color: var(--green);
}

.proof-line::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-size: 8px;
    top: 8px;
}

.proof-scholarship {
    font-size: 13px;
    color: var(--green);
    font-family: var(--font-mono);
    margin-top: 4px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 40px;
    max-width: 600px;
}

.stat-chip {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 20px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.stat-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
}

.stat-label {
    display: block;
    font-size: 10px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-primary {
    background: linear-gradient(135deg, var(--blue), #0070e0);
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.5);
    color: #fff;
}

.cta-secondary {
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--blue);
    backdrop-filter: blur(8px);
}

.cta-secondary:hover {
    background: var(--blue-dim);
    border-color: var(--blue);
    transform: translateY(-3px);
    color: var(--blue);
}

.cta-link {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing: 1px;
}

.cta-link:hover {
    color: var(--blue);
}

/* ---- SUMMARY SECTION ---- */
.summary-section {
    background: var(--bg);
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.summary-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.summary-card:hover {
    border-color: var(--green);
    box-shadow: 0 0 50px rgba(0, 255, 157, 0.1), var(--shadow);
    transform: translateY(-8px) !important;
}

.summary-title {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--green);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.summary-intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
}

.summary-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.summary-bullets li {
    font-size: 14px;
    line-height: 1.7;
    color: #F8FAFC;
    padding-left: 20px;
    position: relative;
}

.summary-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: 18px;
    top: -2px;
}

.summary-cred {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.cred-chip {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 6px 14px;
    background: var(--green-dim);
    color: var(--green);
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* ---- EXPERIENCE ---- */
.experience-section {}

.experience-layout {
    display: flex;
    gap: 40px;
}

.fiber-backbone {
    width: 4px;
    min-height: 600px;
    background: linear-gradient(180deg, transparent, var(--blue) 10%, var(--blue) 90%, transparent);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 0 20px var(--blue-glow);
}

.fiber-pulse {
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, transparent, var(--green), transparent);
    border-radius: 4px;
    position: absolute;
    top: 0;
    animation: fiberPulse 3s ease-in-out infinite;
}

@keyframes fiberPulse {
    0% {
        top: -80px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.exp-blocks {
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex: 1;
}

.exp-block {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.exp-block:hover {
    border-color: var(--blue);
    box-shadow: 0 0 40px rgba(30, 144, 255, 0.15), var(--shadow);
}

.exp-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    cursor: pointer;
    user-select: none;
    gap: 20px;
}

.exp-block-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.exp-company-logo {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.boa-logo {
    background: rgba(35, 65, 140, 0.4);
    color: #4a7fd4;
    border: 1px solid rgba(74, 127, 212, 0.4);
}

.usyd-logo {
    background: rgba(0, 100, 65, 0.3);
    color: var(--green);
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.exp-company {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.exp-role {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--blue);
    margin-bottom: 4px;
}

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

.exp-expand-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-dim);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.exp-block.open .exp-expand-icon {
    transform: rotate(45deg);
    color: var(--blue);
}

.exp-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-block.open .exp-drawer {
    max-height: 600px;
}

.drawer-inner {
    padding: 0 32px 28px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.drawer-tag-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.drawer-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.kafka {
    background: rgba(255, 100, 0, 0.15);
    color: #ff8c00;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.python {
    background: rgba(60, 120, 200, 0.15);
    color: #6699ff;
    border: 1px solid rgba(102, 153, 255, 0.3);
}

.mulesoft {
    background: rgba(0, 150, 255, 0.15);
    color: #00a0e0;
    border: 1px solid rgba(0, 160, 224, 0.3);
}

.oracle {
    background: rgba(200, 30, 30, 0.15);
    color: #e04040;
    border: 1px solid rgba(224, 64, 64, 0.3);
}

.crewai {
    background: rgba(120, 70, 200, 0.15);
    color: #aa88ff;
    border: 1px solid rgba(170, 136, 255, 0.3);
}

.langchain {
    background: rgba(0, 200, 100, 0.15);
    color: #00cc88;
    border: 1px solid rgba(0, 204, 136, 0.3);
}

.ai {
    background: var(--green-dim);
    color: var(--green);
    border: 1px solid rgba(0, 255, 157, 0.3);
}

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

.drawer-bullets li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-dim);
    padding-left: 20px;
    position: relative;
}

.drawer-bullets li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-size: 8px;
    top: 7px;
}

.drawer-bullets li strong {
    color: var(--text);
}

/* ---- SKILLS ---- */
.skills-section {}

.skills-legend {
    display: flex;
    gap: 24px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.legend-item {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 1px;
}

.legend-item.blue {
    color: var(--blue);
}

.legend-item.red {
    color: var(--red);
}

.legend-item.green {
    color: var(--green);
}

.legend-item.grey {
    color: var(--grey);
}

.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    perspective: 800px;
    padding: 40px 0;
}

.skill-cube {
    position: relative;
    padding: 14px 22px;
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    cursor: default;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform: translate(var(--tx, 0), var(--ty, 0));
    animation-delay: var(--delay, 0s);
    backdrop-filter: blur(8px);
    user-select: none;
}

.skill-cube:hover {
    transform: translate(var(--tx, 0), var(--ty, 0)) translateY(-12px) scale(1.08) !important;
    z-index: 10;
}

.blue-cube {
    background: var(--blue-dim);
    color: var(--blue);
    border: 1px solid rgba(30, 144, 255, 0.35);
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.1);
}

.blue-cube:hover {
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.35);
    border-color: var(--blue);
}

.red-cube {
    background: var(--red-dim);
    color: var(--red);
    border: 1px solid rgba(255, 62, 94, 0.35);
    box-shadow: 0 4px 20px rgba(255, 62, 94, 0.1);
}

.red-cube:hover {
    box-shadow: 0 8px 30px rgba(255, 62, 94, 0.35);
    border-color: var(--red);
}

.green-cube {
    background: var(--green-dim);
    color: var(--green);
    border: 1px solid rgba(0, 255, 157, 0.35);
    box-shadow: 0 4px 20px rgba(0, 255, 157, 0.1);
}

.green-cube:hover {
    box-shadow: 0 8px 30px rgba(0, 255, 157, 0.35);
    border-color: var(--green);
}

.grey-cube {
    background: var(--grey-dim);
    color: var(--grey);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 4px 20px rgba(148, 163, 184, 0.05);
}

.grey-cube:hover {
    box-shadow: 0 8px 30px rgba(148, 163, 184, 0.2);
    border-color: var(--grey);
}

/* ---- PROJECTS CAROUSEL ---- */
.projects-section {}

.projects-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.projects-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 20px 4px;
    scroll-behavior: smooth;
    flex: 1;
}

.projects-carousel::-webkit-scrollbar {
    display: none;
}

.project-tablet {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.project-tablet:hover {
    border-color: var(--blue);
    box-shadow: 0 0 50px rgba(30, 144, 255, 0.15), var(--shadow);
    transform: translateY(-16px) rotate3d(1, 0, 0, 3deg) !important;
}

.project-tablet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--green));
}

.tablet-blueprint-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.blueprint-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 2px;
}

.tablet-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
}

.ai-tag {
    background: var(--green-dim);
    color: var(--green);
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.sec-tag {
    background: var(--red-dim);
    color: var(--red);
    border: 1px solid rgba(255, 62, 94, 0.3);
}

.integration-tag {
    background: var(--blue-dim);
    color: var(--blue);
    border: 1px solid rgba(30, 144, 255, 0.3);
}

.tablet-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.tablet-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.tablet-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.tablet-stack {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tablet-stack span {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 10px;
    background: var(--blue-dim);
    color: var(--blue);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.tablet-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blueprint-line {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--blue-dim) 40%, transparent);
    border-radius: 1px;
}

.blueprint-line.short {
    width: 60%;
}

.carousel-btn {
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--blue);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.carousel-btn:hover {
    background: var(--blue-dim);
    box-shadow: 0 0 20px var(--blue-glow);
}

/* ---- AWARDS ---- */
.awards-section {}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.award-ring {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.award-ring:hover {
    border-color: var(--gold);
    box-shadow: 0 0 60px var(--gold-dim), var(--shadow);
    transform: translateY(-8px) !important;
}

.ring-outer {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.3), rgba(255, 150, 0, 0.1));
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--gold-dim);
    animation: ringRotate 8s linear infinite;
}

.ring-outer.gold2 {
    background: radial-gradient(circle at 30% 30%, rgba(200, 220, 255, 0.2), rgba(100, 150, 255, 0.1));
    border-color: #aac4ff;
    box-shadow: 0 0 20px rgba(170, 196, 255, 0.3);
    animation-direction: reverse;
}

.ring-outer.gold3 {
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 157, 0.2), rgba(0, 200, 100, 0.1));
    border-color: var(--green);
    box-shadow: 0 0 20px var(--green-dim);
}

.ring-inner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

@keyframes ringRotate {
    0% {
        box-shadow: 0 0 20px var(--gold-dim), 4px 0 15px var(--gold-dim)
    }

    50% {
        box-shadow: 0 0 25px var(--gold-dim), -4px 0 15px rgba(255, 150, 0, 0.3)
    }

    100% {
        box-shadow: 0 0 20px var(--gold-dim), 4px 0 15px var(--gold-dim)
    }
}

.award-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.award-org {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.award-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dim);
}

/* ---- EDUCATION ---- */
.education-section {}

.edu-diplomas {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.diploma {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    gap: 28px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.diploma:hover {
    border-color: var(--blue);
    box-shadow: 0 0 50px rgba(30, 144, 255, 0.1), var(--shadow);
    transform: translateY(-6px) !important;
}

.diploma-seal {
    font-size: 48px;
    flex-shrink: 0;
}

.diploma-degree {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.diploma-major {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--blue);
    margin-bottom: 6px;
}

.diploma-school {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.diploma-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--green);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.diploma-courses {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.diploma-courses span {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 12px;
    background: var(--blue-dim);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--blue);
}

/* ---- LEADERSHIP ---- */
.leadership-section {}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

.gear-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gear-card:hover {
    border-color: var(--green);
    box-shadow: 0 0 50px rgba(0, 255, 157, 0.1), var(--shadow);
    transform: translateY(-8px) !important;
}

.gear-icon-wrap {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.gear-svg {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 40px;
    color: var(--green);
    animation: gearSpin 6s linear infinite;
    text-shadow: 0 0 15px var(--green);
}

.gear-svg.small-gear {
    font-size: 22px;
    top: 20px;
    left: 22px;
    animation-direction: reverse;
    animation-duration: 4s;
    color: var(--blue);
    text-shadow: 0 0 10px var(--blue);
}

@keyframes gearSpin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.gear-role {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.gear-org {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--green);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.gear-date {
    font-size: 12px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    margin-bottom: 16px;
}

.gear-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-dim);
}

/* ---- FOOTER ---- */
.site-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border);
    background: var(--bg2);
    padding: 40px 64px;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-dim);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--blue);
}

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

.term-prompt {
    color: var(--blue);
    margin-right: 8px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .id-badge {
        max-width: 380px;
        margin: 0 auto;
    }

    .section {
        padding: 120px 32px 60px;
    }

    .nav-bar {
        padding: 16px 24px;
    }

    .nav-links {
        gap: 0;
    }

    .nav-link {
        font-size: 10px;
        padding: 6px 8px;
    }

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

    .hero-ctas {
        flex-wrap: wrap;
    }

    .summary-grid {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .experience-layout {
        flex-direction: column;
    }

    .fiber-backbone {
        display: none;
    }

    .project-tablet {
        flex: 0 0 290px;
    }

    .diploma {
        flex-direction: column;
    }

    .gear-card {
        flex-direction: column;
    }

    .site-footer {
        padding: 32px 24px;
    }

    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .cta-link {
        text-align: center;
        display: block;
    }

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

    .hologram-summary {
        width: calc(100% - 32px);
        right: 16px;
        top: 100px;
    }
}

/* ---- SCANLINES OVERLAY ---- */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 3px,
            rgba(0, 0, 0, 0.03) 3px,
            rgba(0, 0, 0, 0.03) 4px);
    pointer-events: none;
    z-index: 200;
}

/* Scroll bar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue);
}