        :root {
            --apple-bg: #F5F5F7;
            --apple-text: #1D1D1F;
            --apple-secondary: #86868B;
            --apple-blue: #0071E3;
            --apple-blue-hover: #0077ED;
            --apple-surface: #FFFFFF;
            --apple-border: rgba(0, 0, 0, 0.08);
            --pro-bg: #FFFFFF;
            --pro-surface: #F5F5F7;
            --pro-text: #1D1D1F;
            --pro-secondary: #86868B;
            --pro-border: rgba(0, 0, 0, 0.08);
            --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
            --font-text: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font-text);
            background-color: var(--apple-bg);
            color: var(--apple-text);
            font-size: 17px;
            line-height: 1.47059;
            font-weight: 400;
            letter-spacing: -0.022em;
            overflow-x: hidden;
            transition: background-color 0.8s ease;
        }
        /* --- NEW BACKGROUND SYSTEM --- */
        .mesh-bg-container {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            z-index: 0;
            background-color: #050505;
            overflow: hidden;
            pointer-events: none;
        }
        .mesh-aurora {
            position: absolute;
            top: -20%; left: -10%;
            width: 120%; height: 120%;
            background: 
                radial-gradient(circle at 15% 50%, rgba(0, 113, 227, 0.15), transparent 50%),
                radial-gradient(circle at 85% 30%, rgba(142, 45, 226, 0.12), transparent 50%);
            filter: blur(80px);
            opacity: 0.8;
            animation: breatheAurora 15s ease-in-out infinite alternate;
        }
        @keyframes breatheAurora {
            0% { transform: scale(1) translateY(0); }
            100% { transform: scale(1.05) translateY(30px); }
        }
        .mesh-grid {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
            background-size: 32px 32px;
            /* Fade out the grid at the edges/bottom so it doesn't look harsh */
            mask-image: radial-gradient(ellipse at top center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
            -webkit-mask-image: radial-gradient(ellipse at top center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
        }
        .mesh-grain {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            opacity: 0.04;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
            mix-blend-mode: overlay;
        }
        /* --------------------------- */
        a { color: inherit; text-decoration: none; }
        img { display: block; max-width: 100%; }
        .navbar {
            position: fixed;
            top: 24px; left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 760px;
            height: 52px;
            z-index: 1000;
            background: rgba(20, 20, 22, 0.7);
            backdrop-filter: blur(40px) saturate(200%);
            -webkit-backdrop-filter: blur(40px) saturate(200%);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 4px 30px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(255,255,255,0.05);
            color: #F5F5F7;
        }
        .nav-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 0 8px 0 28px;
            position: relative;
        }
        .nav-brand {
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 700;
            letter-spacing: -0.02em;
        }
        .nav-links {
            display: flex;
            gap: 4px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            align-items: center;
        }
        .nav-hover-pill {
            position: absolute;
            top: 50%;
            left: 0;
            height: 32px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 100px;
            transform: translate(0, -50%) scale(0.9);
            opacity: 0;
            pointer-events: none;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 1;
        }
        .nav-links a {
            position: relative;
            z-index: 2;
            padding: 8px 16px;
            font-size: 13px;
            font-weight: 500;
            letter-spacing: 0.01em;
            color: #F5F5F7;
            opacity: 0.65;
            transition: opacity 0.3s ease;
        }
        .nav-links a:hover { opacity: 1; }
        .nav-contact {
            background: #F5F5F7;
            color: #050505;
            padding: 10px 22px;
            border-radius: 100px;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .nav-contact span {
            display: inline-block;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .nav-contact:hover { 
            background: #fff; 
            transform: scale(0.98);
        }
        .nav-contact:hover span {
            transform: translate(2px, -2px);
        }
        .mobile-menu {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100dvh;
            background: rgba(20, 20, 22, 0.85);
            backdrop-filter: blur(40px) saturate(200%);
            -webkit-backdrop-filter: blur(40px) saturate(200%);
            z-index: 990;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 12px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }
        .mobile-menu.open {
            opacity: 1;
            pointer-events: all;
        }
        .mobile-menu a {
            font-family: var(--font-display);
            font-size: 36px;
            font-weight: 700;
            letter-spacing: -0.03em;
            color: #F5F5F7;
            padding: 10px 0;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .mobile-menu.open a {
            opacity: 1;
            transform: translateY(0);
        }
        .mobile-menu.open a:nth-child(1) { transition-delay: 0.1s; }
        .mobile-menu.open a:nth-child(2) { transition-delay: 0.15s; }
        .mobile-menu.open a:nth-child(3) { transition-delay: 0.2s; }
        .mobile-menu.open a:nth-child(4) { transition-delay: 0.25s; }
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 44px; height: 44px;
            cursor: pointer;
            background: none; border: none;
            gap: 5px;
            z-index: 1001; 
        }
        .hamburger span {
            display: block;
            width: 18px; height: 1.5px;
            background: #F5F5F7;
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
            transform-origin: center;
        }
        .hamburger.active span:first-child {
            transform: translateY(3.25px) rotate(45deg);
        }
        .hamburger.active span:last-child {
            transform: translateY(-3.25px) rotate(-45deg);
        }
        .hero {
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 160px 20px 80px;
            position: relative;
            overflow: hidden;
        }
        .hero-content {
            position: relative;
            z-index: 10;
            will-change: transform, opacity;
            transform-origin: center center;
            max-width: 800px;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 18px 8px 14px; /* Compensate for the dot so text feels centered */
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 100px;
            font-size: 13px;
            font-weight: 500;
            color: #F5F5F7;
            margin-bottom: 32px;
            opacity: 0;
            transform: translateY(10px);
            animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        .status-dot {
            width: 8px;
            height: 8px;
            background: #32D74B; /* Apple green */
            border-radius: 50%;
            box-shadow: 0 0 8px rgba(50, 215, 75, 0.6);
            position: relative;
        }
        .status-dot::after {
            content: '';
            position: absolute;
            top: -2px; left: -2px; right: -2px; bottom: -2px;
            border-radius: 50%;
            border: 1px solid rgba(50, 215, 75, 0.4);
            animation: pulseDot 2s infinite;
        }
        @keyframes pulseDot {
            0% { transform: scale(1); opacity: 1; }
            100% { transform: scale(2); opacity: 0; }
        }
        .hero h1 {
            font-family: var(--font-display);
            font-size: clamp(48px, 7vw, 88px);
            font-weight: 700;
            letter-spacing: -0.04em;
            line-height: 1.05;
            background: linear-gradient(180deg, #FFFFFF 0%, #A1A1A6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 24px;
            opacity: 0;
            transform: translateY(20px);
            animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.1s;
        }
        .hero h1 .emoji {
            background: none;
            -webkit-background-clip: initial;
            -webkit-text-fill-color: initial;
            display: inline-block;
        }
        .hero h2 {
            font-size: clamp(20px, 3.5vw, 26px);
            font-weight: 500;
            color: #A1A1A6;
            letter-spacing: -0.015em;
            line-height: 1.4;
            margin-bottom: 32px;
            max-width: 640px;
            margin-inline: auto;
            opacity: 0;
            transform: translateY(20px);
            animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
        }
        .hero p {
            max-width: 580px;
            font-size: 17px;
            line-height: 1.6;
            color: #A1A1A6;
            margin: 0 auto;
            opacity: 0;
            transform: translateY(20px);
            animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
        }
        .hero-cta {
            display: flex;
            gap: 16px;
            justify-content: center;
            margin-top: 40px;
            opacity: 0;
            transform: translateY(20px);
            animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
        }
        .btn-primary {
            background: #F5F5F7;
            color: #050505;
            padding: 14px 28px;
            border-radius: 100px;
            font-size: 15px;
            font-weight: 600;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
        }
        .btn-primary:hover {
            transform: scale(0.97);
            background: #ffffff;
        }
        .btn-secondary {
            background: rgba(255, 255, 255, 0.05);
            color: #F5F5F7;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 14px 28px;
            border-radius: 100px;
            font-size: 15px;
            font-weight: 500;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .btn-secondary:hover {
            transform: scale(0.97);
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
        }
        @keyframes heroFadeUp {
            to { opacity: 1; transform: translateY(0); }
        }
        

        .portfolio-section {
            padding: 40px 20px 120px;
            max-width: 1120px;
            margin: 0 auto;
        }
        .portfolio-container {
            max-width: 1080px;
            margin: 0 auto;
            padding: 0 20px 120px;
        }
        .filter-bar {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 64px;
        }
        .filter-pill {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.1);
            padding: 12px 24px;
            border-radius: 100px;
            font-size: 15px;
            font-weight: 500;
            color: #A1A1A6;
            cursor: pointer;
            transition: all 0.3s ease;
            outline: none;
        }
        .filter-pill:hover {
            border-color: rgba(255,255,255,0.3);
            color: #FFFFFF;
        }
        .filter-pill.active {
            background: #FFFFFF;
            border-color: #FFFFFF;
            color: #000000;
        }
        .portfolio-grid {
            display: flex;
            flex-direction: column;
            gap: 160px;
            padding-top: 24px;
        }
        .project-showcase {
            display: flex;
            align-items: center;
            gap: 80px;
            
            position: relative;
        }
        .showcase-number {
            font-family: var(--font-display);
            font-size: 240px;
            font-weight: 800;
            color: rgba(255,255,255,0.03);
            position: absolute;
            top: -100px;
            left: -40px;
            z-index: -1;
            letter-spacing: -0.05em;
            pointer-events: none;
            user-select: none;
        }
        .project-showcase:nth-child(even) {
            flex-direction: row-reverse;
        }
        .project-showcase:nth-child(even) .showcase-number {
            left: auto;
            right: -40px;
        }
        .showcase-image {
            flex: 1.2;
            aspect-ratio: 16/10;
            border-radius: 40px;
            overflow: hidden;
            background: #E8E8ED;
            box-shadow: 0 30px 60px rgba(0,0,0,0.08);
            display: block;
        }
        .showcase-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .project-showcase:hover .showcase-image img {
            transform: scale(1.04);
        }
        .showcase-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        .showcase-content h3 {
            font-family: var(--font-display);
            font-size: clamp(32px, 4vw, 48px);
            font-weight: 700;
            color: #FFFFFF;
            margin-bottom: 24px;
            letter-spacing: -0.02em;
            line-height: 1.1;
        }
        .showcase-content p {
            font-size: 18px;
            line-height: 1.6;
            color: #A1A1A6;
            margin-bottom: 40px;
        }
        .showcase-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 40px;
        }
        .showcase-tags span {
            font-size: 13px;
            font-weight: 600;
            color: #A1A1A6;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.1);
            padding: 8px 16px;
            border-radius: 100px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .showcase-link {
            font-size: 15px;
            font-weight: 600;
            color: #FFFFFF;
            border-bottom: 2px solid #FFFFFF;
            padding-bottom: 4px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: gap 0.3s ease;
        }
        .project-showcase:hover .showcase-link {
            gap: 12px;
        }
        .pro-section {
            background: var(--pro-bg);
            color: var(--pro-text);
            padding: 160px 20px 120px;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        .pro-header {
            text-align: center;
            margin-bottom: 80px;
            position: relative;
            z-index: 10;
        }
        .pro-header h2 {
            font-family: var(--font-display);
            font-size: clamp(40px, 6vw, 72px);
            font-weight: 700;
            letter-spacing: -0.04em;
            background: linear-gradient(180deg, #1D1D1F 0%, #86868B 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .pro-subtitle {
            font-size: clamp(18px, 2vw, 21px);
            color: #86868B;
            margin-top: 16px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.5;
        }
        .stack-grid {
            max-width: 980px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            position: relative;
            z-index: 10;
        }
        .stack-card {
            background: #F5F5F7;
            border: 1px solid rgba(0, 0, 0, 0.05);
            border-radius: 24px;
            padding: 40px 32px;
            position: relative;
            overflow: hidden;
            translate: 0 0;
            transition: translate 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
        }
        .stack-card:hover { 
            translate: 0 -8px; 
            background: #FFFFFF;
            box-shadow: 0 20px 40px rgba(0,0,0,0.06);
            border-color: rgba(0, 0, 0, 0.08);
        }
        .stack-card > * { position: relative; z-index: 1; }
        .stack-icon {
            font-size: 24px;
            width: 56px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #FFFFFF;
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.04);
            margin-bottom: 32px;
            color: #1D1D1F;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .stack-card:hover .stack-icon {
            transform: scale(1.08);
            box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        }
        .stack-card h4 {
            font-size: 20px;
            font-weight: 700;
            letter-spacing: -0.01em;
            margin-bottom: 12px;
            color: #1D1D1F;
        }
        .stack-card p {
            font-size: 15px;
            line-height: 1.5;
            color: #86868B;
        }
        .tech-marquee-wrapper {
            background: #1D1D1F; /* Dark Apple Gray */
            padding: 24px 0; /* Tightened height */
            border-top: 1px solid rgba(255,255,255,0.05);
            overflow: hidden;
            display: flex;
            position: relative;
            z-index: 10;
        }
        .tech-marquee-wrapper::before,
        .tech-marquee-wrapper::after {
            content: '';
            position: absolute;
            top: 0; bottom: 0;
            width: 150px;
            z-index: 2;
            pointer-events: none;
        }
        .tech-marquee-wrapper::before {
            left: 0;
            background: linear-gradient(to right, #1D1D1F, transparent);
        }
        .tech-marquee-wrapper::after {
            right: 0;
            background: linear-gradient(to left, #1D1D1F, transparent);
        }
        .marquee-track {
            display: flex;
            gap: 24px;
            padding-right: 24px;
            animation: scrollMarquee 25s linear infinite;
            white-space: nowrap;
        }
        .marquee-track img {
            height: 32px;
            border-radius: 4px;
            object-fit: contain;
        }
        @keyframes scrollMarquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        .content-wrapper {
            background: radial-gradient(120% 100% at 50% 0%, #1c1c1e 0%, #050505 40%, #000000 100%);
            border-radius: 64px 64px 0 0;
            position: relative;
            z-index: 20;
            margin-top: -54px;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 -20px 60px rgba(0,0,0,0.5);
            color: #FFFFFF;
        }

        /* --- ABOUT NARRATIVE --- */
        .about-dark {
            background: #FFFFFF;
            min-height: 80vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 120px 20px;
            position: relative;
            z-index: 10;
        }
        .about-dark-inner {
            max-width: 1080px;
            margin: 0 auto;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 64px;
        }
        .about-statement {
            font-family: var(--font-display);
            font-size: clamp(32px, 5vw, 64px);
            font-weight: 700;
            line-height: 1.15;
            letter-spacing: -0.03em;
            color: #A1A1A6; 
            max-width: 980px;
            margin: 0;
        }
        .about-statement span.highlight-word {
            color: #A1A1A6; 
        }
        .about-glass-card {
            background: rgba(0, 0, 0, 0.03);
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 100px;
            padding: 12px 32px 12px 12px;
            display: inline-flex;
            align-items: center;
            gap: 24px;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            align-self: flex-start;
        }
        .glass-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            overflow: hidden;
            background: #2C2C2E;
        }
        .glass-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .glass-info {
            display: flex;
            gap: 32px;
            color: #86868B;
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.02em;
        }
        .glass-info .stat-group {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .glass-info strong {
            color: #1D1D1F;
            font-weight: 700;
            font-size: 16px;
        }
        .portfolio-intro {
            padding: 120px 20px 40px;
            text-align: center;
        }
        .portfolio-intro h2 {
            font-family: var(--font-display);
            font-size: clamp(48px, 8vw, 80px);
            font-weight: 700;
            letter-spacing: -0.04em;
            line-height: 1.05;
            background: linear-gradient(135deg, #FFFFFF 0%, #A1A1A6 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin: 0 0 24px 0;
        }
        .portfolio-subtitle {
            font-size: clamp(18px, 3vw, 24px);
            color: #86868B;
            max-width: 600px;
            margin: 0 auto;
            letter-spacing: -0.01em;
            line-height: 1.5;
        }
        .contact-section {
            padding: 160px 20px 100px;
            text-align: center;
            background: #050505;
            color: #F5F5F7;
        }
        .contact-section h2 {
            font-family: var(--font-display);
            font-size: clamp(40px, 6vw, 64px);
            font-weight: 700;
            letter-spacing: -0.04em;
            line-height: 1.05;
            margin-bottom: 16px;
        }
        .contact-section p {
            font-size: clamp(19px, 3vw, 24px);
            color: #A1A1A6;
            letter-spacing: -0.02em;
            max-width: 600px;
            margin: 0 auto 48px;
        }
        .btn-hero-contact {
            display: inline-flex;
            background: #F5F5F7;
            color: #050505;
            padding: 18px 40px;
            border-radius: 100px;
            font-size: 19px;
            font-weight: 600;
            letter-spacing: -0.02em;
            transition: transform 0.2s, background 0.3s;
        }
        .btn-hero-contact:hover { transform: scale(1.02); background: #ffffff; color: #050505;}
        .contact-social {
            margin-top: 64px;
            display: flex;
            justify-content: center;
            gap: 24px;
        }
        .contact-social a {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 15px;
            font-weight: 500;
            color: #A1A1A6;
            transition: color 0.2s;
        }
        .contact-social a svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }
        .contact-social a:hover { color: #F5F5F7; }
        .apple-footer {
            background: #050505;
            padding: 40px 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 12px;
            color: #A1A1A6;
        }
        .footer-inner {
            max-width: 980px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
        }
        @media (max-width: 800px) {
            /* Layout & Spacing Fixes */
            .content-wrapper {
                border-radius: 32px 32px 0 0;
                margin-top: -28px;
            }
            .portfolio-intro { padding: 80px 20px 30px; }
            .pro-section { padding: 100px 20px 80px; }
            .contact-section { padding: 100px 20px 80px; }
            .portfolio-section { padding: 40px 20px 80px; }
            .about-dark { padding: 80px 20px; }
            
            /* Hero Fixes */
            .hero { padding: 120px 20px 80px; }
            .hero h1 { font-size: clamp(36px, 10vw, 56px); margin-bottom: 12px; }
            .hero h2 { font-size: 20px; margin-bottom: 20px; }
            .hero p { font-size: 15px; margin-bottom: 32px; padding: 0 10px; }
            .hero-cta { flex-direction: row; flex-wrap: wrap; width: 100%; max-width: none; gap: 12px; margin-left: 0; margin-right: 0; }
            .btn-primary, .btn-secondary { width: auto; justify-content: center; padding: 14px 28px; font-size: 15px; }
            .hero-cta .btn-primary, .hero-cta .btn-secondary { flex: 1; min-width: 140px; padding: 14px 20px; }

            /* Portfolio Showcase Fixes */
            .portfolio-grid { gap: 60px; }
            .project-showcase, .project-showcase:nth-child(even) { flex-direction: column; gap: 32px; }
            .showcase-image { width: 100%; border-radius: 24px; aspect-ratio: auto; }
            .showcase-number { font-size: 140px; top: -50px; left: 0; }
            .project-showcase:nth-child(even) .showcase-number { left: auto; right: 0; }
            .showcase-content h3 { font-size: 28px; margin-bottom: 16px; }
            .showcase-content p { font-size: 16px; margin-bottom: 24px; }
            .showcase-tags { margin-bottom: 24px; }
            
            /* Tech Stack Fixes */
            .stack-grid { grid-template-columns: 1fr; gap: 16px; }
            .stack-card { padding: 24px; }
            
            /* Marquee Fixes */
            .tech-marquee-wrapper { padding: 24px 0; }
            .marquee-track { gap: 32px; }
            .marquee-track img { height: 24px; }
            
            /* Navigation Fixes */
            .nav-brand { font-size: 13px; max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
            .nav-links, .nav-contact { display: none; }
            .hamburger { display: flex; }
            
            /* About Section Fixes */
            .about-statement { font-size: 26px; }
            .about-glass-card { 
                padding: 10px 24px 10px 10px;
                gap: 16px;
            }
            .glass-avatar { width: 44px; height: 44px; }
            .glass-info { gap: 16px; }
        }
        @media (max-width: 1024px) and (min-width: 801px) {
            .about-statement { font-size: 40px; }
        }

.portfolio-cta {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}
