:root {
    --bg-dark: #0f172a;
    --bg-alt: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #10b981; /* Emerald */
    --accent-hover: #059669;
    --accent-gold: #fbbf24;
    --card-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 8rem 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.text-center {
    text-align: center;
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    color: white !important;
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('hero-bg.png') center/cover no-repeat;
    padding: 120px 0 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), var(--bg-dark));
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 0 0 400px;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(1.1);
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-tags {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
}

.hero-contact {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    color: var(--text-muted);
}

.hero-contact .dot {
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--accent);
    color: white;
    font-weight: 700;
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.7);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.lead {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: rgba(30, 41, 59, 0.9);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.skill-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.skill-card p {
    color: var(--text-muted);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 4rem;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 8px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    border: 4px solid var(--bg-dark);
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.timeline-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.company {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.timeline-content ul {
    list-style: disc;
    padding-left: 1.2rem;
}

.timeline-content li {
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

/* Education & Certs */
.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.edu-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid var(--accent);
}

.edu-card h3 {
    margin-bottom: 0.5rem;
}

.minor {
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.5rem;
}

.cert-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--glass-border);
}

.cert-list li::before {
    content: '🏆';
    font-size: 1.2rem;
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-info {
    margin-top: 1.5rem;
    color: var(--text-main);
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.footer-info a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Reveal Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}

.active {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { text-align: center; }
    .hero-tags, .hero-contact { justify-content: center; }
    .hero-image { flex: 0 0 auto; width: 300px; margin-top: 2rem; }
    .education-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .hero-contact { flex-direction: column; gap: 0.5rem; }
    .hero-contact .dot { display: none; }
    .footer-content { flex-direction: column; text-align: center; gap: 2rem; }
    .section-padding { padding: 4rem 0; }
}
