:root {
    --bg-dark: #0f1115;
    --bg-card: #161b22;
    --text-main: #e6edf3;
    --text-muted: #8b949e;
    --accent-primary: #58a6ff; /* Tech Blue */
    --accent-secondary: #f0883e; /* Amber/Gold for highlights */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --container-width: 1100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* HEADER */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: -0.05em;
}

.nav a {
    margin-left: 30px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav a:hover, .nav a.btn-primary {
    color: var(--text-main);
}

/* HERO SECTION */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(88, 166, 255, 0.1) 0%, transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    color: var(--accent-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}

.headline {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

.headline span {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-main);
    background: linear-gradient(120deg, var(--text-main) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text; /* Fallback for some browsers */
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Makes the gradient visible */
}

/* Fallback if gradient text isn't desired, simplified: */
.headline span {
    color: var(--accent-primary);
    -webkit-text-stroke: 0;
    -webkit-text-fill-color: initial;
    background: none;
}

.sub-headline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: var(--accent-primary);
    color: #000;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-primary:hover {
    background: #79c0ff;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-secondary:hover {
    border-color: var(--text-main);
}

/* HERO VISUAL / STATS */
.profile-card {
    position: relative;
    padding: 20px;
}

.card-glass {
    background: rgba(22, 27, 34, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 5px;
    display: block;
}

/* SKILLS STRIP */
.skills-strip {
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
    margin-top: 40px;
}

.skill-list {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.1rem;
}

.skill-list li {
    margin: 5px 10px;
}

/* SECTIONS GRID */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 60px;
    border-left: 4px solid var(--accent-secondary);
    padding-left: 20px;
}

/* TIMELINE */
.timeline {
    position: relative;
    border-left: 2px solid rgba(255,255,255,0.1);
    margin-left: 10px;
    padding-left: 40px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -49px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin-bottom: 5px;
    font-weight: 600;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-weight: 400;
}

.timeline-content p {
    color: var(--text-muted);
    max-width: 700px;
}

/* ACHIEVEMENTS GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
}

/* FOOTER */
.footer {
    padding: 100px 0 40px;
    background: linear-gradient(to top, #000 0%, var(--bg-dark) 100%);
    text-align: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.email-link {
    font-size: 1.5rem;
    color: var(--accent-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.email-link:hover {
    color: #fff;
}

.phone {
    margin-top: 20px;
    font-size: 1.1rem;
}

.copyright {
    margin-top: 80px;
    color: rgba(255,255,255,0.2);
    font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .headline {
        font-size: 2.5rem;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .hero-visual {
        display: none; /* Hide stats card on mobile for cleaner look, or rearrange */
    }
    
    .nav {
        display: none; /* Simplify for MVP, or add hamburger menu later */
    }
}
