/* Custom Ultra-Thin Hairline Dark Scrollbar (No Horizontal Bar, No Arrows) */
::-webkit-scrollbar {
    width: 3px !important;
    height: 0px !important;
    display: none;
}

@media (min-width: 993px) {
    ::-webkit-scrollbar {
        display: block;
        width: 3px !important;
        height: 0px !important;
    }
}

::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

::-webkit-scrollbar-track {
    background: transparent !important;
}

::-webkit-scrollbar-thumb {
    background: #f15d31 !important;
    border-radius: 10px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff7a54 !important;
}

:root {
    --theme-primary: #f15d31;
    --theme-primary-hover: #ff7247;
    --theme-primary-rgb: 241, 93, 49;
    --theme-glow: rgba(241, 93, 49, 0.4);
    --theme-gradient: linear-gradient(135deg, #ffffff 0%, #f15d31 60%, #c084fc 100%);
    --card-bg: rgba(18, 19, 28, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
}

[data-theme="emerald"] {
    --theme-primary: #10b981;
    --theme-primary-hover: #34d399;
    --theme-primary-rgb: 16, 185, 129;
    --theme-glow: rgba(16, 185, 129, 0.4);
    --theme-gradient: linear-gradient(135deg, #ffffff 0%, #10b981 60%, #38bdf8 100%);
}

[data-theme="purple"] {
    --theme-primary: #a855f7;
    --theme-primary-hover: #c084fc;
    --theme-primary-rgb: 168, 85, 247;
    --theme-glow: rgba(168, 85, 247, 0.4);
    --theme-gradient: linear-gradient(135deg, #ffffff 0%, #a855f7 60%, #ec4899 100%);
}

[data-theme="cyan"] {
    --theme-primary: #06b6d4;
    --theme-primary-hover: #22d3ee;
    --theme-primary-rgb: 6, 182, 212;
    --theme-glow: rgba(6, 182, 212, 0.4);
    --theme-gradient: linear-gradient(135deg, #ffffff 0%, #06b6d4 60%, #3b82f6 100%);
}

[data-theme="gold"] {
    --theme-primary: #f59e0b;
    --theme-primary-hover: #fbbf24;
    --theme-primary-rgb: 245, 158, 11;
    --theme-glow: rgba(245, 158, 11, 0.4);
    --theme-gradient: linear-gradient(135deg, #ffffff 0%, #f59e0b 60%, #ef4444 100%);
}

/* Base Resets */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    background-color: #000;
}

body {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Animations Layer */
.animation-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    background: #000 url('frames/frame_0000.jpg') center top / cover no-repeat;
    pointer-events: none;
}

canvas {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    z-index: 0;
}

.bg-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    /* Creates the dark, slightly warm gradient vibe from the screenshot */
    background: linear-gradient(180deg, rgba(20, 10, 5, 0.4) 0%, rgba(200, 70, 20, 0.15) 40%, rgba(10, 5, 0, 0.9) 70%, #000000 100%);
    pointer-events: none;
}

/* Main Content Wrapper */
.content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 4rem;
    background: transparent;
}

/* Typography & Utils */
h1, h2, h3 { font-weight: normal; }
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.82rem 1.6rem;
    border-radius: 2rem;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
}

.btn-primary, .modal-submit-btn {
    position: relative;
    background: linear-gradient(135deg, var(--theme-primary, #f15d31) 0%, #d44318 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 25px var(--theme-glow, rgba(241, 93, 49, 0.45)), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
    overflow: hidden !important;
    z-index: 1;
}

/* Diagonal Moving Shimmer Beam */
.btn-primary::after, .modal-submit-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -120%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 25%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0.08) 75%,
        transparent 100%
    );
    transform: rotate(25deg);
    animation: buttonShimmerBeam 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes buttonShimmerBeam {
    0% {
        left: -120%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    35% {
        left: 200%;
        opacity: 0.9;
    }
    36%, 100% {
        left: 200%;
        opacity: 0;
    }
}

.btn-primary:hover, .modal-submit-btn:hover {
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 14px 35px var(--theme-glow, rgba(241, 93, 49, 0.65)), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.btn-primary:hover::after, .modal-submit-btn:hover::after {
    animation-duration: 1.8s;
}

.btn-primary:active, .modal-submit-btn:active {
    transform: translateY(-1px) scale(0.98) !important;
    box-shadow: 0 6px 18px var(--theme-glow, rgba(241, 93, 49, 0.4)) !important;
}

.btn-transparent {
    background-color: transparent;
    color: #fff;
}
.btn-transparent:hover { opacity: 0.8; }
.btn-outline {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.btn-outline:hover {
    background: rgba(241, 93, 49, 0.18);
    border-color: var(--theme-primary, #f15d31);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--theme-glow, rgba(241, 93, 49, 0.3));
}
.arrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-left: 0.2rem;
    transition: transform 0.3s ease;
}
.btn-outline:hover .arrow-icon {
    transform: translateX(3px) scale(1.1);
}
.arrow {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--theme-primary, #f15d31);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
    flex-shrink: 0;
}
.btn-primary:hover .arrow {
    transform: translateX(3px) translateY(-1px) scale(1.15);
    background-color: #ffffff;
}
.dot {
    display: inline-block; width: 6px; height: 6px;
    background-color: var(--theme-primary, #f15d31); border-radius: 50%;
    margin-right: 8px; vertical-align: middle;
}

/* Global Modern Glassmorphic Badge / Section Pill */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--theme-primary, #f15d31);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

/* Green Live Status Pill for Availability */
.status-pill-green {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.42rem 1rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.18);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.status-pill-green:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 6px 22px rgba(34, 197, 94, 0.35);
    transform: translateY(-1px);
}

.status-dot-ping {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    box-shadow: 0 0 8px #22c55e;
}

.status-dot-ping::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.8);
    animation: statusDotPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes statusDotPulse {
    0% { transform: scale(0.8); opacity: 1; }
    75%, 100% { transform: scale(2.4); opacity: 0; }
}

/* Bento Quality Tags (Speed, PWA, Security) */
.bento-tags-row {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.bento-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    user-select: none;
}

.bento-pill-tag:hover {
    transform: translateY(-2px);
}

.bento-pill-tag.tag-speed {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
}
.bento-pill-tag.tag-speed:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.bento-pill-tag.tag-pwa {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 2px 10px rgba(56, 189, 248, 0.15);
}
.bento-pill-tag.tag-pwa:hover {
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
}

.bento-pill-tag.tag-security {
    background: rgba(168, 85, 247, 0.12);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.15);
}
.bento-pill-tag.tag-security:hover {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 4px 18px rgba(168, 85, 247, 0.35);
}

/* Navbar - Fixed Smart Header with Completely Transparent Background */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem clamp(1rem, 2.5vw, 2.5rem);
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    box-sizing: border-box;
    gap: 0.5rem;
}

.navbar.scroll-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.logo {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: 0.6px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.logo:hover {
    color: #f15d31;
    text-decoration: none;
}
.nav-pill {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3rem;
    padding: 0.28rem 0.35rem;
    display: flex;
    gap: 0.12rem;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    box-sizing: border-box;
    flex-shrink: 0;
}
.nav-pill a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    padding: 0.42rem 0.75rem;
    border-radius: 2rem;
    transition: all 0.25s ease;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-pill a svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.nav-pill a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}
.nav-pill a:hover svg {
    transform: scale(1.12);
}
.nav-pill a.active {
    color: #ffffff;
    background: #f15d31;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(241, 93, 49, 0.4);
}
.nav-pill a.active svg {
    stroke: #ffffff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-actions .btn {
    white-space: nowrap !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    flex-shrink: 0;
    border-radius: 2rem !important;
}

.navbar .btn-outline {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
}
.navbar .btn-outline:hover {
    border-color: #f15d31 !important;
    color: #f15d31 !important;
    background: rgba(241, 93, 49, 0.2) !important;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    padding-top: 6.5rem;
    padding-bottom: 8rem;
}
.hero-top-text {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    color: #f15d31;
    margin-bottom: -1rem;
    text-align: left;
    margin-left: 8%;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.huge-title {
    font-family: 'Oswald', sans-serif;
    font-size: 11rem;
    line-height: 0.95;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: -2px;
    margin: 0;
    background: linear-gradient(to bottom, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: -1rem;
    padding: 0 5%;
    text-align: left;
}
.hero-left .trusted-badge {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 1rem;
}
.hero-left h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 2rem;
}
.hero-left .actions { display: flex; gap: 1rem; align-items: center; }

.hero-right .glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18), 0 12px 32px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 1rem;
    max-width: 320px;
}
.avatars {
    display: flex;
    margin-bottom: 1rem;
}
.avatar {
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid #222;
    margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.glass-card p {
    font-size: 0.9rem;
    color: #ddd;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.glass-card .tags {
    display: flex; gap: 0.5rem;
}
.glass-card .tag {
    font-size: 0.7rem;
    background: rgba(241, 93, 49, 0.15);
    color: #f15d31;
    padding: 0.3rem 0.6rem;
    border-radius: 1rem;
}

/* Marquee */
.marquee-section {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-sizing: border-box;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 1px;
}
.marquee-content span {
    padding-right: 2rem;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* About Section - Legacy (kept for safety) */
.about-section {
    display: flex;
    justify-content: space-between;
    padding: 8rem 0;
}
.about-label {
    font-size: 0.9rem;
    color: #ccc;
    flex: 0 0 200px;
}
.about-content {
    flex: 1;
    max-width: 800px;
}
.about-content h3 {
    font-size: 2.4rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 2.5rem;
}

/* ===== NEW ABOUT SECTION ===== */
.about-section-new {
    padding: 7rem 0 5rem;
}
.about-badge-row {
    margin-bottom: 2.5rem;
}
.about-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 3.5rem;
    align-items: start;
    position: relative;
}

/* --- Profile Card (Left) - Sticky on Desktop --- */
.about-profile-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.8rem;
    padding: 2rem 1.8rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    align-self: start;
    height: fit-content;
    z-index: 10;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.about-profile-card:hover {
    border-color: rgba(241,93,49,0.3);
    box-shadow: 0 20px 60px rgba(241,93,49,0.08);
}

/* Avatar */
.profile-avatar-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.4rem;
}
.profile-avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #f15d31, #ff8a65, #f15d31);
    animation: spin-ring 4s linear infinite;
    opacity: 0.8;
}
@keyframes spin-ring {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.profile-avatar-inner {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #12131c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    z-index: 1;
}
.profile-status-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #10b981;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(16,185,129,0.5);
}
.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.3rem;
}
.profile-title {
    font-size: 0.85rem;
    color: #f15d31;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.6rem;
    text-align: left;
}
.profile-info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: #94a3b8;
}
.pinfo-icon { font-size: 1rem; }
.profile-social-row {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.psocial-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.psocial-btn:hover { transform: translateY(-3px); }
.psocial-whatsapp { background: #25D366; color: #fff; }
.psocial-whatsapp:hover { box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
.psocial-email { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.psocial-email:hover { border-color: #f15d31; color: #f15d31; box-shadow: 0 6px 20px rgba(241,93,49,0.3); }
.psocial-github { background: #24292e; color: #fff; }
.psocial-github:hover { box-shadow: 0 6px 20px rgba(36,41,46,0.6); }
.profile-cta-row { margin-top: 0.5rem; }

/* --- Bio Side (Right) --- */
.about-bio-side {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.about-headline {
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.35;
    margin-bottom: 0.8rem;
    color: #f8fafc;
}
.about-para {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.75;
}

/* Quick Stats */
.about-quick-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.2rem;
    padding: 1.2rem 1.5rem;
    overflow: hidden;
}
.aqs-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}
.aqs-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f15d31;
    line-height: 1;
}
.aqs-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
}
.aqs-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

/* Skill Pills */
.about-skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.askill-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.42rem 0.95rem;
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}
.askill-pill svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    flex-shrink: 0;
    display: block;
}
.askill-pill:hover {
    background: rgba(241, 93, 49, 0.15);
    border-color: rgba(241, 93, 49, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 93, 49, 0.2);
}

/* Client Logos Infinite Marquee */
.clients-marquee-section {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 2rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    opacity: 0.75;
    box-sizing: border-box;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.clients-marquee-content {
    display: inline-block;
    animation: marquee-slide-right 25s linear infinite;
    white-space: nowrap;
    will-change: transform;
}
.clients-marquee-content .client-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 0 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}
.clients-marquee-content .client-logo:hover {
    color: #f15d31;
}

@keyframes marquee-slide-right {
    0% { transform: translateX(-33.333%); }
    100% { transform: translateX(0); }
}

@keyframes marquee-slide-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
}
.section-heading {
    margin-bottom: 4rem;
}
.section-heading .badge {
    font-size: 0.85rem;
    color: #f15d31;
    margin-bottom: 1rem;
}
.section-heading h2 {
    font-size: 3.5rem;
    font-weight: 400;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.project-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
/* Stagger the second column slightly */
.project-card:nth-child(even) {
    margin-top: 4rem;
}

.project-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.project-image-wrapper .mockup {
    width: 80%;
    height: 70%;
    background: rgba(255,255,255,0.9);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Browser Mockup Live Preview */
.browser-mockup {
    width: 90%;
    height: 82%;
    background: #09090b;
    border-radius: 0.8rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover .browser-mockup {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
}
.browser-header {
    height: 32px;
    background: #18181b;
    display: flex;
    align-items: center;
    padding: 0 0.8rem;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.browser-header .dots {
    display: flex;
    gap: 5px;
}
.browser-header .dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-header .address-bar {
    flex: 1;
    background: #09090b;
    color: #a1a1aa;
    font-size: 0.72rem;
    padding: 2px 10px;
    border-radius: 4px;
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.external-link-btn {
    color: #f15d31;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.external-link-btn:hover {
    color: #fff;
}
.iframe-container {
    position: relative;
    flex: 1;
    width: 100%;
    overflow: hidden;
    background: #09090b;
}
.iframe-container iframe {
    width: 160%;
    height: 160%;
    border: none;
    transform: scale(0.625);
    transform-origin: 0 0;
    pointer-events: none;
}

/* Phone Mockup for Mobile App Preview */
.phone-mockup {
    width: 210px;
    height: 86%;
    background: #09090b;
    border-radius: 1.8rem;
    border: 3px solid #27272a;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0.6rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover .phone-mockup {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(1, 135, 95, 0.6);
}
.phone-speaker {
    width: 45px;
    height: 4px;
    background: #3f3f46;
    border-radius: 2px;
    margin: 0.2rem auto 0.6rem auto;
}
.phone-screen-content {
    flex: 1;
    background: linear-gradient(180deg, #18181b 0%, #09090b 100%);
    border-radius: 1.2rem;
    padding: 1rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.phone-app-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #01875f, #10b981);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 16px rgba(1, 135, 95, 0.4);
}
.phone-app-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
    margin-top: 0.4rem;
    margin-bottom: 0.1rem;
}
.phone-app-developer {
    font-size: 0.7rem;
    color: #a1a1aa;
}
.phone-store-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.3rem 0.6rem;
    border-radius: 16px;
    font-size: 0.7rem;
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.phone-install-btn {
    width: 100%;
    padding: 0.55rem;
    background: #01875f;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    box-shadow: 0 4px 12px rgba(1, 135, 95, 0.4);
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.project-info p {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 1rem;
}
.project-info .pill, 
.btn-case-study {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 2rem;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: inherit;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.project-info .pill {
    cursor: pointer;
    user-select: none;
}

.project-info .pill:hover {
    background: rgba(56, 189, 248, 0.18);
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(56, 189, 248, 0.3);
}

.btn-case-study {
    cursor: pointer;
    margin-left: 0.5rem;
    outline: none;
    line-height: 1.2;
}

.btn-case-study:hover {
    background: rgba(241, 93, 49, 0.15);
    border-color: #f15d31;
    color: #f15d31;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(241, 93, 49, 0.3);
    text-decoration: none !important;
}

/* Case Study Tech Tag Pills */
.case-study-tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 2rem;
    color: #f4f4f5;
    font-size: 0.83rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.case-study-tech-pill:hover {
    background: rgba(241, 93, 49, 0.18);
    border-color: #f15d31;
    color: #f15d31;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(241, 93, 49, 0.3);
}

/* Footer Section */
.site-footer {
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #aaa;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #fff;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-card .quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    font-style: italic;
    margin-bottom: 2rem;
}
.testimonial-card .client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-card .client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.testimonial-card .client-details h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}
.testimonial-card .client-details span {
    font-size: 0.85rem;
    color: #aaa;
}

/* Nav Actions & Resume Button */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}
.btn-outline:hover {
    border-color: #f15d31;
    color: #f15d31;
    background: rgba(241, 93, 49, 0.1);
}

/* Terminal Component */
.terminal-card {
    background: #0d0e15;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    font-family: 'Fira Code', monospace;
}
.terminal-header {
    background: #181926;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.terminal-title {
    font-size: 0.8rem;
    color: #a1a1aa;
    margin-left: 1rem;
}
.terminal-body {
    padding: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #e4e4e7;
}
.t-indent { margin-left: 1.5rem; }
.t-purple { color: #c084fc; }
.t-yellow { color: #fde047; }
.t-blue { color: #60a5fa; }
.t-green { color: #4ade80; }
.t-orange { color: #fb923c; }
.t-prompt { color: #f15d31; font-weight: bold; }
.t-cursor { animation: blink 1s infinite; color: #f15d31; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Stats Counter Section */
.stats-section {
    padding: 4rem 0;
    margin: 3rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 1rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(241, 93, 49, 0.4);
}
.stat-counter {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    color: #f15d31;
    margin-bottom: 0.5rem;
}

/* Skills Section 4-Row Marquee System */
.skills-section {
    padding: 6rem 0;
    overflow: hidden;
    width: 100%;
}

.tech-marquee-container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 3rem;
    padding: 1.5rem 0;
    box-sizing: border-box;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-marquee-row {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 0.6rem 0;
}

.tech-marquee-track {
    display: inline-flex;
    gap: 1.2rem;
    white-space: nowrap;
    will-change: transform;
    padding: 0.4rem 0;
}

.marquee-ltr .tech-marquee-track {
    animation: tech-marquee-right 40s linear infinite;
}

.marquee-rtl .tech-marquee-track {
    animation: tech-marquee-left 40s linear infinite;
}

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

@keyframes tech-marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes tech-marquee-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.skill-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.skill-badge:hover {
    background: rgba(241, 93, 49, 0.18);
    border-color: #f15d31;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(241, 93, 49, 0.3);
}
.skill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    flex-shrink: 0;
}
.skill-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(18, 19, 28, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.2rem;
    border-radius: 1.6rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--theme-primary, #f15d31), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--theme-primary, #f15d31);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(18, 19, 28, 0.9) 100%);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px var(--theme-glow, rgba(241, 93, 49, 0.2));
}

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

.service-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-box {
    transform: scale(1.1) rotate(4deg);
}

.service-tag-pill {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--theme-primary, #f15d31);
    background: rgba(241, 93, 49, 0.1);
    border: 1px solid rgba(241, 93, 49, 0.25);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.3;
}

.service-card p {
    color: #94a3b8;
    line-height: 1.55;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.service-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
}

.service-chip {
    font-size: 0.75rem;
    font-weight: 500;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 0.6rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.service-card:hover .service-chip {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.service-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    padding: 0.7rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.9rem;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.service-card-cta:hover {
    background: var(--theme-primary, #f15d31);
    color: #fff;
    border-color: var(--theme-primary, #f15d31);
    box-shadow: 0 4px 18px var(--theme-glow, rgba(241, 93, 49, 0.35));
    transform: translateY(-1px);
}

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

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

/* Category Filter Tabs */
.filter-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #a1a1aa;
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background: #f15d31;
    border-color: #f15d31;
    color: #fff;
}
.btn-case-study {
    background: transparent;
    border: none;
    color: #f15d31;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.8rem;
    padding: 0;
    display: inline-block;
}
.btn-case-study:hover { text-decoration: underline; }

/* Mockup Content Preview for Projects 3 & 4 */
.mockup-content-preview {
    width: 90%;
    height: 82%;
    background: #0f172a;
    border-radius: 0.8rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.mockup-header-bar {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #38bdf8;
    margin-bottom: 1rem;
}
.mockup-grid {
    display: flex;
    gap: 0.8rem;
}
.mockup-box {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 0.6rem;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #e2e8f0;
}

/* Testimonials Extras */
.stars { color: #fca311; margin-bottom: 0.8rem; letter-spacing: 2px; }
.verified-tick { font-size: 0.75rem; color: #10b981; margin-left: 0.5rem; background: rgba(16, 185, 129, 0.15); padding: 2px 6px; border-radius: 10px; }

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.contact-left h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 1.5rem 0;
}
.highlight-text { color: #f15d31; }
.contact-left p { color: #a1a1aa; line-height: 1.6; margin-bottom: 2rem; }
.contact-quick-links { display: flex; flex-direction: row; align-items: center; gap: 0.75rem; flex-wrap: nowrap; }
.quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.4rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.telegram-btn { background: #0088cc; color: #fff; }
.telegram-btn:hover { background: #0077b5; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4); }
.whatsapp-btn { background: #25D366; color: #fff; }
.whatsapp-btn:hover { background: #20ba59; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); }
.email-btn { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.email-btn:hover { border-color: #f15d31; color: #f15d31; }

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 1.8rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; color: #ccc; margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.8rem;
    padding: 0.8rem 1rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #f15d31;
}
.btn-block { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-card {
    background: #12131a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    border-radius: 1.8rem;
    width: 90%;
    max-width: 520px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9);
}
.close-modal-btn {
    position: absolute;
    top: 1.2rem; right: 1.5rem;
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}
.close-modal-btn:hover { color: #fff; }
.modal-header { margin-bottom: 1.5rem; }
.modal-header h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.modal-header p { color: #aaa; font-size: 0.9rem; }

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem; right: 2rem;
    background: #10b981;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}
.toast.active {
    opacity: 1;
    transform: translateY(0);
}

/* Redesigned Modal Styling */
.modal-redesign {
    max-width: 620px;
    background: linear-gradient(145deg, #13141f 0%, #0d0e15 100%);
    border: 1px solid rgba(241, 93, 49, 0.35);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(241, 93, 49, 0.15);
    border-radius: 2rem;
    padding: 2.5rem;
}

.modal-redesign .modal-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

.modal-redesign .modal-header p {
    color: #a1a1aa;
    font-size: 0.9rem;
}

.modal-form-redesign {
    background: transparent;
    padding: 0;
    border: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.chip-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #d4d4d8;
    padding: 0.45rem 0.9rem;
    border-radius: 1.5rem;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.chip:hover {
    border-color: rgba(241, 93, 49, 0.5);
    color: #fff;
}

.chip.active {
    background: rgba(241, 93, 49, 0.2);
    border-color: #f15d31;
    color: #f15d31;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(241, 93, 49, 0.2);
}

.modal-submit-btn {
    background: linear-gradient(135deg, #f15d31 0%, #d84d23 100%);
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 10px 25px rgba(241, 93, 49, 0.4);
    transition: all 0.3s ease;
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(241, 93, 49, 0.6);
}

/* GPU Acceleration on Canvas */
canvas {
    will-change: transform;
    transform: translateZ(0);
}

/* Top Frame Loading Progress Bar */
#frame-progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #f15d31, #c084fc);
    z-index: 10000;
    transition: width 0.2s ease, opacity 0.4s ease;
    box-shadow: 0 0 10px #f15d31;
}

/* Metallic Gradient Hero Text */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #f15d31 60%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Styled Avatar Initials Badges */
.avatar-img {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 3D Card Perspective Tilt Effect */
.tilt-card {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s ease;
    transform-style: preserve-3d;
}

/* Mobile Hamburger Button & Slide-in Drawer */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
}
.hamburger-btn span {
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0; right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: rgba(13, 14, 21, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10001;
    padding: 2rem 1.8rem 4.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 50px rgba(0,0,0,0.85);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}
.mobile-nav-drawer.active {
    right: 0;
}
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer-logo {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.8px;
    color: #ffffff;
}
.close-drawer-btn {
    background: transparent;
    border: none;
    color: #a1a1aa;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.close-drawer-btn:hover {
    color: #f15d31;
    transform: rotate(90deg);
}
.mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    margin-top: 0.5rem;
}
.mobile-link {
    color: #e4e4e7;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.mobile-link svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mobile-link:hover { color: #f15d31; }

/* Fluid Clamp Typography & Active Touch Feedback */
.huge-title {
    font-size: clamp(3.5rem, 11vw, 11rem);
    line-height: 0.95;
}

button:active, .btn:active, .chip:active, .filter-btn:active, .quick-btn:active {
    transform: scale(0.96);
    transition: transform 0.1s ease;
}

body.drawer-open {
    overflow: hidden;
}

/* Mobile Touch & Tap Optimizations */
button, a, .chip, .filter-btn, .skill-badge, .service-card, .project-card {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Comprehensive Responsive Breakpoints */
@media (max-width: 1200px) {
    .content { padding: 1.5rem 2.5rem; }
    .nav-pill a { padding: 0.42rem 0.8rem; font-size: 0.86rem; gap: 0.35rem; }
    .nav-pill a svg { width: 15px; height: 15px; min-width: 15px; }
}

@media (max-width: 1080px) {
    .nav-pill { display: none !important; }
    .hamburger-btn { display: flex !important; }
}

@media (max-width: 992px) {
    .hero-top-text { margin-left: 0; text-align: center; }
    .hero-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
        margin-top: 1rem;
    }
    .hero-left {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-left h2 { font-size: 2rem; }
    .hero-left .actions {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }
    .hero-right .glass-card {
        max-width: 100%;
        width: 100%;
    }

    .about-section {
        flex-direction: column;
        gap: 2rem;
        padding: 4rem 0;
    }
    .about-label { flex: none; }
    .about-content h3 { font-size: 1.8rem; }

    /* New About responsive */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .about-profile-card {
        position: static !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 1.5rem 1rem !important;
        box-sizing: border-box !important;
    }
    .profile-title {
        font-size: 0.8rem !important;
        word-break: break-word !important;
    }
    .about-bio-side {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .about-content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .about-headline { 
        font-size: clamp(1.3rem, 4vw, 1.8rem) !important; 
        word-break: break-word !important; 
        line-height: 1.35 !important;
    }
    .about-bio, .about-para {
        word-break: break-word !important;
        font-size: 0.95rem !important;
        line-height: 1.65 !important;
    }
    .about-quick-stats { 
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem 0.8rem !important;
        width: 100% !important; 
        padding: 1.2rem 1rem !important;
        box-sizing: border-box !important;
    }
    .aqs-divider { display: none !important; }
    .aqs-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.25rem !important;
    }
    .aqs-num { font-size: 1.6rem !important; font-weight: 800 !important; }
    .aqs-label { font-size: 0.78rem !important; text-align: center !important; }

    .about-skill-pills, .about-skills-badges {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.4rem !important;
        width: 100% !important;
    }
    .askill-pill {
        padding: 0.35rem 0.75rem !important;
        font-size: 0.76rem !important;
    }

    /* Terminal on Mobile / Tablet */
    .terminal-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-top: 1.5rem !important;
        border-radius: 1.2rem !important;
        overflow: hidden !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
    .terminal-header {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        grid-template-rows: auto auto !important;
        align-items: center !important;
        gap: 0.65rem 0.5rem !important;
        padding: 0.8rem 0.9rem !important;
        background: #141524 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .terminal-header .dots {
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2 !important;
        display: flex !important;
        gap: 6px !important;
    }
    .terminal-actions {
        grid-column: 2 / 3 !important;
        grid-row: 1 / 2 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 0.45rem !important;
        margin: 0 !important;
    }
    .term-action-btn {
        padding: 0.32rem 0.75rem !important;
        font-size: 0.76rem !important;
        font-weight: 600 !important;
        border-radius: 0.45rem !important;
        flex-shrink: 0 !important;
    }
    .terminal-tabs {
        grid-column: 1 / 3 !important;
        grid-row: 2 / 3 !important;
        display: flex !important;
        gap: 0.45rem !important;
        margin: 0 !important;
        padding-top: 0.5rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .terminal-tabs::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    .term-tab {
        padding: 0.35rem 0.75rem !important;
        font-size: 0.78rem !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.09) !important;
        border-radius: 0.5rem !important;
        color: #94a3b8 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-weight: 500 !important;
    }
    .term-tab.active {
        background: rgba(241, 93, 49, 0.15) !important;
        border-color: rgba(241, 93, 49, 0.45) !important;
        color: #ffffff !important;
        font-weight: 600 !important;
    }
    .terminal-body {
        padding: 1.1rem 0.95rem !important;
        font-size: 0.82rem !important;
        line-height: 1.7 !important;
        overflow-x: auto !important;
        box-sizing: border-box !important;
        width: 100% !important;
        background: #090a10 !important;
    }
    .terminal-body p, #term-tab-content p {
        white-space: pre-wrap !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        margin: 0.2rem 0 !important;
    }
    .t-indent {
        margin-left: 1rem !important;
    }
    .terminal-input-line {
        margin-top: 1rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding-top: 0.6rem !important;
        border-top: 1px dashed rgba(255, 255, 255, 0.08) !important;
    }
    .terminal-input-line input {
        font-size: 0.8rem !important;
        width: 100% !important;
    }
    .terminal-command-chips {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.45rem !important;
        padding: 0.8rem 0.9rem !important;
        background: #11121c !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .term-chip {
        font-size: 0.74rem !important;
        padding: 0.35rem 0.4rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 0.45rem !important;
        white-space: nowrap !important;
    }

    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1.2rem !important; width: 100% !important; }
    .services-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; width: 100% !important; }
    
    .projects-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; width: 100% !important; }
    .project-card:nth-child(even) { margin-top: 0 !important; }

    .contact-container { grid-template-columns: 1fr !important; gap: 3rem !important; width: 100% !important; }
    .contact-left { text-align: center !important; }
    .contact-quick-links { justify-content: center !important; }
    .contact-left h2 { font-size: 2.4rem !important; }

    .form-row { grid-template-columns: 1fr !important; }
    .modal-card {
        max-height: 90vh !important;
        overflow-y: auto !important;
        padding: 1.8rem !important;
    }
}

@media (max-width: 640px) {
    .content { 
        padding: 1rem 0.75rem !important; 
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    .navbar { margin-bottom: 2rem !important; padding: 0.9rem 0.8rem !important; }
    .logo { 
        font-size: clamp(1.55rem, 5.5vw, 1.85rem) !important; 
        font-weight: 700 !important; 
        letter-spacing: 0.8px !important; 
    }
    .nav-actions .btn-outline { display: none !important; }

    .hero-top-text { font-size: 1rem !important; margin-bottom: 0 !important; }
    .hero-left h2 { font-size: 1.45rem !important; margin-bottom: 1.5rem !important; word-break: break-word !important; }
    
    .actions { flex-direction: column !important; width: 100% !important; gap: 0.8rem !important; }
    .actions .btn { width: 100% !important; justify-content: center !important; }

    .stats-section { padding: 2rem 0 !important; margin: 1.5rem 0 !important; width: 100% !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.8rem !important; }
    .stat-counter { font-size: 1.8rem !important; }
    .stat-card { padding: 1rem 0.4rem !important; }

    .services-section { padding: 3rem 0 !important; width: 100% !important; }
    .services-grid { grid-template-columns: 1fr !important; gap: 1.2rem !important; }
    .service-card { padding: 1.2rem 1rem !important; box-sizing: border-box !important; width: 100% !important; }
    .service-card h3 { font-size: 1.2rem !important; }

    .skills-section { padding: 3rem 0 !important; width: 100% !important; }
    .skills-grid { gap: 0.4rem !important; }
    .skill-badge { padding: 0.45rem 0.75rem !important; font-size: 0.78rem !important; }

    .projects-section { padding: 3rem 0 !important; width: 100% !important; }
    .section-heading h2 { font-size: 1.8rem !important; word-break: break-word !important; }
    .filter-container { gap: 0.35rem !important; flex-wrap: wrap !important; }
    .filter-btn { padding: 0.4rem 0.75rem !important; font-size: 0.75rem !important; }
    
    .project-image-wrapper { aspect-ratio: 16 / 10 !important; }
    .browser-mockup { width: 98% !important; height: 92% !important; }
    
    .testimonials-section { padding: 3rem 0 !important; width: 100% !important; }
    .testimonials-grid { grid-template-columns: 1fr !important; gap: 1.2rem !important; }
    .testimonial-card { padding: 1.2rem 1rem !important; box-sizing: border-box !important; width: 100% !important; }
    .testimonial-card .quote { font-size: 0.92rem !important; }

    .contact-section { padding: 3rem 0 !important; margin-top: 2rem !important; width: 100% !important; }
    .contact-left h2 { font-size: 1.6rem !important; }
    .contact-quick-links { flex-direction: column !important; width: 100% !important; }
    .quick-btn { width: 100% !important; justify-content: center !important; }
    .contact-form { padding: 1.2rem 1rem !important; border-radius: 1.2rem !important; box-sizing: border-box !important; width: 100% !important; }

    .github-stats-section { padding: 2.5rem 0 1.5rem !important; width: 100% !important; }
    .global-map-section { padding: 1.5rem 0 2.8rem !important; width: 100% !important; }
    .github-card-wrapper { margin-top: 1.4rem !important; padding: 1.3rem 1.1rem !important; width: 100% !important; box-sizing: border-box !important; }
    .map-card-wrapper { margin-top: 1.4rem !important; padding: 1.3rem 1.1rem !important; width: 100% !important; box-sizing: border-box !important; }
    .contribution-matrix { margin-top: 1.4rem !important; padding: 1.1rem 0.9rem !important; }

    .footer-content { flex-direction: column !important; gap: 1rem !important; text-align: center !important; }

    .modal-card { padding: 1.4rem !important; width: 94% !important; max-height: 92vh !important; border-radius: 1.4rem !important; }
    .chip { padding: 0.4rem 0.75rem !important; font-size: 0.78rem !important; }
}

/* ===================================================
   NEXT-LEVEL UI, DESIGN & ANIMATION ENHANCEMENTS
====================================================== */

/* 1. Navbar Status Indicator Badge */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-indicator-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 2rem;
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 500;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse-glow 1.8s infinite;
}

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

/* 2. Cmd+K Trigger Button in Navbar */
.cmd-k-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2rem;
    color: #a1a1aa;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cmd-k-trigger-btn:hover {
    border-color: #f15d31;
    color: #fff;
    background: rgba(241, 93, 49, 0.15);
}

.cmd-k-trigger-btn kbd {
    background: rgba(255, 255, 255, 0.12);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    color: #fff;
    font-family: inherit;
}

/* 3. Command Palette Modal */
.cmd-k-modal-overlay {
    backdrop-filter: blur(16px);
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
}

.cmd-k-modal-card {
    background: #12131c;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.2rem;
    width: 90%;
    max-width: 580px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(241, 93, 49, 0.2);
    animation: scale-up 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scale-up {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.cmd-k-search-bar {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.8rem;
}

.cmd-k-search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
}

.cmd-k-search-bar .esc-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    color: #a1a1aa;
}

.cmd-k-options-list {
    padding: 0.8rem;
    max-height: 340px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cmd-k-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #e4e4e7;
}

.cmd-k-category-header {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #71717a;
    padding: 0.5rem 0.8rem 0.2rem;
    font-weight: 700;
}

.cmd-k-option:hover, .cmd-k-option.active {
    background: rgba(241, 93, 49, 0.16) !important;
    border: 1px solid var(--theme-primary, rgba(241, 93, 49, 0.4));
    color: #ffffff;
    transform: translateX(4px);
}

.cmd-k-highlight {
    color: var(--theme-primary, #f15d31);
    font-weight: 700;
    text-decoration: underline;
}

.cmd-k-option .opt-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: 0.8rem;
}

.cmd-k-option .opt-text strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.cmd-k-option .opt-text span {
    font-size: 0.78rem;
    color: #a1a1aa;
}

.cmd-k-option kbd {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #ccc;
    font-family: 'Fira Code', monospace;
}

/* 4. Floating Quick Action Dock & Bottom Bar Container (Side-by-Side in ONE Horizontal Line) */
/* 4. Floating Quick Action Dock Bar (Perfectly Centered on Desktop, Tablet & Mobile) */
.bottom-dock-bar-container {
    position: fixed !important;
    bottom: 2rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    z-index: 9999 !important;
    pointer-events: none !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease !important;
    width: max-content !important;
    max-width: 95vw !important;
    margin: 0 auto !important;
}

.bottom-dock-bar-container.scroll-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(70px) !important;
}

.floating-dock-wrapper {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    background: rgba(13, 14, 22, 0.85);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 3rem;
    padding: 0.38rem 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    pointer-events: auto !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 0 25px rgba(241, 93, 49, 0.12);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.floating-dock-wrapper:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 0 30px rgba(241, 93, 49, 0.2);
}

.dock-item {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e4e4e7;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    box-sizing: border-box;
}

.dock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.dock-cmd-badge {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #e4e4e7;
}

.dock-item:hover {
    background: linear-gradient(135deg, #f15d31 0%, #d44318 100%);
    border-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.22) translateY(-6px);
    box-shadow: 0 10px 25px rgba(241, 93, 49, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.dock-item:hover .dock-cmd-badge {
    color: #ffffff;
}

.dock-item:hover .dock-icon {
    transform: scale(1.08);
}

.dock-tooltip {
    position: absolute;
    top: -38px;
    background: #0f1016;
    color: #ffffff;
    padding: 0.25rem 0.65rem;
    border-radius: 2rem;
    font-size: 0.72rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(6px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.dock-item:hover .dock-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Standalone Floating Scroll to Top Button (Right-Aligned to Bottom-Right) */
.scroll-to-top-btn {
    position: fixed !important;
    bottom: 2rem !important;
    right: 2rem !important;
    left: auto !important;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(18, 19, 28, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(241, 93, 49, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}

.scroll-to-top-btn svg {
    transition: transform 0.25s ease;
    stroke: #ffffff;
}

.scroll-to-top-btn.visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.scroll-to-top-btn.scroll-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(70px) !important;
}

.scroll-to-top-btn:hover {
    background: #f15d31 !important;
    border-color: #f15d31 !important;
    transform: translateY(-4px) scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(241, 93, 49, 0.6);
}

.scroll-to-top-btn:hover svg {
    transform: translateY(-3px);
    stroke: #ffffff;
}

@media (max-width: 768px) {
    .status-indicator-badge { display: none !important; }
    .cmd-k-trigger-btn { display: none !important; }
    #frame-progress-bar { display: none !important; }
    .scroll-to-top-btn {
        bottom: calc(4.8rem + env(safe-area-inset-bottom, 0px)) !important;
        right: 1.2rem !important;
        width: 42px !important;
        height: 42px !important;
    }
}

/* Automatically hide Floating Dock & Scroll-to-Top when any Modal Popup is active */
body.modal-active .floating-dock-wrapper,
body:has(.modal-overlay.active) .floating-dock-wrapper {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(50px) !important;
}

body.modal-active .scroll-to-top-btn,
body:has(.modal-overlay.active) .scroll-to-top-btn {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(50px) !important;
}

/* ===================================================
   ULTRA-PREMIUM NEW FEATURES CSS
====================================================== */

/* 1. Accent Color Switcher */

.accent-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2rem;
    margin-right: 0.5rem;
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.color-dot.active, .color-dot:hover {
    transform: scale(1.25);
    border-color: #ffffff;
}

/* Terminal CLI Helpers */
.t-cyan { color: #38bdf8 !important; }
.t-pink { color: #f43f5e !important; }
.t-matrix { color: #22c55e !important; font-weight: 700; text-shadow: 0 0 8px #22c55e; }
.t-cmd-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.4rem 0;
    font-size: 0.8rem;
    font-family: 'Fira Code', monospace;
}
.t-cmd-table td {
    padding: 0.2rem 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.t-cmd-table td:first-child {
    color: #fde047;
    font-weight: 600;
    width: 90px;
}
.term-matrix-canvas {
    width: 100%;
    height: 140px;
    background: #090a0f;
    border-radius: 0.4rem;
    margin: 0.4rem 0;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.15);
}

/* 2. Interactive Terminal Improvements */
.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.terminal-tabs {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.8rem;
    overflow-x: auto;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.terminal-tabs::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.term-tab {
    padding: 0.2rem 0.6rem;
    border-radius: 0.4rem;
    font-size: 0.75rem;
    color: #71717a;
    background: transparent;
    cursor: pointer;
    font-family: 'Fira Code', monospace;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.term-tab.active, .term-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.terminal-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.term-action-btn {
    padding: 0.2rem 0.6rem;
    border-radius: 0.4rem;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.term-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.term-action-btn.run-btn {
    background: rgba(16, 185, 129, 0.18);
    border-color: #10b981;
    color: #10b981;
    font-weight: 600;
}

.term-action-btn.run-btn:hover {
    background: #10b981;
    color: #000;
}

.terminal-log-output {
    margin: 0.6rem 0;
    font-family: 'Fira Code', monospace;
    font-size: 0.82rem;
    color: #10b981;
}

.log-line {
    margin: 0.2rem 0;
    opacity: 0;
    animation: fadeInLog 0.3s forwards ease-in-out;
}

@keyframes fadeInLog {
    to { opacity: 1; }
}

.terminal-input-line input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fde047;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

.terminal-command-chips {
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #12131d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.term-chip {
    padding: 0.25rem 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    font-size: 0.75rem;
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.2s ease;
}

.term-chip:hover {
    background: rgba(241, 93, 49, 0.2);
    border-color: #f15d31;
    color: #fff;
}

/* 3. GitHub Live Stats Section */
.github-stats-section {
    padding: 4rem 0 2rem;
}

.github-card-wrapper {
    background: rgba(18, 19, 28, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(15px);
    margin-top: 2rem;
}

.github-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
}

.github-header .user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.github-header .user-info div {
    display: flex;
    flex-direction: column;
}

.github-header .user-info strong {
    font-size: 1.1rem;
    color: #fff;
}

.github-header .user-info span {
    font-size: 0.8rem;
    color: #a1a1aa;
}

.github-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    text-align: center;
    margin-bottom: 1.8rem;
}

.gh-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem 0.8rem;
    border-radius: 1rem;
}

.gh-number {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: #f15d31;
    font-weight: 500;
}

.gh-label {
    font-size: 0.8rem;
    color: #a1a1aa;
}

.gh-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(241, 93, 49, 0.5);
    object-fit: cover;
}

.gh-repos-list-title {
    font-size: 0.85rem;
    color: #a1a1aa;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.gh-repos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.gh-repo-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.gh-repo-chip:hover {
    background: rgba(241, 93, 49, 0.12);
    border-color: #f15d31;
    transform: translateY(-2px);
}

.gh-repo-chip .repo-icon {
    font-size: 1.3rem;
    margin-right: 0.8rem;
}

.gh-repo-chip .repo-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gh-repo-chip .repo-info strong {
    font-size: 0.95rem;
    color: #fff;
}

.gh-repo-chip .repo-info span {
    font-size: 0.78rem;
    color: #a1a1aa;
}

.gh-repo-chip .repo-arrow {
    color: #f15d31;
    font-size: 0.9rem;
}

.contribution-matrix {
    background: #0b0c13;
    padding: 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.matrix-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.matrix-link {
    font-size: 0.8rem;
    color: #f15d31;
    text-decoration: none;
}

.matrix-link:hover {
    text-decoration: underline;
}

.gh-chart-wrapper {
    background: #06070a;
    padding: 1rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
    display: flex;
    justify-content: center;
}

.gh-chart-img {
    width: 100%;
    max-width: 850px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(241, 93, 49, 0.2));
}

.gh-events-stream {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.8rem;
    font-size: 0.85rem;
    color: #d4d4d8;
}

.event-item .event-icon {
    margin-right: 0.8rem;
    font-size: 1rem;
}

.event-item .event-text {
    flex: 1;
}

.event-item .event-text strong {
    color: #fff;
}

.event-item .event-time {
    font-size: 0.75rem;
    color: #a1a1aa;
}

/* 4. Performance Comparison & Core Web Vitals Section */
.performance-section {
    padding: 5rem 0;
}

/* Lighthouse Audit Bar */
.lighthouse-audit-bar {
    background: rgba(13, 14, 21, 0.85);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 1.5rem;
    padding: 1.8rem 2.2rem;
    margin-top: 2.2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(34, 197, 94, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.audit-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.audit-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pulse-dot-green {
    width: 9px;
    height: 9px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: statusDotPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.audit-target-url {
    font-size: 0.82rem;
    color: #94a3b8;
}

.audit-target-url code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 0.4rem;
    color: #38bdf8;
    font-family: monospace;
}

.lighthouse-gauges-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gauge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}

.gauge-svg-wrapper {
    position: relative;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-gauge {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 7;
}

.gauge-fill {
    fill: none;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 264;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gauge-fill.score-100 {
    stroke: #22c55e;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.5));
}

.gauge-number {
    position: absolute;
    font-size: 1.35rem;
    font-weight: 800;
    color: #22c55e;
    font-family: var(--font-heading, system-ui, sans-serif);
}

.gauge-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f1f5f9;
}

.speed-diag-btn-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.speed-test-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.speed-test-btn:hover {
    border-color: #22c55e !important;
    color: #4ade80 !important;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.3) !important;
}

.diag-status-badge {
    font-size: 0.82rem;
    font-weight: 600;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
}

/* Core Web Vitals 5-Grid */
.web-vitals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.vitals-card {
    background: rgba(13, 14, 21, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.2rem;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.vitals-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.vitals-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vitals-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

.vitals-grade {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
}

.vitals-grade.good {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.vitals-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-top: 0.2rem;
}

.vitals-val .unit {
    font-size: 0.95rem;
    color: #22c55e;
    margin-left: 0.15rem;
}

.vitals-desc {
    font-size: 0.76rem;
    color: #94a3b8;
    margin-bottom: 0.2rem;
}

.vitals-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
    margin-top: auto;
}

.vitals-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #22c55e);
    border-radius: 9999px;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

/* Speed Comparison Card */
.speed-comparison-card {
    background: #0d0e15;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    overflow: hidden;
    margin-top: 1.8rem;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.comparison-hint-banner {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem 1.2rem;
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
}

.comparison-slider-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    user-select: none;
}

.comparison-side {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
}

.side-content-inner {
    position: absolute;
    top: 0;
    height: 100%;
    padding: 1.5rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.side-slow {
    background: linear-gradient(135deg, #1f0a0a 0%, #0d0e15 100%);
}

.side-slow .side-content-inner {
    left: 0;
    right: auto;
    width: 100%;
    max-width: 580px;
    padding: 1.5rem 2.2rem;
    text-align: left;
    align-items: flex-start;
}

.side-fast {
    background: linear-gradient(135deg, #2b110a 0%, #0d0e15 100%);
    width: 50%;
    border-right: 2px solid #f15d31;
    z-index: 2;
}

.side-fast .side-content-inner {
    left: 0;
    right: auto;
    width: 100%;
    max-width: 580px;
    padding: 1.5rem 2.2rem;
    text-align: left;
    align-items: flex-start;
}

.speed-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.speed-badge.slow {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.speed-badge.fast {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.speed-details h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.perf-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.84rem;
    color: #cbd5e1;
}

.perf-checklist li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.comparison-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 32px;
    height: 100%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: ew-resize;
}

.handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #f15d31;
    box-shadow: 0 0 10px rgba(241, 93, 49, 0.8);
}

.handle-icon {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f15d31;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(241, 93, 49, 0.9);
    border: 2px solid #fff;
    z-index: 2;
}

/* Optimization Pillars 4-Card Bento */
.optimization-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 1.8rem;
}

.pillar-card {
    background: rgba(13, 14, 21, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.3rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pillar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(241, 93, 49, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.8rem;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}

.pillar-card p {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #94a3b8;
    margin: 0;
}

@media (max-width: 1024px) {
    .web-vitals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .optimization-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lighthouse-gauges-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    .web-vitals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .comparison-slider-container {
        height: 270px;
    }
    .side-slow .side-content-inner,
    .side-fast .side-content-inner {
        padding: 1rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .web-vitals-grid {
        grid-template-columns: 1fr;
    }
    .optimization-pillars-grid {
        grid-template-columns: 1fr;
    }
}

/* 5. Custom Glowing Cursor Ring */
.custom-cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: #f15d31;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease;
}

.custom-cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 38px; height: 38px;
    border: 1px solid rgba(241, 93, 49, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.25s ease, height 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-cursor-ring.expanded {
    width: 70px;
    height: 70px;
    background: rgba(241, 93, 49, 0.2);
    border-color: #f15d31;
    backdrop-filter: blur(4px);
}

.cursor-text {
    font-size: 0.7rem;
    color: #fff;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-cursor-ring.expanded .cursor-text {
    opacity: 1;
}

@media (max-width: 768px) {
    .nav-actions .btn { display: none !important; }
    .custom-cursor-dot, .custom-cursor-ring { display: none !important; }
    .github-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.8rem !important;
    }

    .github-header .btn {
        width: 100% !important;
        justify-content: center !important;
        font-size: 0.8rem !important;
        padding: 0.5rem 0.8rem !important;
        white-space: nowrap !important;
    }

    .github-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }

    .gh-repos-grid {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
    }

    .faq-container {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .gh-stat {
        padding: 0.8rem 0.4rem !important;
        overflow: hidden !important;
    }

    .gh-stat .gh-number {
        font-size: 1.3rem !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.2 !important;
    }

    .gh-stat .gh-label {
        font-size: 0.72rem !important;
    }
    
    .comparison-slider-container {
        height: 220px !important;
    }
    
    .side-slow .side-content-inner, 
    .side-fast .side-content-inner {
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.8rem 1.2rem !important;
        text-align: left !important;
        align-items: flex-start !important;
        box-sizing: border-box !important;
    }

    .speed-badge {
        font-size: 0.68rem !important;
        padding: 0.2rem 0.5rem !important;
        margin-bottom: 0.3rem !important;
    }

    .speed-details h3 {
        font-size: 0.92rem !important;
        margin-bottom: 0.2rem !important;
        line-height: 1.25 !important;
    }

    .speed-details p {
        font-size: 0.72rem !important;
        line-height: 1.35 !important;
    }
}

/* Frequently Asked Questions (FAQ) Section */
.faq-section {
    padding: 6rem 0;
}

.faq-container {
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.faq-item {
    background: rgba(18, 19, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.faq-item:hover {
    border-color: rgba(241, 93, 49, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-question {
    width: 100%;
    padding: 1.4rem 1.8rem;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #f15d31;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1.2rem;
    color: #f15d31;
    transition: transform 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: rgba(241, 93, 49, 0.2);
    border-color: #f15d31;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 1.8rem;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 1.8rem 1.6rem 1.8rem;
}

.faq-answer p {
    color: #a1a1aa;
    line-height: 1.8;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.faq-answer strong {
    color: #ffffff;
}

/* Arcade Game Modal Styles */
.arcade-modal-card {
    background: #090a10;
    border: 1px solid rgba(241, 93, 49, 0.4);
    border-radius: 1.5rem;
    width: 90%;
    max-width: 680px;
    padding: 1.8rem;
    position: relative;
    box-shadow: 0 0 50px rgba(241, 93, 49, 0.25), inset 0 0 20px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.arcade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.arcade-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #f15d31;
    letter-spacing: 1px;
}

.arcade-stats {
    display: flex;
    gap: 0.8rem;
}

.arcade-stat-badge {
    padding: 0.35rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.8rem;
    font-size: 0.8rem;
    color: #a1a1aa;
}

.arcade-stat-badge strong {
    color: #ffffff;
}

.arcade-screen {
    position: relative;
    width: 100%;
    height: 380px;
    background: #030407;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

#arcade-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.arcade-overlay-start, .arcade-overlay-end {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(3, 4, 7, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 10;
}

.arcade-overlay-start h2, .arcade-overlay-end h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.6rem;
    font-family: 'Oswald', sans-serif;
}

.arcade-overlay-start p, .arcade-overlay-end p {
    color: #a1a1aa;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 420px;
}

.arcade-rank-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(241, 93, 49, 0.2);
    border: 1px solid #f15d31;
    border-radius: 2rem;
    color: #f15d31;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.arcade-end-actions {
    display: flex;
    gap: 1rem;
}

.arcade-footer-tips {
    text-align: center;
    font-size: 0.8rem;
    color: #71717a;
}

/* Interactive Resume Preview Modal Styles */
.resume-card {
    background: #0d0e15;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    width: 90%;
    max-width: 720px;
    padding: 2rem;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(241, 93, 49, 0.15);
}

.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

#download-resume-file-btn {
    padding: 0.45rem 1rem !important;
    font-size: 0.85rem !important;
    border-radius: 1.5rem !important;
    margin-right: 2rem;
    box-shadow: 0 4px 15px rgba(241, 93, 49, 0.4);
}

.resume-header h2 {
    font-size: 1.6rem;
    color: #ffffff;
}

.resume-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.resume-section h3 {
    font-size: 1.1rem;
    color: #f15d31;
    margin-bottom: 0.6rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 0.4rem;
}

.resume-section p {
    color: #a1a1aa;
    line-height: 1.7;
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
}

.resume-section strong {
    color: #ffffff;
}

/* ===================================================
   DEVICE-SPECIFIC HARDENING & PERFORMANCE OPTIMIZATIONS
====================================================== */

/* 1. Desktop GPU Acceleration & Layer Containment */
.tilt-card,
.spotlight-card,
.speed-comparison-card,
.modal-card,
.floating-dock-wrapper,
.bottom-dock-bar-container,
.scroll-to-top-btn,
.custom-cursor-ring {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    transform-style: preserve-3d;
}

/* 2. Tablet Adaptive 2-Column Responsive Layouts (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    .github-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .faq-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .hero-bottom {
        flex-direction: column !important;
        gap: 2rem !important;
    }
}

/* 3. Mobile 48px Minimum Touch Targets & GPU Momentum Scroll (<= 768px) */
@media (max-width: 768px) {
    .nav-link,
    .filter-btn,
    .faq-question,
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }

    .modal-card,
    .resume-modal-card,
    #terminal-output-body,
    .cmd-k-modal-card {
        -webkit-overflow-scrolling: touch;
    }
}

/* 4. DOM Memory Reduction via CSS content-visibility */
.projects-section,
.services-section,
.github-stats-section,
.performance-section,
.faq-section,
.certifications-section,
.global-map-section {
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

/* ===================================================
   VERIFIED CERTIFICATIONS & ARCHITECTURE BADGES
====================================================== */
.certifications-section {
    padding: 6rem 0;
}

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

.cert-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(18, 19, 28, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.6rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--theme-primary, #f15d31), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.cert-card:hover {
    transform: translateY(-6px);
    border-color: var(--theme-primary, #f15d31);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(18, 19, 28, 0.95) 100%);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px var(--theme-glow, rgba(241, 93, 49, 0.25));
}

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

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.cert-icon {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.cert-badge-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.cert-badge-tag.verified {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.cert-card h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.4rem;
    font-weight: 700;
    line-height: 1.35;
}

.cert-issuer {
    font-size: 0.8rem;
    color: var(--theme-primary, #f15d31);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cert-desc {
    font-size: 0.86rem;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 1.1rem;
}

.cert-competencies-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.cert-competency-chip {
    font-size: 0.72rem;
    font-weight: 500;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.55rem;
    border-radius: 0.5rem;
}

.cert-card:hover .cert-competency-chip {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
}

.cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 0.9rem;
    font-size: 0.78rem;
    margin-top: auto;
}

.cert-id {
    color: #64748b;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.72rem;
}

.cert-verify-link {
    color: #10b981;
    font-weight: 600;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.25rem 0.6rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

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

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

/* ===================================================
   INTERACTIVE GLOBAL CLIENT MAP (200+ DELIVERIES)
====================================================== */
.global-map-section {
    padding: 2.5rem 0 4.5rem;
}

.map-card-wrapper {
    background: #0d0e15;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.8rem;
    padding: 2.5rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.map-stats-summary {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.map-stat-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.82rem;
    color: #e4e4e7;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot-live {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

.map-svg-container {
    position: relative;
    width: 100%;
    height: 420px;
    background: radial-gradient(circle at 50% 50%, rgba(241, 93, 49, 0.06) 0%, rgba(9, 10, 15, 0.98) 75%);
    border-radius: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.real-world-map-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1) opacity(0.22) hue-rotate(180deg) brightness(1.2);
    pointer-events: none;
    user-select: none;
}

.map-grid-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.map-pin-group {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.map-pin-group:hover, .map-pin-group.active {
    transform: translate(-50%, -50%) scale(1.25);
    z-index: 10;
}

.pin-core {
    width: 12px;
    height: 12px;
    background: #f15d31;
    border-radius: 50%;
    box-shadow: 0 0 14px #f15d31;
    position: relative;
    z-index: 2;
}

.pin-pulse {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(241, 93, 49, 0.35);
    animation: realMapPulse 2s infinite ease-out;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.flag-icon {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.flag-icon-pin {
    width: 15px;
    height: 11px;
    object-fit: cover;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

.flag-icon-inline {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.pin-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 5px;
    white-space: nowrap;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    background: rgba(13, 14, 21, 0.88);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
}

@keyframes realMapPulse {
    0% { transform: translate(-50%, -50%) scale(0.3); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.region-chip.active, .region-chip:hover {
    background: rgba(241, 93, 49, 0.18) !important;
    border-color: #f15d31 !important;
}

.map-region-tooltip {
    position: relative;
    background: rgba(18, 19, 28, 0.8);
    border: 1px solid rgba(241, 93, 49, 0.4);
    padding: 1.1rem 1.5rem;
    border-radius: 1.2rem;
    backdrop-filter: blur(14px);
    width: 100%;
    margin-top: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.map-region-tooltip h4 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tooltip-badge {
    display: inline-block;
    font-size: 0.78rem;
    color: #f15d31;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.map-region-tooltip p {
    font-size: 0.85rem;
    color: #a1a1aa;
    line-height: 1.5;
    margin: 0;
}

.map-regions-grid {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.region-chip {
    flex: 1;
    min-width: 140px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    color: #fff;
}

.region-chip strong {
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.region-chip span {
    font-size: 0.76rem;
    color: #a1a1aa;
}

.region-chip:hover, .region-chip.active {
    background: rgba(241, 93, 49, 0.18);
    border-color: #f15d31;
}

@media (max-width: 1024px) {
    .certifications-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }
    
    .map-card-wrapper {
        padding: 1.2rem !important;
    }

    .map-svg-container {
        height: 280px !important;
    }

    .map-regions-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }

    .region-chip {
        min-width: 0 !important;
        padding: 0.6rem 0.8rem !important;
    }
}

@media (max-width: 600px) {
    .map-svg-container {
        height: 220px !important;
    }

    .pin-label {
        font-size: 0.65rem !important;
        padding: 2px 4px !important;
    }

    .map-regions-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile & Tablet Optimizations for Projects Grid & Cards */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .project-card:nth-child(even) {
        margin-top: 0 !important;
    }

    .project-card {
        padding: 1rem !important;
        border-radius: 1.2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .project-image-wrapper {
        width: 100% !important;
        aspect-ratio: 16 / 10 !important;
        border-radius: 1rem !important;
        padding: 0.5rem !important;
        box-sizing: border-box !important;
    }

    .browser-mockup {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0.6rem !important;
    }

    .browser-header {
        height: 28px !important;
        padding: 0 0.5rem !important;
        gap: 0.4rem !important;
    }

    .browser-header .address-bar {
        font-size: 0.62rem !important;
        padding: 1px 6px !important;
        max-width: 160px !important;
    }

    .phone-mockup {
        width: 170px !important;
        height: 92% !important;
        padding: 0.4rem !important;
    }

    .project-info {
        padding: 0.5rem 0.2rem 0 0.2rem !important;
    }

    .project-info h3 {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }

    .project-info p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }
}

/* Projects Archive Pagination Bar Styling */
.pagination-wrapper {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination-status {
    font-size: 0.9rem;
    color: #a1a1aa;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 0.8rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(241, 93, 49, 0.2);
    border-color: #f15d31;
    color: #fff;
}

.pagination-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.pagination-page-num {
    min-width: 38px;
    height: 38px;
    padding: 0 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 0.7rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-page-num.active, .pagination-page-num:hover {
    background: #f15d31;
    border-color: #f15d31;
    color: #fff;
    box-shadow: 0 4px 12px rgba(241, 93, 49, 0.4);
}

/* ============================================================
   LINEAR / RAYCAST DYNAMIC SPOTLIGHT BORDER & AMBIENT GLOW
   ============================================================ */

.spotlight-card, .bento-card, .project-card, .service-card, .stat-card, .speed-comparison-card, .terminal-card, .marquee-testimonial-card {
    position: relative;
    overflow: hidden;
}

/* Mouse Following Radial Spotlight Border */
.spotlight-card::before, .bento-card::before, .project-card::before, .service-card::before, .stat-card::before, .marquee-testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(
        380px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        var(--theme-primary, #f15d31),
        rgba(255, 255, 255, 0.22) 30%,
        transparent 65%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.spotlight-card:hover::before, .bento-card:hover::before, .project-card:hover::before, .service-card:hover::before, .stat-card:hover::before, .marquee-testimonial-card:hover::before {
    opacity: 1;
}

/* Soft Ambient Radial Light Spill Inside Card */
.spotlight-card::after, .bento-card::after, .project-card::after, .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        480px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        var(--theme-glow, rgba(241, 93, 49, 0.1)),
        transparent 70%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.spotlight-card:hover::after, .bento-card:hover::after, .project-card:hover::after, .service-card:hover::after {
    opacity: 1;
}

/* GPU Hardware Acceleration & Performance Polish */
.project-card, .service-card, .stat-card, .tilt-card {
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Accessibility Focus Visible Rings */
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent-color, #a855f7);
    outline-offset: 3px;
}

/* Mobile Drawer & Modal Backdrop Scroll Containment */
body.drawer-open, body.modal-active {
    overflow: hidden;
    overscroll-behavior: contain;
}

/* ============================================================
   NEW UI/UX ENHANCEMENTS: Theme Switcher, Bento Grid & Marquee
   ============================================================ */

/* 1. Theme Color Picker Pill */
.theme-picker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    padding: 0.35rem 0.6rem;
    border-radius: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.theme-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 0;
}

.theme-dot:hover {
    transform: scale(1.3);
}

.theme-dot.active {
    transform: scale(1.25);
    border-color: #fff;
    box-shadow: 0 0 10px currentColor;
}

/* Dynamic Theme Primary Accents */
.btn-primary, .modal-submit-btn, .pagination-page-num.active, .pagination-page-num:hover, .nav-pill a.active, .filter-btn.active, .filter-btn:hover {
    background: var(--theme-primary, #f15d31) !important;
    border-color: var(--theme-primary, #f15d31) !important;
    box-shadow: 0 6px 20px var(--theme-glow, rgba(241, 93, 49, 0.4)) !important;
}

.gradient-text {
    background: var(--theme-gradient, linear-gradient(135deg, #ffffff 0%, #f15d31 60%, #c084fc 100%)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.highlight-text, .section-heading .badge, .about-label, .t-prompt, .btn-case-study, .external-link-btn {
    color: var(--theme-primary, #f15d31) !important;
}

/* 2. Apple / Vercel Modern 4-Column Bento Grid (Strict 2-Line Layout) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.bento-card {
    background: rgba(18, 19, 28, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1.5rem;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--theme-primary, #f15d31);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px var(--theme-glow, rgba(241, 93, 49, 0.2));
}

.bento-span-2 {
    grid-column: span 2;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-span-2 {
        grid-column: span 1;
    }
}

/* 3. Smooth Infinite Dual-Row Client Reviews Marquee */
.testimonials-marquee-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    overflow: hidden;
    padding: 1rem 0 3.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-sizing: border-box;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-row-wrapper {
    overflow: hidden;
    width: 100%;
}

/* Row 1: Right to Left */
.testimonials-track-rtl {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marqueeTrackRTL 40s linear infinite;
    will-change: transform;
}

/* Row 2: Left to Right */
.testimonials-track-ltr {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marqueeTrackLTR 40s linear infinite;
    will-change: transform;
}

.testimonials-track-rtl:hover,
.testimonials-track-ltr:hover {
    animation-play-state: paused;
}

@keyframes marqueeTrackRTL {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

@keyframes marqueeTrackLTR {
    0% { transform: translateX(calc(-50% - 0.75rem)); }
    100% { transform: translateX(0); }
}

.marquee-testimonial-card {
    width: 380px;
    flex-shrink: 0;
    background: rgba(18, 19, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1.4rem;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.marquee-testimonial-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--theme-primary, #f15d31);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px var(--theme-glow, rgba(241, 93, 49, 0.25));
}

/* 4. Mobile Floating Dock Ergonomics & Responsiveness */
@media (max-width: 768px) {
    .bottom-dock-bar-container {
        position: fixed !important;
        bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px)) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        max-width: calc(100vw - 16px) !important;
        width: max-content !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 9999 !important;
        margin: 0 auto !important;
    }

    .floating-dock-wrapper {
        padding: 0.32rem 0.45rem !important;
        gap: 0.32rem !important;
        border-radius: 2.5rem !important;
        background: rgba(13, 14, 22, 0.92) !important;
        backdrop-filter: blur(28px) saturate(190%) !important;
        -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 0 20px rgba(241, 93, 49, 0.15) !important;
    }

    .dock-item {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .dock-icon svg {
        width: 15px !important;
        height: 15px !important;
    }

    .dock-cmd-badge {
        font-size: 0.68rem !important;
        font-weight: 700 !important;
    }

    .desktop-only-dock {
        display: none !important;
    }

    .theme-picker {
        display: none !important; /* Keep mobile navbar clean */
    }
}

@media (max-width: 380px) {
    .bottom-dock-bar-container {
        bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px)) !important;
        max-width: calc(100vw - 8px) !important;
    }

    .floating-dock-wrapper {
        padding: 0.25rem 0.35rem !important;
        gap: 0.22rem !important;
    }

    .dock-item {
        width: 33px !important;
        height: 33px !important;
        min-width: 33px !important;
        min-height: 33px !important;
    }

    .dock-icon svg {
        width: 14px !important;
        height: 14px !important;
    }

    .dock-cmd-badge {
        font-size: 0.62rem !important;
    }
}

@media (hover: none) {
    .dock-tooltip {
        display: none !important;
    }

    .dock-item:active {
        transform: scale(0.92) !important;
        background: linear-gradient(135deg, #f15d31 0%, #d44318 100%) !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
        color: #ffffff !important;
    }
}


