:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary: #3b82f6;
    --secondary: #64748b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent: #c084fc;
    --neon-blue: #00f3ff;
    --neon-purple: #bd00ff;
    --tag-data: #ef4444;
    --tag-green: #10b981;
    --tag-health: #0ea5e9;
    --tag-social: #f59e0b;
    --tag-tech: #8b5cf6;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-speed);
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-speed);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff !important;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 8%;
    background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1), transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(147, 51, 234, 0.1), transparent 40%);
}

.hero-content {
    max-width: 650px;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.headshot-placeholder {
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(192, 132, 252, 0.1));
    border-radius: 3rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.headshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2.25rem;
    filter: brightness(1.05) contrast(1.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Timeline */
section {
    padding: 120px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4.5rem;
    text-align: center;
    font-weight: 700;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
}

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

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 6px;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.timeline-content {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-speed);
}

.timeline-content:hover {
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.15);
}

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

.company {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: block;
}

.timeline-content p a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: all var(--transition-speed);
}

.timeline-content p a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

.industry-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid currentColor;
}

.tag-data { color: var(--tag-data); }
.tag-green { color: var(--tag-green); }
.tag-health { color: var(--tag-health); }
.tag-social { color: var(--tag-social); }
.tag-tech { color: var(--tag-tech); }

/* Expertise Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.tech-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 2rem;
    transition: all var(--transition-speed);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.dominant-tech {
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.dominant-tech::after {
    content: 'Primary';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1px;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.dominant-tech:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Projects - Minimized */
.project-mini {
    max-width: 600px;
    margin: 0 auto;
}

.mini-card {
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 243, 255, 0.1);
}

.mini-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* CTA */
.cta-section {
    background: linear-gradient(180deg, var(--bg-dark), #1e293b);
}

.cta-section h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Reveal Animation */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

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

/* Footer */
.footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    margin-top: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    .hero-visual {
        margin-top: 4rem;
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.75rem; }
    .headshot-placeholder {
        width: 300px;
        height: 300px;
    }
    .timeline::before { left: 10px; }
    .timeline-item { padding-left: 40px; }
    .timeline-marker { left: 1px; }
}
