:root {
    --bg: #080c10;
    --bg2: #0d1117;
    --bg3: #111820;
    --surface: #161d26;
    --border: rgba(99,202,255,0.1);
    --border-hover: rgba(99,202,255,0.3);
    --accent: #63caff;
    --accent2: #a78bfa;
    --accent3: #34d399;
    --text: #e8edf2;
    --muted: #a8bccf;
    --mono: 'JetBrains Mono', monospace;
    --sans: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── GRID NOISE BACKGROUND ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(99,202,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,202,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 3rem;
    background: rgba(8,12,16,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-logo {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.1em;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ── SECTIONS ── */
section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
section:first-of-type { padding-top: 10rem; }

/* ── HERO ── */
.hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
}
.hero-cta {
    align-self: flex-end;
}
.hero-eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.15em;
    margin-bottom: 1.2rem;
}
.hero-name {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}
.hero-name span {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-title {
    font-family: var(--mono);
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
}
.hero-desc {
    font-size: 25px;
    color: var(--muted);
    line-height: 1.8;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.7rem 1.4rem;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
}
.hero-cta:hover { background: var(--accent); color: var(--bg); }

/* ── SECTION HEADING ── */
.section-label {
    font-family: var(--mono);
    font-size: 15px;
    color: var(--accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

/* ── ABOUT ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.about-text { font-size: 18px; color: var(--muted); line-height: 1.9; }
.about-text p { margin-bottom: 1rem; }
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.stat-cell {
    background: var(--surface);
    padding: 1.4rem;
}
.stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.stat-label {
    font-family: var(--mono);
    font-size: 15px;
    color: var(--muted);
    letter-spacing: 0.08em;
}

/* ── EXPERIENCE & EDUCATION ── */
.company-header {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}
.company-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.company-logo {
    height: 1.6rem;
    width: auto;
    filter: invert(1);
    opacity: 0.9;
}
.company-tenure {
    font-family: var(--mono);
    font-size: 18px;
    color: var(--muted);
    letter-spacing: 0.06em;
}

/* ── TIMELINE ── */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0 2rem;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 180px;
    top: 0; bottom: 0;
    width: 1px;
    background: var(--border);
}
.timeline-date {
    font-family: var(--mono);
    font-size: 18px;
    color: var(--muted);
    letter-spacing: 0.06em;
    padding: 2rem 0;
    text-align: right;
    padding-right: 2rem;
    line-height: 1.5;
}
.timeline-content {
    padding: 2rem 0 2rem 2rem;
    position: relative;
}
.timeline-content::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 2.6rem;
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    transform: translateX(-3px);
}
.exp-role {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}
.exp-role-sub {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}
.exp-summary {
    font-size: 16px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 0.9rem;
    border-left: 2px solid var(--accent);
}
.exp-tags {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
    margin-bottom: 0.8rem;
}
.tag {
    font-family: var(--mono);
    font-size: 15px;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    border: 1px solid;
}
.tag-blue  { color: var(--accent);  border-color: rgba(99,202,255,0.3);  background: rgba(99,202,255,0.05); }
.tag-purple{ color: var(--accent2); border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.05); }
.tag-green { color: var(--accent3); border-color: rgba(52,211,153,0.3);  background: rgba(52,211,153,0.05); }
.tag-orange{ color: #fb923c;        border-color: rgba(251,146,60,0.3);  background: rgba(251,146,60,0.05);  }
.exp-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.exp-bullets li {
    font-size: 20px;
    color: var(--muted);
    padding-left: 1rem;
    position: relative;
    line-height: 1.7;
}
.exp-bullets li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ── SKILLS ── */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.skill-group {
    background: var(--surface);
    padding: 1.6rem;
}
.skill-group-title {
    font-family: var(--mono);
    font-size: 20px;
    letter-spacing: 0.15em;
    color: var(--skill-color, var(--accent2));
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.skill-list { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.skill-list li {
    font-size: 18px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.skill-list li::before {
    content: '';
    display: inline-block;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--skill-color, var(--accent2));
    flex-shrink: 0;
}

/* ── CONTACT ── */
.contact-inner {
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.contact-desc { font-size: 20px; color: var(--muted); line-height: 2.2; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.contact-links { display: flex; gap: 8rem; flex-wrap: wrap; justify-content: center; width: 100%; }
.contact-link {
    font-family: var(--mono);
    font-size: 18px;
    letter-spacing: 0.08em;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}
.contact-link:hover { border-color: var(--accent); color: var(--accent); }
.contact-link-qr { display: block; width: 100px; height: 100px; object-fit: cover; }
.contact-link-label {
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
    width: 100%;
    justify-content: center;
}

/* ── FOOTER ── */
footer {
    position: relative; z-index: 1;
    text-align: center;
    padding: 2rem;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

/* ── FADE IN ── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { gap: 1.2rem; }
    .hero-bottom { flex-direction: column; align-items: flex-start; }
    .about-grid { grid-template-columns: 1fr; }
    .timeline-item { grid-template-columns: 1fr; }
    .timeline-item::before { display: none; }
    .timeline-date { padding: 2rem 0 0; text-align: left; }
    .timeline-content { padding-left: 0; }
    .timeline-content::before { display: none; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
}
