:root {
    --bg: #0C0E12;
    --bg-card: #14171E;
    --bg-hover: #1A1E28;
    --border: rgba(255, 255, 255, 0.06);
    --text: #E8E6E1;
    --text-secondary: #8A8A8A;
    --text-tertiary: #5A5A5A;
    --accent: #4A9EFF;
    --accent-soft: rgba(74, 158, 255, 0.1);
    --accent-border: rgba(74, 158, 255, 0.2);
    --green: #34D399;
    --green-soft: rgba(52, 211, 153, 0.1);
    --amber: #FBBF24;
    --amber-soft: rgba(251, 191, 36, 0.1);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --container: 860px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(12, 14, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-name span {
    color: var(--text-tertiary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--text);
    background: var(--bg-card);
}

.nav-links a.active {
    color: var(--accent);
    background: var(--accent-soft);
}

/* ===== HERO ===== */
.hero {
    padding: 8rem 0 4rem;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: fadeUp 0.7s var(--ease) 0.1s forwards;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-style: italic;
    opacity: 0;
    animation: fadeUp 0.7s var(--ease) 0.2s forwards;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 0.7s var(--ease) 0.3s forwards;
}

.hero-sub strong {
    color: var(--text);
    font-weight: 500;
}

.hero-meta {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeUp 0.7s var(--ease) 0.4s forwards;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-meta-item .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

/* ===== EXPERIENCE CARDS ===== */
.exp-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.exp-card:hover {
    border-color: var(--accent-border);
    box-shadow: 0 4px 30px rgba(74, 158, 255, 0.04);
}

.exp-date {
    min-width: 100px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    padding-top: 0.2rem;
    flex-shrink: 0;
}

.exp-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.exp-company {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.exp-bullets {
    list-style: none;
    padding: 0;
}

.exp-bullets li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.exp-bullets li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--text-tertiary);
    font-weight: 600;
}

/* ===== SKILLS ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.skill-group {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
}

.skill-group-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.skill-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 0.3rem 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 5px;
    transition: all 0.2s;
}

.skill-tag:hover {
    border-color: var(--accent-border);
    color: var(--accent);
    background: var(--accent-soft);
}

/* ===== HIGHLIGHT CARDS ===== */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.75rem;
    transition: border-color 0.3s;
}

.highlight-card:hover {
    border-color: var(--accent-border);
}

.highlight-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.highlight-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== PAGE SWITCHER ===== */
.page-switch {
    padding: 3rem 0 4rem;
}

.page-switch-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.page-switch-card:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 158, 255, 0.06);
}

.page-switch-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.page-switch-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.page-switch-card .arrow {
    font-size: 1.3rem;
    color: var(--accent);
    transition: transform 0.2s;
}

.page-switch-card:hover .arrow {
    transform: translateX(4px);
}

/* ===== CTA ===== */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.cta-section h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    background: var(--accent);
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.cta-btn:hover {
    background: #6BB3FF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.25);
}

.cta-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.cta-links a {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.2s;
}

.cta-links a:hover {
    color: var(--text);
}

/* ===== FOOTER ===== */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer p {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .hero { padding: 6rem 0 3rem; }
    .exp-card { flex-direction: column; gap: 0.5rem; padding: 1.5rem; }
    .exp-date { min-width: auto; }
    .hero-meta { gap: 1rem; }
    .nav-links { display: none; }
    .highlight-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr 1fr; }
}
