:root {
    --bg: #F9F7F2; --ink: #1E293B; --coral: #F47C7C; --indigo: #2D3A5D; --sage: #6B8E23;
    --paper: #FFFFFF; --line: rgba(30, 41, 59, 0.08);
    --f-head: 'Outfit', sans-serif; --f-sans: 'Lexend', sans-serif; --f-mono: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(0.2, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* Subtle Grid/Canvas Texture */
body::before {
    content: ""; position: fixed; inset: 0;
    background-image: radial-gradient(var(--line) 1.5px, transparent 1.5px);
    background-size: 40px 40px; pointer-events: none; z-index: 1;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
section { padding: 90px 0; border-bottom: 1px solid var(--line); }

/* SMOOTH REVEAL */
.rv { opacity: 0; transform: translateY(25px); transition: all 0.8s var(--ease); }
.rv.in { opacity: 1; transform: translateY(0); }

/* --- NAVIGATION --- */
.nav { position: fixed; top: 0; width: 100%; height: 80px; background: rgba(249, 247, 242, 0.85); backdrop-filter: blur(15px); z-index: 100; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.nav-in { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-family: var(--f-head); font-size: 1.5rem; font-weight: 800; color: var(--indigo); text-decoration: none; }
.logo span { color: var(--coral); }
.menu { display: flex; gap: 20px; }
.menu a { text-decoration: none; color: var(--ink); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; transition: 0.3s; }
.menu a:hover, .menu a.active { opacity: 1; color: var(--coral); }

/* --- HERO SECTION --- */
.hero { min-height: 85vh; display: flex; align-items: center; padding-top: 100px; padding-bottom: 50px; border: none; }
.hero-content { width: 100%; max-width: 750px; }
.tag { font-family: var(--f-mono); font-size: 0.7rem; color: var(--indigo); background: rgba(45, 58, 93, 0.1); padding: 5px 15px; border-radius: 100px; display: inline-block; margin-bottom: 25px; font-weight: 600; }
.hero h1 { font-family: var(--f-head); font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.1; margin-bottom: 25px; font-weight: 800; color: var(--indigo); }
.hero h1 em { font-style: italic; color: var(--coral); font-weight: 400; }
.hero-p { font-size: 1.2rem; color: var(--ink); opacity: 0.8; margin-bottom: 40px; }

/* The Learning Path Animation */
.path-anim { position: absolute; right: 0; top: 20%; width: 300px; height: 300px; opacity: 0.1; pointer-events: none; }
.path-line { fill: none; stroke: var(--indigo); stroke-width: 2; stroke-dasharray: 10; animation: dash 20s linear infinite; }
@keyframes dash { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }

/* --- COUNTERS --- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -60px; }
.stat-item { background: var(--paper); padding: 35px 20px; border-radius: 12px; border: 1px solid var(--line); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.stat-item b { font-family: var(--f-head); font-size: 3rem; display: block; color: var(--coral); line-height: 1; }
.stat-item span { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--indigo); letter-spacing: 1px; }

/* --- ABOUT ME (Cover Letter style) --- */
.about-box { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.letter-content { font-size: 1.15rem; color: #444; border-left: 3px solid var(--coral); padding-left: 35px; }
.letter-content p { margin-bottom: 25px; }
.sig { font-family: var(--f-head); font-size: 2rem; font-weight: 700; color: var(--indigo); margin-top: 40px; }

/* --- EXPERIENCE --- */
.journey { position: relative; padding-left: 30px; border-left: 2px solid var(--line); }
.j-item { position: relative; margin-bottom: 70px; }
.j-item::before { content: ""; position: absolute; left: -41px; top: 10px; width: 20px; height: 20px; background: var(--coral); border-radius: 4px; box-shadow: 0 0 0 6px var(--bg); }
.j-item h3 { font-family: var(--f-head); font-size: 1.8rem; margin-bottom: 8px; color: var(--indigo); }
.j-item .org { font-weight: 800; font-size: 0.9rem; color: var(--sage); text-transform: uppercase; margin-bottom: 15px; display: block; }

/* --- SKILLS --- */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.skill-card { background: var(--paper); padding: 35px; border-radius: 8px; border: 1px solid var(--line); position: relative; transition: 0.4s var(--ease); }
.skill-card:hover { transform: translateY(-5px); border-color: var(--coral); }
.skill-card h4 { font-family: var(--f-head); font-size: 1.3rem; margin-bottom: 20px; color: var(--indigo); }
.dot-container { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border: 2px solid var(--coral); border-radius: 3px; }
.dot.fill { background: var(--coral); }

/* --- GALLERY --- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.gal-box { aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #eee; }
.gal-box img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); transition: 0.5s; }
.gal-box:hover img { filter: saturate(1.2); transform: scale(1.05); }

/* --- RECRUITER CANDIDACY BOARD --- */
.candidate-board { background: var(--indigo); color: white; border-radius: 16px; padding: 70px; position: relative; overflow: hidden; }
.candidate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; }
.c-item label { font-family: var(--f-mono); font-size: 0.65rem; color: var(--coral); text-transform: uppercase; display: block; margin-bottom: 12px; letter-spacing: 2px; }
.c-item span { font-weight: 600; font-size: 1.1rem; color: #F1F5F9; }

/* --- CONTACT --- */
.contact-flex { display: flex; justify-content: space-between; align-items: flex-end; }
.contact-link { font-family: var(--f-head); font-size: clamp(2rem, 5vw, 3.8rem); color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--coral); line-height: 1.2; transition: 0.3s; }
.contact-link:hover { color: var(--coral); }

footer { padding: 60px 0; text-align: center; font-size: 0.75rem; color: var(--ink); opacity: 0.5; font-weight: 600; text-transform: uppercase; }

@media (max-width: 850px) {
    .about-box, .stat-row, .candidate-grid, .gal-grid, .skills-grid { grid-template-columns: 1fr; }
    .hero { text-align: center; }
    .hero-content { margin: 0 auto; }
    .nav-in .menu, .path-anim { display: none; }
    .contact-flex { flex-direction: column; align-items: center; text-align: center; gap: 40px; }
}
