/* ==========================================================================
   CSS VARIABLES & GLOBAL RESET
   ========================================================================== */
:root {
    /* Default: Dark Theme Variables */
    --bg-base: #030303;
    --bg-surface: #0a0a0c;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.18);
    
    --text-primary: #ffffff;
    --text-secondary: #8a8f98;
    --text-muted: #626770;
    
    --color-accent: #ffffff;
    --color-purple: #a855f7;
    --color-blue: #3b82f6;
    --color-glow-1: rgba(168, 85, 247, 0.12);
    --color-glow-2: rgba(59, 130, 246, 0.08);
    
    --grid-color-dot: rgba(255, 255, 255, 0.04);
    --grid-color-line: rgba(255, 255, 255, 0.015);
    
    --card-glow-opacity: 0.05;
    --header-bg: rgba(3, 3, 3, 0.7);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    /* Light Theme Variables */
    --bg-base: #f9f9fb;
    --bg-surface: #f0f0f3;
    --bg-card: rgba(255, 255, 255, 0.55);
    --bg-card-hover: rgba(255, 255, 255, 0.75);
    
    --border-color: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(0, 0, 0, 0.15);
    
    --text-primary: #121214;
    --text-secondary: #5e646e;
    --text-muted: #8c939e;
    
    --color-accent: #121214;
    --color-glow-1: rgba(168, 85, 247, 0.06);
    --color-glow-2: rgba(59, 130, 246, 0.04);
    
    --grid-color-dot: rgba(0, 0, 0, 0.03);
    --grid-color-line: rgba(0, 0, 0, 0.01);
    
    --card-glow-opacity: 0.02;
    --header-bg: rgba(249, 249, 251, 0.75);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--bg-base);
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--color-purple), var(--color-blue));
    width: 0%;
    z-index: 200;
    transition: width 0.05s ease-out;
}



/* Custom Follow Glow Cursor */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, rgba(59, 130, 246, 0.03) 40%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
body:hover .cursor-glow {
    opacity: 1;
}

/* Custom Interactive Cursor Pointer & Label */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease-out;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-purple, #a855f7);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cursor-label {
    position: absolute;
    left: 20px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    background: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When hovering over the Profile Image (Card) */
.custom-cursor.cursor-active-profile .cursor-dot {
    transform: scale(2);
    background-color: var(--color-blue, #3b82f6);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
}

.custom-cursor.cursor-active-profile .cursor-label {
    opacity: 1;
    transform: translateX(0);
}

/* Hide default cursor only when custom cursor is active / hover features look premium */
@media (pointer: fine) {
    #profileCard {
        cursor: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #333;
}

/* ==========================================================================
   BACKGROUND GLOWS & GRIDS (AMBIENT DEEP GLOWS)
   ========================================================================== */
.bg-grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 100% 150%, transparent 24%, var(--grid-color-line) 24%, var(--grid-color-line) 28%, transparent 28%, transparent),
        radial-gradient(circle at 0% 150%, transparent 24%, var(--grid-color-line) 24%, var(--grid-color-line) 28%, transparent 28%, transparent),
        radial-gradient(circle at 50% 0%, transparent 35%, var(--grid-color-line) 35%, var(--grid-color-line) 39%, transparent 39%, transparent),
        radial-gradient(var(--grid-color-dot) 1.5px, transparent 1.5px);
    background-size: 160px 160px, 160px 160px, 320px 320px, 40px 40px;
    background-position: 0 0, 80px 0, 0 0, 0 0;
    pointer-events: none;
    z-index: -2;
    opacity: 0.9;
    mask-image: radial-gradient(circle at 50% 40%, black 50%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, black 50%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
    animation: bg-grid-drift 90s linear infinite;
}

@keyframes bg-grid-drift {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(2deg) scale(1.05);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

.bg-abstract-waves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.75;
}

.bg-abstract-waves svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wave-path {
    transform-origin: 50% 50%;
    animation: wave-float 24s ease-in-out infinite alternate;
}

.wave-2 {
    animation-duration: 32s;
    animation-delay: -8s;
}

@keyframes wave-float {
    0% {
        transform: scaleY(0.92) translateY(-15px) rotate(-1.5deg);
    }
    100% {
        transform: scaleY(1.08) translateY(15px) rotate(1.5deg);
    }
}

.bg-glow {
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(160px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.55;
    mix-blend-mode: plus-lighter;
    transition: var(--transition-smooth);
}

.bg-glow-1 {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, rgba(59, 130, 246, 0.05) 60%, transparent 100%);
    animation: float-orb-1 28s infinite ease-in-out;
}

.bg-glow-2 {
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.20) 0%, rgba(168, 85, 247, 0.05) 60%, transparent 100%);
    animation: float-orb-2 32s infinite ease-in-out;
}

.bg-glow-3 {
    top: 40%;
    left: 30%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, rgba(59, 130, 246, 0.08) 50%, transparent 100%);
    filter: blur(180px);
    animation: float-orb-3 36s infinite ease-in-out;
}

@keyframes float-orb-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -60px) scale(1.08);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.92);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes float-orb-2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-50px, 40px) scale(0.9);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes float-orb-3 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    40% {
        transform: translate(60px, 60px) scale(1.12);
    }
    80% {
        transform: translate(-40px, -30px) scale(0.88);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 10%, #a855f7 50%, #3b82f6 90%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShiftFlow 8s linear infinite;
}

@keyframes gradientShiftFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-muted {
    color: var(--text-secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--color-purple);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    max-width: 900px;
}

.section-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 4rem;
    line-height: 1.6;
}

/* ==========================================================================
   ANIMATION TRIGGERS (ON SCROLL)
   ========================================================================== */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delay for staggered children if needed */
.reveal-item:nth-child(2) { transition-delay: 0.1s; }
.reveal-item:nth-child(3) { transition-delay: 0.2s; }
.reveal-item:nth-child(4) { transition-delay: 0.3s; }
.reveal-item:nth-child(5) { transition-delay: 0.4s; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: var(--border-color) solid 1px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: var(--header-bg);
    transition: var(--transition-smooth);
}

/* Theme Toggle Button Style */
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
}

.theme-toggle:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.04);
}

.theme-toggle svg {
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Toggle Transitions */
.theme-toggle .sun-icon {
    transform: translateY(0) rotate(0);
    opacity: 1;
}

.theme-toggle .moon-icon {
    transform: translateY(-30px) rotate(-45deg);
    opacity: 0;
}

[data-theme="light"] .theme-toggle .sun-icon {
    transform: translateY(30px) rotate(45deg);
    opacity: 0;
}

[data-theme="light"] .theme-toggle .moon-icon {
    transform: translateY(0) rotate(0);
    opacity: 1;
}

.mobile-theme-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 250px;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    margin: 0.5rem 0;
}

.mobile-theme-wrapper span {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-secondary);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.nav-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: #34d399;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.75rem;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.nav-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-hover);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-base);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active {
    transform: translateY(0);
}

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

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

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

.mobile-btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   SECTION 01: HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 50px;
}

.hero-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    width: 100%;
}

.hero-bubble-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 24px;
}

.hero-bubble {
    background: linear-gradient(135deg, var(--color-purple) 0%, #d8b4fe 100%);
    color: #030303;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.4rem 1.1rem;
    border-radius: 12px 12px 12px 0px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    animation: floatBubble 3s ease-in-out infinite;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.hero-badge {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-left: 1px solid var(--border-color);
    padding-left: 1rem;
}

.hero-status-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: #34d399;
    font-size: 0.8rem;
    font-weight: 600;
}

.hero-main-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 5.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero-subheadline {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.5;
}

.hero-avatar-block {
    display: flex;
    justify-content: flex-end;
}

.canvas-workbench {
    position: relative;
    width: 380px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 80%);
    border-radius: 24px;
}

.canvas-grid-lines {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    border: 1px dashed rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 0;
}

.canvas-grid-lines::before,
.canvas-grid-lines::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
}

.canvas-grid-lines::before {
    top: 50%;
    left: -5%;
    width: 110%;
    height: 1px;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.canvas-grid-lines::after {
    left: 50%;
    top: -5%;
    height: 110%;
    width: 1px;
    border-left: 1px dashed rgba(255, 255, 255, 0.06);
}

.canvas-node {
    position: absolute;
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.node-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
}

.node-content-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.node-circle-indicator {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    animation: status-pulse 2s infinite;
}

.node-vector {
    top: 50px;
    left: -40px;
    width: 170px;
    padding: 0.6rem 0.8rem;
}

.node-vector-canvas {
    position: relative;
    margin-top: 0.4rem;
}

.designer-cursor {
    position: absolute;
    top: 10px;
    left: 65px;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    background: var(--color-purple);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.4);
}

.designer-cursor svg {
    margin-left: -2px;
}

.node-metric {
    bottom: 60px;
    right: -70px;
    width: 180px;
}

.node-metric-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #34d399;
}

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

.sparkline-container {
    height: 24px;
    opacity: 0.85;
}

.node-mindset {
    top: 50px;
    left: -70px;
    width: 205px;
}

.node-execution {
    bottom: 80px;
    right: -100px;
    width: 185px;
}

/* Animations for Canvas Floating Cards (Subtle & Fluid) */
.animate-node-1 {
    animation: float-node-1 10s infinite ease-in-out;
}

.animate-node-2 {
    animation: float-node-2 12s infinite ease-in-out;
}

.animate-node-3 {
    animation: float-node-3 11s infinite ease-in-out;
}

.animate-node-4 {
    animation: float-node-4 13s infinite ease-in-out;
}

@keyframes float-node-1 {
    0%, 100% {
        transform: translateY(0) rotate(-0.5deg);
    }
    50% {
        transform: translateY(-5px) rotate(0.5deg);
        border-color: rgba(168, 85, 247, 0.25);
        box-shadow: 0 10px 30px rgba(168, 85, 247, 0.08);
    }
}

@keyframes float-node-2 {
    0%, 100% {
        transform: translateY(0) rotate(0.5deg);
    }
    50% {
        transform: translateY(6px) rotate(-0.5deg);
        border-color: rgba(59, 130, 246, 0.25);
        box-shadow: 0 10px 30px rgba(59, 130, 246, 0.08);
    }
}

@keyframes float-node-3 {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-7px) scale(1.02);
        border-color: rgba(168, 85, 247, 0.2);
    }
}

@keyframes float-node-4 {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(5px) scale(0.98);
        border-color: rgba(59, 130, 246, 0.2);
    }
}

.profile-card-wrapper {
    perspective: 1000px;
    width: 100%;
    max-width: 250px;
    z-index: 5;
}

.profile-card {
    position: relative;
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: rgba(10, 10, 12, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    aspect-ratio: 3 / 4;
}

.profile-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.1);
}

.profile-glow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at var(--tilt-x, 50%) var(--tilt-y, 50%), rgba(168, 85, 247, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
}

.profile-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    mix-blend-mode: luminosity;
    transition: filter 0.5s ease, transform 0.5s ease;
    filter: grayscale(100%) contrast(1.15) brightness(0.9);
}

.profile-card:hover .profile-image {
    filter: grayscale(0%) contrast(1.05) brightness(1);
    transform: scale(1.02);
}

/* Hero Previews Section */
.hero-previews-container {
    width: 100%;
    margin-bottom: 4rem;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.preview-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    white-space: nowrap;
}

.preview-line {
    height: 1px;
    background: var(--border-color);
    width: 100%;
}

.hero-previews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.hero-preview-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
}

.hero-preview-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.preview-img-box {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.preview-grad-1 {
    background: linear-gradient(135deg, var(--color-purple) 0%, #d8b4fe 100%);
}

.preview-grad-2 {
    background: linear-gradient(135deg, var(--color-blue) 0%, #60a5fa 100%);
}

.preview-grad-3 {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.preview-img-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(185deg, rgba(255,255,255,0.1), transparent);
    z-index: 1;
}

.preview-img-box span {
    position: relative;
    z-index: 2;
    text-align: center;
}

.preview-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.preview-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.preview-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.card-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 40%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Scroll cue */
.scroll-cue {
    display: flex;
    align-items: center;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--text-primary);
}

.scroll-icon {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Hero entrance transitions */
.animate-on-load {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tag.animate-on-load { animation-delay: 0.1s; }
.hero-title.animate-on-load { animation-delay: 0.2s; }
.hero-subheadline.animate-on-load { animation-delay: 0.3s; }
.hero-display-grid.animate-on-load { animation-delay: 0.4s; }
.scroll-cue.animate-on-load { animation-delay: 0.5s; }

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

/* ==========================================================================
   SECTION 02: PROBLEM STATEMENT (THE PROBLEM I LOVE SOLVING)
   ========================================================================== */
.problem-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255,255,255,0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.problem-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-8px);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 2rem;
    transition: var(--transition-fast);
}

.problem-card:hover .card-icon {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #d8b4fe;
}

.problem-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.problem-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Mini UI Previews inside Problem Cards */
.mini-ui-preview {
    margin-top: 1.5rem;
    background: rgba(3, 3, 3, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.problem-card:hover .mini-ui-preview {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(3, 3, 3, 0.6);
}

/* Complex Systems UI */
.ui-complex-systems {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.ui-step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.ui-step.active {
    border-color: rgba(255,255,255,0.3);
    color: var(--text-primary);
}

.ui-step.success {
    background: linear-gradient(135deg, var(--color-purple), var(--color-blue));
    border-color: transparent;
    color: #ffffff;
    padding: 0 0.8rem;
    width: auto;
    border-radius: 20px;
}

.ui-arrow {
    color: var(--text-muted);
    font-weight: 700;
}

/* AI Workflows UI */
.ui-ai-workflows {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
}

.ui-ai-prompt {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.pulse-dot-purple {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-purple);
    box-shadow: 0 0 8px var(--color-purple);
}

.ui-prompt-text {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.ui-ai-response {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shimmer-line {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.shimmer-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

/* Enterprise Platforms UI */
.ui-enterprise {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
    width: 100%;
}

.ui-server-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

.server-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.server-dot.green {
    background-color: #10b981;
    box-shadow: 0 0 6px #10b981;
}

.server-name {
    color: var(--text-secondary);
    margin-right: auto;
    margin-left: 0.6rem;
}

.server-metric {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

/* Design Systems UI */
.ui-design-system {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.ui-ds-visual {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 36px;
}

.ui-ds-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-purple), var(--color-blue));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.15);
}

.ui-ds-button {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    background: var(--color-purple);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
    white-space: nowrap;
    transition: var(--transition-fast);
}

.ui-ds-button.secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border-color: var(--border-color);
    box-shadow: none;
}

.ui-ds-redline {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    font-weight: 700;
    color: #ef4444;
    border-left: 1px dashed #ef4444;
    border-right: 1px dashed #ef4444;
    padding: 0 3px;
    height: 14px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-family: var(--font-heading);
}

.ui-ds-tokens {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-grow: 1;
    max-width: 150px;
}

.ui-ds-token-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-family: var(--font-body);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    gap: 0.5rem;
}

.token-name {
    color: var(--text-secondary);
}

.token-val {
    color: var(--text-primary);
    font-weight: 600;
}

.token-val.inline-purple {
    color: #d8b4fe;
}

/* Data Dashboards UI */
.ui-dashboards {
    justify-content: space-between;
    width: 100%;
}

.ui-sparkline-chart {
    width: 70px;
    height: 25px;
}

.sparkline-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ui-metric-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* Span cards grid layout */
.grid-cards .problem-card:nth-child(4) {
    grid-column: span 2;
}

/* ==========================================================================
   SECTION 03: MY JOURNEY (TIMELINE)
   ========================================================================== */
.journey-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 850px;
    margin: 4rem auto 0 auto;
    padding-left: 6rem;
}

.timeline-svg-wrapper {
    position: absolute;
    top: 0;
    left: 2rem;
    bottom: 0;
    width: 10px;
    height: 100%;
}

.timeline-svg {
    width: 100%;
    height: 100%;
}

.timeline-path-active {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000; /* Programmed via JS scroll handler */
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

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

.timeline-dot {
    position: absolute;
    left: calc(-6rem + 2rem - 3px); /* Match centering with SVG */
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-base);
    border: 3px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-item.active-node .timeline-dot {
    border-color: var(--color-purple);
    box-shadow: 0 0 12px var(--color-purple);
    background: var(--text-primary);
}

.timeline-year {
    position: absolute;
    left: -12rem;
    top: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 1.1rem;
    width: 7.2rem;
    text-align: right;
    transition: var(--transition-fast);
}

.timeline-item.active-node .timeline-year {
    color: var(--text-primary);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
}

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

.role-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-purple);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.95rem;
}

.timeline-item:hover .timeline-content {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateX(5px);
}

/* Highlight today card */
.highlight-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(168, 85, 247, 0.02) 100%);
    border-color: rgba(168, 85, 247, 0.2);
}

.timeline-item.active-node .highlight-content {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 4px 30px rgba(168, 85, 247, 0.05);
}

/* ==========================================================================
   SECTION 04: PROJECTS
   ========================================================================== */
.projects-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: 20px;
    padding: 1.8rem 2.2rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateX(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Left Art Visual Thumbnail */
.project-image-placeholder {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.project-card:hover .project-image-placeholder {
    transform: scale(1.05);
}

.project-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0.35;
    transition: var(--transition-smooth);
}
.bg-p-1 { background: var(--color-purple); top: -10px; left: -10px; }
.bg-p-2 { background: var(--color-blue); bottom: -10px; right: -10px; }
.bg-p-3 { background: #10b981; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.project-card:hover .project-glow {
    opacity: 0.6;
    transform: scale(1.1) translate(var(--p-hover-x, 0), var(--p-hover-y, 0));
}

.project-art {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transform: scale(0.75);
}

.art-badge {
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.art-wireframe {
    width: 140px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wf-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 80px;
}

.grid-cell {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
}

.art-nodes {
    display: flex;
    align-items: center;
    gap: 8px;
}

.node {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-primary);
}

.node-line {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.2);
}

/* Right Content Info */
.project-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

.project-text-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.project-meta {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.2rem;
}

.project-meta span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
}

.project-info h3 {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 700;
}

.project-caption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.project-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.project-card:hover .project-cta-link {
    color: var(--color-purple);
}

.project-cta-link svg {
    transition: var(--transition-fast);
}

.project-card:hover .project-cta-link svg {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   SECTION: HOW I APPROACH COMPLEX PRODUCT PROBLEMS
   ========================================================================== */
.approach-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.concept-timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-purple), var(--color-blue), #22c55e);
    opacity: 0.15;
    z-index: 1;
}

.timeline-step-item {
    position: relative;
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    z-index: 2;
}

.timeline-indicator {
    flex-shrink: 0;
    width: 82px;
    height: 82px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator-glow {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    filter: blur(8px);
    opacity: 0.8;
}

.indicator-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-purple);
    border: 2px solid var(--bg-base);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.timeline-step-item:nth-child(even) .indicator-dot {
    background: var(--color-blue);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.timeline-step-item:last-child .indicator-dot {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.indicator-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    position: absolute;
    left: -40px;
    opacity: 0.25;
}

/* Timeline Cards */
.timeline-card {
    flex-grow: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.timeline-card-glow {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.01) 0%, transparent 70%);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.timeline-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.timeline-card:hover .timeline-card-glow {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
}

.timeline-header {
    margin-bottom: 1.5rem;
}

.step-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-purple);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.timeline-step-item:nth-child(even) .step-badge {
    color: var(--color-blue);
}

.timeline-step-item:last-child .step-badge {
    color: #22c55e;
}

.timeline-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.step-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.step-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.step-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.step-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.step-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-col ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.2rem;
}

.step-col ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-purple);
}

.timeline-step-item:nth-child(even) .step-col ul li::before {
    color: var(--color-blue);
}

.timeline-step-item:last-child .step-col ul li::before {
    color: #22c55e;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.deliv-badge {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .timeline-bar {
        left: 20px;
    }
    .timeline-step-item {
        gap: 1.5rem;
    }
    .timeline-indicator {
        width: 42px;
        height: 42px;
    }
    .indicator-glow {
        width: 30px;
        height: 30px;
    }
    .indicator-number {
        display: none;
    }
    .step-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .timeline-card {
        padding: 1.8rem;
    }
}

/* ==========================================================================
   SECTION 06: BEYOND DESIGNING SCREENS
   ========================================================================== */
.beyond-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.beyond-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.beyond-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.beyond-item:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.02);
}

.beyond-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.beyond-item:hover .beyond-icon {
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
}

.beyond-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.beyond-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 07: THE IMPACT
   ========================================================================== */
.impact-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.impact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 1.8rem;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
}

.impact-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: scale(1.03);
}

.impact-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #ffffff 40%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.impact-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

/* ==========================================================================
   SECTION 08: CLIENTS & TESTIMONIALS
   ========================================================================== */
.testimonials-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

/* Client Logos Grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 4.5rem;
}

.client-logo-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.client-logo-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.05);
}

.client-logo-img {
    max-width: 100%;
    max-height: 38px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.45;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo-card:hover .client-logo-img {
    filter: grayscale(0%) brightness(1) invert(0);
    opacity: 0.95;
}

/* Testimonials Slider Wrapper & Track */
.testimonials-track-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 1.5rem 0 2.5rem 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.testimonials-track-wrapper::-webkit-scrollbar {
    height: 6px;
}
.testimonials-track-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}
.testimonials-track-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
.testimonials-track-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.testimonials-track-wrapper.active-grab {
    cursor: grabbing;
    user-select: none;
}

.testimonials-track {
    display: inline-flex;
    align-items: stretch;
    padding: 0 1.5rem;
    min-width: 100%;
    gap: 2rem;
}

/* Testimonial Card */
.testimonial-card {
    flex-shrink: 0;
    width: min(460px, 85vw);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.2rem;
    position: relative;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-quote-icon {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--color-purple);
    line-height: 1;
    margin-bottom: -1rem;
    opacity: 0.3;
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-company {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

@media (max-width: 992px) {
    .client-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 3.5rem;
    }
}

@media (max-width: 576px) {
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ==========================================================================
   SECTION 09: LET'S BUILD SOMETHING GREAT (CONTACT)
   ========================================================================== */
.contact-section {
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.03) 0%, transparent 70%);
}

.contact-section .section-title {
    margin-left: auto;
    margin-right: auto;
}

.contact-section .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.immediate-joiner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 3.5rem;
}

.status-pulse {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-base);
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(255,255,255,0.15);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ==========================================================================
   RESUME VIEW MODAL
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 150;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-wrapper {
    position: relative;
    width: 90%;
    max-width: 680px;
    background: var(--bg-surface);
    border: 1px solid var(--border-hover);
    border-radius: 16px;
    z-index: 2;
    overflow: hidden;
    animation: modalSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlide {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.resume-sheet {
    color: var(--text-primary);
}

.resume-sheet h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.resume-sub {
    font-size: 0.9rem;
    color: var(--color-purple);
    margin-bottom: 1.5rem;
}

.resume-sheet hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1.5rem 0;
}

.resume-section {
    margin-bottom: 1.5rem;
}

.resume-section h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.resume-section p, .resume-section li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.resume-section ul {
    margin-left: 1.2rem;
}

/* ==========================================================================
   SECTION: CERTIFICATIONS
   ========================================================================== */
.certifications-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.certifications-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.certifications-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: auto-scroll-certs 32s linear infinite;
}

.certifications-track:hover {
    animation-play-state: paused;
}

.certifications-track .cert-card {
    width: 280px;
    flex-shrink: 0;
}

@keyframes auto-scroll-certs {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 7 - 1.5rem * 7));
    }
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.2rem;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    text-decoration: none;
    color: inherit;
    display: block;
}

.cert-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
}

.cert-card .cert-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.cert-card:hover .cert-icon {
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.cert-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-brand-logo.svg-logo {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.cert-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cert-issuer {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}


/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-main-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-avatar-block {
        justify-content: center;
    }
    .profile-card-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }
    .hero-previews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title { font-size: 2.8rem; }
    .hero-title { font-size: 3.5rem; }
    .grid-cards { grid-template-columns: repeat(2, 1fr); }
    .beyond-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-grid { grid-template-columns: repeat(3, 1fr); }
    .current-tags { grid-template-columns: repeat(2, 1fr); }
    .project-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .project-image-placeholder {
        width: 100%;
        height: 180px;
    }
    .project-image-placeholder .project-art {
        transform: scale(1);
    }
    .project-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    /* Timeline Tablet Adjustments */
    .timeline-container { padding-left: 3rem; }
    .timeline-svg-wrapper { left: 1rem; }
    .timeline-dot { left: calc(-3rem + 1rem - 3px); }
    .timeline-year {
        position: relative;
        left: 0;
        top: 0;
        width: auto;
        font-size: 0.95rem;
        text-align: left;
        color: var(--color-purple);
        margin-bottom: 0.6rem;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
    
    .hero-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .hero-previews-grid {
        grid-template-columns: 1fr;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-subheadline { font-size: 1.1rem; }
    .hero-display-grid { grid-template-columns: repeat(2, 1fr); }
    
    .grid-cards { grid-template-columns: 1fr; }
    .beyond-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .current-tags { grid-template-columns: 1fr; }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .hero-display-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: 1fr; }
    .contact-actions { flex-direction: column; gap: 1rem; }
    .btn { justify-content: center; width: 100%; }
}

/* ==========================================================================
   LIGHT MODE OVERRIDES FOR PREMIUM CONTRAST & VISIBILITY
   ========================================================================== */
[data-theme="light"] {
    --bg-base: #f9f9fb;
    --bg-surface: #f0f0f3;
    --bg-card: #ffffff;
    --bg-card-hover: #fcfcfd;
    --border-color: rgba(0, 0, 0, 0.07);
    --border-hover: rgba(0, 0, 0, 0.14);
    --text-primary: #121214;
    --text-secondary: #4a4f59;
    --text-muted: #787f8c;
    --color-accent: #121214;
    --color-glow-1: rgba(168, 85, 247, 0.05);
    --color-glow-2: rgba(59, 130, 246, 0.03);
    --grid-color-dot: rgba(0, 0, 0, 0.05);
    --grid-color-line: rgba(0, 0, 0, 0.015);
    --card-glow-opacity: 0.02;
    --header-bg: rgba(249, 249, 251, 0.85);
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #121214 30%, #7e22ce 75%, #1d4ed8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

[data-theme="light"] .hero-preview-item,
[data-theme="light"] .problem-card,
[data-theme="light"] .project-card,
[data-theme="light"] .cert-card,
[data-theme="light"] .timeline-content,
[data-theme="light"] .stat-card,
[data-theme="light"] .method-card,
[data-theme="light"] .impact-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .step-node {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 0 0 6px #f9f9fb !important;
}

[data-theme="light"] .hero-preview-item:hover,
[data-theme="light"] .problem-card:hover,
[data-theme="light"] .project-card:hover,
[data-theme="light"] .cert-card:hover,
[data-theme="light"] .timeline-content:hover {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .step-item:hover .step-node {
    border-color: var(--color-purple) !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.15), 0 0 0 6px #f9f9fb !important;
}

/* Header & Toggle */
[data-theme="light"] .main-header {
    border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .nav-btn,
[data-theme="light"] .mobile-btn {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: var(--text-primary) !important;
}

[data-theme="light"] .nav-btn:hover,
[data-theme="light"] .mobile-btn:hover {
    background: rgba(0, 0, 0, 0.09) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

/* Timeline SVG and Node fixes */
[data-theme="light"] .timeline-path-bg {
    stroke: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .timeline-dot {
    border-color: rgba(0, 0, 0, 0.12) !important;
    background: #ffffff !important;
}

[data-theme="light"] .timeline-item.active-node .timeline-dot {
    border-color: var(--color-purple) !important;
    background: var(--color-purple) !important;
}

/* Mini UI Mockups overrides */
[data-theme="light"] .mini-ui-preview {
    background: #f3f3f6 !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .problem-card:hover .mini-ui-preview {
    background: #e9e9ee !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .ui-step {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: var(--text-secondary) !important;
}

[data-theme="light"] .ui-step.active {
    background: var(--color-purple) !important;
    color: #ffffff !important;
}

[data-theme="light"] .ui-ai-prompt {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .ui-prompt-text {
    color: var(--text-secondary) !important;
}

[data-theme="light"] .ui-ai-response {
    background: rgba(168, 85, 247, 0.08) !important;
    border-color: rgba(168, 85, 247, 0.15) !important;
    color: #7e22ce !important;
}

[data-theme="light"] .ui-server-row {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .ui-ds-token-row {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .ui-ds-button.secondary {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: var(--text-secondary) !important;
}

[data-theme="light"] .token-val.inline-purple {
    color: #7e22ce !important;
}

[data-theme="light"] .token-val.inline-blue {
    color: #1d4ed8 !important;
}

[data-theme="light"] .ui-metric-label {
    color: var(--text-muted) !important;
}

/* Project Visual placeholders */
[data-theme="light"] .project-image-placeholder {
    background: #f3f3f6 !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .art-badge {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: var(--text-primary) !important;
}

[data-theme="light"] .wf-line {
    background: rgba(0, 0, 0, 0.1) !important;
}

/* Profile image frame on Hero */
[data-theme="light"] .profile-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .profile-glow {
    background: radial-gradient(circle at var(--tilt-x, 50%) var(--tilt-y, 50%), rgba(168, 85, 247, 0.08) 0%, transparent 60%) !important;
    mix-blend-mode: multiply !important;
}

/* Certification Brand Logos wrapper */
[data-theme="light"] .cert-card .cert-icon {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="light"] .cert-card:hover .cert-icon {
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.15) !important;
}

/* Contact / footer visual polish */
[data-theme="light"] .contact-section {
    background: #f0f0f3 !important;
}

/* Light Mode Numeric Gradients (visibility fix) */
[data-theme="light"] .impact-num {
    background: linear-gradient(135deg, #121214 30%, #7e22ce 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

[data-theme="light"] .card-num {
    background: linear-gradient(135deg, #121214 35%, #71717a 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* ==========================================================================
   PROFESSIONAL STATS SECTION
   ========================================================================== */
.stats-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.2rem 1.8rem;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 40%, var(--color-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==========================================================================
   CLIENTS INFINITE MARQUEE
   ========================================================================== */
.clients-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.clients-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.clients-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: auto-scroll-clients 24s linear infinite;
}

.client-logo-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.client-logo-card span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.client-logo-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.client-logo-card:hover span {
    color: var(--text-primary);
}

@keyframes auto-scroll-clients {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-180px * 6 - 2rem * 6)); }
}

/* ==========================================================================
   DOMAINS SECTION
   ========================================================================== */
.domains-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.domains-grid .domain-card:nth-child(4),
.domains-grid .domain-card:nth-child(5) {
    grid-column: span 1;
}

.domain-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    position: relative;
}

.domain-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
}

.domain-duration {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--color-purple);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
}

.domain-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.domain-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.domain-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ==========================================================================
   INTERACTIVE PROCESS TABS VISUALS
   ========================================================================== */
.interactive-process-wrapper {
    margin-top: 4rem;
}

.process-tabs {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.process-tabs::-webkit-scrollbar {
    display: none;
}

.process-tab-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.8rem 1.2rem;
    position: relative;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.process-tab-btn .tab-num {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-right: 0.4rem;
    opacity: 0.7;
}

.process-tab-btn:hover {
    color: var(--text-primary);
}

.process-tab-btn.active {
    color: var(--text-primary);
}

.process-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--color-purple), var(--color-blue));
}

.process-panels-container {
    position: relative;
    min-height: 380px;
}

.process-panel {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.process-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.panel-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.panel-header-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.panel-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.panel-header-row h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.panel-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.panel-body {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.panel-side {
    border-left: 1px solid var(--border-color);
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.side-block h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.side-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.side-block ul li {
    font-size: 0.95rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 1.2rem;
}

.side-block ul li::before {
    content: '➔';
    position: absolute;
    left: 0;
    color: var(--color-purple);
    font-size: 0.8rem;
}

.side-block .deliverable-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   FOOTER SOCIAL GRAPHICS
   ========================================================================== */
.footer-social-row {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.footer-social-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-fast);
    background: rgba(255, 255, 255, 0.04);
}

.footer-social-icon:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

/* ==========================================================================
   AI-POWERED DESIGN WORKFLOW SECTION
   ========================================================================== */
.workflow-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Quote/Highlight Statement Box */
.workflow-quote-box {
    position: relative;
    max-width: 800px;
    margin: 2.5rem auto 4rem auto;
    padding: 2.5rem 3rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.quote-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.quote-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.06);
    border: 1px solid rgba(168, 85, 247, 0.15);
    z-index: 2;
}

.workflow-quote {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    z-index: 2;
}

/* Horizontal Track scroll setup */
.workflow-track-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 2rem 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar for workflow track */
.workflow-track-wrapper::-webkit-scrollbar {
    height: 6px;
}
.workflow-track-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}
.workflow-track-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
.workflow-track-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.workflow-track {
    display: inline-flex;
    align-items: center;
    padding: 0 2rem;
    min-width: 100%;
    gap: 0;
}

/* Cards style */
.workflow-card {
    flex-shrink: 0;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.2rem 1.8rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.workflow-card-glow {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.workflow-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.workflow-card:hover .workflow-card-glow {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, rgba(59, 130, 246, 0.04) 50%, transparent 70%);
    width: 180px;
    height: 180px;
}

.workflow-stage-num {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 1.2rem;
}

.workflow-header-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.workflow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
}

.workflow-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.workflow-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.workflow-bullets li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
    position: relative;
    padding-left: 1.2rem;
}

.workflow-bullets li::before {
    content: "•";
    position: absolute;
    left: 0.2rem;
    color: var(--color-purple);
    font-weight: bold;
    font-size: 1.1rem;
    top: -2px;
}

/* Connectors */
.workflow-connector {
    flex-shrink: 0;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.animated-flow {
    stroke-dashoffset: 0;
    animation: flow-dash 15s linear infinite;
}

@keyframes flow-dash {
    to {
        stroke-dashoffset: -100;
    }
}

/* Workflow metrics subsection styling */
.workflow-metrics-wrapper {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.metrics-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.workflow-metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2.2rem 1.6rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.metric-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #ffffff 40%, var(--color-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.metric-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.metric-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.metric-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==========================================================================
   Responsive Overrides
   ========================================================================== */
@media (max-width: 1200px) {
    .workflow-metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .workflow-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .workflow-metrics-grid {
        grid-template-columns: 1fr;
    }
    .workflow-quote-box {
        padding: 1.8rem 2rem;
        flex-direction: column;
        gap: 1rem;
    }
    .workflow-quote {
        font-size: 1.15rem;
    }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .panel-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem;
    }
    .panel-side {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .domains-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Light Theme overrides for new elements */
[data-theme="light"] .stat-card,
[data-theme="light"] .client-logo-card,
[data-theme="light"] .domain-card,
[data-theme="light"] .panel-layout,
[data-theme="light"] .workflow-card,
[data-theme="light"] .metric-card,
[data-theme="light"] .workflow-quote-box {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .workflow-quote-box {
    background: rgba(0, 0, 0, 0.01) !important;
}

[data-theme="light"] .workflow-card:hover,
[data-theme="light"] .metric-card:hover,
[data-theme="light"] .stat-card:hover,
[data-theme="light"] .client-logo-card:hover,
[data-theme="light"] .domain-card:hover {
    border-color: rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .stat-number,
[data-theme="light"] .metric-number {
    background: linear-gradient(135deg, #121214 30%, #7e22ce 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

[data-theme="light"] .stat-icon,
[data-theme="light"] .domain-icon,
[data-theme="light"] .panel-icon-box,
[data-theme="light"] .workflow-icon,
[data-theme="light"] .quote-icon,
[data-theme="light"] .metric-icon-wrap {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .side-block .deliverable-badge {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .footer-social-icon {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .footer-social-icon:hover {
    border-color: rgba(0, 0, 0, 0.18) !important;
    background: #fafafc !important;
}

/* ==========================================================================
   FLOATING CV CTA
   ========================================================================== */
.floating-cv-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 140;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text-primary);
    color: var(--bg-base);
    border: 1px solid var(--text-primary);
    height: 52px;
    width: 52px;
    border-radius: 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
    text-decoration: none;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s, color 0.3s, transform 0.3s;
}

.floating-cv-cta:hover {
    width: 160px;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 255, 255, 0.2);
}

.floating-cv-cta .cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-cv-cta .cta-text {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    width: 0;
    margin-left: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, width 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin-left 0.4s;
}

.floating-cv-cta:hover .cta-text {
    opacity: 1;
    width: 90px;
    margin-left: 8px;
    transform: translateX(0);
    transition-delay: 0.05s;
}

@media (max-width: 768px) {
    .floating-cv-cta {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        border-radius: 24px;
    }
    .floating-cv-cta:hover {
        width: 140px;
    }
    .floating-cv-cta:hover .cta-text {
        width: 80px;
    }
}

/* ==========================================================================
   BACKGROUND GRID OVERLAY (HERO SECTION)
   ========================================================================== */
.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
}

[data-theme="light"] .hero-grid-overlay {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
}

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #3b82f6);
    z-index: 10100;
    width: 0%;
    transition: width 0.1s ease;
    pointer-events: none;
}

/* ==========================================================================
   LIGHT MODE CONTRAST CORRECTIONS
   ========================================================================== */
[data-theme="light"] .canvas-node {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
    color: #0f0f15 !important;
}

[data-theme="light"] .canvas-grid-lines {
    border-color: rgba(0, 0, 0, 0.06) !important;
}
[data-theme="light"] .canvas-grid-lines::before {
    border-top-color: rgba(0, 0, 0, 0.06) !important;
    background: rgba(0, 0, 0, 0.02) !important;
}
[data-theme="light"] .canvas-grid-lines::after {
    border-left-color: rgba(0, 0, 0, 0.06) !important;
    background: rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .timeline-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .timeline-card:hover {
    border-color: rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
}

.workflow-track-wrapper.active-grab {
    cursor: grabbing;
    user-select: none;
}

/* Light mode overrides for Clients & Testimonials Section */
[data-theme="light"] .client-logo-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01) !important;
}
[data-theme="light"] .client-logo-card:hover {
    border-color: rgba(0, 0, 0, 0.15) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .client-logo-img {
    filter: grayscale(100%) brightness(0);
    opacity: 0.45;
}
[data-theme="light"] .client-logo-card:hover .client-logo-img {
    filter: grayscale(0%) brightness(1);
    opacity: 0.95;
}

[data-theme="light"] .testimonial-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .testimonial-card:hover {
    border-color: rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .testimonial-author {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .testimonials-track-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
}
[data-theme="light"] .testimonials-track-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .testimonials-track-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* AI Impact Formula styling */
.ai-formula-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3.5rem 0 3rem 0;
}

.formula-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.2rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.formula-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.formula-card.traditional::before {
    background: var(--text-muted);
}

.formula-card.augmented::before {
    background: linear-gradient(to bottom, var(--color-purple), var(--color-blue));
}

.formula-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.8rem;
}

.formula-card.augmented .formula-label {
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.formula-expr {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.formula-expr strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Time Saved Table styling */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-bottom: 5rem;
}

.workflow-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.workflow-table th, 
.workflow-table td {
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid var(--border-color);
}

.workflow-table th {
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.01);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.workflow-table td {
    color: var(--text-secondary);
}

.workflow-table tr:last-child td {
    border-bottom: none;
}

.workflow-table .saved-val {
    font-weight: 700;
    color: var(--color-purple);
}

.workflow-table tfoot td {
    background: rgba(168, 85, 247, 0.02);
    font-weight: 700;
    color: var(--text-primary);
}

.workflow-table tfoot .saved-val.avg {
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Light mode overrides */
[data-theme="light"] .formula-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .table-responsive {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .workflow-table th {
    background: rgba(0, 0, 0, 0.01) !important;
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .workflow-table td {
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

@media (max-width: 768px) {
    .ai-formula-box {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* Premium Impact Panel */
.workflow-impact-panel {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    margin-top: 5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.workflow-impact-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.impact-metrics-row {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    z-index: 2;
}

.impact-metric-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem 2rem;
    position: relative;
}

.impact-metric-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.impact-metric-header h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin: 0;
}

.impact-metric-box.traditional .impact-metric-header h4 {
    color: var(--text-muted);
}

.impact-metric-box.augmented .impact-metric-header h4 {
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    background: var(--text-muted);
}

.dot-indicator.pulse {
    background: var(--color-purple);
    box-shadow: 0 0 8px var(--color-purple);
    animation: metricPulse 2s infinite;
}

@keyframes metricPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.impact-metric-value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.impact-metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

/* Comparison Bars */
.comparison-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    position: relative;
}

.comparison-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

.traditional-bar {
    background: rgba(255, 255, 255, 0.15);
}

.augmented-bar {
    background: linear-gradient(to right, var(--color-purple), var(--color-blue));
}

.savings-badge {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Results Column */
.impact-results-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.impact-results-header h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.8rem;
    letter-spacing: -0.01em;
}

.impact-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.impact-results-list li {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.result-icon-box {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.result-icon-box.purple { color: var(--color-purple); background: rgba(168, 85, 247, 0.05); }
.result-icon-box.blue { color: var(--color-blue); background: rgba(59, 130, 246, 0.05); }
.result-icon-box.yellow { color: #eab308; background: rgba(234, 179, 8, 0.05); }
.result-icon-box.green { color: #22c55e; background: rgba(34, 197, 94, 0.05); }
.result-icon-box.cyan { color: #00d2ff; background: rgba(0, 210, 255, 0.05); }

.result-content h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.2rem 0;
}

.result-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Light theme overrides */
[data-theme="light"] .workflow-impact-panel {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .impact-metric-box {
    background: rgba(0, 0, 0, 0.01) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .traditional-bar {
    background: rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .comparison-bar-container {
    background: rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .result-icon-box {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

@media (max-width: 900px) {
    .workflow-impact-panel {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem;
    }
}

/* Project logo preview style in lists */
.project-logo-preview {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-logo-preview {
    transform: scale(1.08);
}

/* Light mode overrides for case study logos */
[data-theme="light"] .project-logo-preview,
[data-theme="light"] .preview-img-box img {
    filter: invert(1);
}




