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

        :root {
            --primary-color: #8b5cf6;
            --secondary-color: #6366f1;
            --accent-color: #f59e0b;
            --text-color: #e5e7eb;
            --text-secondary: #9ca3af;
            --bg-color: #0a0a0f;
            --bg-secondary: #111118;
            --card-bg: #1a1a24;
            --card-hover: #242430;
            --border-color: rgba(139, 92, 246, 0.2);
            --gradient: #2563eb;
            --gradient-2: #1e40af;
            --gradient-3: #1d4ed8;
            --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            --shadow-hover: 0 30px 80px rgba(139, 92, 246, 0.3);
            --glow: 0 0 30px rgba(139, 92, 246, 0.5);
        }

        /* Light Theme */
        [data-theme="light"] {
            --primary-color: #7c3aed;
            --secondary-color: #6366f1;
            --accent-color: #f59e0b;
            --text-color: #1f2937;
            --text-secondary: #4b5563;
            --bg-color: #ffffff;
            --bg-secondary: #f9fafb;
            --card-bg: #ffffff;
            --card-hover: #f3f4f6;
            --border-color: rgba(139, 92, 246, 0.3);
            --gradient: #2563eb;
            --gradient-2: #1e40af;
            --gradient-3: #1d4ed8;
            --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            --shadow-hover: 0 20px 60px rgba(139, 92, 246, 0.2);
            --glow: 0 0 20px rgba(139, 92, 246, 0.3);
        }

        html, body {
            font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background: var(--bg-color);
            overflow: hidden;
            height: 100%;
            margin: 0;
            padding: 0;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Animated Background */
        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            background: var(--bg-color);
            background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
            /* animation removed */
            transition: background 0.5s ease;
        }

        [data-theme="light"] .animated-bg {
            background: var(--bg-color);
        }

        @keyframes gradientShift {
            0%, 100% { 
                background-position: 0% 0%, 100% 100%, 0% 100%, 0% 0%;
                opacity: 1;
            }
            50% { 
                background-position: 100% 0%, 0% 100%, 100% 0%, 0% 0%;
                opacity: 0.8;
            }
        }

        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            background: rgba(37, 99, 235, 0.2);
            border-radius: 50%;
            /* animation removed */
            box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
            transition: background 0.5s ease, box-shadow 0.5s ease;
        }

        [data-theme="light"] .particle {
            background: rgba(37, 99, 235, 0.1);
            box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
        }

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

        /* Navigation */
        nav {
            background: rgba(10, 10, 15, 0.7);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            padding: 1.2rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
            border-bottom: 1px solid var(--border-color);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        [data-theme="light"] nav {
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        nav.scrolled {
            padding: 0.8rem 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 3rem;
            flex-wrap: wrap;
            align-items: center;
        }

        nav a {
            text-decoration: none;
            color: var(--text-secondary);
            font-weight: 500;
            font-size: 1rem;
            position: relative;
            padding: 0.5rem 1rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        nav a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--gradient);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        nav a:hover {
            color: var(--text-color);
            transform: translateY(-2px);
        }

        nav a.active {
            color: var(--primary-color);
        }

        nav a:hover::before {
            width: 80%;
        }

        /* Hamburger Menu */
        .hamburger-menu {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            margin-left: 1rem;
            z-index: 1001;
        }

        .hamburger-line {
            width: 25px;
            height: 3px;
            background: var(--text-color);
            margin: 3px 0;
            transition: all 0.3s ease;
            transform-origin: center;
        }

        .hamburger-menu.active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .hamburger-menu.active .hamburger-line:nth-child(2) {
            opacity: 0;
        }

        .hamburger-menu.active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        nav a.active::before {
            width: 80%;
            background: var(--gradient);
        }

        /* Theme Toggle Button */
        .theme-toggle {
            z-index: 1001;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(26, 26, 36, 0.9);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            color: var(--text-color);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: var(--shadow);
            line-height: 1;
        }

        /* Desktop theme toggle - in nav bar */
        .theme-toggle-desktop {
            position: absolute !important;
            right: 2rem !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            bottom: auto !important;
            left: auto !important;
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
            margin-left: auto;
        }

        /* Mobile theme toggle - floating bottom left */
        .theme-toggle-mobile {
            position: fixed !important;
            bottom: 1.2rem !important;
            left: 2rem !important;
            top: auto !important;
            right: auto !important;
        }

        /* Hide mobile button on desktop */
        @media (min-width: 769px) {
            .theme-toggle-mobile {
                display: none !important;
            }
        }

        /* Hide desktop button on mobile */
        @media (max-width: 768px) {
            .theme-toggle-desktop {
                display: none !important;
            }
        }

        .theme-toggle:hover {
            background: var(--gradient);
            border-color: transparent;
            transform: scale(1.1) rotate(15deg);
            box-shadow: var(--glow), var(--shadow-hover);
        }

        .theme-toggle-desktop:hover {
            transform: translateY(-50%) scale(1.1) rotate(15deg) !important;
        }

        [data-theme="light"] .theme-toggle {
            background: rgba(255, 255, 255, 0.9);
            border-color: rgba(139, 92, 246, 0.3);
        }

        [data-theme="light"] .theme-toggle:hover {
            background: var(--gradient);
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            width: 100vw;
            max-width: 100vw !important;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-color);
            padding: 0;
            position: absolute;
            overflow: hidden;
            left: 0 !important;
            transform: scale(0.95) translateX(100%);
        }

        .hero.active {
            transform: scale(1) translateX(0);
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* Use relative path from CSS file (styles/) to root directory */
            /* Fallback gradient will show if image fails to load */
            background-color: var(--bg-color);
            background: var(--bg-color);
            z-index: -2;
            transition: background 0.5s ease;
        }

        [data-theme="light"] .hero::before {
            background: var(--bg-color);
        }

        .hero::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: transparent;
            /* animation removed */
            z-index: -1;
            transition: background 0.5s ease;
        }

        [data-theme="light"] .hero::after {
            background: transparent;
        }

        /* @keyframes rotate removed - background animation eliminated */

        .hero-content {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 1400px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            padding: 0 4rem;
        }

        .hero-left {
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: left;
        }

        .hero-right {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .hero-main-info {
            background: rgba(26, 26, 36, 0.85);
            backdrop-filter: blur(30px) saturate(180%);
            border-radius: 32px;
            padding: 2.5rem;
            margin-top: 2rem;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow), var(--glow);
            animation: fadeInUp 1.2s;
            transition: background 0.5s ease, border-color 0.5s ease;
        }

        [data-theme="light"] .hero-main-info {
            background: rgba(255, 255, 255, 0.9);
        }

        .recent-project {
            background: rgba(26, 26, 36, 0.85);
            backdrop-filter: blur(30px) saturate(180%);
            border-radius: 32px;
            padding: 2.5rem;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow), var(--glow);
            animation: fadeInUp 1.4s;
            transition: background 0.5s ease, border-color 0.5s ease;
        }

        [data-theme="light"] .recent-project {
            background: rgba(255, 255, 255, 0.9);
        }

        .recent-project h2 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .recent-project h3 {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 1rem;
            line-height: 1.3;
            color: var(--primary-color);
        }

        .recent-project p {
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .project-features-preview {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .feature-badge {
            background: rgba(139, 92, 246, 0.15);
            color: var(--primary-color);
            padding: 0.4rem 0.9rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            border: 1px solid rgba(139, 92, 246, 0.3);
            transition: all 0.3s ease;
        }

        [data-theme="light"] .feature-badge {
            background: rgba(139, 92, 246, 0.1);
            border-color: rgba(139, 92, 246, 0.2);
        }

        .feature-badge:hover {
            background: rgba(139, 92, 246, 0.25);
            border-color: rgba(139, 92, 246, 0.5);
            transform: translateY(-2px);
        }

        [data-theme="light"] .feature-badge:hover {
            background: rgba(139, 92, 246, 0.2);
            border-color: rgba(139, 92, 246, 0.4);
        }

        .recent-project .project-cta {
            margin-top: 0;
            padding: 0.9rem 1.8rem;
            font-size: 0.95rem;
            text-transform: none;
            letter-spacing: 0.3px;
        }

        /* Hero Project Styles */
        .hero-main {
            perspective: 1000px;
        }

        .hero-project {
            background: rgba(26, 26, 36, 0.85);
            backdrop-filter: blur(30px) saturate(180%);
            border-radius: 32px;
            padding: 2.5rem;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow), var(--glow);
            animation: fadeInUp 1.4s;
            transition: all 0.5s ease;
            transform-style: preserve-3d;
            transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
            position: relative;
        }

        .hero-project::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 32px;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
            z-index: -1;
        }

        .hero-project:hover {
            transform: perspective(1000px) rotateX(4deg) rotateY(-4deg) translateZ(15px);
            box-shadow: var(--shadow), var(--glow), 0 20px 60px rgba(139, 92, 246, 0.4);
        }

        .hero-project:hover::before {
            opacity: 1;
        }

        [data-theme="light"] .hero-project {
            background: rgba(255, 255, 255, 0.9);
        }

        .project-label {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .project-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 1rem;
            line-height: 1.3;
            color: var(--primary-color);
        }

        .project-description {
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .greeting-text {
            font-size: 1.2rem;
            color: var(--text-secondary);
            font-weight: 500;
            margin-bottom: 0.5rem;
            padding-top: 2rem;
            display: block;
        }

        .hero-name {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            animation: fadeInUp 1s;
            line-height: 1.2;
            position: relative;
            display: block;
            background-color: transparent !important;
            color: var(--text-color);
            transition: background-image 0.5s ease;
            transform: translateZ(0);
            will-change: background-image;
        }

        [data-theme="light"] .hero-name {
            color: var(--text-color);
        }

        .hero-main-info h2 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text-color);
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .hero-main-info p {
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 0.5rem;
        }

        .hero-main-info .highlight {
            color: var(--primary-color);
            font-weight: 600;
        }

        .hero-content h1:not(.hero-name) {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            animation: fadeInUp 1s;
            color: var(--text-color);
            line-height: 1.2;
            transition: color 0.5s ease;
            position: relative;
            display: inline-block;
            isolation: isolate;
        }

        [data-theme="light"] .hero-content h1:not(.hero-name) {
            color: var(--text-color);
        }

        .hero-content .typing-text {
            font-size: 1.5rem;
            margin-bottom: 0;
            opacity: 0.95;
            animation: fadeInUp 1.2s;
            min-height: 2.5rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .hero-content .typing-text::after {
            content: '|';
            animation: blink 1s infinite;
            margin-left: 5px;
        }

        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }

        .hero-description {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            text-align: left;
            margin-top: 2rem;
            padding-top: 1.5rem;
            animation: fadeInUp 1.3s;
        }

        .hero-description p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            line-height: 1.7;
            margin: 0;
            text-align: justify;
        }

        @keyframes screenGlow {
            0% {
                transform: translate(-150%, -150%);
                opacity: 0;
            }
            50% {
                opacity: 1;
            }
            100% {
                transform: translate(150%, 150%);
                opacity: 0;
            }
        }

        .hero-content .cta {
            display: inline-block;
            padding: 1.2rem 2.5rem;
            background: var(--gradient);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            animation: fadeInUp 1.4s;
            box-shadow: var(--glow), var(--shadow);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(139, 92, 246, 0.3);
        }

        .project-cta {
            display: inline-block;
            padding: 1.2rem 2.5rem;
            background: var(--gradient);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            animation: fadeInUp 1.6s;
            box-shadow: 0 0 60px rgba(139, 92, 246, 0.6), var(--shadow-hover);
            position: relative;
            overflow: hidden;
            border: 2px solid rgba(139, 92, 246, 0.5);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 2rem;
        }

        .project-cta::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
            z-index: -1;
        }

        .project-cta:hover {
            transform: translateY(-8px) scale(1.08);
            box-shadow: 0 0 80px rgba(139, 92, 246, 0.8), var(--shadow-hover);
            border-color: rgba(139, 92, 246, 0.8);
        }

        .project-cta:hover::before {
            width: 400px;
            height: 400px;
        }

        .hero-content .cta::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: var(--gradient);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
            z-index: -1;
        }

        .hero-content .cta:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 0 50px rgba(139, 92, 246, 0.6), var(--shadow-hover);
            color: white;
        }

        .hero-content .cta:hover::before {
            width: 300px;
            height: 300px;
        }

        .hero-intro {
            max-width: 800px;
            margin: clamp(2rem, 5vh, 4rem) auto 2rem;
            font-size: 1.2rem;
            line-height: 1.8;
            opacity: 0.95;
            animation: fadeInUp 1.3s;
        }

        .project-preview {
            background: rgba(26, 26, 36, 0.8);
            backdrop-filter: blur(20px) saturate(180%);
            border-radius: 24px;
            padding: 2.5rem;
            margin: 2rem auto;
            max-width: 700px;
            border: 1px solid var(--border-color);
            animation: fadeInUp 1.5s;
            box-shadow: var(--shadow), var(--glow);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        [data-theme="light"] .project-preview {
            background: rgba(255, 255, 255, 0.9);
        }

        .project-preview:hover {
            transform: translateY(-5px);
            border-color: rgba(139, 92, 246, 0.5);
            box-shadow: var(--shadow-hover), 0 0 40px rgba(139, 92, 246, 0.4);
        }

        .project-preview h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .project-preview p {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .cta-group {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 2rem;
        }

        .cta-secondary {
            display: inline-block;
            padding: 1.2rem 2.5rem;
            background: rgba(26, 26, 36, 0.6);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid var(--border-color);
            backdrop-filter: blur(20px);
        }

        [data-theme="light"] .cta-secondary {
            background: rgba(255, 255, 255, 0.8);
            color: var(--text-color);
        }

        .cta-secondary:hover {
            background: rgba(139, 92, 246, 0.2);
            border-color: rgba(139, 92, 246, 0.5);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
        }

        /* Project Detail Section */
        .project-detail {
            height: 100vh;
            padding: 0;
            background: var(--bg-secondary);
            position: relative;
            overflow: hidden;
            justify-content: center;
            align-items: center;
        }

        .project-detail-content {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
        }

        /* Feature Subscreens Container */
        .feature-subscreens {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            margin: 0;
        }

        .feature-subscreen {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr;
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
            padding: 4rem;
            padding-bottom: 8rem;
            box-sizing: border-box;
            z-index: 1;
            gap: 3rem;
            align-items: end;
        }

        /* Override grid layout for sections with vertical scrolling */
        .feature-subscreen[data-feature="backoffice"],
        .feature-subscreen[data-feature="website"],
        .feature-subscreen[data-feature="mobile-app"] {
            display: block;
            align-items: stretch;
            padding: 0;
        }

        .feature-subscreen[data-feature="overview"] {
            padding-bottom: 4rem;
        }

        .feature-subscreen.active {
            opacity: 1;
            transform: translateX(0);
            pointer-events: auto;
            z-index: 10;
        }

        .feature-subscreen.prev {
            transform: translateX(-100%);
            opacity: 0;
        }

        /* Vertical Scroll Container for Backoffice, Website, Mobile App */
        .vertical-scroll-container {
            width: 100%;
            height: 100%;
            overflow-y: auto;
            overflow-x: hidden;
            scroll-behavior: smooth;
            padding-right: 1rem;
        }

        .vertical-scroll-container::-webkit-scrollbar {
            width: 8px;
        }

        .vertical-scroll-container::-webkit-scrollbar-track {
            background: rgba(139, 92, 246, 0.1);
            border-radius: 4px;
        }

        .vertical-scroll-container::-webkit-scrollbar-thumb {
            background: rgba(139, 92, 246, 0.5);
            border-radius: 4px;
        }

        .vertical-scroll-container::-webkit-scrollbar-thumb:hover {
            background: rgba(139, 92, 246, 0.7);
        }

        .vertical-screen {
            min-height: 100vh;
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr;
            gap: 3rem;
            align-items: center;
            padding: 4rem;
            padding-bottom: 8rem;
            box-sizing: border-box;
        }

        .feature-subscreen[data-feature="backoffice"] .vertical-screen,
        .feature-subscreen[data-feature="website"] .vertical-screen,
        .feature-subscreen[data-feature="mobile-app"] .vertical-screen {
            padding-top: 2rem;
        }

        /* Vertical Navigation Indicator */
        .vertical-nav-indicator {
            position: fixed;
            right: 2rem;
            top: 50%;
            transform: translateY(-50%);
            z-index: 2001;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            align-items: center;
            padding: 1rem 0.5rem;
            background: rgba(10, 10, 15, 0.9);
            backdrop-filter: blur(20px);
            border-radius: 2rem;
            border: 1px solid rgba(139, 92, 246, 0.3);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        [data-theme="light"] .vertical-nav-indicator {
            background: rgba(255, 255, 255, 0.9);
            border-color: rgba(139, 92, 246, 0.5);
        }

        .vertical-nav-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(139, 92, 246, 0.3);
            border: 2px solid rgba(139, 92, 246, 0.5);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .vertical-nav-dot:hover {
            background: rgba(139, 92, 246, 0.6);
            transform: scale(1.3);
            box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
        }

        .vertical-nav-dot.active {
            background: var(--primary-color);
            border-color: var(--primary-color);
            transform: scale(1.4);
            box-shadow: 0 0 20px rgba(139, 92, 246, 0.7);
        }

        .vertical-nav-dot.active::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 4px;
            height: 4px;
            background: white;
            border-radius: 50%;
        }

        /* Hide indicator when not on vertical scroll sections or when feature is not active */
        .feature-subscreen[data-feature="overview"] .vertical-nav-indicator,
        .feature-subscreen:not(.active) .vertical-nav-indicator {
            display: none !important;
        }

        /* Laptop Mockup */
        .laptop-mockup {
            width: 100%;
            max-width: 600px;
            position: relative;
            margin: 0;
            flex-shrink: 0;
            grid-column: 1;
            grid-row: 1;
            align-self: end;
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        /* When laptop-mockup is inside a flex container, remove grid positioning */
        .vertical-screen > div[style*="flex-direction: column"] > .laptop-mockup {
            grid-column: auto;
            grid-row: auto;
            align-self: auto;
            cursor: pointer;
        }

        /* Floating animation for feature subscreen mockups (excluding overview) */
        .feature-subscreen:not([data-feature="overview"]) .laptop-mockup {
            animation: float 4s ease-in-out infinite;
        }

        .laptop-mockup-3d {
            transform: rotateX(15deg) rotateY(15deg) rotateZ(-2deg);
            transform-style: preserve-3d;
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            filter: brightness(1);
        }

        .laptop-mockup-3d:hover {
            transform: rotateX(10deg) rotateY(20deg) rotateZ(-1deg) scale(1.08) translateY(-10px);
        }

        .laptop-frame {
            background: #ffffff;
            border-radius: 12px 12px 0 0;
            padding: 15px;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 
                        0 0 60px rgba(139, 92, 246, 0.2),
                        inset 0 2px 4px rgba(0, 0, 0, 0.05),
                        0 20px 40px rgba(0, 0, 0, 0.2);
            position: relative;
            border: 1px solid rgba(200, 200, 200, 0.5);
            transform: translateZ(20px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .laptop-mockup-3d:hover .laptop-frame {
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 
                        inset 0 2px 4px rgba(0, 0, 0, 0.1),
                        0 15px 30px rgba(0, 0, 0, 0.2);
            border-color: rgba(139, 92, 246, 0.3);
        }

        .laptop-screen {
            width: 100%;
            aspect-ratio: 16 / 10;
            background: #000;
            border-radius: 4px;
            overflow: hidden;
            position: relative;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
            min-height: 400px;
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .laptop-mockup-3d:hover .laptop-screen {
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
        }

        .laptop-mockup-3d:hover .laptop-screen::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 200%;
            height: 200%;
            background: transparent;
            /* animation removed */
            pointer-events: none;
            z-index: 10;
        }

        .laptop-screen-content {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            background: #000;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Feature subscreen images should fit source image size - let image determine aspect ratio */
        .feature-subscreen:not([data-feature="overview"]) .laptop-screen {
            aspect-ratio: auto !important;
            height: auto !important;
            min-height: 0;
        }

        .feature-subscreen:not([data-feature="overview"]) .laptop-screen-content {
            width: 100%;
            height: auto;
            display: block;
        }

        .laptop-mockup-3d:hover .laptop-screen-content {
            transform: scale(1.02);
        }

        .laptop-screen-placeholder {
            width: 100%;
            height: 100%;
            background: var(--card-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            font-size: 1.2rem;
            position: relative;
        }

        .laptop-screen-placeholder::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: transparent;
        }

        .laptop-base {
            width: 100%;
            height: 20px;
            background: #f5f5f5;
            border-radius: 0 0 20px 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
                        0 15px 50px rgba(0, 0, 0, 0.15);
            position: relative;
            transform: translateZ(0px) rotateX(-5deg);
            transform-origin: top;
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .laptop-mockup-3d:hover .laptop-base {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2),
                        0 15px 35px rgba(0, 0, 0, 0.15);
        }

        /* Fullscreen Modal */
        .mockup-fullscreen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(10, 10, 15, 0.5);
            backdrop-filter: blur(30px);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.5s ease;
            overflow: visible;
        }

        [data-theme="light"] .mockup-fullscreen {
            background: rgba(255, 255, 255, 0.5);
        }

        .mockup-fullscreen.active {
            opacity: 1;
            pointer-events: auto;
        }

        .mockup-fullscreen-content {
            position: relative;
            width: 90%;
            max-width: 1600px;
            transform: scale(0.8);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: visible;
            padding: 2rem;
            box-sizing: border-box;
            perspective: 1000px;
        }

        .mockup-fullscreen-content.has-phone-mockup {
            max-width: 400px;
        }

        .mockup-fullscreen.active .mockup-fullscreen-content {
            transform: scale(1);
        }

        .mockup-fullscreen .laptop-mockup-3d {
            transform: none;
            width: 100%;
            max-width: 100%;
            overflow: visible;
            transform-style: preserve-3d;
            transition: transform 0.1s ease-out;
        }

        .mockup-fullscreen .phone-mockup-3d {
            transform: none;
            width: 100%;
            max-width: 100%;
            overflow: visible;
            transform-style: preserve-3d;
            transition: transform 0.1s ease-out;
        }
        
        .mockup-fullscreen .phone-mockup {
            max-width: 350px;
            width: 100%;
            margin: 0 auto;
        }

        .mockup-fullscreen .laptop-mockup,
        .mockup-fullscreen .phone-mockup {
            max-width: 100%;
            overflow: visible;
        }

        .mockup-fullscreen .laptop-frame,
        .mockup-fullscreen .phone-frame {
            overflow: visible;
        }

        .mockup-fullscreen .laptop-screen,
        .mockup-fullscreen .phone-screen {
            overflow: hidden;
            /* Aspect ratio will be set dynamically by JavaScript */
            aspect-ratio: auto;
        }

        .mockup-fullscreen .laptop-screen-content,
        .mockup-fullscreen .phone-screen-content {
            object-fit: contain;
            object-position: center;
            width: 100%;
            height: 100%;
            cursor: zoom-in;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform-origin 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            transform-origin: center center;
        }

        .mockup-fullscreen .laptop-screen-content.zoomed,
        .mockup-fullscreen .phone-screen-content.zoomed {
            cursor: zoom-out;
        }

        .mockup-fullscreen .laptop-screen,
        .mockup-fullscreen .phone-screen {
            cursor: zoom-in;
        }

        .mockup-fullscreen .laptop-screen.zoomed,
        .mockup-fullscreen .phone-screen.zoomed {
            cursor: zoom-out;
        }

        .mockup-close-button {
            position: fixed;
            top: 2rem;
            right: 2rem;
            width: 50px;
            height: 50px;
            background: rgba(26, 26, 36, 0.9);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: 50%;
            color: var(--text-color);
            font-size: 1.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 10001;
            pointer-events: auto;
        }

        [data-theme="light"] .mockup-close-button {
            background: rgba(255, 255, 255, 0.9);
        }

        .mockup-close-button:hover {
            background: var(--gradient);
            border-color: transparent;
            transform: rotate(90deg) scale(1.1);
            box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
        }

        .laptop-base::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 4px;
            background: rgba(200, 200, 200, 0.6);
            border-radius: 0 0 4px 4px;
        }

        /* Mobile Phone Mockup */
        .phone-mockup {
            width: 100%;
            max-width: 300px;
            position: relative;
            margin: 0;
            flex-shrink: 0;
            transform-style: preserve-3d;
            perspective: 1000px;
            cursor: pointer;
        }

        /* Floating animation for feature subscreen phone mockups (excluding overview) */
        .feature-subscreen:not([data-feature="overview"]) .phone-mockup {
            animation: float 4s ease-in-out infinite;
        }

        .phone-mockup-3d {
            transform: rotateX(15deg) rotateY(-15deg) rotateZ(5deg);
            transform-style: preserve-3d;
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            filter: brightness(1);
        }

        .phone-mockup-3d:hover {
            transform: rotateX(10deg) rotateY(-20deg) rotateZ(3deg) scale(1.08) translateY(-10px);
        }

        /* Mobile App section - phone mockups face right */
        .feature-subscreen[data-feature="mobile-app"] .phone-mockup-3d {
            transform: rotateX(15deg) rotateY(15deg) rotateZ(-5deg);
        }

        .feature-subscreen[data-feature="mobile-app"] .phone-mockup-3d:hover {
            transform: rotateX(10deg) rotateY(20deg) rotateZ(-3deg) scale(1.08) translateY(-10px);
        }

        .phone-frame {
            background: #ffffff;
            border-radius: 30px;
            padding: 12px;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 
                        0 0 60px rgba(139, 92, 246, 0.2),
                        inset 0 2px 4px rgba(0, 0, 0, 0.05),
                        0 20px 40px rgba(0, 0, 0, 0.2);
            position: relative;
            border: 2px solid rgba(200, 200, 200, 0.5);
            transform: translateZ(20px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .phone-mockup-3d:hover .phone-frame {
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 
                        inset 0 2px 4px rgba(0, 0, 0, 0.1),
                        0 15px 30px rgba(0, 0, 0, 0.2);
            border-color: rgba(139, 92, 246, 0.3);
        }

        .phone-screen {
            width: 100%;
            aspect-ratio: 9 / 19.5;
            background: #000;
            border-radius: 22px;
            overflow: hidden;
            position: relative;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
            min-height: 500px;
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .phone-mockup-3d:hover .phone-screen {
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
        }

        .phone-mockup-3d:hover .phone-screen::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 200%;
            height: 200%;
            background: transparent;
            /* animation removed */
            pointer-events: none;
            z-index: 10;
        }

        .phone-screen-content {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            background: #000;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .phone-mockup-3d:hover .phone-screen-content {
            transform: scale(1.02);
        }

        .phone-notch {
            position: absolute;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 55px;
            height: 18px;
            background: #000;
            border-radius: 9px;
            z-index: 20;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 
                        inset 0 1px 2px rgba(255, 255, 255, 0.1);
        }

        /* Overview Screen Layout */
        .feature-subscreen[data-feature="overview"] {
            grid-template-columns: 1.3fr 1fr;
            grid-template-rows: auto 1fr;
            gap: 4rem 4rem;
            row-gap: 0.5rem;
            padding: 4rem;
        }

        .overview-screen {
            display: contents;
        }

        .overview-title {
            grid-column: 1 / -1;
            grid-row: 1;
            width: 100%;
            text-align: center;
            margin-bottom: 0;
        }

        .overview-intro {
            grid-column: 1;
            grid-row: 2;
            display: flex;
            flex-direction: column;
            gap: 2rem;
            align-self: start;
            max-height: 600px;
            overflow-y: auto;
            padding-right: 1rem;
            margin-top: 0;
        }

        .overview-mockups {
            grid-column: 2;
            grid-row: 2;
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            align-self: start;
            margin-top: 2rem;
        }

        /* Hide mockup titles on desktop */
        .mockup-title-mobile {
            display: none;
        }

        .overview-mockups .laptop-mockup,
        .overview-mockups .phone-mockup {
            position: absolute;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            animation: float 4s ease-in-out infinite;
        }

        .overview-mockups .laptop-mockup:first-child {
            right: 15%;
            bottom: 15%;
            max-width: 400px;
            z-index: 5;
            animation: float 4s ease-in-out infinite;
            animation-delay: 0s;
        }

        .overview-mockups .laptop-mockup:nth-child(2) {
            right: 35%;
            bottom: 20%;
            max-width: 400px;
            z-index: 4;
            animation: float 4.5s ease-in-out infinite;
            animation-delay: 1.3s;
        }

        .overview-mockups .phone-mockup {
            right: 0%;
            bottom: 25%;
            transform: none;
            max-width: 220px;
            z-index: 1;
            animation: float 3.8s ease-in-out infinite;
            animation-delay: 0.7s;
        }

        /* Ensure overview mockups scale proportionally */
        .overview-mockups .laptop-screen {
            min-height: 0 !important;
        }

        .overview-mockups .phone-screen {
            min-height: 0 !important;
        }

        /* Callout lines and labels */
        .overview-mockups .laptop-mockup:first-child::after,
        .overview-mockups .laptop-mockup:nth-child(2)::after,
        .overview-mockups .phone-mockup::after {
            content: '';
            position: absolute;
            pointer-events: none;
            z-index: 0;
        }

        /* Callout line for first laptop (Backoffice) - highest */
        .overview-mockups .laptop-mockup:first-child::after {
            content: 'Backoffice';
            left: 50%;
            top: -180px;
            transform: translateX(-50%);
            white-space: nowrap;
            font-size: 1.8rem;
            color: var(--text-color);
            font-weight: 700;
            text-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
            letter-spacing: 0.5px;
        }

        .overview-mockups .laptop-mockup:first-child::before {
            content: '';
            position: absolute;
            left: 50%;
            top: -130px;
            transform: translateX(-50%);
            width: 3px;
            height: 80px;
            background: rgba(37, 99, 235, 0.6);
            z-index: 0;
            box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
        }

        /* Callout line for second laptop (Website) - middle */
        .overview-mockups .laptop-mockup:nth-child(2)::after {
            content: 'Website';
            left: 50%;
            top: -100px;
            transform: translateX(-50%);
            white-space: nowrap;
            font-size: 1.8rem;
            color: var(--text-color);
            font-weight: 700;
            text-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
            letter-spacing: 0.5px;
        }

        .overview-mockups .laptop-mockup:nth-child(2)::before {
            content: '';
            position: absolute;
            left: 50%;
            top: -50px;
            transform: translateX(-50%);
            width: 3px;
            height: 50px;
            background: rgba(37, 99, 235, 0.6);
            z-index: 0;
            box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
        }

        /* Callout line for phone (Mobile App) - lowest */
        .overview-mockups .phone-mockup::after {
            content: 'Mobile App';
            left: 50%;
            top: -70px;
            transform: translateX(-50%);
            white-space: nowrap;
            font-size: 1.8rem;
            color: var(--text-color);
            font-weight: 700;
            text-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
            letter-spacing: 0.5px;
        }

        .overview-mockups .phone-mockup::before {
            content: '';
            position: absolute;
            left: 50%;
            top: -30px;
            transform: translateX(-50%);
            width: 3px;
            height: 50px;
            background: rgba(37, 99, 235, 0.6);
            z-index: 0;
            box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
        }

        /* Hover effects for overlapping mockups */
        .overview-mockups .laptop-mockup:hover {
            z-index: 10 !important;
            transform: scale(1.15) translateY(-20px) !important;
        }

        .overview-mockups .phone-mockup:hover {
            z-index: 10 !important;
            transform: scale(1.15) translateY(-20px) !important;
        }

        .overview-mockups .laptop-mockup:hover .laptop-mockup-3d {
            transform: rotateX(10deg) rotateY(20deg) rotateZ(-1deg) scale(1.1) !important;
        }

        .overview-mockups .phone-mockup:hover .phone-mockup-3d {
            transform: scale(1.1) !important;
        }

        /* When one mockup is hovered, dim others */
        .overview-mockups:hover .laptop-mockup:not(:hover) {
            opacity: 0.5;
            filter: brightness(0.7);
            transform: scale(0.95);
        }

        .overview-mockups:hover .phone-mockup:not(:hover) {
            opacity: 0.5;
            filter: brightness(0.7);
            transform: scale(0.95);
        }

        .overview-mockups .laptop-mockup:first-child:hover {
            right: 12% !important;
            bottom: 12% !important;
        }

        .overview-mockups .laptop-mockup:nth-child(2):hover {
            right: 32% !important;
            bottom: 17% !important;
        }

        .overview-mockups .phone-mockup:hover {
            right: -2% !important;
            bottom: 20% !important;
        }

        /* Enhance callout lines on hover */
        .overview-mockups .laptop-mockup:hover::before,
        .overview-mockups .phone-mockup:hover::before {
            background: rgba(37, 99, 235, 0.7);
            box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
        }

        .overview-mockups .laptop-mockup:hover::after,
        .overview-mockups .phone-mockup:hover::after {
            color: var(--accent-color);
            text-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
        }

        .feature-info {
            grid-column: 2;
            grid-row: 1;
            align-self: center;
            text-align: left;
            max-width: 100%;
            padding: 2rem;
            flex-shrink: 0;
        }

        .feature-info h3 {
            font-size: 3.5rem;
            color: var(--text-color);
            margin-bottom: 2rem;
            text-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
            font-weight: 800;
            line-height: 1.2;
        }

        .feature-info h3 .inline-icon {
            width: 1em;
            height: 1em;
            vertical-align: middle;
            margin-right: 0.5em;
        }

        /* Match h3 size in first column to second column */
        .vertical-screen > div:not(.feature-info) h3,
        .vertical-screen > div[style*="grid-column: 1"] h3 {
            font-size: 3.5rem;
            color: var(--text-color);
            margin-bottom: 2rem;
            text-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
            font-weight: 800;
            line-height: 1.2;
        }

        .vertical-screen > div:not(.feature-info) h3 .inline-icon,
        .vertical-screen > div[style*="grid-column: 1"] h3 .inline-icon {
            width: 1em;
            height: 1em;
            vertical-align: middle;
            margin-right: 0.5em;
        }

        .feature-info p {
            font-size: 1.3rem;
            color: var(--text-secondary);
            line-height: 2;
            max-width: 600px;
        }

        /* Unified Feature Description Formatting */
        .feature-description-text {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 1rem;
        }

        .feature-list {
            color: var(--text-secondary);
            font-size: 0.95rem;
            margin-left: 1.5rem;
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        .feature-list li {
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
        }

        .feature-list li strong {
            color: var(--text-color);
            font-weight: 700;
        }

        .feature-item-grid {
            display: grid;
            gap: 0.2rem;
            margin-bottom: 1rem;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.25rem 0.5rem;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 6px;
            line-height: 1.3;
        }

        .feature-item-label {
            font-weight: 700;
            min-width: 90px;
            color: var(--text-color);
        }

        .feature-item-description {
            color: var(--text-secondary);
            font-size: 0.85rem;
            flex: 1;
        }

        /* Feature Navigation */
        .feature-nav {
            position: fixed;
            bottom: 1.5rem;
            left: 0.5rem;
            z-index: 2000;
            display: flex;
            gap: 0.5rem;
            background: rgba(10, 10, 15, 0.95);
            backdrop-filter: blur(30px);
            padding: 0.8rem 1.5rem;
            border-radius: 0;
            border: 2px solid rgba(139, 92, 246, 0.4);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
            transition: all 0.5s ease;
        }

        [data-theme="light"] .feature-nav {
            background: rgba(255, 255, 255, 0.95);
            border: 2px solid rgba(139, 92, 246, 0.5);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        }

        .feature-nav-button {
            padding: 0.7rem 1.3rem;
            background: transparent;
            color: var(--text-secondary);
            border: none;
            border-radius: 0;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 1rem;
            font-weight: 500;
            position: relative;
            white-space: nowrap;
        }

        .feature-nav-button:hover {
            color: var(--text-color);
            background: rgba(139, 92, 246, 0.2);
            transform: translateY(-2px);
        }

        .feature-nav-button.active {
            background: rgba(139, 92, 246, 0.3);
            color: var(--primary-color);
            font-weight: 600;
        }

        .feature-back-button {
            position: fixed;
            top: 6rem;
            left: 2rem;
            z-index: 2002;
            padding: 1rem 2rem;
            background: rgba(26, 26, 36, 0.9);
            backdrop-filter: blur(20px);
            color: var(--text-color);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: var(--shadow);
            border: 1px solid var(--border-color);
        }

        [data-theme="light"] .feature-back-button {
            background: rgba(255, 255, 255, 0.9);
        }

        .feature-back-button:hover {
            background: var(--gradient);
            color: white;
            border-color: transparent;
            transform: translateY(-3px);
            box-shadow: var(--glow), var(--shadow-hover);
        }

        .project-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .project-header h1 {
            font-size: 3.5rem;
            font-weight: 800;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .project-header p {
            font-size: 1.3rem;
            color: var(--text-secondary);
        }

        .project-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .feature-card {
            background: var(--card-bg);
            padding: 2rem;
            border-radius: 20px;
            box-shadow: var(--shadow);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--border-color);
        }

        .feature-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: var(--shadow-hover), var(--glow);
            background: var(--card-hover);
            border-color: rgba(139, 92, 246, 0.5);
        }

        .feature-card h3 {
            color: var(--text-color);
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }

        .feature-card p {
            color: var(--text-secondary);
        }

        .back-button {
            display: inline-block;
            padding: 1rem 2rem;
            background: var(--gradient);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            margin-bottom: 3rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: var(--glow), var(--shadow);
            border: 1px solid rgba(139, 92, 246, 0.3);
        }

        .back-button:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 0 40px rgba(139, 92, 246, 0.6), var(--shadow-hover);
        }

        .tech-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 2rem 0;
        }

        .tech-badge {
            padding: 0.8rem 1.5rem;
            background: var(--gradient);
            color: white;
            border-radius: 25px;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
            border: 1px solid rgba(139, 92, 246, 0.3);
            transition: all 0.3s ease;
        }

        .tech-badge:hover {
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
        }

        /* Screen Container */
        .screens-container {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
        }

        /* Sections - Full Screen */
        section {
            position: absolute;
            top: 0;
            left: 0;
            transform: scale(0.95) translateX(100%);
            width: 100vw;
            max-width: 100vw;
            height: 100vh;
            padding: 6rem 2rem 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            overflow-y: auto;
            overflow-x: hidden;
            box-sizing: border-box;
            pointer-events: none;
            scroll-behavior: auto; /* Changed from smooth to auto for instant scroll reset */
        }
        
        
        /* Ensure sections start at top when becoming active */
        section::-webkit-scrollbar {
            width: 8px;
        }

        section::-webkit-scrollbar-track {
            background: transparent;
        }

        section::-webkit-scrollbar-thumb {
            background: rgba(139, 92, 246, 0.3);
            border-radius: 4px;
        }

        section::-webkit-scrollbar-thumb:hover {
            background: rgba(139, 92, 246, 0.5);
        }

        section.active {
            opacity: 1;
            transform: scale(1) translateX(0) !important;
            left: 0 !important;
            top: 0 !important;
            z-index: 10;
            pointer-events: auto;
            scroll-snap-align: start;
        }

        section.prev {
            transform: scale(0.9) translateX(-100%);
            opacity: 0;
        }

        .section-title {
            text-align: center;
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 4rem;
            color: var(--text-color);
            position: relative;
            display: inline-block;
            width: 100%;
            text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        }

        .section-title::before {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 4px;
            background: var(--gradient-2);
            border-radius: 2px;
            opacity: 0.3;
        }

        /* About Section */
        section.about {
            background: var(--bg-secondary);
            justify-content: flex-start !important;
            padding-top: 8rem;
            align-items: flex-start;
        }
        
        section.about.active {
            justify-content: flex-start !important;
        }

        .about-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            align-items: flex-start;
            width: 100%;
            max-width: 100%;
            padding: 0 4rem 8rem;
            margin-top: 0;
        }

        .about-text {
            font-size: 1.1rem;
            line-height: 1.8;
        }

        /* Skills Section */
        section#skills {
            justify-content: flex-start !important;
            padding-top: 8rem;
            align-items: flex-start;
        }
        
        section#skills.active {
            justify-content: flex-start !important;
        }

        .skills-container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem 8rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2.5rem;
            align-items: start;
        }

        .skill-category {
            width: 100%;
        }

        .skill-category-full {
            grid-column: 1 / -1;
        }

        .skill-category-title {
            color: var(--text-color);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--border-color);
            position: relative;
        }

        .skill-category-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 60px;
            height: 2px;
            background: var(--gradient);
        }

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

        .skill-tag {
            background: var(--gradient);
            color: white;
            padding: 0.6rem 1.2rem;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
            display: inline-block;
            cursor: default;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .skill-tag:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }

        .skill-tiles {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
            gap: 0.75rem;
            margin-top: 1rem;
        }

        .skill-tile {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 1rem 0.75rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: default;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .skill-tile:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
            border-color: rgba(139, 92, 246, 0.5);
            background: var(--card-hover);
        }

        .skill-tile-logo {
            width: 2.75rem;
            height: 2.75rem;
            transition: all 0.3s ease;
            /* Use mask technique to apply brand colors */
            mask-size: contain;
            mask-repeat: no-repeat;
            mask-position: center;
            mask-mode: alpha;
            -webkit-mask-size: contain;
            -webkit-mask-repeat: no-repeat;
            -webkit-mask-position: center;
            -webkit-mask-mode: alpha;
            display: block;
        }

        /* Brand colors using background-color with mask */
        .skill-tile-logo[data-icon="python"] {
            background-color: #3776AB;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/python.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/python.svg');
        }

        .skill-tile-logo[data-icon="react"] {
            background-color: #61DAFB;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/react.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/react.svg');
        }

        .skill-tile-logo[data-icon="flutter"] {
            background-color: #02569B;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/flutter.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/flutter.svg');
        }

        .skill-tile-logo[data-icon="dart"] {
            background-color: #0175C2;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/dart.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/dart.svg');
        }

        .skill-tile-logo[data-icon="flask"] {
            background-color: #000000;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/flask.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/flask.svg');
        }

        .skill-tile-logo[data-icon="postgresql"] {
            background-color: #4169E1;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/postgresql.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/postgresql.svg');
        }

        .skill-tile-logo[data-icon="sqlite"] {
            background-color: #003B57;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/sqlite.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/sqlite.svg');
        }

        .skill-tile-logo[data-icon="powerbi"] {
            background-color: #F2C811;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/powerbi.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/powerbi.svg');
        }

        .skill-tile-logo-img {
            width: 2.75rem;
            height: 2.75rem;
            object-fit: contain;
            transition: all 0.3s ease;
        }

        .skill-tile-logo-svg {
            width: 2.75rem;
            height: 2.75rem;
            transition: all 0.3s ease;
        }

        .skill-tile-logo-official {
            width: 2.75rem;
            height: 2.75rem;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            transition: all 0.3s ease;
        }

        .skill-tile-logo-powerapps {
            background-image: url('https://learn.microsoft.com/en-us/media/logos/logo-power-apps.svg');
            background-color: #742774;
        }

        .skill-tile-logo-powerautomate {
            background-image: url('https://learn.microsoft.com/en-us/media/logos/logo-power-automate.svg');
            background-color: #0066FF;
        }

        .skill-tile:hover .skill-tile-logo-img,
        .skill-tile:hover .skill-tile-logo-svg,
        .skill-tile:hover .skill-tile-logo-official {
            transform: scale(1.1);
        }

        .skill-tile-logo[data-icon="indesign"] {
            background-color: #FF3366;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/adobeindesign.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/adobeindesign.svg');
        }

        .skill-tile-logo[data-icon="illustrator"] {
            background-color: #FF9A00;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/adobeillustrator.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/adobeillustrator.svg');
        }

        .skill-tile-logo[data-icon="photoshop"] {
            background-color: #31A8FF;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/adobephotoshop.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/adobephotoshop.svg');
        }

        .skill-tile-logo[data-icon="aftereffects"] {
            background-color: #9999FF;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/adobeaftereffects.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/adobeaftereffects.svg');
        }

        .skill-tile-logo[data-icon="premierepro"] {
            background-color: #EA77FF;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/adobepremierepro.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/adobepremierepro.svg');
        }

        .skill-tile-logo[data-icon="xd"] {
            background-color: #FF61F6;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/adobexd.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/adobexd.svg');
        }

        .skill-tile-logo[data-icon="git"] {
            background-color: #F05032;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/git.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/git.svg');
        }

        .skill-tile-logo[data-icon="docker"] {
            background-color: #2496ED;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/docker.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/docker.svg');
        }

        .skill-tile-logo[data-icon="aws"] {
            background-color: #FF9900;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/amazonaws.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/amazonaws.svg');
        }

        .skill-tile-logo[data-icon="linux"] {
            background-color: #FCC624;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/linux.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/linux.svg');
        }

        .skill-tile-logo[data-icon="figma"] {
            background-color: #F24E1E;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/figma.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/figma.svg');
        }

        .skill-tile-logo[data-icon="shield"] {
            background-color: #8B5CF6;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/hackthebox.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/hackthebox.svg');
        }

        .skill-tile-logo[data-icon="bug"] {
            background-color: #1F2937;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/hackerone.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/hackerone.svg');
        }

        .skill-tile-logo[data-icon="code"] {
            background-color: #000000;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/owasp.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/owasp.svg');
        }

        .skill-tile-logo[data-icon="server"] {
            background-color: #4B5563;
            mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/serverfault.svg');
            -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/serverfault.svg');
        }


        .skill-tile:hover .skill-tile-logo {
            transform: scale(1.1);
        }

        .skill-tile-name {
            font-size: 0.75rem;
            font-weight: 500;
            color: var(--text-color);
            text-align: center;
            line-height: 1.2;
        }

        /* Projects Section */
        section.projects {
            background: var(--bg-secondary);
            justify-content: flex-start !important;
            padding-top: 8rem;
            align-items: flex-start;
        }
        
        section.projects.active {
            justify-content: flex-start !important;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            width: 100%;
            max-width: 100%;
            padding: 0 4rem 8rem;
            margin-top: 0;
        }

        .project-card {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--border-color);
            position: relative;
        }

        .project-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--gradient);
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: 1;
        }

        .project-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: var(--shadow-hover), var(--glow);
            border-color: rgba(139, 92, 246, 0.5);
        }

        .project-card:hover::after {
            opacity: 0.05;
        }

        .project-image {
            height: 220px;
            background: var(--gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 4rem;
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
        }

        .project-image::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: transparent;
            /* animation removed */
        }

        .project-card:hover .project-image {
            transform: scale(1.1);
            font-size: 4.5rem;
        }

        .project-content {
            padding: 1.5rem;
        }

        .project-content h3 {
            color: var(--text-color);
            margin-bottom: 0.5rem;
        }

        .project-content p {
            color: var(--text-secondary);
        }

        .project-links {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            padding-top: 1.5rem;
        }

        .project-links a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 1.2rem;
            border-radius: 20px;
            transition: all 0.3s ease;
            position: relative;
            display: inline-block;
        }

        .project-links a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient);
            transition: width 0.3s ease;
        }

        .project-links a:hover {
            background: var(--gradient);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .project-links a:hover::before {
            width: 100%;
        }

        /* Contact Section */
        .contact {
            text-align: center;
            width: 100%;
            max-width: 100%;
            padding: 0 4rem 8rem;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .social-link {
            display: inline-block;
            padding: 1.2rem 2.5rem;
            background: var(--gradient);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            font-weight: 600;
            box-shadow: var(--glow), var(--shadow);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(139, 92, 246, 0.3);
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .social-link:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 0 50px rgba(139, 92, 246, 0.6), var(--shadow-hover);
        }

        .social-link:hover::before {
            width: 300px;
            height: 300px;
        }


        /* Navigation Arrows */

        /* Scroll Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px) scale(0.95);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

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

        /* Floating Animation */
        /* .float animation removed */

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

        /* Responsive */
        @media (max-width: 768px) {
            /* Enable scrolling on mobile */
            html, body {
                overflow: hidden;
                height: 100vh;
            }

            .screens-container {
                position: relative;
                height: 100vh;
                overflow: hidden;
            }

            section {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                width: 100%;
                transform: none !important;
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                height: 100vh;
                min-height: 100vh;
                max-height: 100vh;
                overflow-y: auto;
                overflow-x: hidden;
                display: none;
                padding: 10rem 1rem 8rem;
                z-index: 1;
            }

            /* Show home section by default on mobile as fallback */
            section#home:not(.prev) {
                display: block;
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
            }

            section.active {
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
                display: block !important;
                z-index: 10;
            }

            section.prev {
                transform: none !important;
                display: none;
            }

            /* Override hero-specific styles on mobile */
            section#home.hero,
            section#home.hero.active {
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                right: 0 !important;
                height: 100vh !important;
                min-height: 100vh !important;
                max-height: 100vh !important;
                width: 100% !important;
                max-width: 100% !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
                transform: none !important;
                display: flex !important;
                align-items: flex-start !important;
                justify-content: flex-start !important;
                padding: 10rem 0 8rem !important;
            }

            .project-detail {
                height: 100vh !important;
                min-height: 100vh !important;
                max-height: 100vh !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
                padding-top: 10rem;
            }

            .feature-subscreens {
                height: auto;
                min-height: auto;
                overflow: visible;
            }

            .feature-subscreen {
                position: relative;
                height: auto;
                min-height: auto;
                opacity: 0;
                visibility: hidden;
                transform: none;
                display: none;
                overflow: hidden;
            }

            .feature-subscreen.active {
                opacity: 1;
                visibility: visible;
                display: grid;
                overflow: visible;
            }

            /* Website and Mobile App features use vertical-scroll-container, need block display */
            .feature-subscreen[data-feature="website"].active,
            .feature-subscreen[data-feature="mobile-app"].active,
            .feature-subscreen[data-feature="backoffice"].active {
                display: block !important;
                overflow: visible;
            }

            /* Ensure inactive subscreens don't take up space */
            .feature-subscreen:not(.active) {
                display: none !important;
                height: 0 !important;
                min-height: 0 !important;
                overflow: hidden !important;
            }

            .hero-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                padding: 0 1.5rem;
                text-align: center;
                width: 100%;
                max-width: 100%;
                align-self: flex-start;
            }

            .hero-intro {
                max-width: 100%;
                padding: 0;
                margin-bottom: 2rem;
            }

            .hero-main {
                width: 100%;
                padding: 0;
            }

            .hero-left {
                text-align: center;
            }

            .hero-content h1,
            .hero-name {
                font-size: 2.5rem;
                line-height: 1.1;
            }

            .hero-subtitle {
                font-size: 1.2rem;
                margin: 0.3rem 0 0 0;
            }

            .hero-content .typing-text {
                font-size: 1.1rem;
                line-height: 1.6;
            }

            .hero-description {
                text-align: center;
                margin-top: 1.5rem;
                padding-top: 1rem;
            }

            .hero-description p {
                font-size: 0.9rem;
                text-align: left;
                line-height: 1.7;
                margin-bottom: 1rem;
            }

            .hero-main-info {
                padding: 1.5rem;
                margin-top: 1.5rem;
            }

            .hero-main-info h2 {
                font-size: 1.2rem;
            }

            .hero-main-info p {
                font-size: 0.9rem;
            }

            .hero-project {
                padding: 1.5rem;
                margin-top: 1.5rem;
            }

            .project-label {
                font-size: 0.85rem;
            }

            .project-title {
                font-size: 1.3rem;
            }

            .project-description {
                font-size: 0.9rem;
                line-height: 1.6;
            }

            .recent-project {
                padding: 1.5rem;
                margin-top: 2rem;
            padding-top: 1.5rem;
            }

            .recent-project h3 {
                font-size: 1.3rem;
            }

            .recent-project p {
                font-size: 0.9rem;
            }

            .project-cta {
                padding: 1rem 1.5rem;
                font-size: 1rem;
                min-height: 48px;
            }

            .feature-badge {
                font-size: 0.75rem;
                padding: 0.35rem 0.75rem;
            }

            /* Hide hamburger menu */
            .hamburger-menu {
                display: none !important;
            }

            /* Make nav a horizontal scrollable bar */
            nav {
                padding: 0.8rem 0;
                z-index: 1000;
            }

            nav ul {
                position: relative;
                top: auto;
                left: auto;
                width: 100%;
                height: auto;
                background: transparent;
                backdrop-filter: none;
                flex-direction: row;
                flex-wrap: nowrap;
                justify-content: flex-start;
                align-items: center;
                gap: 0.5rem;
                padding: 0 1rem;
                transform: none;
                opacity: 1;
                visibility: visible;
                overflow-x: auto;
                overflow-y: hidden;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: thin;
                scrollbar-color: rgba(139, 92, 246, 0.3) transparent;
            }

            nav ul::-webkit-scrollbar {
                height: 4px;
            }

            nav ul::-webkit-scrollbar-track {
                background: transparent;
            }

            nav ul::-webkit-scrollbar-thumb {
                background: rgba(139, 92, 246, 0.3);
                border-radius: 2px;
            }

            nav li {
                width: auto;
                text-align: center;
                flex-shrink: 0;
            }

            nav a {
                padding: 0.6rem 1rem;
                font-size: 0.9rem;
                width: auto;
                display: block;
                border-radius: 8px;
                transition: all 0.3s ease;
                min-height: 44px;
                white-space: nowrap;
                pointer-events: auto;
                cursor: pointer;
            }

            nav a:hover,
            nav a:active {
                background: var(--card-bg);
                transform: translateY(-2px);
            }

            .theme-toggle-mobile {
                position: fixed !important;
                bottom: 1rem !important;
                left: 1rem !important;
                top: auto !important;
                right: auto !important;
                width: 45px;
                height: 45px;
                font-size: 1.3rem;
                min-width: 48px;
                min-height: 48px;
                z-index: 1001;
            }


            section {
                padding: 5rem 1rem 1rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                padding: 0 1rem;
                gap: 2rem;
            }

            .about-intro {
                padding: 0 1rem;
            }

            .skills-container {
                padding: 0 1rem;
                gap: 2rem;
            }

            .projects-grid {
                grid-template-columns: 1fr;
                padding: 0 1rem;
                gap: 2rem;
            }

            .project-card {
                min-height: auto;
            }

            .project-cta,
            .cta-group a,
            .social-link {
                min-height: 48px;
                min-width: 48px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .feature-subscreen {
                grid-template-columns: 1fr;
                grid-template-rows: auto 1fr;
                padding: 2rem 1rem;
                align-items: center;
            }

            .feature-subscreen[data-feature="overview"] {
                grid-template-columns: 1fr;
                grid-template-rows: auto auto auto;
                gap: 2rem;
            }

            .overview-title {
                grid-column: 1;
                grid-row: 1;
            }

            .overview-intro {
                grid-column: 1;
                grid-row: 2;
                max-height: 500px;
                overflow-y: auto;
                padding-right: 1rem;
            }

            .overview-mockups {
                grid-column: 1;
                grid-row: 3;
                position: relative;
                height: auto;
                display: flex;
                flex-direction: column;
                gap: 2rem;
                align-items: center;
                padding: 2rem 0;
            }

            /* Show mockup titles on mobile */
            .mockup-title-mobile {
                display: block;
                font-size: 1.5rem;
                font-weight: 600;
                color: var(--text-color);
                margin-bottom: 0.75rem;
                text-align: center;
                width: 100%;
            }

            /* Simplify 3D mockups on mobile without hiding the content */
            .laptop-mockup-3d .laptop-frame,
            .phone-mockup-3d .phone-frame {
                padding: 0;
                border: none;
                background: transparent;
                box-shadow: none;
            }

            .laptop-mockup-3d .laptop-base,
            .phone-mockup-3d .phone-notch {
                display: none !important;
            }

            /* Show static images instead */
            .laptop-mockup,
            .phone-mockup {
                position: relative;
                width: 100%;
                max-width: 100%;
                display: block;
                margin: 0;
                right: auto;
                bottom: auto;
            }

            .laptop-mockup::before,
            .laptop-mockup::after,
            .phone-mockup::before,
            .phone-mockup::after {
                display: none;
            }

            /* Show images directly when 3D containers are hidden */
            .laptop-mockup-3d,
            .phone-mockup-3d {
                position: relative;
                width: 100%;
                height: auto;
                display: block !important;
                transform: none !important;
            }

            .laptop-mockup .laptop-screen,
            .phone-mockup .phone-screen {
                position: relative;
                width: 100%;
                height: auto;
                display: block;
                padding: 0;
                background: transparent;
                border: none;
                min-height: 0 !important;
            }

            .laptop-screen-content,
            .phone-screen-content {
                width: 100%;
                height: auto;
                display: block !important;
                border-radius: 12px;
                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
                object-fit: cover;
                position: relative;
            }

            .overview-mockups .laptop-mockup:first-child,
            .overview-mockups .laptop-mockup:nth-child(2),
            .overview-mockups .phone-mockup {
                position: relative;
                right: auto;
                bottom: auto;
                max-width: 100%;
            }

            /* Feature subscreen mockups - show static images */
            .feature-subscreen:not([data-feature="overview"]) .laptop-mockup {
                position: relative;
                width: 100%;
                max-width: 100%;
                display: block;
            }

            .feature-subscreen:not([data-feature="overview"]) .laptop-mockup-3d {
                display: block !important;
                transform: none !important;
            }

            .feature-subscreen:not([data-feature="overview"]) .laptop-screen {
                position: relative;
                width: 100%;
                height: auto;
                display: block;
                padding: 0;
                background: transparent;
                border: none;
            }

            .feature-subscreen:not([data-feature="overview"]) .laptop-screen-content {
                width: 100%;
                height: auto;
                display: block;
                border-radius: 12px;
                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
                object-fit: contain;
                object-position: center;
            }

            /* Mobile App tab: keep phone mockup from overwhelming tiny screens */
            .feature-subscreen[data-feature="mobile-app"] .phone-mockup {
                width: min(70vw, 230px);
                margin: 0 auto 1.5rem;
            }


            /* Vertical scroll container on mobile */
            .vertical-scroll-container {
                padding-right: 0.5rem;
                height: auto;
                min-height: 100vh;
                position: relative;
            }

            /* Ensure vertical-scroll-container only exists in active subscreens */
            .feature-subscreen:not(.active) .vertical-scroll-container {
                display: none !important;
            }

            .vertical-screen {
                display: flex;
                flex-direction: column;
                gap: 2rem;
                padding: 2rem 1rem;
                padding-bottom: 6rem;
                min-height: auto;
            }

            .vertical-screen .laptop-mockup,
            .vertical-screen .phone-mockup {
                order: 2;
                margin-top: 1rem;
            }

            /* Vertical nav indicator on mobile */
            .vertical-nav-indicator {
                right: 0.5rem;
                padding: 0.75rem 0.4rem;
                gap: 0.5rem;
            }

            .vertical-nav-dot {
                width: 8px;
                height: 8px;
            }

            .vertical-nav-dot.active {
                transform: scale(1.3);
            }

            .feature-info {
                grid-column: 1 !important;
                grid-row: 2;
                margin-top: 2rem;
                padding: 0 1rem;
                text-align: center;
            }

            /* Ensure stacked layout items fill full width */
            .vertical-screen > * {
                width: 100%;
            }

            .feature-info h3 {
                font-size: 2rem;
            }

            .feature-info p {
                font-size: 1.1rem;
            }

            .feature-nav {
                position: sticky;
                bottom: 1.2rem;
                margin: 0 1rem 0 calc(0.5rem + 50px + 0.5rem);
                padding: 0.8rem 1rem;
                gap: 0.5rem;
                max-width: none;
                width: auto;
                overflow-x: auto;
                overflow-y: hidden;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: thin;
                scrollbar-color: rgba(139, 92, 246, 0.3) transparent;
                z-index: 999;
                justify-content: flex-start;
            }

            .feature-nav::-webkit-scrollbar {
                height: 4px;
            }

            .feature-nav::-webkit-scrollbar-track {
                background: transparent;
            }

            .feature-nav::-webkit-scrollbar-thumb {
                background: rgba(139, 92, 246, 0.3);
                border-radius: 2px;
            }

            .feature-nav-button {
                padding: 0.6rem 1rem;
                font-size: 0.85rem;
                flex-shrink: 0;
                white-space: nowrap;
            }

        }

        /* Extra Small Mobile (Phones < 480px) */
        @media (max-width: 480px) {
            /* Ensure scrolling works on small mobile */
            html, body {
                overflow: hidden;
                height: 100vh;
            }

            .screens-container {
                position: relative;
                height: 100vh;
                overflow: hidden;
            }

            section {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                width: 100%;
                transform: none !important;
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                height: 100vh;
                min-height: 100vh;
                max-height: 100vh;
                overflow-y: auto;
                overflow-x: hidden;
                display: none;
                padding: 8rem 1rem 8rem;
                z-index: 1;
            }

            /* Show home section by default on mobile as fallback */
            section#home:not(.prev) {
                display: block;
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
            }

            section.active {
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
                display: block !important;
                z-index: 10;
            }

            section.prev {
                transform: none !important;
                display: none;
            }

            /* Override hero-specific styles on mobile */
            section#home.hero,
            section#home.hero.active {
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                right: 0 !important;
                height: 100vh !important;
                min-height: 100vh !important;
                max-height: 100vh !important;
                width: 100% !important;
                max-width: 100% !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
                transform: none !important;
                display: flex !important;
                align-items: flex-start !important;
                justify-content: flex-start !important;
                padding: 10rem 0 8rem !important;
            }

            .project-detail {
                height: 100vh !important;
                min-height: 100vh !important;
                max-height: 100vh !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
                padding-top: 10rem;
            }

            .feature-subscreens {
                height: auto;
                min-height: auto;
                overflow: visible;
            }

            .feature-subscreen {
                position: relative;
                height: auto;
                min-height: auto;
                opacity: 0;
                visibility: hidden;
                transform: none;
                display: none;
                overflow: hidden;
            }

            .feature-subscreen.active {
                opacity: 1;
                visibility: visible;
                display: grid;
                overflow: visible;
            }

            /* Website and Mobile App features use vertical-scroll-container, need block display */
            .feature-subscreen[data-feature="website"].active,
            .feature-subscreen[data-feature="mobile-app"].active,
            .feature-subscreen[data-feature="backoffice"].active {
                display: block !important;
                overflow: visible;
            }

            /* Ensure inactive subscreens don't take up space */
            .feature-subscreen:not(.active) {
                display: none !important;
                height: 0 !important;
                min-height: 0 !important;
                overflow: hidden !important;
            }

            /* Navigation - Horizontal scrollable bar */
            .hamburger-menu {
                display: none !important;
            }

            nav {
                padding: 0.7rem 0;
                z-index: 1000;
            }

            nav ul {
                position: relative;
                top: auto;
                left: auto;
                width: 100%;
                height: auto;
                background: transparent;
                backdrop-filter: none;
                flex-direction: row;
                flex-wrap: nowrap;
                justify-content: flex-start;
                align-items: center;
                gap: 0.4rem;
                padding: 0 0.8rem;
                transform: none;
                opacity: 1;
                visibility: visible;
                overflow-x: auto;
                overflow-y: hidden;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: thin;
                scrollbar-color: rgba(139, 92, 246, 0.3) transparent;
            }

            nav ul::-webkit-scrollbar {
                height: 4px;
            }

            nav ul::-webkit-scrollbar-track {
                background: transparent;
            }

            nav ul::-webkit-scrollbar-thumb {
                background: rgba(139, 92, 246, 0.3);
                border-radius: 2px;
            }

            nav ul.active {
                transform: none;
                opacity: 1;
                visibility: visible;
            }

            nav li {
                width: auto;
                text-align: center;
                flex-shrink: 0;
            }

            nav a {
                padding: 0.5rem 0.9rem;
                font-size: 0.85rem;
                width: auto;
                display: block;
                border-radius: 8px;
                transition: all 0.3s ease;
                min-height: 44px;
                white-space: nowrap;
                pointer-events: auto;
                cursor: pointer;
            }

            nav a:hover,
            nav a:active {
                background: var(--card-bg);
                transform: translateY(-2px);
            }

            .theme-toggle-mobile {
                position: fixed !important;
                bottom: 1rem !important;
                left: 1rem !important;
                top: auto !important;
                right: auto !important;
                width: 40px;
                height: 40px;
                font-size: 1.1rem;
                min-width: 48px;
                min-height: 48px;
            }

            .hamburger-menu {
                min-width: 48px;
                min-height: 48px;
            }

            nav a {
                min-height: 48px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            nav a:hover,
            nav a:active {
                background: var(--card-bg);
                transform: translateY(-2px);
            }

            /* Hero Section */
            .hero-content {
                padding: 0 1rem;
                gap: 1.5rem;
                width: 100%;
                max-width: 100%;
                align-self: flex-start;
            }

            .hero-intro {
                padding: 0;
            }

            .greeting-text {
                font-size: 1rem;
                padding-top: 1rem;
            }

            .hero-greeting {
                text-align: center;
            }

            .hero-name {
                font-size: 2rem;
                line-height: 1.1;
                margin-bottom: 0.3rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
                margin: 0.3rem 0 0 0;
            }

            .hero-content .typing-text {
                font-size: 1rem;
                line-height: 1.5;
            }

            .hero-description {
                margin-top: 1rem;
            }

            .hero-description p {
                font-size: 0.85rem;
                line-height: 1.6;
                margin-bottom: 0.8rem;
            }

            .hero-main {
                padding: 0;
            }

            .hero-project {
                padding: 1.2rem;
                border-radius: 20px;
            }

            .project-label {
                font-size: 0.75rem;
                margin-bottom: 0.5rem;
            }

            .project-title {
                font-size: 1.2rem;
                margin-bottom: 0.8rem;
            }

            .project-description {
                font-size: 0.85rem;
                line-height: 1.6;
                margin-bottom: 1rem;
            }

            .project-features-preview {
                gap: 0.4rem;
                margin-bottom: 1rem;
            }

            .feature-badge {
                font-size: 0.7rem;
                padding: 0.3rem 0.6rem;
            }

            .project-cta {
                padding: 0.9rem 1.2rem;
                font-size: 0.95rem;
                min-height: 48px;
            }

            /* Sections */
            section {
                padding: 4rem 1rem 1rem;
            }

            .section-title {
                font-size: 1.8rem;
                margin-bottom: 1.5rem;
            }

            /* About Section */
            .about-intro {
                padding: 0;
            }

            .about-intro p {
                font-size: 0.95rem;
                margin-bottom: 1rem;
                line-height: 1.7;
            }

            .about-content {
                padding: 0;
                gap: 1.5rem;
            }

            .about-text {
                font-size: 1rem;
            }

            .about-text h3 {
                font-size: 1.2rem;
                margin-bottom: 1rem;
            }

            .about-text h4 {
                font-size: 1rem;
            }

            /* Skills Section */
            .skills-container {
                gap: 2rem;
                padding: 0 1rem;
            }

            .skill-category-title {
                font-size: 1.25rem;
            }

            .skill-card {
                padding: 1.5rem;
            }

            .skill-card h3 {
                font-size: 1.2rem;
                margin-bottom: 0.8rem;
            }

            .skill-tags {
                gap: 0.4rem;
            }

            .skill-tag {
                font-size: 0.8rem;
                padding: 0.5rem 1rem;
                min-height: 36px;
            }

            .skill-tiles {
                grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
                gap: 0.6rem;
            }

            .skill-tile {
                padding: 0.85rem 0.6rem;
                gap: 0.4rem;
            }

            .skill-tile-logo {
                width: 2.25rem;
                height: 2.25rem;
            }

            .skill-tile-logo-img {
                width: 2.25rem;
                height: 2.25rem;
            }

            .skill-tile-name {
                font-size: 0.75rem;
            }

            /* Projects Section */
            .projects-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                padding: 0;
            }

            .project-card {
                min-height: auto;
            }

            .project-card h3 {
                font-size: 1.2rem;
            }

            .project-card p {
                font-size: 0.9rem;
            }

            .project-links a {
                min-height: 44px;
                padding: 0.8rem 1.2rem;
            }

            /* Contact Section */
            .social-links {
                flex-direction: column;
                gap: 1rem;
                align-items: center;
            }

            .social-link {
                width: 100%;
                max-width: 250px;
                justify-content: center;
                min-height: 48px;
                padding: 1rem 2rem;
            }

            /* Feature Navigation */
            .feature-nav {
                padding: 0.3rem 0.5rem;
                gap: 0.2rem;
            }

            .feature-nav-button {
                padding: 0.4rem 0.6rem;
                font-size: 0.7rem;
                min-height: 36px;
            }

            /* Buttons and Touch Targets */
            button,
            a.button,
            .cta-group a,
            .project-cta {
                min-height: 48px;
                min-width: 48px;
                touch-action: manipulation;
            }


            /* Project Detail Section */
            .project-detail {
                height: auto;
                min-height: 100vh;
                padding: 8rem 0 0;
            }

            .project-detail-content {
                padding: 0 1rem;
            }

            .feature-subscreen {
                padding: 1.5rem 0.5rem;
                gap: 1.5rem;
            }

            .feature-subscreen[data-feature="overview"] {
                gap: 1.5rem;
            }

            .overview-title {
                font-size: 1.8rem !important;
                margin-bottom: 1rem;
            }

            .overview-intro {
                max-height: none;
                overflow-y: visible;
                padding-right: 0;
            }

            .overview-intro p {
                font-size: 1rem !important;
                line-height: 1.7;
                margin-bottom: 1rem;
            }

            .overview-mockups {
                height: auto;
                margin-top: 1rem;
                display: flex;
                flex-direction: column;
                gap: 1.5rem;
                align-items: center;
                padding: 1.5rem 0;
            }

            /* Show mockup titles on mobile */
            .mockup-title-mobile {
                display: block;
                font-size: 1.25rem;
                font-weight: 600;
                color: var(--text-color);
                margin-bottom: 0.5rem;
                text-align: center;
                width: 100%;
            }

            /* Simplify 3D mockups but keep media visible */
            .laptop-mockup-3d .laptop-frame,
            .phone-mockup-3d .phone-frame {
                padding: 0;
                border: none;
                box-shadow: none;
                background: transparent;
            }

            .laptop-mockup-3d .laptop-base,
            .phone-mockup-3d .phone-notch {
                display: none !important;
            }

            .laptop-mockup-3d,
            .phone-mockup-3d {
                position: relative;
                width: 100%;
                height: auto;
                display: block !important;
                transform: none !important;
            }

            /* Show static images instead */
            .overview-mockups .laptop-mockup:first-child,
            .overview-mockups .laptop-mockup:nth-child(2),
            .overview-mockups .phone-mockup {
                position: relative;
                right: auto;
                bottom: auto;
                max-width: 100%;
                width: 100%;
            }

            .overview-mockups .laptop-mockup::before,
            .overview-mockups .laptop-mockup::after,
            .overview-mockups .phone-mockup::before,
            .overview-mockups .phone-mockup::after {
                display: none;
            }

            /* Show mockup titles on mobile */
            .mockup-title-mobile {
                display: block;
                font-size: 1.25rem;
                font-weight: 600;
                color: var(--text-color);
                margin-bottom: 0.5rem;
                text-align: center;
                width: 100%;
            }

            .laptop-mockup,
            .phone-mockup {
                max-width: 100%;
                width: 100%;
            }

            /* Show images directly when 3D containers are hidden */
            .laptop-mockup .laptop-screen,
            .phone-mockup .phone-screen {
                position: relative;
                width: 100%;
                height: auto;
                display: block;
                padding: 0;
                background: transparent;
                border: none;
                min-height: 0 !important;
            }

            .laptop-screen-content,
            .phone-screen-content {
                width: 100%;
                height: auto;
                display: block !important;
                border-radius: 12px;
                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
                object-fit: cover;
                position: relative;
            }

            /* Feature subscreen mockups - show static images */
            .feature-subscreen:not([data-feature="overview"]) .laptop-mockup {
                position: relative;
                width: 100%;
                max-width: 100%;
                display: block;
            }

            .feature-subscreen:not([data-feature="overview"]) .laptop-mockup-3d .laptop-frame {
                padding: 0;
                border: none;
                box-shadow: none;
                background: transparent;
            }

            .feature-subscreen:not([data-feature="overview"]) .laptop-mockup-3d .laptop-base {
                display: none !important;
            }

            .feature-subscreen:not([data-feature="overview"]) .laptop-mockup-3d {
                position: relative;
                width: 100%;
                height: auto;
                display: block !important;
                transform: none !important;
            }

            .feature-subscreen:not([data-feature="overview"]) .laptop-screen {
                position: relative;
                width: 100%;
                height: auto;
                display: block;
                padding: 0;
                background: transparent;
                border: none;
                min-height: 0 !important;
            }

            .feature-subscreen:not([data-feature="overview"]) .laptop-screen-content {
                width: 100%;
                height: auto;
                display: block !important;
                border-radius: 12px;
                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
                object-fit: contain;
                object-position: center;
                position: relative;
            }

            .feature-info {
                margin-top: 1.5rem;
                padding: 0 0.5rem;
            }

            .feature-info h3 {
                font-size: 1.5rem;
                margin-bottom: 1rem;
            }

            .feature-info p {
                font-size: 0.95rem;
                line-height: 1.6;
            }

            .feature-nav {
                position: sticky;
                bottom: 0.9rem;
                /* Keep gap for the floating theme toggle button */
                margin: 0 0.8rem 0 calc(0.5rem + 50px + 0.5rem);
                padding: 0.6rem 0.9rem;
                gap: 0.4rem;
                max-width: none;
                width: auto;
                overflow-x: auto;
                overflow-y: hidden;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: thin;
                scrollbar-color: rgba(139, 92, 246, 0.3) transparent;
                z-index: 999;
                justify-content: flex-start;
            }

            .feature-nav::-webkit-scrollbar {
                height: 4px;
            }

            .feature-nav::-webkit-scrollbar-track {
                background: transparent;
            }

            .feature-nav::-webkit-scrollbar-thumb {
                background: rgba(139, 92, 246, 0.3);
                border-radius: 2px;
            }

            .feature-nav-button {
                padding: 0.6rem 1rem;
                font-size: 0.85rem;
                flex-shrink: 0;
                white-space: nowrap;
                min-height: 36px;
            }
        }

        /* Tablet (481px - 768px) */
        @media (min-width: 481px) and (max-width: 768px) {
            /* Navigation */
            .hamburger-menu {
                display: flex;
                width: 35px;
                height: 35px;
            }

            .hamburger-line {
                width: 22px;
                height: 2.5px;
                margin: 2.5px 0;
            }

            nav ul {
                position: fixed;
                top: 100%;
                left: 0;
                width: 100%;
                height: calc(100vh - 80px);
                background: rgba(10, 10, 15, 0.95);
                backdrop-filter: blur(20px) saturate(180%);
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                gap: 2.5rem;
                padding: 3rem 2rem 1rem;
                transform: translateY(-100%);
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s ease;
                z-index: 1000;
                font-size: 1.2rem;
            }

            nav ul.active {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }

            nav li {
                width: 100%;
                text-align: center;
                max-width: 300px;
            }

            nav a {
                padding: 1.2rem 2rem;
                font-size: 1.2rem;
                width: 100%;
                display: block;
                border-radius: 8px;
                transition: all 0.3s ease;
            }

            nav a:hover {
                background: var(--card-bg);
                transform: translateY(-2px);
            }

            .theme-toggle-mobile {
                position: fixed !important;
                bottom: 1rem !important;
                left: 1rem !important;
                top: auto !important;
                right: auto !important;
                min-width: 48px;
                min-height: 48px;
            }

            .hamburger-menu {
                min-width: 48px;
                min-height: 48px;
            }

            nav a {
                min-height: 48px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            /* Hero Section */
            .hero-content {
                padding: 0 2rem;
                gap: 2rem;
            }

            /* Project Detail Section */
            .project-detail {
                height: auto;
                min-height: 100vh;
                padding: 5rem 0 0;
            }

            .project-detail-content {
                padding: 0 2rem;
            }

            .feature-subscreen {
                padding: 2rem 1rem;
            }

            .overview-title {
                font-size: 2.5rem !important;
            }

            .overview-intro p {
                font-size: 1.1rem !important;
            }

            .overview-mockups {
                height: 450px;
            }

            .overview-mockups .laptop-mockup:first-child {
                max-width: 220px;
            }

            .overview-mockups .laptop-mockup:nth-child(2) {
                max-width: 220px;
            }

            .overview-mockups .phone-mockup {
                max-width: 120px;
            }

            .feature-info h3 {
                font-size: 1.8rem;
            }

            .feature-info p {
                font-size: 1rem;
            }

            .feature-nav-button {
                min-height: 40px;
            }

            .hero-name {
                font-size: 2.8rem;
            }

            .hero-subtitle {
                font-size: 1.3rem;
            }

            .hero-description p {
                font-size: 0.95rem;
            }

            /* Sections */
            section {
                padding: 5rem 2rem 1rem;
            }

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

            /* Skills Grid - 2 columns on tablet */
            .skills-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }

            /* Projects Grid - 2 columns on tablet */
            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }

            /* About content */
            .about-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }

        /* Small Desktop (769px - 1024px) */
        @media (min-width: 769px) and (max-width: 1024px) {
            /* Navigation */
            nav ul {
                gap: 2rem;
            }

            /* Hero Section */
            .hero-content {
                padding: 0 3rem;
                gap: 3rem;
            }

            .hero-name {
                font-size: 3.2rem;
            }

            .hero-subtitle {
                font-size: 1.5rem;
            }

            /* Sections */
            section {
                padding: 6rem 3rem 1rem;
            }

            .section-title {
                font-size: 2.5rem;
            }

            /* Skills Grid - 3 columns on small desktop */
            .skills-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 1.5rem;
            }

            /* Projects Grid - 3 columns on small desktop */
            .projects-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 2.5rem;
            }
        }

        /* Medium Desktop (1025px - 1280px) */
        @media (min-width: 1025px) and (max-width: 1280px) {
            /* Navigation */
            nav ul {
                gap: 2.5rem;
            }

            /* Hero Section */
            .hero-content {
                padding: 0 4rem;
                gap: 4rem;
            }

            .hero-name {
                font-size: 3.5rem;
            }

            .hero-subtitle {
                font-size: 1.6rem;
            }

            /* Sections */
            section {
                padding: 7rem 4rem 1rem;
            }

            .section-title {
                font-size: 2.8rem;
            }
        }

        /* Large Desktop (1281px+) */
        @media (min-width: 1281px) {
            /* Navigation */
            nav ul {
                gap: 3rem;
            }

            /* Hero Section */
            .hero-content {
                padding: 0 5rem;
                gap: 5rem;
            }

            .hero-name {
                font-size: 4rem;
            }

            .hero-subtitle {
                font-size: 1.8rem;
            }

            /* Sections */
            section {
                padding: 8rem 5rem 1rem;
            }

            .section-title {
                font-size: 3rem;
            }

            /* Skills Grid - more columns on large screens */
            .skills-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 2rem;
            }

            /* Projects Grid - more columns on large screens */
            .projects-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 3rem;
            }
        }
.hero-subtitle { font-size: 1.8rem; font-weight: 600; margin: 0.5rem 0 0 0; color: var(--primary-color); animation: fadeInUp 1.1s; text-shadow: none; line-height: 1.3; }
