/* style.css */
:root {
    --bg-color: #050505;
    --text-main: #f0f0f0;
    --text-muted: #888888;
    --border-color: #222222;
    --accent: #ffffff;
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: none;
}

/* Fix visibility for JS-animated elements */
.line {
    opacity: 0;
    transform: translateY(100%);
}
.line.visible {
    opacity: 1;
    transform: translateY(0);
}
.huge-text {
    opacity: 0;
}
.huge-text.visible {
    opacity: 1;
}

/* Custom Cursor */
.cursor { width: 8px; height: 8px; background-color: var(--accent); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s; }
.cursor-follower { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background-color 0.2s; }
.cursor.hovered { width: 60px; height: 60px; background-color: rgba(255, 255, 255, 0.1); mix-blend-mode: difference; }

/* Noise overlay */
.noise-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9997; opacity: 0.03; background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E'); }

a { color: inherit; text-decoration: none; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 4vw; }

/* Nav */
.navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 2rem 0; z-index: 100; mix-blend-mode: difference; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0 4vw; }
.logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; letter-spacing: -1px; }
.nav-links { display: flex; gap: 3rem; }
.nav-link { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; position: relative; overflow: hidden; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--text-main); transform: translateX(-100%); transition: transform 0.3s ease; }
.nav-link:hover::after { transform: translateX(0); }
.menu-btn { display: none; background: none; border: none; color: var(--text-main); font-family: var(--font-body); font-size: 0.9rem; text-transform: uppercase; cursor: pointer; }

/* Hero */
.hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 10vh; }
.hero-top { display: flex; justify-content: space-between; margin-bottom: 5vh; font-size: 0.9rem; color: var(--text-muted); }
.availability { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 8px; height: 8px; background-color: #00ff66; border-radius: 50%; box-shadow: 0 0 10px #00ff66; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 255, 102, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 102, 0); } }
.hero-title { font-family: var(--font-heading); font-size: clamp(3rem, 10vw, 12rem); font-weight: 800; line-height: 0.85; letter-spacing: -0.04em; text-transform: uppercase; margin-bottom: 6vh; }
.line-wrap { overflow: hidden; }
.indent { margin-left: 10vw; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.5rem); max-width: 500px; color: var(--text-muted); line-height: 1.5; }
.scroll-indicator { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.8rem; text-transform: uppercase; color: var(--text-muted); }
.arrow-down { width: 1px; height: 50px; background: var(--text-muted); position: relative; overflow: hidden; }
.arrow-down::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--text-main); animation: scrollDrop 2s infinite; }
@keyframes scrollDrop { 0% { transform: translateY(-100%); } 50% { transform: translateY(100%); } 100% { transform: translateY(100%); } }

/* Section General */
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 2rem; }

/* About */
.about-section { padding: 15vh 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.about-text p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 3rem; line-height: 1.6; }
.edu-stat { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-main); margin-top: 0.5rem; }
.skills-category { margin-bottom: 2rem; }
.skills-category h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 1rem; }
.skills-list { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-pill { padding: 8px 16px; border: 1px solid var(--border-color); border-radius: 50px; font-size: 0.85rem; transition: all 0.3s ease; }
.skill-pill:hover { background: var(--text-main); color: var(--bg-color); }

/* Experience */
.experience-section { padding: 10vh 0; }
.experience-list { border-top: 1px solid var(--border-color); }
.exp-item { padding: 3rem 0; border-bottom: 1px solid var(--border-color); }
.exp-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; }
.exp-header h3 { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 500; }
.exp-header span { color: var(--text-muted); font-size: 0.9rem; }
.exp-role { color: var(--text-main); font-weight: 500; margin-bottom: 1.5rem; font-size: 1.1rem; }
.exp-item p { color: var(--text-muted); line-height: 1.6; max-width: 800px; }

/* Work */
.work-section { padding: 15vh 0; }
.section-header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--border-color); padding-bottom: 2rem; margin-bottom: 4rem; }
.project-item { display: grid; grid-template-columns: 2fr 3fr 1fr; align-items: center; padding: 3rem 0; border-bottom: 1px solid var(--border-color); transition: all 0.3s ease; cursor: pointer; }
.project-item:hover { padding: 4rem 0; background: rgba(255,255,255,0.02); }
.project-info h3 { font-family: var(--font-heading); font-size: 2rem; font-weight: 500; margin-bottom: 0.5rem; }
.project-tech { font-size: 0.8rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; }
.project-desc p { color: var(--text-muted); font-size: 1.1rem; max-width: 90%; }
.project-link-btn { justify-self: end; width: 60px; height: 60px; border: 1px solid var(--border-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.project-item:hover .project-link-btn { background: var(--text-main); color: var(--bg-color); transform: scale(1.1); }

/* Achievements */
.achievements-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding: 10vh 0; }
.minimal-list { list-style: none; }
.minimal-list li { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--border-color); }
.no-link { font-size: 1.2rem; font-weight: 500; }
.minimal-list li a { font-size: 1.2rem; font-weight: 500; transition: color 0.3s ease; }
.minimal-list li a:hover { color: var(--text-muted); }
.minimal-list li span { color: var(--text-muted); font-size: 0.9rem; }

/* Contact */
.contact-section { padding: 20vh 0 5vh; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; }
.contact-content { text-align: center; }
.huge-text { font-family: var(--font-heading); font-size: clamp(3rem, 10vw, 8rem); font-weight: 800; line-height: 0.85; letter-spacing: -0.05em; margin-bottom: 3rem; }
.email-btn { display: inline-block; font-size: clamp(1.2rem, 2.5vw, 1.8rem); border-bottom: 2px solid var(--text-main); padding-bottom: 5px; transition: all 0.3s ease; }
.email-btn:hover { color: var(--text-muted); border-color: var(--text-muted); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border-color); }
.socials { display: flex; gap: 2rem; }
.socials a { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.copyright { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 1024px) { .project-item { grid-template-columns: 1fr; gap: 1.5rem; } .project-link-btn { justify-self: start; } .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .nav-links { display: none; } .hero-title { font-size: clamp(3rem, 15vw, 8rem); } .huge-text { font-size: clamp(2.5rem, 15vw, 6rem); } .indent { margin-left: 0; } .exp-header { flex-direction: column; gap: 5px; } .achievements-grid { grid-template-columns: 1fr; } }