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

:root {
    --bg-primary:    #0a0d14;
    --bg-secondary:  #0f1520;
    --bg-card:       #111928;
    --bg-card-hover: #151f30;
    --border:        rgba(30, 144, 255, 0.15);
    --border-hover:  rgba(30, 144, 255, 0.45);

    --blue:          #1e90ff;
    --blue-light:    #4db3ff;
    --blue-glow:     rgba(30, 144, 255, 0.25);
    --gold:          #f5c842;
    --gold-light:    #ffe07a;
    --gold-glow:     rgba(245, 200, 66, 0.2);

    --text-primary:  #e8edf5;
    --text-secondary:#8fa3bf;
    --text-muted:    #4a6080;

    --font-main:     'Inter', sans-serif;
    --font-mono:     'JetBrains Mono', monospace;

    --radius-sm:     6px;
    --radius-md:     12px;
    --radius-lg:     20px;
    --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-blue:   0 0 40px rgba(30, 144, 255, 0.12);
    --shadow-card:   0 8px 32px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

#bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

#scroll-tracker-canvas {
    position: fixed;
    right: 0;
    top: 0;
    width: 60px;
    height: 100vh;
    z-index: 50;
    pointer-events: none;
}
@media (max-width: 900px) {
    #scroll-tracker-canvas { display: none; }
}

#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-inner { position: relative; display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; }

.preloader-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: spin 1.8s linear infinite;
}
.preloader-ring:nth-child(1) { width: 120px; height: 120px; border-top-color: var(--blue); animation-duration: 1.8s; }
.preloader-ring.ring-2      { width: 90px;  height: 90px;  border-right-color: var(--gold); animation-duration: 1.2s; animation-direction: reverse; }
.preloader-ring.ring-3      { width: 60px;  height: 60px;  border-bottom-color: var(--blue-light); animation-duration: 0.9s; }

.preloader-text {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--blue);
    letter-spacing: 0.2em;
    text-align: center;
}
.blink-cursor { animation: blink 1s step-end infinite; }

@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.accent-text { color: var(--blue); }

#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
    background: rgba(10, 13, 20, 0.92);
    backdrop-filter: blur(18px);
    padding: 12px 0;
    box-shadow: 0 1px 0 var(--border), var(--shadow-blue);
}
.nav-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    transition: color var(--transition);
}
.nav-logo:hover { color: var(--blue); }
.logo-bracket { color: var(--gold); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 6px;
}
.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    gap: 60px;
    max-width: 1140px;
    margin: 0 auto;
}
#hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,144,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content { flex: 1; z-index: 1; }
.hero-visual   { flex: 1; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30,144,255,0.1);
    border: 1px solid rgba(30,144,255,0.3);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue-light);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}
.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 4px #22c55e; } 50% { box-shadow: 0 0 14px #22c55e; } }

.hero-greeting {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    min-height: 1.5em;
}
.terminal-prompt { color: var(--blue); }

.hero-name {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.name-line { display: block; color: var(--text-primary); }
.name-highlight {
    display: block;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 20px;
    min-height: 2em;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.08);
    opacity: 0;
    transition: opacity var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
    background: linear-gradient(135deg, var(--blue), #0070e0);
    color: #fff;
    box-shadow: 0 4px 24px rgba(30,144,255,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(30,144,255,0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}
.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}
.full-width { width: 100%; justify-content: center; }

.hero-stats { display: flex; align-items: center; gap: 32px; }
.stat-item { text-align: center; }
.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-suffix { color: var(--blue); font-weight: 700; font-size: 1.4rem; }
.stat-label { display: block; font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; }
.stat-divider { width: 1px; height: 48px; background: var(--border); }

/* Terminal window - Liquid Glass */
.terminal-window {
    background: rgba(12, 18, 32, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 40px 0 rgba(30, 144, 255, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    animation: liquidFloat 6s ease-in-out infinite;
}

@keyframes liquidFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(8, 14, 26, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot.red    { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green  { background: #28c840; }
.t-title { margin-left: 8px; color: var(--text-muted); font-size: 0.75rem; }
.terminal-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; min-height: 220px; }
.t-line { display: flex; align-items: flex-start; }
.t-cmd { color: var(--blue-light); }
.t-line.success span { color: #22c55e; }
.t-line.warning span { color: var(--gold); }

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    animation: float 3s ease-in-out infinite;
    z-index: 1;
}
.scroll-mouse {
    width: 24px; height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-wheel {
    width: 4px; height: 8px;
    background: var(--blue);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}
@keyframes scroll-wheel { 0%,100% { transform: translateY(0); opacity:1; } 50% { transform: translateY(10px); opacity:0.3; } }
@keyframes float { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

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

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--blue);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.section-sub { color: var(--text-secondary); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* Section separators */
#about, #skills  { background: var(--bg-secondary); }
#experience, #contact { background: var(--bg-primary); }

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,144,255,0.03), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}
.about-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-card), var(--shadow-blue); }
.about-card:hover::before { opacity: 1; }
.about-card:hover .about-icon-wrap { box-shadow: 0 0 24px var(--blue-glow); }
.about-card:hover .about-icon-wrap.gold { box-shadow: 0 0 24px var(--gold-glow); }

.about-icon-wrap {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(30,144,255,0.1);
    border: 1px solid rgba(30,144,255,0.3);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: var(--blue);
    transition: box-shadow var(--transition);
}
.about-icon-wrap.gold { background: rgba(245,200,66,0.1); border-color: rgba(245,200,66,0.3); color: var(--gold); }

.about-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.about-card p  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

.about-statement {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 36px 40px;
    position: relative;
}
.quote-icon { color: var(--gold); font-size: 2rem; margin-bottom: 12px; display: block; opacity: 0.6; }
.about-statement p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; font-style: italic; margin-bottom: 16px; }
.about-statement cite { font-family: var(--font-mono); font-size: 0.82rem; color: var(--blue); font-style: normal; }

/* Featured About Card — DevOps & AI highlight */
.about-card--featured {
    border-color: rgba(245, 200, 66, 0.35);
    background: linear-gradient(135deg, rgba(245,200,66,0.05) 0%, var(--bg-card) 60%);
    position: relative;
    overflow: visible;
}
.about-card--featured::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(245,200,66,0.5), rgba(30,144,255,0.3)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
}
.about-card--featured:hover {
    box-shadow: var(--shadow-card), 0 0 32px rgba(245,200,66,0.18);
}
.about-card-label {
    display: inline-block;
    margin-top: 14px;
    background: linear-gradient(135deg, rgba(245,200,66,0.2), rgba(30,144,255,0.15));
    border: 1px solid rgba(245,200,66,0.4);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Spotlight Banner — DevOps + AI */
.spotlight-banner {
    margin-top: 32px;
    border: 1px solid rgba(245,200,66,0.25);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg,
        rgba(30,144,255,0.06) 0%,
        rgba(10,13,20,0.8) 40%,
        rgba(245,200,66,0.06) 100%);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}
.spotlight-banner::before {
    content: '';
    position: absolute;
    top: -60px; left: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,200,66,0.08), transparent 70%);
    pointer-events: none;
}
.spotlight-banner::after {
    content: '';
    position: absolute;
    bottom: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,144,255,0.08), transparent 70%);
    pointer-events: none;
}
.spotlight-inner {
    display: flex;
    gap: 0;
    align-items: stretch;
    position: relative;
    z-index: 1;
}
.spotlight-block {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 4px;
}
.spotlight-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(245,200,66,0.3), transparent);
    margin: 0 24px;
    flex-shrink: 0;
    align-self: stretch;
}
.spotlight-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(245,200,66,0.2), rgba(30,144,255,0.1));
    border: 1px solid rgba(245,200,66,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
    flex-shrink: 0;
    animation: pulse-icon 3s ease-in-out infinite;
}
@keyframes pulse-icon {
    0%,100% { box-shadow: 0 0 0 0 rgba(245,200,66,0.2); }
    50%      { box-shadow: 0 0 0 8px rgba(245,200,66,0); }
}
.spotlight-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--gold), var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.spotlight-text p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .spotlight-inner { flex-direction: column; gap: 20px; }
    .spotlight-divider { width: 100%; height: 1px; margin: 4px 0; align-self: auto; }
    .spotlight-block { padding: 0; }
}

.timeline { position: relative; }
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--blue), var(--gold), transparent);
    transform: translateX(-50%);
    opacity: 0.4;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}
.timeline-item:nth-child(odd) {
    flex-direction: row;
    justify-content: flex-start;
    padding-right: calc(50% + 40px);
}
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: flex-start;
    padding-left: calc(50% + 40px);
}
.timeline-item:nth-child(odd) .timeline-card  { margin-left: auto; }
.timeline-item:nth-child(even) .timeline-card { margin-right: auto; }

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 24px;
}
.marker-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--blue);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--blue), 0 0 20px var(--blue-glow);
    z-index: 1;
    animation: pulse-marker 3s ease-in-out infinite;
}
.timeline-item:nth-child(even) .marker-dot { background: var(--gold); box-shadow: 0 0 0 3px var(--gold), 0 0 20px var(--gold-glow); }
@keyframes pulse-marker { 0%,100% { box-shadow: 0 0 0 3px var(--blue), 0 0 20px rgba(30,144,255,0.3); } 50% { box-shadow: 0 0 0 6px rgba(30,144,255,0.2), 0 0 30px rgba(30,144,255,0.4); } }
.marker-line {
    width: 2px; height: 100px;
    background: linear-gradient(to bottom, var(--blue), transparent);
    margin-top: 4px;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
    width: 100%;
}
.timeline-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-card), var(--shadow-blue); transform: translateY(-2px); }

.card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.card-date { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.card-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.card-badge.current { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }

.card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }

.card-company {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.card-company i { color: var(--blue); }
.card-location { display: flex; align-items: center; gap: 4px; color: var(--gold); font-size: 0.82rem; margin-left: 8px; }

/* Tabs */
.exp-categories { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.exp-tab {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
}
.exp-tab:hover { border-color: var(--blue); color: var(--blue); }
.exp-tab.active { background: rgba(30,144,255,0.15); border-color: var(--blue); color: var(--blue); font-weight: 600; }

.exp-content { display: none; }
.exp-content.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.achievement-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.achievement-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.achievement-list li .accent { color: var(--blue); font-size: 0.7rem; margin-top: 4px; flex-shrink: 0; }

.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; border-top: 1px solid var(--border); padding-top: 16px; }
.tag {
    background: rgba(30,144,255,0.08);
    border: 1px solid rgba(30,144,255,0.2);
    color: var(--blue-light);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.03em;
}
.tag--highlight {
    background: linear-gradient(135deg, rgba(245,200,66,0.15), rgba(30,144,255,0.1));
    border-color: rgba(245,200,66,0.4);
    color: var(--gold);
    box-shadow: 0 0 10px rgba(245,200,66,0.1);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}
.skill-category:hover { border-color: var(--border-hover); box-shadow: var(--shadow-card); }

.skill-cat-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.skill-cat-header i { font-size: 1.3rem; color: var(--blue); }
.skill-cat-header h3 { font-size: 1rem; font-weight: 700; }

.skill-bars { display: flex; flex-direction: column; gap: 16px; }
.skill-bar-item {}
.skill-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.83rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.skill-pct { font-family: var(--font-mono); color: var(--blue); font-weight: 600; }
.skill-track {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}
.skill-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 10px rgba(30,144,255,0.5);
}
.skill-fill.animated { width: var(--target); }

/* Tech cloud */
.tech-cloud {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}
.tech-cloud-title { font-size: 1rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-mono); }
.badge-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tech-badge {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    cursor: default;
}
.tech-badge:hover {
    background: rgba(30,144,255,0.12);
    border-color: var(--blue);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(30,144,255,0.2);
}

.social-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--card-color, var(--blue));
    border-radius: var(--radius-md);
    padding: 24px 22px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Glow background on hover */
.social-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, var(--card-glow, rgba(30,144,255,0.15)), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
}
.social-card:hover::before { opacity: 1; }

.social-card:hover {
    border-color: var(--card-color, var(--blue));
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--card-glow, rgba(30,144,255,0.15));
}

/* Icon */
.social-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--card-color, #1e90ff) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--card-color, #1e90ff) 35%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--card-color, var(--blue));
    flex-shrink: 0;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    z-index: 1;
}
.social-card:hover .social-card-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px color-mix(in srgb, var(--card-color, #1e90ff) 40%, transparent);
}

/* Text */
.social-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
    min-width: 0;
}
.social-card-platform {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.social-card-handle {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.social-card:hover .social-card-handle {
    color: var(--card-color, var(--blue));
}

/* Arrow */
.social-card-arrow {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all var(--transition);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translate(-4px, 4px);
    flex-shrink: 0;
}
.social-card:hover .social-card-arrow {
    color: var(--card-color, var(--blue));
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 900px) {
    .social-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .social-cards-grid { grid-template-columns: 1fr; }
    .social-card-arrow { opacity: 1; transform: none; }
}


#footer {
    background: #070a10;
    border-top: 1px solid var(--border);
    padding: 48px 0;
}
.footer-content { text-align: center; }
.footer-logo { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 8px; }
.footer-tagline { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 20px; }
.footer-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 20px; }
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 16px var(--blue-glow); }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

#back-to-top {
    position: fixed;
    bottom: 32px; right: 32px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(30,144,255,0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--blue-light); transform: translateY(-2px); }

.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* Delay classes */
.delay-1  { transition-delay: 0.1s; }
.delay-2  { transition-delay: 0.2s; }
.delay-3  { transition-delay: 0.3s; }
.delay-4  { transition-delay: 0.4s; }
.delay-5  { transition-delay: 0.5s; }
.delay-6  { transition-delay: 0.6s; }

@media (max-width: 1024px) {
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding: 0 0 0 40px;
    }
    .timeline::before { left: 16px; }
    .timeline-marker { left: 16px; top: 24px; }
    .timeline-item:nth-child(odd) .timeline-card,
    .timeline-item:nth-child(even) .timeline-card { margin: 0; }
    .about-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    #hero { flex-direction: column; padding-top: 100px; gap: 40px; }
    .hero-visual { width: 100%; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: min(80vw, 320px);
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px;
        gap: 8px;
        transition: right var(--transition);
        border-left: 1px solid var(--border);
        box-shadow: -20px 0 60px rgba(0,0,0,0.5);
    }
    .nav-links.open { right: 0; }
    .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
    .hero-ctas { flex-direction: column; }
    .about-statement { padding: 24px; }
    .contact-form-wrap { padding: 24px; }
    .timeline-item { padding-left: 30px !important; }
    .timeline::before { left: 10px; }
    .timeline-marker { left: 10px; }
}
