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

:root {
    --bg-primary: #07080f;
    --bg-secondary: #0d0f18;
    --bg-card: rgba(14, 16, 28, 0.65);
    --bg-card-solid: #0e101c;
    --bg-card-hover: rgba(20, 22, 40, 0.85);
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(245, 158, 11, 0.3);
    --text-primary: #f5f0e8;
    --text-secondary: #a0998c;
    --text-muted: #6b6560;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dim: rgba(245, 158, 11, 0.1);
    --accent-glow: rgba(245, 158, 11, 0.35);
    --cyan: #14b8a6;
    --cyan-dim: rgba(20, 184, 166, 0.1);
    --cyan-glow: rgba(20, 184, 166, 0.3);
    --pink: #f97316;
    --pink-dim: rgba(249, 115, 22, 0.1);
    --green: #34d399;
    --green-dim: rgba(52, 211, 153, 0.1);
    --orange: #fb923c;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --max-width: 1100px;
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-sm: 0 0 20px rgba(245, 158, 11, 0.12);
    --glow-md: 0 0 40px rgba(245, 158, 11, 0.15);
    --glow-lg: 0 0 80px rgba(245, 158, 11, 0.1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Subtle noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--cyan), var(--accent));
    z-index: 10001;
    transform-origin: left;
    transform: scaleX(0);
    transition: none;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 8, 15, 0.7);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.nav.scrolled {
    border-bottom-color: var(--border);
    background: rgba(7, 8, 15, 0.92);
}

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

.nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(20, 184, 166, 0.08));
    color: var(--accent-light) !important;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    transition: all var(--transition) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(20, 184, 166, 0.12)) !important;
    border-color: rgba(245, 158, 11, 0.5) !important;
    box-shadow: var(--glow-sm);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

/* Animated grid */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 158, 11, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 10%, transparent 70%);
    animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
    0% { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

/* Floating gradient orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, transparent 70%);
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    animation: orb-float-1 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
    bottom: 10%;
    left: -5%;
    animation: orb-float-2 15s ease-in-out infinite;
}

.hero-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    top: 30%;
    right: -5%;
    animation: orb-float-3 18s ease-in-out infinite;
}

@keyframes orb-float-1 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    33% { transform: translateX(-45%) translateY(20px); }
    66% { transform: translateX(-55%) translateY(-15px); }
}

@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -20px); }
    66% { transform: translate(-20px, 15px); }
}

@keyframes orb-float-3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-25px, 25px); }
    66% { transform: translate(15px, -20px); }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 780px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: var(--green-dim);
    color: var(--green);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid rgba(52, 211, 153, 0.25);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--green);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px var(--green); }
    50% { opacity: 0.6; transform: scale(0.85); box-shadow: 0 0 4px var(--green); }
}

.hero-name {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        #f1f5f9 0%,
        #e2e8f0 25%,
        var(--accent-light) 50%,
        var(--cyan) 75%,
        #f1f5f9 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 6s ease-in-out infinite;
}

@keyframes shimmer-text {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.hero-title {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 44px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 72px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 34px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-main);
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #d97706);
    color: #fff;
    box-shadow: 0 4px 24px rgba(217, 119, 6, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
    box-shadow: 0 8px 40px rgba(217, 119, 6, 0.5), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(15, 15, 35, 0.8);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(25, 25, 55, 0.9);
    color: var(--text-primary);
    border-color: var(--accent);
    box-shadow: var(--glow-sm);
    transform: translateY(-3px);
}

/* ===== HERO METRICS ===== */
.hero-metrics {
    display: flex;
    justify-content: center;
    gap: 56px;
    margin-bottom: 60px;
}

.metric {
    text-align: center;
    position: relative;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
    letter-spacing: -0.02em;
}

.metric-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-mono);
}

.metric-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ===== HERO ANIMATIONS ===== */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.15s; }
.animate-in:nth-child(2) { animation-delay: 0.3s; }
.animate-in:nth-child(3) { animation-delay: 0.45s; }
.animate-in:nth-child(4) { animation-delay: 0.6s; }
.animate-in:nth-child(5) { animation-delay: 0.75s; }
.animate-in:nth-child(6) { animation-delay: 0.9s; }

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

/* ===== SECTIONS ===== */
.section {
    padding: 110px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children */
.reveal-stagger .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger .reveal:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger .reveal:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger .reveal:nth-child(8) { transition-delay: 0.56s; }

/* ===== GLASS CARD BASE ===== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0), rgba(245, 158, 11, 0.15), rgba(20, 184, 166, 0), rgba(20, 184, 166, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    border-color: rgba(245, 158, 11, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), var(--glow-sm);
    transform: translateY(-4px);
}

/* Card shine effect on hover */
.glass-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        transparent 40%,
        rgba(245, 158, 11, 0.03) 45%,
        rgba(245, 158, 11, 0.06) 50%,
        rgba(245, 158, 11, 0.03) 55%,
        transparent 60%
    );
    transform: rotate(30deg) translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.glass-card:hover::after {
    transform: rotate(30deg) translateX(100%);
}

/* ===== ABOUT ===== */
.about-content {
    display: grid;
    gap: 56px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-size: 1.0625rem;
}

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

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.highlight-card {
    padding: 32px 24px;
}

.highlight-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent-dim), var(--cyan-dim));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.highlight-icon::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(20, 184, 166, 0.2));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition);
}

.highlight-card:hover .highlight-icon::after {
    opacity: 1;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-light);
}

.highlight-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.highlight-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
    background: var(--bg-secondary);
    overflow: hidden;
}

/* Decorative background glow for philosophy */
.philosophy::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.philosophy-card {
    padding: 32px 28px;
}

.philosophy-number {
    font-size: 2.25rem;
    font-weight: 800;
    font-family: var(--font-mono);
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.7;
}

.philosophy-card:hover .philosophy-number {
    opacity: 1;
}

.philosophy-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.philosophy-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== EXPERIENCE / TIMELINE ===== */
.experience {
    background: var(--bg-secondary);
}

.timeline {
    position: relative;
    padding-left: 44px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--cyan), var(--border));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
    position: absolute;
    left: -44px;
    top: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--accent);
    z-index: 1;
    transition: all var(--transition);
}

.timeline-item:first-child .timeline-marker {
    background: var(--accent);
    box-shadow: 0 0 0 5px var(--accent-dim), 0 0 20px var(--accent-glow);
}

.timeline-content {
    padding: 32px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.timeline-role {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.timeline-company {
    font-size: 0.9375rem;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-top: 4px;
}

.timeline-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.timeline-location,
.timeline-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-date {
    font-family: var(--font-mono);
}

.timeline-details {
    list-style: none;
    margin-bottom: 20px;
}

.timeline-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-glow);
}

.timeline-details li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 5px 14px;
    background: var(--accent-dim);
    color: var(--accent-light);
    border-radius: 100px;
    border: 1px solid rgba(245, 158, 11, 0.15);
    transition: all var(--transition);
}

.timeline-tags span:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.project-card {
    padding: 36px;
}

/* Colorful top border on project cards */
.project-card.glass-card::before {
    background: linear-gradient(135deg,
        rgba(245, 158, 11, 0.4),
        rgba(20, 184, 166, 0.3),
        rgba(249, 115, 22, 0.2),
        transparent 70%
    );
}

.project-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent-dim), var(--cyan-dim));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.project-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-light);
}

.project-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-mono);
}

.project-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 12px 0;
    letter-spacing: -0.01em;
}

.project-card > p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(20, 184, 166, 0.03));
    border-radius: var(--radius-sm);
    border: 1px solid rgba(245, 158, 11, 0.08);
}

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

.project-metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: linear-gradient(135deg, var(--accent-light), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.project-metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 4px;
    display: block;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    background: var(--green-dim);
    color: var(--green);
    border-radius: 100px;
    border: 1px solid rgba(52, 211, 153, 0.2);
    transition: all var(--transition);
}

.project-tags span:hover {
    background: rgba(52, 211, 153, 0.18);
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.12);
}

/* ===== MINI PROJECTS ===== */
.mini-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.mini-project-card {
    padding: 24px;
}

.mini-project-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.mini-project-header svg {
    width: 20px;
    height: 20px;
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 2px;
}

.mini-project-header h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.mini-project-card p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.mini-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mini-project-tags span {
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 3px 10px;
    background: rgba(20, 184, 166, 0.06);
    color: var(--text-muted);
    border-radius: 100px;
    border: 1px solid rgba(20, 184, 166, 0.1);
}

/* ===== SKILLS ===== */
.skills {
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-category {
    padding: 28px;
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.skill-category h3 svg {
    width: 20px;
    height: 20px;
    color: var(--accent-light);
    flex-shrink: 0;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 7px 16px;
    background: rgba(15, 15, 35, 0.8);
    color: var(--text-secondary);
    border-radius: 100px;
    border: 1px solid var(--border);
    transition: all var(--transition);
    cursor: default;
}

.skill-tags span:hover {
    color: var(--text-primary);
    border-color: var(--accent);
    background: var(--accent-dim);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.1);
    transform: translateY(-2px);
}

.skill-tags span.skill-highlight {
    background: linear-gradient(135deg, var(--accent-dim), var(--cyan-dim));
    color: var(--accent-light);
    border-color: rgba(245, 158, 11, 0.25);
    font-weight: 600;
}

.skill-tags span.skill-highlight:hover {
    box-shadow: var(--glow-sm);
}

/* ===== CERTIFICATIONS ===== */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cert-card {
    padding: 32px 24px;
    text-align: center;
}

/* Google rainbow top border */
.cert-card.glass-card::before {
    background: linear-gradient(90deg,
        #4285f4 0%, #4285f4 25%,
        #34a853 25%, #34a853 50%,
        #fbbc04 50%, #fbbc04 75%,
        #ea4335 75%, #ea4335 100%
    );
    opacity: 1 !important;
    mask: none !important;
    -webkit-mask: none !important;
    height: 3px;
    inset: 0 0 auto 0;
    padding: 0;
}

.cert-card.glass-card::after { display: none; }

.cert-card:hover {
    box-shadow: 0 8px 40px rgba(66, 133, 244, 0.12), 0 0 0 1px rgba(66, 133, 244, 0.08);
}

.cert-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.15), rgba(52, 168, 83, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.cert-badge::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(#4285f4, #34a853, #fbbc04, #ea4335, #4285f4);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition);
}

.cert-card:hover .cert-badge::after {
    opacity: 0.6;
}

.cert-badge svg {
    width: 28px;
    height: 28px;
    color: #4285f4;
}

.cert-card h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.cert-issuer {
    font-size: 0.8125rem;
    color: #4285f4;
    font-weight: 600;
    margin-bottom: 12px;
}

.cert-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== EDUCATION ===== */
.education {
    background: var(--bg-secondary);
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.edu-card {
    display: flex;
    gap: 24px;
    padding: 32px;
}

.edu-degree {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-dim), var(--cyan-dim));
    color: var(--accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 800;
    flex-shrink: 0;
    font-family: var(--font-mono);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.edu-details h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.edu-school {
    font-size: 0.9375rem;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.edu-location {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.edu-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-top: 4px;
}

.edu-courses {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.6;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* ===== CONTACT ===== */
.contact {
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 20px;
    text-align: center;
}

.contact-card:hover {
    border-color: var(--accent) !important;
}

.contact-card svg {
    width: 28px;
    height: 28px;
    color: var(--accent-light);
    transition: all var(--transition);
}

.contact-card:hover svg {
    color: var(--cyan);
    filter: drop-shadow(0 0 8px var(--cyan-glow));
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-value {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    word-break: break-all;
}

/* ===== FOOTER ===== */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr; }
    .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
    .mini-projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(7, 8, 15, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active { transform: translateX(0); }
    .nav-links a { font-size: 1.125rem; }

    .hero-metrics { flex-wrap: wrap; gap: 32px; }
    .metric { min-width: 120px; }
    .about-highlights { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .edu-grid { grid-template-columns: 1fr; }
    .edu-card { flex-direction: column; gap: 16px; }
    .edu-degree { width: 48px; height: 48px; font-size: 1rem; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .certs-grid { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
    .timeline-header { flex-direction: column; }
    .timeline-meta { align-items: flex-start; }
    .hero-actions { flex-direction: column; align-items: center; }
    .philosophy-grid { grid-template-columns: 1fr; }
    .mini-projects-grid { grid-template-columns: 1fr; }
    .hero-orb { opacity: 0.5; }
}

@media (max-width: 480px) {
    .hero-metrics { gap: 24px; }
    .metric-value { font-size: 1.75rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .project-metrics { grid-template-columns: 1fr; gap: 12px; }
    .timeline { padding-left: 30px; }
    .timeline-marker { left: -30px; width: 14px; height: 14px; }
    .timeline-content { padding: 24px 20px; }
}

/* ===== MOBILE NAV TOGGLE ANIMATION ===== */
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
