@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette - Dark Mode (Default) */
    --bg-base: #030712;
    --bg-card: rgba(17, 24, 39, 0.45);
    --bg-card-hover: rgba(31, 41, 55, 0.6);
    --border-glow: rgba(99, 102, 241, 0.15);
    --border-glass: rgba(255, 255, 255, 0.06);
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Neon Accents */
    --clr-indigo: #6366f1;
    --clr-purple: #a855f7;
    --clr-cyan: #06b6d4;
    --clr-emerald: #10b981;
    --clr-orange: #f97316;
    
    /* Glares & Glows */
    --glow-indigo: rgba(99, 102, 241, 0.15);
    --glow-purple: rgba(168, 85, 247, 0.15);
    --glow-cyan: rgba(6, 182, 212, 0.15);
    --glow-orange: rgba(249, 115, 22, 0.15);
    
    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* UI properties */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    --header-height: 80px;
}

/* Light Mode Override */
[data-theme="light"] {
    --bg-base: #f9fafb;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-card-hover: rgba(255, 255, 255, 0.9);
    --border-glow: rgba(99, 102, 241, 0.1);
    --border-glass: rgba(0, 0, 0, 0.06);
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    
    --clr-indigo: #4f46e5;
    --clr-purple: #8b5cf6;
    --clr-cyan: #0891b2;
    --clr-emerald: #059669;
    --clr-orange: #ea580c;
    
    --glow-indigo: rgba(79, 70, 229, 0.06);
    --glow-purple: rgba(139, 92, 246, 0.06);
    --glow-cyan: rgba(8, 145, 178, 0.06);
    --glow-orange: rgba(234, 88, 12, 0.06);
}

/* Reset and Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--clr-indigo) var(--bg-base);
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Custom Scrollbar for Chrome/Safari/Edge */
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-track {
    background: var(--bg-base);
}
body::-webkit-scrollbar-thumb {
    background: var(--border-glow);
    border-radius: 4px;
    border: 2px solid var(--bg-base);
}
body::-webkit-scrollbar-thumb:hover {
    background: var(--clr-indigo);
}

/* Typography Utility Classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-weight: 300;
}

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

/* Background Ambient Orbs */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.45;
    mix-blend-mode: screen;
    transition: transform 12s ease-in-out, background var(--transition-slow);
}

[data-theme="light"] .orb {
    mix-blend-mode: multiply;
    opacity: 0.15;
    filter: blur(100px);
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--clr-indigo) 0%, transparent 80%);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--clr-purple) 0%, transparent 80%);
}

.orb-3 {
    top: 40%;
    left: 50%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--clr-cyan) 0%, transparent 80%);
    transform: translate(-50%, -50%);
}

/* Glassmorphism Panel styles */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: border-color var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.glass-panel:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: 0 12px 40px 0 rgba(99, 102, 241, 0.08);
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-indigo) 0%, var(--clr-purple) 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--clr-indigo);
    transform: translateY(-2px);
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--clr-indigo) 70%, var(--clr-cyan) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 8s linear infinite;
}

.gradient-text-accent {
    background: linear-gradient(135deg, var(--clr-indigo) 0%, var(--clr-purple) 50%, var(--clr-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-growth {
    background: linear-gradient(135deg, var(--clr-cyan) 0%, var(--clr-emerald) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-energy {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.header.scrolled {
    background-color: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

[data-theme="light"] .header.scrolled {
    background-color: rgba(249, 250, 251, 0.7);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--clr-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--clr-cyan);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-indigo), var(--clr-cyan));
    transition: width var(--transition-normal);
    border-radius: 1px;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
}

.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Dark Mode Switcher Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: var(--bg-card);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--clr-indigo);
    box-shadow: 0 0 12px var(--glow-indigo);
    transform: scale(1.05);
}

.theme-toggle .sun-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
}

/* Sections Layout */
section {
    padding: 120px 8% 60px 8%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.section-tag {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--clr-cyan);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 1px;
    background-color: var(--clr-cyan);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

/* Hero Section */
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--clr-indigo);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.canvas-3d-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.canvas-bg-glow {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-indigo) 0%, transparent 70%);
    animation: pulse 8s infinite alternate;
    pointer-events: none;
}

.hero-card-sheen {
    position: absolute;
    width: 300px;
    height: 380px;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at var(--sheen-x, 50%) var(--sheen-y, 50%), rgba(255,255,255,0.08) 0%, transparent 55%);
    pointer-events: none;
    z-index: 15;
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#hero-card-container:hover .hero-card-sheen {
    opacity: 1;
}

.hero-card {
    width: 300px;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-md);
    transform-style: preserve-3d;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform 0.15s ease-out;
}

.hero-card-meta {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--clr-cyan);
    letter-spacing: 1.5px;
}

.hero-card-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.status-indicator {
    width: 10px;
    height: 10px;
    background-color: var(--clr-emerald);
    border-radius: 50%;
    position: relative;
}

.status-indicator::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--clr-emerald);
    animation: ping 2s infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@keyframes float-slow {
    0% {
        transform: translateY(0) rotate(3deg);
    }
    100% {
        transform: translateY(-12px) rotate(1deg);
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.about-intro-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skills-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.pillar-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all var(--transition-normal);
}

[data-theme="light"] .pillar-card {
    background: rgba(0, 0, 0, 0.01);
}

.pillar-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.06);
}

.pillar-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: transform var(--transition-fast);
}

.pillar-card:hover .pillar-icon-wrapper {
    transform: scale(1.08);
}

/* Capabilities Section */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    width: 100%;
}

.capability-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition-normal);
}

.capability-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.capability-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.capability-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.capability-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
}

.capability-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

[data-theme="light"] .capability-tag {
    background: rgba(0, 0, 0, 0.015);
}

.capability-card:hover .capability-tag {
    border-color: var(--border-glow);
    color: var(--text-primary);
}

/* ----------------------------------------------------
   Experience Section (Interactive Console)
---------------------------------------------------- */
#experience {
    padding: 100px 8% 50px 8%;
}

.experience-console {
    max-width: 1100px;
    margin: 40px auto 0 auto;
    padding: 0;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    backdrop-filter: blur(12px);
}

.experience-console-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: 520px;
}

/* Tab Navigator Styles */
.experience-tabs-wrapper {
    background: rgba(15, 23, 42, 0.4);
    border-right: 1px solid var(--border-glass);
    padding: 24px 0;
    position: relative;
    overflow: hidden;
}

.experience-tabs {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.experience-tab-indicator {
    position: absolute;
    left: 0;
    width: 3px;
    height: 0; /* JS will compute actual height */
    background: var(--clr-cyan);
    box-shadow: 0 0 10px var(--clr-cyan);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.experience-tab-btn {
    background: none;
    border: none;
    padding: 18px 24px;
    text-align: left;
    width: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    transition: background-color 0.25s ease, color 0.25s ease;
    z-index: 1;
}

#tab-eksource { --tab-accent: var(--clr-orange); }
#tab-transimpact { --tab-accent: var(--clr-orange); }
#tab-sokrati { --tab-accent: var(--clr-indigo); }
#tab-everest { --tab-accent: var(--clr-purple); }
#tab-ideas { --tab-accent: var(--clr-emerald); }

.experience-tab-btn:hover {
    background: rgba(255, 255, 255, 0.02);
}

.experience-tab-btn.active {
    background: rgba(99, 102, 241, 0.06);
}

.experience-tab-btn .tab-company {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.25s ease;
}

.experience-tab-btn.active .tab-company {
    color: var(--tab-accent, var(--clr-cyan));
}

.experience-tab-btn .tab-role {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.experience-tab-btn .tab-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Viewport Area */
.experience-content-viewport {
    padding: 40px;
    position: relative;
    background: rgba(3, 7, 18, 0.15);
}

.experience-pane {
    display: none;
    animation: paneFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.experience-pane.active {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

@keyframes paneFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header within Viewport */
.experience-pane-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 20px;
}

.pane-title-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.company-logo-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.03);
}

.company-logo-wrapper.logo-green { color: var(--clr-emerald); border-color: rgba(16, 185, 129, 0.2); background: rgba(16, 185, 129, 0.03); }
.company-logo-wrapper.logo-cyan { color: var(--clr-cyan); border-color: rgba(6, 182, 212, 0.2); background: rgba(6, 182, 212, 0.03); }
.company-logo-wrapper.logo-indigo { color: var(--clr-indigo); border-color: rgba(99, 102, 241, 0.2); background: rgba(99, 102, 241, 0.03); }
.company-logo-wrapper.logo-purple { color: var(--clr-purple); border-color: rgba(168, 85, 247, 0.2); background: rgba(168, 85, 247, 0.03); }
.company-logo-wrapper.logo-emerald { color: var(--clr-emerald); border-color: rgba(16, 185, 129, 0.2); background: rgba(16, 185, 129, 0.03); }
.company-logo-wrapper.logo-orange { color: var(--clr-orange); border-color: rgba(249, 115, 22, 0.2); background: rgba(249, 115, 22, 0.03); }

.pane-role-title {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
}

.pane-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.pane-company-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pane-type-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
}

.pane-timeline-area {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.pane-duration-dates {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pane-duration-length {
    font-size: 0.8rem;
    color: var(--clr-cyan);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Key Metrics Grid */
.experience-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.metric-card {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    text-align: left;
}

.metric-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.02);
}

.metric-card.border-green:hover { border-color: rgba(16, 185, 129, 0.25); box-shadow: 0 4px 15px rgba(16, 185, 129, 0.08); }
.metric-card.border-cyan:hover { border-color: rgba(6, 182, 212, 0.25); box-shadow: 0 4px 15px rgba(6, 182, 212, 0.08); }
.metric-card.border-indigo:hover { border-color: rgba(99, 102, 241, 0.25); box-shadow: 0 4px 15px rgba(99, 102, 241, 0.08); }
.metric-card.border-purple:hover { border-color: rgba(168, 85, 247, 0.25); box-shadow: 0 4px 15px rgba(168, 85, 247, 0.08); }
.metric-card.border-emerald:hover { border-color: rgba(16, 185, 129, 0.25); box-shadow: 0 4px 15px rgba(16, 185, 129, 0.08); }
.metric-card.border-orange:hover { border-color: rgba(249, 115, 22, 0.25); box-shadow: 0 4px 15px rgba(249, 115, 22, 0.08); }

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 6px;
}

.metric-value.text-green { color: var(--clr-emerald); filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.25)); }
.metric-value.text-cyan { color: var(--clr-cyan); filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.25)); }
.metric-value.text-indigo { color: var(--clr-indigo); filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.25)); }
.metric-value.text-purple { color: var(--clr-purple); filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.25)); }
.metric-value.text-emerald { color: var(--clr-emerald); filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.25)); }
.metric-value.text-orange { color: var(--clr-orange); filter: drop-shadow(0 0 5px rgba(249, 115, 22, 0.25)); }

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Bullet Points */
.experience-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.experience-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.experience-bullets li .bullet-icon {
    margin-top: 4px;
}

/* Skills Tags Cloud */
.pane-skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
}

.pane-skill-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.pane-skill-tag:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-glow);
}

/* Experience Section (futuristic timeline) */
.experience-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        var(--clr-cyan) 0%, 
        var(--clr-indigo) 25%, 
        var(--clr-purple) 50%, 
        var(--clr-cyan) 75%, 
        var(--clr-emerald) 100%
    );
    left: 32px;
    top: 0;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.15);
}

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

.timeline-dot {
    position: absolute;
    left: 21px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-base);
    border: 3px solid var(--border-glass);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all var(--transition-normal);
}

.timeline-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

/* Connect active reveal observer to dot glow */
.timeline-item.active .timeline-dot::after {
    background: var(--clr-cyan);
}
.timeline-item.active:nth-child(1) .timeline-dot { border-color: var(--clr-cyan); box-shadow: 0 0 10px rgba(6, 182, 212, 0.3); }
.timeline-item.active:nth-child(1) .timeline-dot::after { background: var(--clr-cyan); }

.timeline-item.active:nth-child(2) .timeline-dot { border-color: var(--clr-indigo); box-shadow: 0 0 10px rgba(99, 102, 241, 0.3); }
.timeline-item.active:nth-child(2) .timeline-dot::after { background: var(--clr-indigo); }

.timeline-item.active:nth-child(3) .timeline-dot { border-color: var(--clr-purple); box-shadow: 0 0 10px rgba(168, 85, 247, 0.3); }
.timeline-item.active:nth-child(3) .timeline-dot::after { background: var(--clr-purple); }

.timeline-item.active:nth-child(4) .timeline-dot { border-color: var(--clr-cyan); box-shadow: 0 0 10px rgba(6, 182, 212, 0.3); }
.timeline-item.active:nth-child(4) .timeline-dot::after { background: var(--clr-cyan); }

.timeline-item.active:nth-child(5) .timeline-dot { border-color: var(--clr-emerald); box-shadow: 0 0 10px rgba(16, 185, 129, 0.3); }
.timeline-item.active:nth-child(5) .timeline-dot::after { background: var(--clr-emerald); }


.timeline-item:hover .timeline-dot {
    transform: scale(1.18);
}

/* Step-specific Hover Glows and Card Translations */
.timeline-item:nth-child(1):hover .timeline-dot { border-color: var(--clr-cyan); box-shadow: 0 0 18px rgba(6, 182, 212, 0.6); }
.timeline-item:nth-child(1):hover .timeline-content { border-color: rgba(6, 182, 212, 0.25); box-shadow: 0 10px 30px rgba(6, 182, 212, 0.08); }

.timeline-item:nth-child(2):hover .timeline-dot { border-color: var(--clr-indigo); box-shadow: 0 0 18px rgba(99, 102, 241, 0.6); }
.timeline-item:nth-child(2):hover .timeline-content { border-color: rgba(99, 102, 241, 0.25); box-shadow: 0 10px 30px rgba(99, 102, 241, 0.08); }

.timeline-item:nth-child(3):hover .timeline-dot { border-color: var(--clr-purple); box-shadow: 0 0 18px rgba(168, 85, 247, 0.6); }
.timeline-item:nth-child(3):hover .timeline-content { border-color: rgba(168, 85, 247, 0.25); box-shadow: 0 10px 30px rgba(168, 85, 247, 0.08); }

.timeline-item:nth-child(4):hover .timeline-dot { border-color: var(--clr-cyan); box-shadow: 0 0 18px rgba(6, 182, 212, 0.6); }
.timeline-item:nth-child(4):hover .timeline-content { border-color: rgba(6, 182, 212, 0.25); box-shadow: 0 10px 30px rgba(6, 182, 212, 0.08); }

.timeline-item:nth-child(5):hover .timeline-dot { border-color: var(--clr-emerald); box-shadow: 0 0 18px rgba(16, 185, 129, 0.6); }
.timeline-item:nth-child(5):hover .timeline-content { border-color: rgba(16, 185, 129, 0.25); box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08); }

.timeline-content {
    padding: 24px;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.timeline-item:hover .timeline-content {
    transform: translateX(8px);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 1px;
    transition: color var(--transition-fast);
}

/* Step-specific text highlight triggers */
.timeline-item:nth-child(1):hover .timeline-date { color: var(--clr-cyan); }
.timeline-item:nth-child(2):hover .timeline-date { color: var(--clr-indigo); }
.timeline-item:nth-child(3):hover .timeline-date { color: var(--clr-purple); }
.timeline-item:nth-child(4):hover .timeline-date { color: var(--clr-cyan); }
.timeline-item:nth-child(5):hover .timeline-date { color: var(--clr-emerald); }

.timeline-role {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}



/* Contact Section */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info-panel {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    margin: 32px 0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-cyan);
}

.contact-info-text h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.contact-info-text p {
    font-size: 0.95rem;
    font-weight: 500;
}

.socials-wrapper {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--clr-indigo);
    border-color: var(--clr-indigo);
    box-shadow: 0 0 10px var(--glow-indigo);
    transform: translateY(-2px);
}

.contact-form-panel {
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

[data-theme="light"] .form-input {
    background: rgba(0, 0, 0, 0.02);
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--clr-indigo);
    box-shadow: 0 0 12px var(--glow-indigo);
}

textarea.form-input {
    resize: none;
    min-height: 120px;
}

/* Footer Section */
.footer {
    padding: 40px 8%;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-credits span {
    color: var(--clr-indigo);
}



/* Reveal scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delay modifiers for stagger reveal */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Custom Notification Toast */
.notification-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--clr-emerald);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(16, 185, 129, 0.1);
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.notification-toast svg {
    color: var(--clr-emerald);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    section {
        padding: 100px 5% 50px 5%;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .hero-description {
        margin: 0 auto 32px auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .capabilities-grid > div {
        grid-column: span 1 !important;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .header {
        padding: 0 5%;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: right var(--transition-normal);
        border-top: 1px solid var(--border-glass);
    }
    
    [data-theme="light"] .nav-menu {
        background-color: rgba(249, 250, 251, 0.95);
    }

    .nav-menu.open {
        right: 0;
    }

    .hero-title {
        font-size: 3.2rem;
    }
    .section-title {
        font-size: 2.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    .experience-timeline::before {
        left: 16px;
    }
    .timeline-item {
        padding-left: 50px;
    }
    .timeline-dot {
        left: 5px;
    }

    .footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Responsive styles for Experience section */
    #experience {
        padding: 60px 5% 40px 5%;
    }
    .experience-console-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .experience-tabs-wrapper {
        border-right: none;
        border-bottom: 1px solid var(--border-glass);
        padding: 12px 0;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .experience-tabs {
        flex-direction: row;
        gap: 8px;
        padding: 0 16px;
    }
    .experience-tab-btn {
        padding: 12px 20px;
        width: auto;
        flex-shrink: 0;
        border-radius: var(--radius-sm);
    }
    .experience-tab-btn.active {
        background: rgba(99, 102, 241, 0.08);
    }
    .experience-tab-btn .tab-role {
        white-space: nowrap;
    }
    .experience-tab-indicator {
        bottom: 0;
        top: auto !important;
        height: 3px !important;
        width: 120px; /* Will be set dynamically by JS */
        left: 0;
    }
    .experience-content-viewport {
        padding: 24px;
    }
    .experience-pane-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .pane-timeline-area {
        text-align: left;
    }
    .experience-metrics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .pane-role-title {
        font-size: 1.35rem;
    }
}

/* ----------------------------------------------------
   Timeline and Exploring Bullet Custom Icons
---------------------------------------------------- */
.timeline-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding: 0;
}

.timeline-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
    transition: color 0.25s ease, transform 0.25s ease;
}

.exploring-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin-top: 16px;
}

.exploring-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.4;
    transition: color 0.25s ease, transform 0.25s ease;
}

.bullet-icon {
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), filter 0.25s ease, color 0.25s ease;
}

/* Color & Glow Variants */
.bullet-icon.icon-cyan {
    color: var(--clr-cyan);
    filter: drop-shadow(0 0 2px rgba(6, 182, 212, 0.4));
}

.bullet-icon.icon-indigo {
    color: var(--clr-indigo);
    filter: drop-shadow(0 0 2px rgba(99, 102, 241, 0.4));
}

.bullet-icon.icon-purple {
    color: var(--clr-purple);
    filter: drop-shadow(0 0 2px rgba(168, 85, 247, 0.4));
}

.bullet-icon.icon-orange {
    color: var(--clr-orange);
    filter: drop-shadow(0 0 2px rgba(249, 115, 22, 0.4));
}

/* Micro-animations: Hovering over list items scales and rotates the icon */
.timeline-features li:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.timeline-features li:hover .bullet-icon {
    transform: scale(1.25) rotate(5deg);
    filter: drop-shadow(0 0 5px currentColor);
}

.exploring-features li:hover {
    color: var(--clr-purple-light, #c084fc);
    transform: translateX(4px);
}

.exploring-features li:hover .bullet-icon {
    transform: scale(1.25) rotate(5deg);
    filter: drop-shadow(0 0 5px currentColor);
}

/* Glow intensity enhancement when parent timeline card is hovered */
.timeline-item:hover .bullet-icon {
    filter: drop-shadow(0 0 4px currentColor);
}

/* ----------------------------------------------------
   Custom Cursor Styling & Interactions
---------------------------------------------------- */
@media (pointer: fine) {
    /* Hide default cursor on interactive items and body */
    body,
    a,
    button,
    input,
    textarea,
    select,
    .theme-toggle,
    .social-link {
        cursor: none !important;
    }

    .custom-cursor-dot,
    .custom-cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: opacity 0.3s ease, 
                    transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), 
                    background-color 0.3s ease, 
                    border-color 0.3s ease, 
                    width 0.3s ease, 
                    height 0.3s ease;
    }

    .custom-cursor-dot {
        width: 6px;
        height: 6px;
        background: var(--clr-cyan);
        box-shadow: 0 0 8px var(--clr-cyan);
    }

    .custom-cursor-ring {
        width: 32px;
        height: 32px;
        border: 1px solid var(--clr-indigo);
        box-shadow: 0 0 8px rgba(99, 102, 241, 0.1);
    }

    /* Hover States */
    .custom-cursor-ring.hovering {
        width: 48px;
        height: 48px;
        background: rgba(99, 102, 241, 0.08);
        border-color: var(--clr-purple);
        box-shadow: 0 0 16px rgba(168, 85, 247, 0.25);
    }

    .custom-cursor-dot.hovering {
        transform: translate(-50%, -50%) scale(1.6);
        background: var(--clr-purple);
        box-shadow: 0 0 10px var(--clr-purple);
    }

    /* Click States */
    .custom-cursor-ring.clicking {
        transform: translate(-50%, -50%) scale(0.65);
        border-color: var(--clr-cyan);
        background: rgba(6, 182, 212, 0.15);
        box-shadow: 0 0 12px var(--glow-cyan);
    }

    /* Active visibility */
    .custom-cursor-active .custom-cursor-dot,
    .custom-cursor-active .custom-cursor-ring {
        opacity: 1;
    }
}
