:root {
    --bg: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --accent: #00f2ea;
    --accent-glow: rgba(0, 242, 234, 0.35);
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Geist', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* --- BACKGROUND --- */
#firefly-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none;
}
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05; z-index: -1; pointer-events: none;
}

/* --- UTILS --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.text-gradient {
    background: linear-gradient(to right, #fff 30%, #555);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; color: transparent;
}
.highlight { color: var(--accent); font-weight: 600; }
.section { padding: 110px 0; }
.center { text-align: center; }

/* --- NAVIGATION --- */
.nav-bar {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 92%; max-width: 820px;
    padding: 14px 28px;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(8, 8, 8, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transition: box-shadow 0.3s;
}
.nav-bar.scrolled { box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05); }
.logo { font-family: var(--font-heading); font-weight: 900; font-size: 1.1rem; letter-spacing: 1px; }
.dot { color: var(--accent); }
.menu { display: flex; gap: 28px; }
.menu-link {
    color: var(--text-muted); text-decoration: none; font-size: 0.88rem;
    transition: color 0.3s; position: relative; padding-bottom: 2px;
}
.menu-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 1px; background: var(--accent); transition: width 0.3s;
}
.menu-link:hover, .menu-link.active { color: white; }
.menu-link.active::after, .menu-link:hover::after { width: 100%; }
.nav-cta {
    background: white; color: black; padding: 8px 20px; border-radius: 30px;
    text-decoration: none; font-weight: 700; font-size: 0.88rem; transition: 0.3s;
}
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(255,255,255,0.3); }

/* --- HERO --- */
.hero-section {
    height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    position: relative; overflow: hidden;
}
.hero-glow {
    position: absolute; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0, 242, 234, 0.06) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    pointer-events: none;
}
.badge-pill {
    background: rgba(0, 242, 234, 0.06); border: 1px solid rgba(0, 242, 234, 0.2);
    padding: 8px 18px; border-radius: 20px; font-size: 0.82rem;
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px;
    color: rgba(255,255,255,0.75); letter-spacing: 0.3px;
}
.status-dot {
    width: 8px; height: 8px; background: #22c55e; border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 6px #22c55e; }
    50% { box-shadow: 0 0 14px #22c55e, 0 0 24px rgba(34,197,94,0.4); }
}

.massive-name {
    font-family: var(--font-heading); font-size: 8rem;
    line-height: 0.88; letter-spacing: -4px; margin-bottom: 20px;
    font-weight: 900; text-transform: uppercase;
}

.hero-tagline {
    font-size: 1rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 24px; font-weight: 400;
}

.hero-sub {
    font-size: 1.15rem; color: var(--text-muted); max-width: 560px;
    margin: 0 auto 32px; line-height: 1.7;
}

.hero-meta {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 44px;
}
.meta-chip {
    background: var(--card-bg); border: 1px solid var(--card-border);
    padding: 6px 14px; border-radius: 20px; font-size: 0.8rem;
    color: var(--text-muted); display: flex; align-items: center; gap: 6px;
}
.meta-chip i { color: var(--accent); font-size: 0.75rem; }

.hero-actions { display: flex; gap: 16px; justify-content: center; }
.btn-primary {
    padding: 14px 38px; background: white; color: black; border-radius: 30px;
    text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(255,255,255,0.2); }
.btn-secondary {
    padding: 14px 38px; background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: white; border-radius: 30px;
    text-decoration: none; font-weight: 600; font-size: 0.95rem;
    display: flex; align-items: center; gap: 8px; transition: 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

/* Scroll hint */
.scroll-hint {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-muted); font-size: 0.72rem; letter-spacing: 3px;
    text-transform: uppercase; opacity: 0.5;
    animation: fade-bob 3s ease-in-out infinite;
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
}
@keyframes fade-bob {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.7; transform: translateX(-50%) translateY(6px); }
}

/* --- IMPACT STRIP --- */
.impact-strip {
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 48px 0;
    background: rgba(255,255,255,0.015);
}
.stats-row {
    display: flex; align-items: center; justify-content: space-around;
    gap: 20px; flex-wrap: wrap;
}
.stat-block {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    text-align: center;
}
.stat-num {
    font-family: var(--font-heading); font-size: 3rem; font-weight: 900;
    color: white; line-height: 1;
}
.stat-num .stat-unit { font-size: 1.8rem; color: var(--accent); }
.stat-text { font-size: 2.2rem; }
.stat-label {
    font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 1.5px; max-width: 160px; line-height: 1.4;
}
.stat-divider {
    width: 1px; height: 60px; background: var(--card-border);
    flex-shrink: 0;
}

/* --- SECTION HEADERS --- */
.section-header { margin-bottom: 60px; }
.section-eyebrow {
    display: inline-block; font-size: 0.75rem; letter-spacing: 3px;
    text-transform: uppercase; color: var(--accent); font-weight: 600;
    margin-bottom: 14px;
}
.section-head {
    font-family: var(--font-heading); font-size: 3rem; font-weight: 700;
    letter-spacing: -1px; margin-bottom: 16px;
}
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; line-height: 1.6; }
.center .section-sub { margin: 0 auto; }

/* --- EXPERIENCE DASHBOARD --- */
.experience-dashboard {
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(0,0,0,0.7));
    border: 1px solid var(--card-border); border-radius: 20px;
    backdrop-filter: blur(20px); overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    transition: transform 0.2s ease-out;
}
.dashboard-header {
    background: rgba(0,0,0,0.5); padding: 14px 24px;
    display: flex; align-items: center; border-bottom: 1px solid var(--card-border);
}
.traffic-lights { display: flex; gap: 8px; margin-right: 20px; }
.traffic-lights span { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.dash-title { color: var(--text-muted); font-size: 0.85rem; font-family: monospace; }

.exp-grid { padding: 40px; display: flex; flex-direction: column; gap: 44px; }
.exp-item {
    display: grid; grid-template-columns: 190px 1fr; gap: 36px;
    padding-bottom: 44px; border-bottom: 1px solid var(--card-border);
    position: relative;
}
.exp-item:last-child { border-bottom: none; padding-bottom: 0; }

.exp-item.active::before {
    content: ''; position: absolute; left: -1px; top: 0; height: 100%; width: 2px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    box-shadow: 0 0 12px var(--accent);
}

.exp-left { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.exp-date { color: var(--accent); font-family: monospace; font-size: 0.85rem; line-height: 1.5; }
.exp-status {
    display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem;
    font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    background: rgba(0,242,234,0.1); border: 1px solid rgba(0,242,234,0.25); color: var(--accent);
    align-self: flex-start;
}
.exp-status.edu {
    background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.25); color: #a78bfa;
}

.exp-details h3 { font-family: var(--font-heading); font-size: 1.7rem; margin-bottom: 6px; font-weight: 700; }
.exp-details h4 { color: var(--text-muted); font-size: 1rem; margin-bottom: 18px; font-weight: 400; }
.exp-details h4 i { margin-right: 6px; font-size: 0.85rem; }
.exp-bullets { list-style: none; color: #ccc; line-height: 1.9; margin-bottom: 20px; }
.exp-bullets li { position: relative; padding-left: 20px; margin-bottom: 6px; font-size: 0.95rem; }
.exp-bullets li::before {
    content: '>'; color: var(--accent); position: absolute; left: 0;
    font-weight: bold; font-family: monospace;
}
.exp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-tag {
    padding: 4px 12px; border-radius: 20px; font-size: 0.75rem;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted); font-family: monospace;
}

/* --- SKILLS --- */
.bento-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    grid-auto-rows: minmax(200px, auto);
}
.bento-box {
    background: var(--card-bg); border: 1px solid var(--card-border);
    padding: 28px; border-radius: 20px; transition: 0.35s;
    display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.bento-box:hover {
    background: rgba(255,255,255,0.055);
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.16);
}
.bento-box.large { grid-column: span 1; grid-row: span 2; }
.bento-box.wide { grid-column: span 3; }
.icon-wrap { font-size: 2.2rem; color: var(--text-muted); transition: 0.3s; }
.bento-box:hover .icon-wrap { color: white; transform: scale(1.1); }
.bento-box h3 { font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 6px; font-weight: 700; }
.bento-box p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.glow-blue:hover  { box-shadow: 0 0 40px rgba(59, 130, 246, 0.12); border-color: rgba(59,130,246,0.2); }
.glow-purple:hover { box-shadow: 0 0 40px rgba(139, 92, 246, 0.12); border-color: rgba(139,92,246,0.2); }
.glow-yellow:hover { box-shadow: 0 0 40px rgba(234, 179, 8, 0.12); border-color: rgba(234,179,8,0.2); }
.glow-cyan:hover  { box-shadow: 0 0 40px rgba(0, 242, 234, 0.12); border-color: rgba(0,242,234,0.2); }

.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.skill-tags span {
    padding: 3px 10px; border-radius: 20px; font-size: 0.72rem;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted); font-family: monospace; transition: 0.2s;
}
.bento-box:hover .skill-tags span { border-color: rgba(255,255,255,0.18); color: #ddd; }

/* --- PROJECTS --- */
.project-deck {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}
.huge-card {
    background: #0a0a0a;
    border: 1px solid var(--card-border);
    border-radius: 24px; overflow: hidden;
    transition: border-color 0.4s, box-shadow 0.4s;
    display: flex; flex-direction: column;
}
.huge-card:hover {
    border-color: rgba(0, 242, 234, 0.35);
    box-shadow: 0 24px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,242,234,0.1);
}

.proj-image {
    height: 220px; overflow: hidden; position: relative;
    border-bottom: 1px solid var(--card-border);
}
.abstract-art {
    width: 100%; height: 100%; transition: transform 0.8s ease;
    background-size: cover; background-position: center;
    filter: grayscale(50%) contrast(1.05) brightness(0.55);
}
.art-1 { background-image: url('https://images.unsplash.com/photo-1620712943543-bcc4688e7485?auto=format&fit=crop&w=800&q=80'); }
.art-2 { background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=800&q=80'); }
.art-3 { background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=800&q=80'); }

.huge-card:hover .abstract-art {
    transform: scale(1.08);
    filter: grayscale(10%) contrast(1.15) brightness(0.7);
}
.proj-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.15); opacity: 0; transition: 0.35s; z-index: 2;
}
.proj-overlay i {
    font-size: 3rem; color: white;
    text-shadow: 0 0 30px var(--accent);
    transform: scale(0.5); transition: 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.huge-card:hover .proj-overlay { opacity: 1; }
.huge-card:hover .proj-overlay i { transform: scale(1); }

.proj-content {
    padding: 30px; flex: 1; display: flex; flex-direction: column; gap: 14px;
    background: linear-gradient(to bottom, #0c0c0c, #060606);
}
.proj-header { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
    font-size: 0.7rem; border: 1px solid rgba(255,255,255,0.1);
    padding: 4px 10px; border-radius: 20px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1px;
    background: rgba(255,255,255,0.03);
}
.proj-content h3 {
    font-family: var(--font-heading); font-size: 1.55rem; color: white; font-weight: 700;
}
.proj-content p {
    font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; flex: 1;
}
.proj-metric {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.82rem; font-weight: 600; color: var(--accent);
    padding: 10px 14px; border-radius: 10px;
    background: rgba(0, 242, 234, 0.06); border: 1px solid rgba(0,242,234,0.15);
    margin-top: auto;
}
.proj-metric i { font-size: 0.85rem; }

/* --- CONTACT --- */
.contact-section { position: relative; overflow: hidden; }
.contact-glow {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,242,234,0.05) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    pointer-events: none;
}
.contact-head {
    font-family: var(--font-heading); font-size: 3.5rem; font-weight: 900;
    letter-spacing: -1.5px; line-height: 1.1; margin: 16px 0 24px;
}
.contact-sub {
    color: var(--text-muted); font-size: 1.05rem; max-width: 480px;
    margin: 0 auto 44px; line-height: 1.7;
}
.btn-contact {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 42px; background: white; color: black;
    border-radius: 40px; text-decoration: none; font-weight: 700; font-size: 1rem;
    transition: 0.3s; margin-bottom: 48px;
}
.btn-contact:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(255,255,255,0.18); }

.contact-links { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.contact-link {
    display: flex; align-items: center; gap: 8px;
    color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
    transition: 0.3s; font-weight: 500;
}
.contact-link i { font-size: 1rem; }
.contact-link:hover { color: white; transform: translateY(-2px); }

/* --- SOCIAL DOCK (Fixed) --- */
.dock-container {
    position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
    z-index: 100;
}
.social-dock {
    display: flex; gap: 10px; padding: 12px 20px;
    background: rgba(15, 15, 15, 0.85); border: 1px solid var(--card-border);
    border-radius: 20px; backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: padding 0.3s;
}
.social-dock:hover { padding: 12px 28px; }
.dock-item {
    width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04); border-radius: 12px; color: white;
    font-size: 1.25rem; text-decoration: none;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}
.dock-item:hover {
    transform: translateY(-12px) scale(1.18);
    background: var(--accent); color: black;
    box-shadow: 0 10px 24px var(--accent-glow);
}
.dock-item::after {
    content: attr(data-tooltip);
    position: absolute; top: -36px; left: 50%; transform: translateX(-50%);
    background: white; color: black; padding: 4px 8px; border-radius: 6px;
    font-size: 0.7rem; opacity: 0; pointer-events: none; transition: 0.2s;
    white-space: nowrap; font-weight: 700;
}
.dock-item:hover::after { opacity: 1; top: -44px; }

/* --- FOOTER --- */
.footer-section { padding: 28px 0 110px; }
.footer-copy { color: var(--text-muted); font-size: 0.82rem; opacity: 0.45; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .massive-name { font-size: 4rem; letter-spacing: -2px; }
    .contact-head { font-size: 2.4rem; }
    .nav-bar { width: 95%; padding: 14px 18px; }
    .menu { display: none; }
    .exp-item { grid-template-columns: 1fr; gap: 16px; }
    .exp-item.active::before { display: none; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-box.large, .bento-box.wide { grid-column: span 1; }
    .project-deck { grid-template-columns: 1fr; }
    .stats-row { gap: 32px; }
    .stat-divider { display: none; }
    .dock-container { bottom: 16px; }
    .social-dock { padding: 10px 16px; }
    .hero-meta { gap: 8px; }
    .section-head { font-size: 2.2rem; }
}
