/* ================================
   Senior Engineer Portfolio
   Color Palette: Deep Slate / Graphite / Muted Steel Blue
   ================================ */

:root {
    /* Primary Colors - Light Theme Palette */
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;

    /* Muted Accent - Steel Blue (single accent only) */
    --accent: #5B6EE1;
    --accent-hover: #4A5BC7;
    --accent-subtle: rgba(91, 110, 225, 0.08);

    /* Text Colors - Improved contrast */
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-inverse: #f8fafc;

    /* Backgrounds - Soft off-white, not pure white */
    --bg-primary: #F8FAFC;
    --bg-secondary: #FAFAFA;
    --bg-tertiary: #F1F5F9;
    --bg-card: #FFFFFF;
    --bg-dark: #0f172a;
    --bg-dark-card: #1e293b;

    /* Borders */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;

    /* Shadows - Subtle */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing - Generous for breathing room */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Transitions - Calm, not flashy */
    --transition: 180ms ease;
    --transition-slow: 300ms ease;
}

/* ================================
   Reset & Base
   ================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--slate-800);
    color: var(--text-inverse);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--slate-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--slate-400);
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: var(--space-8);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
}

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

.nav-resume-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-inverse);
    background: var(--accent);
    border-radius: 6px;
    transition: background var(--transition);
}

.nav-resume-btn:hover {
    background: var(--accent-hover);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-2);
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all var(--transition);
}

.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    padding: var(--space-8);
    z-index: 99;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.mobile-menu a {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    padding: 160px var(--space-6) var(--space-24);
    background: var(--bg-secondary);
}

.hero-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-name {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--space-4);
}

.hero-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: var(--space-8);
}

.hero-statement {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-10);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-inverse);
    background: var(--accent);
    border-radius: 8px;
    transition: all var(--transition);
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    border: 1.5px solid var(--border-medium);
    border-radius: 8px;
    transition: all var(--transition);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-muted);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 340px;
    height: 420px;
    background: linear-gradient(145deg, var(--slate-200), var(--slate-300));
    border-radius: 16px;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* ================================
   Experience Snapshot
   ================================ */
.snapshot {
    padding: var(--space-16) var(--space-6);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
}

.snapshot-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.snapshot-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-10);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.metric-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

.snapshot-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.snapshot-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ================================
   Section Common Styles
   ================================ */
.section-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-20) var(--space-6);
}

.section-header {
    margin-bottom: var(--space-12);
}

.section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: var(--space-2);
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* ================================
   Work Experience - Enhanced Timeline
   ================================ */
.experience {
    background: var(--bg-primary);
}

/* Override section-container for experience section - full width with 40px margins */
.experience .section-container {
    max-width: none;
    margin: 0;
    padding: var(--space-20) 40px;
}

.experience-timeline {
    position: relative;
    padding-left: var(--space-16);
}

/* Timeline vertical line */
.experience-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--slate-300), transparent);
}

.experience-card {
    position: relative;
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-10);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease forwards;
}

.experience-card:nth-child(1) {
    animation-delay: 0.1s;
}

.experience-card:nth-child(2) {
    animation-delay: 0.3s;
}

.experience-card:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.experience-card:last-child {
    margin-bottom: 0;
}

/* Icon container */
.experience-icon {
    position: absolute;
    left: calc(var(--space-16) * -1);
    top: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow:
        0 4px 12px rgba(91, 110, 225, 0.3),
        0 0 0 4px var(--bg-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.experience-card:hover .experience-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 8px 24px rgba(91, 110, 225, 0.4),
        0 0 0 4px var(--bg-primary);
}

.experience-icon svg {
    width: 22px;
    height: 22px;
}

/* Content container */
.experience-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: var(--space-8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.experience-card:hover .experience-content {
    border-color: var(--accent);
    box-shadow:
        0 10px 40px -10px rgba(91, 110, 225, 0.2),
        0 0 0 1px rgba(91, 110, 225, 0.1);
    transform: translateY(-4px);
}

.experience-card:hover .experience-content::before {
    transform: scaleX(1);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.company-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-1);
    transition: color var(--transition);
}

.experience-card:hover .company-name {
    color: var(--accent);
}

.role-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
}

.experience-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-2);
}

.date-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-subtle);
    padding: var(--space-1) var(--space-3);
    border-radius: 20px;
    transition: all var(--transition);
}

.experience-card:hover .date-badge {
    background: var(--accent);
    color: white;
}

.experience-meta .location {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.experience-meta .location svg {
    opacity: 0.7;
}

.experience-points {
    padding-left: var(--space-5);
    margin-bottom: var(--space-5);
}

.experience-points li {
    position: relative;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    padding-left: var(--space-2);
    line-height: 1.7;
    transition: color var(--transition);
}

.experience-card:hover .experience-points li {
    color: var(--text-primary);
}

.experience-points li::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    transition: all var(--transition);
}

.experience-card:hover .experience-points li::before {
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(91, 110, 225, 0.5);
}

.experience-points li:last-child {
    margin-bottom: 0;
}

/* Tech tags */
.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-light);
}

.experience-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: var(--space-1) var(--space-3);
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.experience-card:hover .experience-tags span {
    background: var(--accent-subtle);
    color: var(--accent);
}

.experience-card:hover .experience-tags span:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* ================================
   Technical Expertise
   ================================ */
.expertise {
    background: var(--bg-secondary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.expertise-category {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: var(--space-6);
}

.category-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.skill-list span {
    font-size: 0.8125rem;
    padding: var(--space-1) var(--space-3);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all var(--transition);
}

.skill-list span:hover {
    background: var(--slate-200);
    color: var(--text-primary);
}

/* ================================
   Projects
   ================================ */
.projects {
    background: var(--bg-primary);
}

.projects-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: var(--space-20) var(--space-6);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: var(--space-4);
    max-width: 500px;
}

/* Projects in a row with separators */
.projects-showcase {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.project-item {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    position: relative;
    transition: all var(--transition);
}

.project-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Visible separator between projects */
.project-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(var(--space-8) * -1 / 2 - 1px);
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-medium), transparent);
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
    padding: var(--space-4);
}

.phone-frame {
    width: 180px;
    height: 360px;
    background: linear-gradient(145deg, var(--slate-800), var(--slate-900));
    border-radius: 32px;
    padding: 8px;
    box-shadow:
        0 0 0 3px var(--slate-700),
        0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 20px;
    background: var(--slate-900);
    border-radius: 0 0 12px 12px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--slate-200);
    border-radius: 24px;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Project Details */
.project-details {
    padding-top: var(--space-4);
}

.project-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.project-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.project-features {
    text-align: left;
    padding-left: var(--space-4);
}

.project-features li {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    position: relative;
    padding-left: var(--space-2);
}

.project-features li::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 7px;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

/* Navigation dots */
.projects-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
}

.nav-dot {
    width: 8px;
    height: 8px;
    background: var(--slate-300);
    border-radius: 50%;
    transition: all var(--transition);
}

.nav-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
}

.project-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    border-color: var(--accent);
    box-shadow:
        0 25px 50px -12px rgba(91, 110, 225, 0.25),
        0 0 0 1px rgba(91, 110, 225, 0.1);
    transform: translateY(-12px) scale(1.02);
}

.project-card.simple {
    grid-column: span 1;
}

/* Phone Mockup Container - Full Visibility */
.project-mockup {
    position: relative;
    height: 380px;
    background: linear-gradient(160deg, var(--bg-tertiary) 0%, var(--slate-200) 50%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle background animation on hover */
.project-card:hover .project-mockup {
    background: linear-gradient(160deg, var(--accent-subtle) 0%, var(--slate-200) 50%, var(--accent-subtle) 100%);
}

/* Phone Frame */
.project-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 400px;
    background: linear-gradient(145deg, var(--slate-700) 0%, var(--slate-900) 100%);
    border-radius: 36px;
    box-shadow:
        0 0 0 4px var(--slate-600),
        inset 0 0 0 2px var(--slate-500),
        0 30px 60px -15px rgba(0, 0, 0, 0.35),
        0 15px 30px -10px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-mockup::before {
    transform: translate(-50%, -50%) scale(1.02);
    box-shadow:
        0 0 0 4px var(--accent),
        inset 0 0 0 2px var(--slate-500),
        0 40px 80px -15px rgba(91, 110, 225, 0.4),
        0 20px 40px -10px rgba(0, 0, 0, 0.25);
}

/* Notch at top */
.project-mockup::after {
    content: '';
    position: absolute;
    top: calc(50% - 180px);
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: var(--slate-900);
    border-radius: 0 0 16px 16px;
    z-index: 3;
}

.project-mockup img {
    position: relative;
    z-index: 2;
    width: 186px;
    height: 386px;
    object-fit: cover;
    object-position: top;
    border-radius: 28px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1);
}

.project-card:hover .project-mockup img {
    transform: scale(1.03) translateY(-5px);
    filter: brightness(1.05);
}

.project-info {
    padding: var(--space-6);
    transition: all 0.3s ease;
}

.project-card:hover .project-info {
    background: linear-gradient(180deg, transparent 0%, var(--accent-subtle) 100%);
}

.project-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    transition: all var(--transition);
}

.project-card:hover .project-title {
    color: var(--accent);
    transform: translateX(4px);
}

.project-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.6;
    transition: color var(--transition);
}

.project-card:hover .project-description {
    color: var(--text-primary);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.project-tags span {
    font-size: 0.75rem;
    padding: var(--space-1) var(--space-3);
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-tags span {
    background: var(--accent);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 110, 225, 0.3);
}

/* ================================
   Personal Statement
   ================================ */
.statement {
    padding: var(--space-20) var(--space-6);
    background: var(--bg-secondary);
}

.statement-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.statement-quote p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.statement-quote p:first-child {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-style: italic;
}

.statement-quote p:last-child {
    margin-bottom: 0;
}

/* ================================
   Pre-Footer Highlight - Light Theme
   ================================ */
.highlight {
    position: relative;
    min-height: 380px;
    background: linear-gradient(145deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, var(--accent-subtle) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, var(--accent-subtle) 0%, transparent 50%);
}

.highlight-overlay {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: var(--space-16) var(--space-6);
}

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

.highlight-name {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-2);
}

.highlight-title {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.highlight-statement {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.btn-highlight {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-inverse);
    background: var(--accent);
    border-radius: 8px;
    transition: all var(--transition);
}

.btn-highlight:hover {
    background: var(--accent-hover);
}

/* ================================
   Footer - Minimal & Professional
   ================================ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: var(--space-10) var(--space-6);
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.footer-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-light);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* ================================
   Animations
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-statement {
        margin: 0 auto var(--space-8);
    }

    .hero-actions {
        justify-content: center;
    }

    .image-frame {
        width: 280px;
        height: 340px;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .nav-resume-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px var(--space-4) var(--space-12);
    }

    .section-container {
        padding: var(--space-12) var(--space-4);
    }

    .snapshot-metrics {
        flex-direction: column;
        gap: var(--space-6);
    }

    .metric-divider {
        display: none;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-showcase {
        flex-direction: column;
        align-items: center;
        gap: var(--space-6);
    }

    .project-item {
        max-width: 100%;
    }

    .project-item:not(:last-child)::after {
        display: none;
    }

    /* Experience timeline responsive */
    .experience-timeline {
        padding-left: var(--space-12);
    }

    .experience-timeline::before {
        left: 16px;
    }

    .experience-icon {
        left: calc(var(--space-12) * -1);
        width: 36px;
        height: 36px;
    }

    .experience-icon svg {
        width: 18px;
        height: 18px;
    }

    .experience-content {
        padding: var(--space-5);
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-meta {
        align-items: flex-start;
        flex-direction: row;
        gap: var(--space-4);
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: var(--space-4);
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .image-frame {
        width: 240px;
        height: 300px;
    }

    .experience-card {
        padding: var(--space-5);
    }
}