/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #1a1a1a;
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --text-light: #ffffff;
    --text-gray: #a3a3a3;
    --card-bg: rgba(26, 26, 26, 0.6);
    --gradient-1: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    --gradient-2: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    --gradient-3: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    --gradient-primary: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2a2a2a 100%);
    --glow: 0 0 20px rgba(255, 255, 255, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== GLOBAL RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================== ACCESSIBILITY ==================== */
.skip-link {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 0 0 10px 10px;
    z-index: 100001;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* ==================== PAGE LOADER ==================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-content p {
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-darker);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Performance optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

/* ==================== 3D BACKGROUND CANVAS ==================== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    /* Disabled for performance */
    display: none;
}

/* ==================== PARTICLES ==================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
}

.logo-icon {
    font-size: 2rem;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text .highlight {
    color: #000000;
    font-weight: 900;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #000000;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #000000;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #000000;
    transition: var(--transition);
    border-radius: 3px;
}

/* ==================== READING PROGRESS BAR ==================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #f97316, #eab308, #3b82f6);
    background-size: 200% 100%;
    z-index: 10000;
    transition: width 0.15s ease;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
    animation: progressRainbow 3s linear infinite;
}

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

/* ==================== HERO SECTION ==================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    padding: 80px 0 0 0;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle at center,
        rgba(156, 163, 175, 0.3),
        rgba(107, 114, 128, 0.22),
        rgba(75, 85, 99, 0.15),
        rgba(55, 65, 81, 0.1),
        transparent 70%
    );
    backdrop-filter: blur(120px);
    -webkit-backdrop-filter: blur(120px);
    filter: blur(2px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.hero-container {
    max-width: 1600px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-end;
    padding-right: 3rem;
    padding-bottom: 8rem;
    align-self: flex-end;
    max-width: 550px;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #94a3b8;
    width: fit-content;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.hero-main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    margin: 0;
    max-width: 500px;
    position: relative;
    display: inline-block;
    min-height: 100px;
}

.hero-center {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 3;
    align-self: flex-end;
}

.hero-image-wrapper {
    position: relative;
    width: 780px;
    height: 96vh;
    overflow: visible;
    display: flex;
    align-items: flex-end;
}

.hero-profile-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 25px 80px rgba(0, 0, 0, 0.12));
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-end;
    padding-left: 3rem;
    padding-bottom: 8rem;
    align-self: flex-end;
    max-width: 500px;
}

.hero-intro {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 450px;
    font-weight: 400;
}

.hero-intro p {
    margin: 0;
}

.btn-hire-me {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: #0f172a;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: fit-content;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.btn-hire-me::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #f97316, #3b82f6);
    background-size: 300% 100%;
    border-radius: 50px;
    z-index: -1;
    animation: hireGlow 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-hire-me:hover::before {
    opacity: 1;
}

.btn-hire-me:hover {
    background: #0f172a;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.35);
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-download-resume {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: #0f172a;
    border: 2px solid #0f172a;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-download-resume:hover {
    background: #0f172a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3);
}

.btn-download-resume i {
    font-size: 0.9rem;
}

.btn-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: transparent;
    color: #0f172a;
    border: 2px solid #0f172a;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-social-link:hover {
    background: #0077b5;
    color: #fff;
    border-color: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

/* ==================== HERO VISUAL ==================== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 30px;
    opacity: 0.5;
    filter: blur(20px);
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.profile-img-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.profile-ring {
    position: absolute;
    inset: -10px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: rotate 4s linear infinite;
}

.profile-img {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-color);
    z-index: 1;
    overflow: hidden;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: var(--glow);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

/* ==================== SCROLL INDICATOR ==================== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

.scroll-indicator p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== SECTION TITLES ==================== */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: #000000;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 4rem;
}

/* ==================== STATUS BADGES ==================== */
.status-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.currently-building {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 500;
    animation: pulse-glow 2s ease-in-out infinite;
}

.build-icon {
    animation: hammer 0.5s ease-in-out infinite alternate;
}

@keyframes hammer {
    from { transform: rotate(-10deg); }
    to { transform: rotate(10deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(251, 191, 36, 0.3); }
    50% { box-shadow: 0 0 15px rgba(251, 191, 36, 0.6); }
}

/* ==================== SCROLL INDICATOR ==================== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

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

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* ==================== STATS BANNER ==================== */
.stats-banner {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.stats-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    display: inline;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: statPulse 3s ease-in-out infinite;
}

@keyframes statPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.stat-suffix {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-suffix {
        font-size: 1.5rem;
    }
    
    .status-badges {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 8rem 2rem;
    position: relative;
    background: #000000;
    color: #ffffff;
}

.about .section-title {
    color: #ffffff;
}

.about .section-subtitle {
    color: #a3a3a3;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.about-text .lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-text p {
    color: #d1d5db;
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: #ffffff;
    font-weight: 600;
}

.expertise-areas {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.expertise-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.expertise-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.08));
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 15px;
}

.expertise-item:nth-child(2)::before {
    background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(234,179,8,0.08));
}

.expertise-item:nth-child(3)::before {
    background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(6,182,212,0.08));
}

.expertise-item:hover::before {
    opacity: 1;
}

.expertise-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(139,92,246,0.08);
}

.expertise-item:nth-child(2):hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(249,115,22,0.08);
}

.expertise-item:nth-child(3):hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(16,185,129,0.08);
}

.expertise-item i {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    display: block;
}

.expertise-item:hover i {
    transform: scale(1.15);
}

.expertise-item h3,
.expertise-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #ffffff;
}

.expertise-item p {
    margin: 0;
    color: #d1d5db;
    line-height: 1.7;
}

/* ==================== SKILLS ==================== */
.skills-container h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    font-weight: 700;
}

.skills-grid {
    display: grid;
    gap: 2rem;
}

.skill-category {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.skill-category h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-weight: 600;
}

.skill-category i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Colorful icons for each skill category */
.skill-category h4 .fa-robot {
    color: #10b981; /* Green for AI/ML */
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.skill-category h4 .fa-code {
    color: #3b82f6; /* Blue for Languages */
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.skill-category h4 .fa-chart-bar {
    color: #f59e0b; /* Orange for Analytics */
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.skill-category h4 .fa-cloud {
    color: #8b5cf6; /* Purple for Cloud & Tools */
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.skill-category:hover h4 i {
    transform: scale(1.2) rotate(10deg);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    padding: 0.65rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: #ffffff;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-tag img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    /* Removed filter to show colorful icons */
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px) scale(1.04);
    cursor: default;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.06);
}

.skill-tag:hover img {
    transform: scale(1.15) rotate(-4deg);
    transition: transform 0.3s ease;
}

.skill-tag::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
    background-size: 200% 100%;
    background-position: -200% 0;
    transition: background-position 0.5s ease;
}

.skill-tag {
    position: relative;
    overflow: hidden;
}

.skill-tag:hover::after {
    background-position: 200% 0;
}

/* ==================== TRUSTED COMPANIES SECTION ==================== */
.trusted-companies {
    padding: 4rem 0;
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.companies-title {
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Desktop: Marquee animation (centered, not full width) */
.marquee-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

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

.marquee-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
}

.company-logo-item {
    flex-shrink: 0;
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.company-logo-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.company-logo-item img {
    max-width: 100%;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile: Rotating circular layout with larger logos */
@media (max-width: 768px) {
    .marquee-wrapper {
        max-width: 100%;
        -webkit-mask-image: none;
        mask-image: none;
        overflow: visible;
        height: 350px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .marquee-track {
        display: block;
        width: 300px;
        height: 300px;
        position: relative;
        animation: rotateContainer 20s linear infinite;
    }
    
    .marquee-content {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
        padding: 0;
    }
    
    /* Hide duplicate content on mobile */
    .marquee-content:nth-child(2) {
        display: none;
    }
    
    .company-logo-item {
        position: absolute;
        width: 110px;
        height: 75px;
        opacity: 1;
    }
    
    .company-logo-item img {
        max-height: 65px;
        max-width: 100px;
        animation: counterRotate 20s linear infinite;
    }
    
    /* Center logo */
    .company-logo-item:nth-child(1) {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
    }
    
    /* Top-left */
    .company-logo-item:nth-child(2) {
        top: 10px;
        left: 10px;
    }
    
    /* Top-right */
    .company-logo-item:nth-child(3) {
        top: 10px;
        right: 10px;
    }
    
    /* Bottom-left */
    .company-logo-item:nth-child(4) {
        bottom: 10px;
        left: 10px;
    }
    
    /* Bottom-right */
    .company-logo-item:nth-child(5) {
        bottom: 10px;
        right: 10px;
    }
}

@keyframes rotateContainer {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counterRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    flex: 1;
}

.quote-icon {
    color: #000000;
    font-size: 2rem;
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #333;
    line-height: 1.8;
    font-size: 0.95rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #000000 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.shahram-avatar img {
    object-fit: contain;
    object-position: center top;
    background: #f8f9fa;
    transform: scale(1.1);
}

.author-avatar i {
    color: #ffffff;
    font-size: 1.5rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 0.2rem 0;
}

.author-info p {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
}

.author-company {
    font-weight: 600;
    color: #000000 !important;
}

.skill-tag:hover img {
    filter: none;
}

/* ==================== EXPERIENCE SECTION (TIMELINE) ==================== */
.experience {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 1.5rem auto 0;
    padding: 0 2rem;
}

/* Timeline Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #000000 0%, #525252 100%);
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 3px solid #000000;
    border-radius: 50%;
    z-index: 2;
    top: 16px;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}

/* Current Badge */
.timeline-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.8rem;
    background: #000000;
    color: #ffffff;
    padding: 0.25rem 0.7rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* .timeline-item:nth-child(even) .timeline-badge {
    right: auto;
    left: 0.8rem;
} */

/* Timeline Content */
.timeline-content {
    width: 47%;
    background: #ffffff;
    padding: 1.2rem;
    border-radius: 10px;
    border: 2px solid #e5e5e5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
}

/* Arrow pointing to timeline */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 16px;
    left: -12px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid #e5e5e5;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 18px;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #ffffff;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: auto;
    right: -12px;
    border-right: none;
    border-left: 12px solid #e5e5e5;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: auto;
    right: -8px;
    border-right: none;
    border-left: 10px solid #ffffff;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: #000000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Timeline Date */
.timeline-date {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

/* Timeline Header */
.timeline-header {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.timeline-header .company-logo,
.company-logo {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.timeline-header .company-logo img,
.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.timeline-header .company-logo i,
.company-logo i {
    font-size: 1.5rem;
    color: #ffffff;
}

.timeline-title-group h3 {
    font-size: 1.05rem;
    color: #000000;
    margin-bottom: 0.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.timeline-title-group h4 {
    font-size: 0.85rem;
    color: #525252;
    font-weight: 600;
}

/* Timeline Description */
.timeline-description {
    color: #525252;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}

/* Timeline Highlights */
.timeline-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
    padding: 0.7rem 0.9rem;
    background: #fafafa;
    border-radius: 8px;
    border-left: 3px solid #000000;
}

.timeline-highlights .highlight-item,
.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #1a1a1a;
    font-size: 0.8rem;
    font-weight: 500;
}

.timeline-highlights .highlight-item i,
.highlight-item i {
    color: #000000;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* Timeline Tech Tags */
.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-top: 0.7rem;
    border-top: 2px solid #f0f0f0;
}

.timeline-tech span {
    padding: 0.3rem 0.6rem;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.7rem;
    color: #1a1a1a;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.timeline-tech span:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translateY(-2px);
}

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

.experience-card {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #f97316);
    background-size: 250% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    animation: barShimmer 3s ease infinite;
    animation-play-state: paused;
}

.experience-card:hover::before {
    transform: scaleX(1);
    animation-play-state: running;
}

.experience-card:hover {
    transform: translateY(-5px);
    border-color: #000000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.experience-card.featured {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 2px solid #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.experience-card.featured::before {
    height: 4px;
    background: linear-gradient(90deg, #000000 0%, #1a1a1a 50%, #2a2a2a 100%);
}

.experience-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #000000;
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.experience-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.company-logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    background: white;
    border-radius: 12px;
}

.company-logo i {
    font-size: 1.5rem;
}

.experience-card:hover .company-logo {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.experience-title-group h3 {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 0.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.experience-title-group h4 {
    font-size: 0.95rem;
    color: #3a3a3a;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.experience-period {
    display: inline-block;
    background: #f5f5f5;
    color: #525252;
    padding: 0.3rem 0.8rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #e5e5e5;
    letter-spacing: 0.3px;
}

.experience-description {
    color: #525252;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.experience-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding: 0.9rem;
    background: #fafafa;
    border-radius: 10px;
    border-left: 3px solid #000000;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #1a1a1a;
    font-size: 0.8rem;
    font-weight: 500;
}

.highlight-item i {
    color: #000000;
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.9rem;
    border-top: 2px solid #f0f0f0;
}

.experience-tech span {
    padding: 0.4rem 0.8rem;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    font-size: 0.72rem;
    color: #1a1a1a;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.experience-tech span:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* Why Work With Me Section */
.why-me-section {
    background: transparent;
    border-radius: 0;
    padding: 2rem 0 4rem;
    margin-bottom: 3rem;
    border: none;
}

.why-me-section h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

.why-me-section > p {
    color: #d1d5db;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.differentiators {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.diff-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1.5rem 0 0 0;
    transition: all 0.35s ease;
    user-select: none;
    position: relative;
}

.diff-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #f97316);
    background-size: 300% 100%;
    animation: diffBarFlow 4s linear infinite;
    animation-play-state: paused;
    border-radius: 2px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

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

.diff-item:hover::before {
    animation-play-state: running;
    opacity: 1;
}

.diff-item:hover {
    transform: translateY(-6px);
}

.diff-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    user-select: none;
    text-align: center;
    transition: transform 0.3s ease;
}

.diff-item:hover .diff-icon {
    transform: scale(1.15) rotate(-4deg);
    animation: iconBounce 0.4s ease;
}

@keyframes iconBounce {
    0%   { transform: scale(1) rotate(0); }
    50%  { transform: scale(1.25) rotate(-6deg); }
    100% { transform: scale(1.15) rotate(-4deg); }
}

.diff-item h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    user-select: none;
    text-align: center;
}

.diff-item p {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 0.9rem;
    text-align: center;
}

/* ==================== KEY HIGHLIGHTS SECTION ==================== */
.highlights-section {
    position: relative;
    padding: 3rem 0 5rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Flowing background blobs */
.hl-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
    pointer-events: none;
    animation: hlBlobFloat 8s ease-in-out infinite alternate;
}

.hl-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3b82f6, #06b6d4);
    top: -120px;
    left: -120px;
    animation-delay: 0s;
}

.hl-blob-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #8b5cf6, #ec4899);
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -3s;
}

.hl-blob-3 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #f97316, #eab308);
    top: -100px;
    right: -120px;
    animation-delay: -5s;
}

@keyframes hlBlobFloat {
    0%   { transform: translateY(0px) scale(1); }
    50%  { transform: translateY(30px) scale(1.05); }
    100% { transform: translateY(-20px) scale(0.97); }
}

.hl-blob-2 { animation-name: hlBlobFloat2; }
@keyframes hlBlobFloat2 {
    0%   { transform: translateX(-50%) translateY(0px) scale(1); }
    50%  { transform: translateX(-50%) translateY(-25px) scale(1.06); }
    100% { transform: translateX(-50%) translateY(20px) scale(0.96); }
}

/* Section header */
.highlights-label {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.highlights-heading {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.hl-gradient-text {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlights-sub {
    text-align: center;
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 3.5rem;
}

/* Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Base card */
.hl-card {
    position: relative;
    background: rgba(12, 12, 14, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Glow orb behind card */
.hl-card__glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    top: -80px;
    right: -60px;
    pointer-events: none;
    opacity: 0;
    filter: blur(60px);
    transition: opacity 0.5s ease;
    z-index: 0;
}

.hl-card:hover .hl-card__glow {
    opacity: 0.35;
}

/* Animated top color bar — curved arch */
.hl-card__top-bar {
    height: 10px;
    width: calc(100% + 2px);
    margin: -1px -1px 0;
    position: relative;
    z-index: 2;
    background-size: 200% 100%;
    animation: barShimmer 3s ease infinite;
    border-radius: 0 0 50% 50% / 0 0 10px 10px;
    flex-shrink: 0;
}

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

.hl-card:hover {
    transform: translateY(-10px);
}

/* Blue card (Vantrexia) */
.hl-card--blue .hl-card__top-bar {
    background: linear-gradient(90deg, #3b82f6, #06b6d4, #38bdf8, #3b82f6);
    background-size: 250% 100%;
    animation: barShimmer 3s ease infinite;
    box-shadow: 0 4px 24px rgba(59, 130, 246, 0.4);
}

.hl-card--blue .hl-card__glow {
    background: radial-gradient(circle, #3b82f6, #06b6d4);
}

.hl-card--blue:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(59, 130, 246, 0.2), 0 0 60px rgba(59, 130, 246, 0.1);
}

.hl-card--blue .hl-pill {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.hl-card--blue .hl-card__cta { color: #60a5fa; }

/* Purple card (Times Square) */
.hl-card--purple .hl-card__top-bar {
    background: linear-gradient(90deg, #8b5cf6, #ec4899, #f43f5e, #8b5cf6);
    background-size: 250% 100%;
    animation: barShimmer 3s ease infinite;
    animation-delay: -1s;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.4);
}

.hl-card--purple .hl-card__glow {
    background: radial-gradient(circle, #8b5cf6, #ec4899);
}

.hl-card--purple:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(139, 92, 246, 0.2), 0 0 60px rgba(139, 92, 246, 0.1);
}

.hl-card--purple .hl-pill {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Orange card (MyTreks) */
.hl-card--orange .hl-card__top-bar {
    background: linear-gradient(90deg, #f97316, #eab308, #fbbf24, #f97316);
    background-size: 250% 100%;
    animation: barShimmer 3s ease infinite;
    animation-delay: -2s;
    box-shadow: 0 4px 24px rgba(249, 115, 22, 0.4);
}

.hl-card--orange .hl-card__glow {
    background: radial-gradient(circle, #f97316, #eab308);
}

.hl-card--orange:hover {
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(249, 115, 22, 0.2), 0 0 60px rgba(249, 115, 22, 0.1);
}

.hl-card--orange .hl-pill {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.hl-card--orange .hl-card__cta { color: #fb923c; }

/* Visual / image area */
.hl-card__visual {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hl-card__visual--photo {
    background: #050508;
}

.hl-card__visual--photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.hl-card:hover .hl-card__visual--photo img {
    transform: scale(1.03);
}

.hl-card__visual--logo {
    background: linear-gradient(160deg, #0d0f14 0%, #111318 100%);
    padding: 2rem;
}

.hl-card__visual--logo img {
    max-width: 70%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.6));
}

.hl-card:hover .hl-card__visual--logo img {
    transform: scale(1.06);
}

/* MyTreks logo — small square icon, limit size */
.hl-card__visual--mytreks img {
    max-width: 120px;
    max-height: 120px;
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

/* Card body */
.hl-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.hl-pill {
    display: inline-block;
    width: fit-content;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hl-card__body h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.hl-card__body p {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.hl-card__cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: gap 0.2s ease;
}

.hl-card__cta span {
    transition: transform 0.2s ease;
    display: inline-block;
}

.hl-card:hover .hl-card__cta span {
    transform: translateX(4px);
}

/* ==================== HIGHLIGHTS RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .highlights-heading {
        font-size: 1.85rem;
    }

    .hl-card__visual {
        height: 200px;
    }

    .hl-card__top-bar {
        height: 8px;
        border-radius: 0 0 50% 50% / 0 0 8px 8px;
    }

    /* Disable expensive animations on mobile */
    .hl-blob-1, .hl-blob-2, .hl-blob-3 {
        display: none;
    }

    /* Ensure good touch targets */
    .hl-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .hl-card:hover {
        transform: none;
    }

    .hl-card:active {
        transform: scale(0.98);
    }
}

@media (max-width: 480px) {
    .hl-card__visual {
        height: 180px;
    }

    .hl-card__body {
        padding: 1.25rem;
    }

    .highlights-heading {
        font-size: 1.6rem;
    }

    .hl-card__top-bar {
        height: 7px;
    }
}

/* Projects Section Styles */
.projects {
    padding: 8rem 2rem;
    position: relative;
    background: #000000;
    color: #ffffff;
}

.projects .section-title {
    color: #ffffff;
}

.projects .section-subtitle {
    color: #a3a3a3;
}

/* Project Category Selector */
.project-selector-container {
    margin: 3rem auto 4rem;
    max-width: 1000px;
}

.category-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-tab {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(26, 26, 26, 0.05));
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow: hidden;
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(26, 26, 26, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-tab:hover::before {
    opacity: 1;
}

.category-tab:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.category-tab.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(26, 26, 26, 0.15));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.category-tab.active::before {
    opacity: 1;
}

.tab-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.category-tab:hover .tab-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-tab.active .tab-icon {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Category-specific colors */
.category-tab[data-category="ai"] .tab-icon {
    color: #1a1a1a;
    background: rgba(26, 26, 26, 0.1);
}

.category-tab[data-category="ai"].active .tab-icon {
    background: #1a1a1a;
    color: white;
    box-shadow: 0 4px 20px rgba(26, 26, 26, 0.5);
}

.category-tab[data-category="product"] .tab-icon {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.category-tab[data-category="product"].active .tab-icon {
    background: #22c55e;
    color: white;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.5);
}

.category-tab[data-category="analytics"] .tab-icon {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.category-tab[data-category="analytics"].active .tab-icon {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5);
}

.tab-content {
    flex: 1;
    text-align: left;
}

.tab-content h4,
.tab-content .tab-title {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
}

.category-tab:hover .tab-content h4,
.category-tab:hover .tab-content .tab-title {
    color: var(--primary-color);
}

.category-tab.active .tab-content h4,
.category-tab.active .tab-content .tab-title {
    color: #ffffff;
    font-weight: 700;
}

.tab-count {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    border-radius: 0 0 20px 20px;
}

.category-tab.active .tab-indicator {
    transform: scaleX(1);
}

.project-category {
    margin-bottom: 4rem;
    display: none;
}

.project-category.active {
    display: block;
    animation: fadeInUp 0.6s ease;
}

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

.category-title {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}

.category-title i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 0, 0, 0.5);
}

.project-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.project-overlay {
    display: none;
}

.project-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-header {
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-tag {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    color: #c4b5fd;
}

.product-tag {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.5);
    color: #86efac;
}

.analytics-tag {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
    color: #93c5fd;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-weight: 700;
}

.project-content p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.project-details {
    margin: 1.5rem 0;
}

.project-problem,
.project-solution,
.project-approach {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.project-problem strong {
    color: #ef4444;
}

.project-solution strong {
    color: #22c55e;
}

.project-approach strong {
    color: #000000;
}

.project-details strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.project-details p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

.project-details ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.25rem;
    list-style-type: none;
}

.project-details ul li {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.project-details ul li:before {
    content: "▸";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 1rem;
}

.project-tech span {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.8rem;
    color: #e2e8f0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-tech span:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: fit-content;
}

.project-btn:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-btn i {
    font-size: 0.85rem;
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-action-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.project-action-btn i {
    margin-right: 0.5rem;
}

/* ==================== DESIGN SHOWCASE SECTION ==================== */
.design-showcase {
    padding: 8rem 2rem;
    position: relative;
    background: #fafafa;
}

.design-showcase .section-title {
    color: #000000;
}

.design-showcase .section-subtitle {
    color: #525252;
}

.figma-showcase {
    margin-top: 3rem;
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.showcase-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.showcase-title i {
    font-size: 2rem;
    color: #000000;
}

.showcase-title h3 {
    font-size: 2rem;
    color: #000000;
}

.showcase-description {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: #525252;
    font-size: 1.1rem;
    line-height: 1.8;
}

.showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.showcase-tag {
    padding: 0.6rem 1.5rem;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #000000;
    font-weight: 600;
    transition: all 0.3s ease;
}

.showcase-tag:hover {
    background: #000000;
    color: #ffffff;
    font-weight: 600;
}

.showcase-tag:hover {
    background: #000000;
    color: #ffffff;
}

.figma-embed-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* Simple Figma Embed */
.figma-embed-simple {
    width: 100%;
    margin: 2rem auto;
    text-align: center;
}

.figma-scaled-container {
    width: 100%;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    background: #fff;
}

.figma-scaled-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    transform: scale(1.15);
    transform-origin: center center;
}

/* Mobile Figma optimization */
@media (max-width: 768px) {
    .figma-scaled-container {
        height: 70vh;
        min-height: 500px;
        max-height: 700px;
        border-radius: 12px;
    }
    
    .figma-scaled-iframe {
        transform: scale(1);
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .figma-scaled-container {
        height: 60vh;
        min-height: 400px;
        max-height: 600px;
        border-radius: 8px;
    }
}

.surface-frame {
    position: relative;
    width: 100%;
    max-width: 850px;
    aspect-ratio: 3 / 2;
    background: #1a1a1a;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 
        0 0 0 2px #333,
        0 0 0 4px #1a1a1a,
        0 25px 80px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin: 0 auto;
}

.surface-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.tablet-placeholder {
    border-radius: 8px;
}

.figma-prototype.tablet-prototype {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #ffffff;
    border-radius: 0;
    transform: scale(1.75);
    transform-origin: center center;
}

.prototype-controls {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
}

.zoom-btn {
    background: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.zoom-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.1);
}

.zoom-level {
    color: #ffffff;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
    font-size: 0.9rem;
}

.prototype-hint {
    color: #d1d5db;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

.iphone-frame {
    position: relative;
    width: 320px;
    height: 650px;
    background: #000000;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 
        0 0 0 2px #1a1a1a,
        0 0 0 4px #000000,
        0 20px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    margin: 0 auto;
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 30px;
    background: #000000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.iphone-screen::-webkit-scrollbar {
    width: 6px;
}

.iphone-screen::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.iphone-screen::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.iphone-screen::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

.iphone-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 135px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    z-index: 10;
}

.figma-prototype {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: none;
    display: block;
    background: #ffffff;
    border-radius: 35px;
    transition: transform 0.3s ease;
    transform: scale(1.67) translateY(-7.5%);
    transform-origin: center center;
}

/* Figma Placeholder */
.figma-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    border-radius: 35px;
    padding: 2rem;
    text-align: center;
}

.load-figma-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.load-figma-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.load-figma-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.figma-embed-container:hover .iframe-overlay {
    opacity: 0;
}

.view-prototype-btn {
    background: #000000;
    color: #ffffff;
    padding: 1.5rem 3rem;
    border: 2px solid #000000;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.view-prototype-btn i {
    font-size: 1.5rem;
}

.view-prototype-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.project-features {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 15px;
}

.project-features h4 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #000000;
    font-weight: 500;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.feature-list li i {
    color: #22c55e;
    font-size: 1.2rem;
}

.feature-list li:hover {
    padding-left: 1.5rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 8rem 2rem;
    position: relative;
    background: #000000;
    color: #ffffff;
}

.contact .section-title {
    color: #ffffff;
}

.contact .section-subtitle {
    color: #a3a3a3;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .contact-content {
        gap: 2rem;
    }
    
    .contact-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .contact-details a,
    .contact-details p {
        font-size: 0.9rem;
        word-break: break-word;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .contact-form-container {
        padding: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--glow);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-details a,
.contact-details p {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-form-container {
    padding: 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-status {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message i {
    color: #28a745;
    font-size: 1.2rem;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message i {
    color: #dc3545;
    font-size: 1.2rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #000000;
    border-top: 2px solid #1a1a1a;
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.footer-section p {
    color: #a3a3a3;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a3a3a3;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
}

.footer-social a:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    color: #737373;
    font-size: 0.9rem;
}

/* ==================== AI ASSISTANT V2 - MODERN DESIGN ==================== */
.ai-assistant-v2 {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Toggle Button */
.ai-toggle {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}

.ai-toggle:active {
    transform: scale(0.98);
}

.ai-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.ai-toggle-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    opacity: 0;
    z-index: -1;
    animation: ai-pulse 2s ease-out infinite;
}

@keyframes ai-pulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* Chat Window */
.ai-chat-window {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 380px;
    max-height: 540px;
    background: rgba(17, 17, 27, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform-origin: bottom right;
}

.ai-chat-window.active {
    display: flex;
    animation: ai-window-open 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ai-window-open {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Chat Header */
.ai-chat-header {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar-mini {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-avatar-mini svg {
    width: 18px;
    height: 18px;
    color: white;
}

.ai-header-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
}

.ai-close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ai-close svg {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.ai-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ai-close:hover svg {
    color: rgba(255, 255, 255, 0.8);
}

/* Chat Body */
.ai-chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    min-height: 320px;
    max-height: 360px;
}

/* Welcome Screen */
.ai-welcome {
    text-align: center;
    padding: 20px 0;
}

.ai-welcome-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-welcome-icon svg {
    width: 28px;
    height: 28px;
    color: #8b5cf6;
}

.ai-welcome h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.ai-welcome p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* Quick Actions */
.ai-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.ai-action-btn {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-action-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: #ffffff;
}

/* Messages */
.ai-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    animation: ai-message-in 0.3s ease;
}

@keyframes ai-message-in {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-message-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-message-avatar svg {
    width: 16px;
    height: 16px;
    color: white;
}

.ai-message-content {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    border-top-left-radius: 4px;
}

.ai-message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.ai-message.user {
    flex-direction: row-reverse;
}

.ai-message.user .ai-message-avatar {
    background: rgba(255, 255, 255, 0.1);
}

.ai-message.user .ai-message-content {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 14px;
    border-top-right-radius: 4px;
}

.ai-message.user .ai-message-content p {
    color: white;
}

/* Quick Response Buttons */
.quick-responses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-response-btn {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-response-btn:hover {
    background: rgba(99, 102, 241, 0.3);
    border-color: #6366f1;
    color: #c7d2fe;
    transform: translateY(-1px);
}

.quick-response-btn:active {
    transform: translateY(0);
}

/* Typing Indicator */
.ai-typing {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.ai-typing span {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: ai-typing-bounce 1.4s ease-in-out infinite;
}

.ai-typing span:nth-child(1) { animation-delay: 0s; }
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes ai-typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* Chat Footer */
.ai-chat-footer {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ai-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ai-input-wrapper input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.ai-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.ai-input-wrapper input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.ai-input-wrapper button {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ai-input-wrapper button svg {
    width: 18px;
    height: 18px;
    color: white;
}

.ai-input-wrapper button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .ai-assistant-v2 {
        bottom: 16px;
        right: 16px;
    }
    
    .ai-chat-window {
        right: 16px;
        left: 16px;
        width: auto;
        bottom: 88px;
    }
    
    .ai-toggle {
        width: 52px;
        height: 52px;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        align-items: center;
        padding: 2rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        align-items: center;
        padding: 2rem 1rem;
    }
    
    .hero-left,
    .hero-right {
        padding: 0;
        align-items: center;
        padding-bottom: 0;
    }
    
    .project-status {
        margin: 0 auto;
    }
    
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-image-wrapper {
        width: 100%;
        max-width: 468px;
        height: 540px;
        margin: 0 auto;
    }
    
    .hero::before {
        width: 350px;
        height: 350px;
        bottom: -80px;
        left: -80px;
    }
    
    .hero-intro {
        max-width: 100%;
    }
    
    .btn-hire-me {
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-tab {
        padding: 1.5rem 1rem;
    }
    
    .tab-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .tab-content h4 {
        font-size: 1rem;
    }
    
    .tab-count {
        font-size: 0.85rem;
    }
    
    .figma-prototype {
        height: 400px;
    }
    
    .showcase-title {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .showcase-title h3 {
        font-size: 1.5rem;
    }
    
    .showcase-description {
        font-size: 1rem;
    }
    
    .view-prototype-btn {
        font-size: 1rem;
        padding: 1.2rem 2rem;
    }
    
    .project-features {
        padding: 1.5rem;
        margin: 2rem 1rem 0;
    }
    
    .project-features h4 {
        font-size: 1.3rem;
    }
    
    .feature-list li {
        font-size: 1rem;
    }
    
    .differentiators {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .diff-item {
        padding: 1.25rem 0 0 0;
    }

    /* Disable heavy animations on mobile for performance */
    .diff-item::before {
        animation: none;
        opacity: 0.4;
    }

    .expertise-item::before,
    .expertise-item:nth-child(2)::before,
    .expertise-item:nth-child(3)::before {
        display: none;
    }

    /* Better touch targets */
    .experience-card {
        -webkit-tap-highlight-color: transparent;
    }

    .experience-card:hover {
        transform: none;
    }

    .experience-card:active {
        transform: scale(0.99);
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }

    /* Expertise items stack better on mobile */
    .expertise-areas {
        gap: 1rem;
    }

    .expertise-item {
        padding: 1.5rem;
    }

    .expertise-item i {
        font-size: 2rem;
    }

    /* About section mobile */
    .about {
        padding: 4rem 1.25rem;
    }

    /* Skill tags touch friendly */
    .skill-tag {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .why-me-section {
        padding: 2rem 0 3rem;
    }
    
    .why-me-section h3 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    /* Timeline Responsive - Dot on left of line */
    .timeline {
        padding: 0 1rem;
        padding-left: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-start !important;
        padding-left: 50px;
    }
    
    .timeline-item:nth-child(even) {
        justify-content: flex-start !important;
    }
    
    .timeline-dot {
        left: 20px;
        transform: translateX(0);
        width: 16px;
        height: 16px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-content::before,
    .timeline-content::after {
        display: none;
    }
    
    .timeline-badge {
        top: 0.5rem;
        right: 0.5rem;
        left: auto !important;
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
    }
    
    .timeline-header {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }
    
    .timeline-title-group {
        text-align: left;
    }
    
    .timeline-date {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-card.featured {
        grid-column: span 1;
    }
    
    .experience-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .company-logo {
        margin: 0;
        width: 40px;
        height: 40px;
    }
    
    .company-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .experience-badge {
        top: 1rem;
        right: 1rem;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .assistant-chat {
        width: 90vw;
        right: 5vw;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 1.5rem;
    }
    
    .hero-intro {
        font-size: 0.9rem;
    }
    
    .btn-hire-me {
        width: 100%;
    }
    
    .hero-image-wrapper {
        width: 100%;
        max-width: 342px;
        height: 450px;
    }
    
    .hero::before {
        width: 350px;
        height: 350px;
        bottom: -60px;
        left: -60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Differentiators single column at smallest screens */
    .differentiators {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Stat numbers smaller on mobile */
    .stat-number {
        font-size: 2.2rem;
    }

    .stat-suffix {
        font-size: 1.5rem;
    }

    /* Section titles smaller */
    .highlights-heading {
        font-size: 1.5rem;
    }

    .why-me-section h3,
    .subsection-title {
        font-size: 1.5rem;
    }

    /* Experience cards full padding on small phone */
    .experience-card {
        padding: 1.25rem;
    }

    /* Pill labels in highlights smaller */
    .hl-pill {
        font-size: 0.65rem;
    }
}

/* ==================== SCROLL BAR ==================== */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ==================== LOADING ANIMATION ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    animation: fadeIn 0.5s ease-in;
}

/* ==================== FEATURED IN STRIP (#2) ==================== */
.featured-in-strip {
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
    overflow: hidden;
}

.fi-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 100%;
    padding: 0 24px;
}

.fi-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
}

.fi-track-wrap {
    overflow: hidden;
    flex: 1;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

@keyframes fiScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.fi-track {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
    animation: fiScroll 28s linear infinite;
}

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

.fi-item {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
    cursor: default;
}

.fi-item i {
    margin-right: 6px;
    font-size: 0.75rem;
}

.fi-item:hover {
    color: rgba(255,255,255,0.95);
}

.fi-item:nth-child(1) i,
.fi-item:nth-child(11) i { color: #f5c518; }

.fi-item:nth-child(3) i,
.fi-item:nth-child(13) i { color: #a78bfa; }

.fi-item:nth-child(5) i,
.fi-item:nth-child(15) i { color: #60a5fa; }

.fi-item:nth-child(7) i,
.fi-item:nth-child(17) i { color: #34d399; }

.fi-item:nth-child(9) i,
.fi-item:nth-child(19) i { color: #f87171; }

.fi-sep {
    color: rgba(255,255,255,0.15);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ==================== GRAIN TEXTURE (#4) ==================== */
@keyframes grainShift {
    0%, 100% { transform: translate(0, 0); }
    10%  { transform: translate(-2%, -3%); }
    20%  { transform: translate(-4%,  2%); }
    30%  { transform: translate( 2%, -4%); }
    40%  { transform: translate(-1%,  3%); }
    50%  { transform: translate( 3%, -1%); }
    60%  { transform: translate(-3%,  1%); }
    70%  { transform: translate( 1%,  4%); }
    80%  { transform: translate(-2%, -2%); }
    90%  { transform: translate( 4%,  2%); }
}

.about::after,
.projects::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.025;
    pointer-events: none;
    z-index: 0;
    animation: grainShift 0.8s steps(1) infinite;
}

/* ensure child content stays above grain */
.about .container,
.projects .container {
    position: relative;
    z-index: 1;
}

/* ==================== STICKY MOBILE HIRE BAR (#5) ==================== */
.sticky-hire-bar {
    display: none; /* desktop: hidden */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -8px 32px rgba(0,0,0,0.6);
    transform: translateY(110%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sticky-hire-bar.shb-visible {
    transform: translateY(0);
}

.shb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    box-shadow: 0 0 8px #22c55e, 0 0 16px rgba(34,197,94,0.4);
    animation: shbPulse 2s ease-in-out infinite;
}

@keyframes shbPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.7; transform: scale(1.25); }
}

.shb-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    flex: 1;
}

.shb-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #000;
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    padding: 9px 18px;
    border-radius: 100px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(167,139,250,0.35);
}

.shb-btn:hover,
.shb-btn:active {
    transform: scale(1.04);
    box-shadow: 0 6px 24px rgba(167,139,250,0.55);
}

@media (max-width: 768px) {
    .sticky-hire-bar {
        display: flex;
    }
}
