/* CSS variables in OKLCH */
        :root {
            --bg: oklch(0.08 0.02 250);          /* #060B16 - Deep Blue Void */
            --surface: oklch(0.12 0.03 250);     /* #0D1527 - Dark Slate Surface */
            --surface-hover: oklch(0.15 0.04 250);
            --primary: oklch(0.55 0.17 250);     /* #2E7BD6 - Potencial Blue */
            --primary-hover: oklch(0.48 0.16 250);
            --accent: oklch(0.55 0.23 0);        /* #E11D48 - Potencial Red */
            --accent-hover: oklch(0.45 0.22 0);
            --highlight: oklch(0.81 0.07 245);   /* #A5C7EC - Ice Blue */
            --border: oklch(0.22 0.04 250);      /* #1F2E4A - Slate Border */
            --border-hover: oklch(0.35 0.10 250);
            --ink: oklch(0.98 0.003 245);        /* #F9FAFB - Ink White */
            --muted: oklch(0.70 0.01 245);       /* #9CA3AF - Muted Gray */
            --success: oklch(0.57 0.18 165);     /* #059669 - Emerald Green */
            --orange: oklch(0.65 0.2 35);        /* #EA580C - Safety Orange */
            --cyan: oklch(0.65 0.15 200);        /* #0891B2 - Cyan Focus */
            
            --font-display: 'Sora', 'Manrope', sans-serif;
            --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-mono: 'Geist Mono', monospace;
            
            /* Typography Scale (Modular scale ~1.25 Perfect Third) */
            --text-xs: 0.75rem;          /* 12px - metadata, small tags */
            --text-sm: 0.875rem;         /* 14px - badges, helper text */
            --text-base: 1rem;           /* 16px - body text */
            --text-lg: 1.25rem;          /* 20px - sub-titles, card headers */
            --text-xl: 1.5rem;           /* 24px - sub-headings */
            --text-2xl: 2rem;            /* 32px - section titles (clamp fallback) */
            --text-3xl: 2.5rem;          /* 40px - hero subtitle / sub-displays */
            --text-display: clamp(2rem, 5vw, 4.5rem);  /* Fluid display headers */
            
            /* Font Weights */
            --weight-regular: 400;
            --weight-medium: 500;
            --weight-semibold: 600;
            --weight-bold: 700;
            
            /* Line Heights */
            --line-height-tight: 1.15;   /* Headings and title wraps */
            --line-height-normal: 1.5;   /* Buttons, cards, lists */
            --line-height-relaxed: 1.8;  /* Body copy (dark mode readability adjustment) */
            
            /* Letter Spacings */
            --letter-spacing-tight: -0.015em;
            --letter-spacing-normal: 0;
            --letter-spacing-wide: 0.05em;
            --letter-spacing-widest: 0.06em; /* Used for uppercase buttons and badges */
            
            --max-width: 1200px;
        }

        /* Base Resets */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        /* Focus Outline Styles for Keyboard Accessibility */
        :focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 4px;
        }

        .btn:focus-visible,
        .calc-slider:focus-visible {
            outline-offset: 2px;
        }
        
        .wa-floating-btn:focus-visible {
            outline: 2px solid white;
            outline-offset: 2px;
        }

        body {
            background-color: var(--bg);
            color: var(--ink);
            font-family: var(--font-body);
            font-size: var(--text-base);
            line-height: var(--line-height-relaxed);
            letter-spacing: var(--letter-spacing-normal);
            font-kerning: normal;
            font-optical-sizing: auto;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        /* Selection Color */
        ::selection {
            background-color: oklch(from var(--primary) l c h / 0.3);
            color: var(--ink);
        }

        /* Structure & Layout Utilities */
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        .section-padding {
            padding: 70px 0;
        }

        @media (max-width: 768px) {
            .section-padding {
                padding: 40px 0;
            }
        }

        /* Subtle glowing divider to connect sections */
        .section-divider {
            height: 1px;
            width: 100%;
            background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
            opacity: 0.4;
        }

        /* Typography */
        h1, h2, h3, h4 {
            font-family: var(--font-display);
            color: var(--ink);
            font-weight: var(--weight-bold);
            line-height: var(--line-height-tight);
            letter-spacing: var(--letter-spacing-tight);
            text-wrap: balance;
        }

        p {
            max-width: 65ch;
            color: var(--muted);
            text-wrap: pretty;
        }

        /* Grid Utilities */
        .grid-2d {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }

        @media (max-width: 360px) {
            .grid-2d {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        /* Button Primitives */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: 12px;
            font-family: var(--font-body);
            font-weight: var(--weight-semibold);
            font-size: var(--text-base);
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            border: none;
            outline: none;
            min-height: 48px; /* accessibility target */
        }

        .btn-primary {
            background-color: var(--primary);
            color: var(--ink);
        }

        .btn-primary:hover {
            background-color: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 0 20px oklch(from var(--primary) l c h / 0.3);
        }

        .btn-accent {
            background-color: var(--accent);
            color: var(--ink);
        }

        .btn-accent:hover {
            background-color: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 0 20px oklch(from var(--accent) l c h / 0.3);
        }

        .btn-outline {
            background-color: transparent;
            color: var(--ink);
            border: 1px solid var(--border);
        }

        .btn-outline:hover {
            background-color: oklch(from var(--ink) l c h / 0.05);
            border-color: var(--highlight);
            transform: translateY(-2px);
        }

        /* Card Container Primitive */
        .card {
            background-color: var(--surface);
            border: 1px solid var(--border);
            border-radius: 18px;
            padding: 32px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .services-section .card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            justify-content: center;
        }

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

        .card:hover {
            border-color: var(--border-hover);
            transform: translateY(-4px);
            box-shadow: 0 10px 30px -10px oklch(from var(--bg) l c h / 0.7), 
                        0 0 25px -5px oklch(from var(--primary) l c h / 0.1);
        }

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

        /* Badges / Chips */
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 9999px;
            font-family: var(--font-mono);
            font-size: var(--text-xs);
            font-weight: var(--weight-medium);
            letter-spacing: var(--letter-spacing-widest);
            text-transform: uppercase;
            border: 1px solid oklch(from var(--highlight) l c h / 0.2);
            background-color: oklch(from var(--surface) l c h / 0.5);
            color: var(--highlight);
            cursor: default;
            user-select: none;
            -webkit-user-select: none;
        }

        .badge-success {
            color: var(--success);
            border-color: oklch(from var(--success) l c h / 0.2);
            background-color: oklch(from var(--success) l c h / 0.05);
        }

        /* Scroll-driven Reveal Animations */
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Reduced Motion Fallback */
        @media (prefers-reduced-motion: reduce) {
            .reveal {
                opacity: 1 !important;
                transform: none !important;
                transition: none !important;
            }
            .btn, .card, .stack-category-card {
                transition: none !important;
                transform: none !important;
            }
            .btn:hover, .card:hover, .stack-category-card:hover {
                transform: none !important;
                box-shadow: none !important;
            }
        }

        /* Navigation Header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000; /* Increased to raise parent stacking context above all page elements */
            height: 80px;
            display: flex;
            align-items: center;
        }

        header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: oklch(from var(--bg) l c h / 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            z-index: -1;
            pointer-events: none;
        }

        .nav-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            border-radius: 8px;
            /* Applied to the container so that drop-shadow blurs never clip at image boundaries */
            filter: invert(1) hue-rotate(180deg) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 10px oklch(from var(--primary) l c h / 0.25));
        }

        .logo-container:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 4px;
        }

        .logo-picture {
            display: flex;
            align-items: center;
        }

        .logo-img {
            height: 38px;
            width: auto;
            display: block;
        }

        .nav-menu {
            display: flex;
            align-items: center;
            gap: 32px;
            list-style: none;
        }

        .nav-link {
            color: var(--muted);
            text-decoration: none;
            font-size: var(--text-sm);
            font-weight: var(--weight-medium);
            transition: color 0.2s ease;
            border-radius: 4px;
            padding: 4px 8px;
            margin: -4px -8px;
            display: inline-block;
        }

        .nav-link:hover, .nav-link.active {
            color: var(--ink);
        }

        .nav-link:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 0px;
        }

        /* Hamburger menu button */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--ink);
            cursor: pointer;
            width: 44px;
            height: 44px;
            align-items: center;
            justify-content: center;
            padding: 0;
            z-index: 1010; /* Placed above header and nav menu open state */
        }

        @media (max-width: 1024px) {
            .mobile-toggle {
                display: inline-flex;
            }

            .nav-menu {
                position: fixed;
                top: 80px;
                left: 0;
                right: 0;
                bottom: 0;
                background-color: oklch(from var(--bg) l c h / 0.98);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                padding: 20px 16px; /* Reduced to fit mobile viewport heights */
                gap: 4px; /* Reduced vertical spacing */
                z-index: 1005; /* Placed above header baseline */
                opacity: 0;
                transform: translateX(16px);
                visibility: hidden;
                pointer-events: none;
                transition: opacity 0.24s ease,
                            transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                            visibility 0s linear 0.3s;
                border-top: 1px solid var(--border);
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
            }

            .nav-menu.open {
                transform: translateX(0);
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
                transition: opacity 0.24s ease,
                            transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                            visibility 0s linear 0s;
            }

            .nav-menu li {
                width: 100%;
                display: flex;
                justify-content: center;
            }

            .nav-menu .nav-link {
                font-size: var(--text-sm); /* Reduced to match desktop/mobile proportions and fit screens */
                font-weight: var(--weight-semibold);
                padding: 10px 16px; /* Reduced from 12px 20px to look compact and prevent clipping */
                width: 100%;
                max-width: 320px;
                text-align: center;
                border-radius: 10px;
                color: var(--muted);
                transition: all 0.2s ease;
                margin: 0;
                display: block;
            }

            .nav-menu .nav-link:hover, 
            .nav-menu .nav-link.active {
                color: var(--ink);
                background-color: oklch(from var(--primary) l c h / 0.08);
            }

            .nav-menu .btn-nav {
                width: 100%;
                max-width: 320px;
                padding: 10px 16px; /* Reduced to match nav links padding scale */
                margin-top: 12px; /* Reduced from 16px */
            }
        }

        /* Hero Section */
        .hero-section {
            padding-top: 140px;
            padding-bottom: 60px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            background-image: 
                radial-gradient(circle at 50% 50%, oklch(from var(--bg) l c h / 0) 0%, var(--bg) 90%),
                linear-gradient(rgba(31, 46, 74, 0.12) 1px, transparent 1px),
                linear-gradient(90deg, rgba(31, 46, 74, 0.12) 1px, transparent 1px);
            background-size: 100% 100%, 56px 56px, 56px 56px;
            background-position: center center;
        }

        @media (max-width: 768px) {
            .hero-section {
                padding-top: 110px;
                padding-bottom: 40px;
            }
        }

        /* Ambient atmospheric blur background (Stripe/Vercel style) */
        .hero-section::after {
            content: '';
            position: absolute;
            top: -10%;
            left: 50%;
            transform: translateX(-50%);
            width: 1000px;
            height: 500px;
            background: radial-gradient(circle, oklch(from var(--primary) l c h / 0.22) 0%, oklch(from var(--accent) l c h / 0.12) 50%, rgba(0,0,0,0) 100%);
            z-index: 1;
            filter: blur(80px);
            pointer-events: none;
        }

        /* Constellation network canvas */
        #hero-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }

        /* Interactive spotlight overlay */
        .hero-spotlight {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 30%), oklch(from var(--primary) l c h / 0.12) 0%, oklch(from var(--accent) l c h / 0.05) 50%, transparent 100%);
            z-index: 3;
            pointer-events: none;
            mix-blend-mode: screen;
            opacity: 0.85;
            transition: opacity 0.5s ease;
        }

        .hero-content {
            text-align: center;
            max-width: 100%;
            margin: 0 auto;
            position: relative;
            z-index: 4;
        }

        .hero-title {
            font-size: var(--text-display);
            letter-spacing: var(--letter-spacing-tight);
            margin-bottom: 24px;
            font-family: var(--font-display);
            font-weight: 800;
            line-height: var(--line-height-tight);
            text-align: center;
        }

        /* Cinematic Staggered Entrance Animations */
        .entrance-line {
            display: block;
            white-space: nowrap;
            opacity: 0;
            transform: translateY(24px);
            animation: entranceFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        .line-1 { animation-delay: 150ms; }
        .line-2 { animation-delay: 300ms; }
        .line-3 { animation-delay: 450ms; }

        .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.35rem);
            color: var(--muted);
            max-width: 75ch;
            margin: 0 auto 40px auto;
            line-height: 1.6;
            font-weight: var(--weight-regular);
            opacity: 0;
            transform: translateY(18px);
            animation: entranceFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            animation-delay: 600ms;
        }

        .hero-ctas {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            margin-bottom: 60px;
            opacity: 0;
            transform: translateY(12px);
            animation: entranceFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            animation-delay: 750ms;
        }

        @media (max-width: 640px) {
            .hero-title {
                font-size: clamp(1.5rem, 6.5vw, 2.2rem);
            }
            .hero-ctas {
                flex-direction: column;
                align-items: stretch;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: clamp(1.2rem, 7.5vw, 1.6rem);
            }
        }

        @media (max-width: 360px) {
            .hero-title {
                font-size: clamp(1.1rem, 6.2vw, 1.3rem);
            }
        }

        .hero-credentials {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
            border-top: 1px solid var(--border);
            padding-top: 40px;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0;
            transform: translateY(12px);
            animation: entranceFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            animation-delay: 900ms;
        }

        /* Interactive badge animation */
        .hero-credentials .badge {
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .hero-credentials .badge:hover {
            transform: translateY(-2px);
            border-color: var(--primary);
            box-shadow: 0 0 10px oklch(from var(--primary) l c h / 0.15);
            background-color: oklch(from var(--primary) l c h / 0.05);
            color: var(--ink);
        }

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

        /* Shine sweep for primary button */
        .btn-primary {
            position: relative;
            overflow: hidden;
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -150%;
            width: 50%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                oklch(from var(--ink) l c h / 0.25),
                transparent
            );
            transform: skewX(-20deg);
            transition: none;
        }

        .btn-primary:hover::before {
            left: 150%;
            transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        /* Respect system motion settings */
        @media (prefers-reduced-motion: reduce) {
            .entrance-line,
            .hero-subtitle,
            .hero-ctas,
            .hero-credentials {
                opacity: 1 !important;
                transform: none !important;
                animation: none !important;
            }
            .hero-credentials .badge:hover {
                transform: none !important;
            }
            .btn-primary::before {
                display: none !important;
            }
        }

        /* Logos/Authority Section */
        .logos-section {
            padding: 50px 0;
            background-color: oklch(from var(--surface) l c h / 0.15);
            border-bottom: 1px solid oklch(from var(--ink) l c h / 0.02);
            position: relative;
            z-index: 5;
        }

        .logos-title {
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--muted);
            text-align: center;
            margin: 0 auto 32px auto;
            max-width: 100%;
            font-weight: 600;
            opacity: 0.8;
        }

        .logos-grid {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 48px;
            row-gap: 28px;
            max-width: 1100px;
            margin: 0 auto;
        }

        .logo-item {
            display: flex;
            align-items: center;
            justify-content: center;
            height: var(--logo-height, 32px);
            max-width: 140px;
            text-decoration: none;
            
            /* Establish individual transform identity values to prevent sudden shifts */
            translate: 0 0;
            scale: 1;
            
            /* Premium spring transition */
            transition: 
                scale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                translate 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        /* Balance visual weights of different logo dimensions */
        .logo-item.logo-softfocus { --logo-height: 30px; }
        .logo-item.logo-sicredi   { --logo-height: 18px; }
        .logo-item.logo-btg       { --logo-height: 22px; }
        .logo-item.logo-boaconta  { --logo-height: 26px; }
        .logo-item.logo-larlink   { --logo-height: 28px; }
        .logo-item.logo-cresol    { --logo-height: 28px; }
        .logo-item.logo-univali   { --logo-height: 36px; }
        .logo-item.logo-elume     { --logo-height: 16px; }
        .logo-item.logo-navein    { --logo-height: 20px; }
        .logo-item.logo-pucpr       { --logo-height: 24px; }
        .logo-item.logo-tdc         { --logo-height: 28px; }
        .logo-item.logo-agiletrends { --logo-height: 28px; }
        .logo-item.logo-rotary      { --logo-height: 30px; }

        .logo-item img {
            max-height: 100%;
            width: auto;
            max-width: 100%;
            object-fit: contain;
            filter: grayscale(1) brightness(0) invert(1);
            opacity: 0.35;
            transition: filter 0.3s ease, opacity 0.3s ease;
        }

        .logo-item:hover {
            scale: 1.45;
            translate: 0 -8px;
            z-index: 10;
        }

        .logo-item:hover img {
            filter: none;
            opacity: 0.95;
        }

        @media (max-width: 768px) {
            .logos-section {
                padding: 40px 0;
            }
            .logos-grid {
                gap: 28px;
                row-gap: 20px;
            }
            .logo-item {
                scale: 0.85;
            }
            .logo-item:hover {
                scale: 1.2;
                translate: 0 -4px;
                z-index: 10;
            }
        }

        /* Respect motion settings for logo transitions */
        @media (prefers-reduced-motion: reduce) {
            .logo-item {
                transition: none !important;
                scale: 1 !important;
                translate: 0 0 !important;
            }
        }

        /* Services Section */
        .services-section {
            background-color: oklch(from var(--surface) l c h / 0.2);
            position: relative;
        }

        .section-header {
            margin-bottom: 60px;
            max-width: 650px;
        }

        .section-title {
            font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
            margin-bottom: 16px;
            letter-spacing: var(--letter-spacing-tight);
        }

        .section-desc {
            color: var(--muted);
            font-size: var(--text-base);
        }

        .card .section-desc {
            font-size: var(--text-sm);
            margin-bottom: 20px;
            line-height: var(--line-height-normal);
        }

        .service-icon-box {
            width: 48px;
            height: 48px;
            border-radius: 10px;
            background-color: oklch(from var(--primary) l c h / 0.1);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            border: 1px solid oklch(from var(--primary) l c h / 0.2);
        }

        .service-card-2 {
            border-color: oklch(from var(--accent) l c h / 0.15);
        }
        .service-card-2 .service-icon-box {
            background-color: oklch(from var(--accent) l c h / 0.1);
            color: var(--accent);
            border-color: oklch(from var(--accent) l c h / 0.2);
        }

        .service-card-3 {
            border-color: oklch(from var(--success) l c h / 0.15);
        }
        .service-card-3 .service-icon-box {
            background-color: oklch(from var(--success) l c h / 0.1);
            color: var(--success);
            border-color: oklch(from var(--success) l c h / 0.2);
        }

        .service-card-4 {
            border-color: oklch(from var(--orange) l c h / 0.15);
        }
        .service-card-4 .service-icon-box {
            background-color: oklch(from var(--orange) l c h / 0.1);
            color: var(--orange);
            border-color: oklch(from var(--orange) l c h / 0.2);
        }

        .service-card-5 {
            border-color: oklch(from var(--cyan) l c h / 0.15);
        }
        .service-card-5 .service-icon-box {
            background-color: oklch(from var(--cyan) l c h / 0.1);
            color: var(--cyan);
            border-color: oklch(from var(--cyan) l c h / 0.2);
        }

        .service-title {
            font-size: var(--text-lg);
            margin-bottom: 12px;
            font-family: var(--font-display);
            font-weight: var(--weight-bold);
            line-height: 1.25;
        }

        .service-bullets {
            margin-top: 20px;
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 8px;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
            align-items: flex-start;
        }

        .service-bullet-item {
            font-size: var(--text-sm);
            color: var(--muted);
            display: flex;
            align-items: flex-start;
            gap: 8px;
            text-align: left;
        }

        .service-bullet-item svg {
            flex-shrink: 0;
            margin-top: 4px;
            color: var(--highlight);
        }

        .service-stack {
            margin-top: 24px;
            border-top: 1px solid var(--border);
            padding-top: 20px;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .service-stack-label {
            font-family: var(--font-mono);
            font-size: var(--text-xs);
            text-transform: uppercase;
            color: var(--muted);
            margin-bottom: 10px;
            letter-spacing: var(--letter-spacing-wide);
            text-align: center;
        }

        .service-stack-list {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            justify-content: center;
        }

        .service-stack-pill {
            font-family: var(--font-mono);
            font-size: var(--text-xs);
            background-color: oklch(from var(--ink) l c h / 0.03);
            border: 1px solid oklch(from var(--ink) l c h / 0.08);
            color: var(--muted);
            padding: 2px 8px;
            border-radius: 4px;
            cursor: default;
            user-select: none;
            -webkit-user-select: none;
            transition: all 0.2s ease;
        }

        .service-stack-pill:hover {
            color: var(--highlight);
            border-color: oklch(from var(--highlight) l c h / 0.3);
            background-color: oklch(from var(--primary) l c h / 0.05);
            transform: translateY(-1px);
        }

        .service-cta {
            margin-top: auto;
            width: 100%;
        }

        /* Interactive ROI Calculator Section */
        .calculator-section {
            background-color: var(--bg);
            position: relative;
        }

        .calculator-card {
            background: linear-gradient(135deg, oklch(from var(--surface) l c h / 0.7) 0%, oklch(from var(--bg) l c h / 0.9) 100%);
            border: 1px solid var(--border);
            border-radius: 24px;
            padding: 40px;
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 48px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.4);
            position: relative;
        }

        .calculator-card > * {
            min-width: 0;
        }

        @media (max-width: 960px) {
            .calculator-card {
                grid-template-columns: 1fr;
                gap: 36px;
                padding: 28px;
            }
        }

        @media (max-width: 520px) {
            .calculator-card {
                border-radius: 20px;
                padding: 24px;
                gap: 30px;
            }
        }

        .calc-inputs {
            display: flex;
            flex-direction: column;
            gap: 28px;
            min-width: 0;
        }

        .calc-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
            min-width: 0;
        }

        .calc-label-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }

        .calc-label {
            font-size: var(--text-sm);
            font-weight: var(--weight-medium);
            color: var(--ink);
        }

        .calc-value-display {
            font-family: var(--font-mono);
            font-size: var(--text-base);
            color: var(--highlight);
            font-weight: var(--weight-semibold);
            font-variant-numeric: tabular-nums;
            text-align: right;
            white-space: nowrap;
            max-width: 100%;
        }

        /* Custom Input Range Styling */
        .calc-slider {
            -webkit-appearance: none;
            width: 100%;
            min-height: 44px;
            border-radius: 999px;
            background: transparent;
            outline: none;
            cursor: pointer;
            touch-action: pan-y;
            display: block;
            max-width: 100%;
        }

        .calc-slider::-webkit-slider-runnable-track {
            height: 8px;
            border-radius: 999px;
            background: linear-gradient(90deg, oklch(from var(--primary) l c h / 0.55), var(--border));
            border: 1px solid oklch(from var(--highlight) l c h / 0.14);
        }

        .calc-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            border: 3px solid var(--ink);
            margin-top: -11px;
            box-shadow: 0 0 0 6px oklch(from var(--primary) l c h / 0.16);
            transition: transform 0.1s;
        }

        .calc-slider::-webkit-slider-thumb:hover {
            transform: scale(1.2);
        }

        .calc-slider::-moz-range-thumb {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            border: 3px solid var(--ink);
            box-shadow: 0 0 0 6px oklch(from var(--primary) l c h / 0.16);
            transition: transform 0.1s;
        }

        .calc-slider::-moz-range-track {
            height: 8px;
            border-radius: 999px;
            background: linear-gradient(90deg, oklch(from var(--primary) l c h / 0.55), var(--border));
            border: 1px solid oklch(from var(--highlight) l c h / 0.14);
        }

        .calc-slider::-moz-range-thumb:hover {
            transform: scale(1.2);
        }

        .calc-results-box {
            background-color: oklch(from var(--surface) l c h / 0.4);
            border: 1px solid var(--border);
            border-radius: 18px;
            padding: 32px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 320px;
            min-width: 0;
        }

        @media (max-width: 520px) {
            .calc-inputs {
                gap: 24px;
            }

            .calc-label-row {
                align-items: flex-start;
                flex-direction: column;
                gap: 4px;
            }

            .calc-value-display {
                text-align: left;
            }

            .calc-results-box {
                min-height: 0;
                padding: 24px;
            }
        }

        .calc-result-title {
            font-family: var(--font-mono);
            font-size: var(--text-xs);
            text-transform: uppercase;
            color: var(--muted);
            letter-spacing: var(--letter-spacing-wide);
            margin-bottom: 8px;
        }

        .calc-result-value {
            font-family: var(--font-display);
            font-size: clamp(var(--text-2xl), 4.5vw, var(--text-3xl));
            color: var(--ink);
            font-weight: 800;
            line-height: 1;
            margin-bottom: 24px;
            font-variant-numeric: tabular-nums;
            overflow-wrap: anywhere;
        }

        .calc-result-highlight {
            color: var(--accent);
        }

        @media (max-width: 520px) {
            .calc-result-value {
                font-size: clamp(1.75rem, 9vw, 2.25rem);
            }
        }

        @media (max-width: 360px) {
            .calculator-section .container {
                padding-left: 16px;
                padding-right: 16px;
            }

            .calculator-card,
            .calc-results-box {
                padding: 20px;
            }

            .calc-result-value {
                font-size: clamp(1.4rem, 7.2vw, 1.75rem);
                white-space: nowrap;
                overflow-wrap: normal;
            }
        }

        .calc-metrics-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-bottom: 28px;
            border-top: 1px solid var(--border);
            padding-top: 24px;
        }

        @media (max-width: 420px) {
            .calc-metrics-grid {
                grid-template-columns: 1fr;
            }
        }

        .calc-metric-val {
            font-size: var(--text-lg);
            font-weight: var(--weight-semibold);
            color: var(--highlight);
            font-variant-numeric: tabular-nums;
        }

        .calc-cta {
            margin-top: auto;
            width: 100%;
            min-height: 56px;
            line-height: var(--line-height-normal);
            text-align: center;
            white-space: normal;
        }

        /* Projects Section */
        .projects-section {
            position: relative;
        }

        .project-tag-row {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 16px;
        }

        .project-desc {
            font-size: var(--text-sm);
            margin-bottom: 20px;
            min-height: 64px;
            line-height: var(--line-height-normal);
        }

        .project-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--ink);
            text-decoration: none;
            font-size: var(--text-sm);
            font-weight: var(--weight-semibold);
            border-bottom: 1px solid var(--border);
            padding-bottom: 2px;
            transition: all 0.2s ease;
        }

        .project-link:hover {
            color: var(--primary);
            border-color: var(--primary);
        }

        .project-link-private {
            display: inline-flex;
            align-items: center;
            font-size: var(--text-sm);
            font-weight: var(--weight-semibold);
            color: var(--muted);
            cursor: default;
            user-select: none;
            -webkit-user-select: none;
            padding-bottom: 3px;
        }

        /* About Section */
        .about-section {
            background-color: oklch(from var(--surface) l c h / 0.2);
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1.2fr 1.8fr;
            gap: 60px;
            align-items: center;
        }

        @media (max-width: 960px) {
            .about-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
        }

        @media (max-width: 360px) {
            .about-grid {
                min-width: 0;
            }
        }

        .about-portrait-box {
            position: relative;
            max-width: 380px;
            width: 100%;
            margin: 0 auto;
        }

        .about-portrait-wrapper {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            border: 1px solid var(--border);
            background-color: var(--surface);
            transition: border-color 0.3s ease, box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            display: block;
        }

        .about-portrait-picture {
            display: block;
        }

        .about-portrait-img {
            width: 100%;
            aspect-ratio: 1/1;
            object-fit: cover;
            display: block;
        }

        .about-portrait-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 40px 20px 20px 20px;
            background: linear-gradient(to top, oklch(from var(--bg) l c h / 0.98) 0%, oklch(from var(--bg) l c h / 0.8) 45%, oklch(from var(--bg) l c h / 0) 100%);
            z-index: 2;
            pointer-events: none;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        .about-portrait-glow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle 120px at var(--mouse-x, 50%) var(--mouse-y, 50%), oklch(from var(--primary) l c h / 0.15) 0%, transparent 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            z-index: 1;
        }

        .about-portrait-wrapper:hover .about-portrait-glow {
            opacity: 1;
        }

        .about-portrait-content {
            z-index: 2;
            transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .about-portrait-wrapper:hover .about-portrait-content {
            transform: translateY(-2px);
        }

        .about-portrait-name {
            font-family: var(--font-display);
            font-size: var(--text-lg);
            font-weight: var(--weight-bold);
            color: var(--ink);
            margin-bottom: 4px;
        }

        .about-portrait-title {
            font-family: var(--font-body);
            font-size: var(--text-xs);
            font-weight: var(--weight-medium);
            color: var(--muted);
            line-height: 1.4;
        }

        .about-portrait-box::after {
            content: '';
            position: absolute;
            top: 20px;
            left: 20px;
            right: -20px;
            bottom: -20px;
            border: 1px solid var(--border);
            border-radius: 24px;
            z-index: -1;
            pointer-events: none;
            transition: all 0.3s ease;
        }

        .about-portrait-box:hover .about-portrait-wrapper {
            border-color: var(--primary);
            box-shadow: 0 0 25px oklch(from var(--primary) l c h / 0.25);
        }

        .about-portrait-box:hover::after {
            border-color: var(--accent);
            transform: translate(4px, 4px);
        }

        @media (max-width: 360px) {
            .about-portrait-box::after {
                top: 12px;
                left: 12px;
                right: 0;
                bottom: 0;
            }
        }

        .about-badge-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
            margin-top: 36px;
            border-top: 1px solid var(--border);
            padding-top: 32px;
        }

        .about-badge-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: var(--text-sm);
            color: var(--muted);
            line-height: var(--line-height-normal);
        }

        .about-badge-item svg {
            color: var(--primary);
            flex-shrink: 0;
            margin-top: 3px;
        }

        .about-cta {
            margin-top: 36px;
            display: flex;
            justify-content: flex-start;
        }

        /* Tech Stack Section */
        .stack-category-card {
            background-color: oklch(from var(--surface) l c h / 0.4);
            border: 1px solid var(--border);
            border-radius: 18px;
            padding: 24px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            justify-content: center;
        }

        .stack-category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .stack-category-card:hover {
            border-color: var(--border-hover);
            transform: translateY(-4px);
            box-shadow: 0 10px 30px -10px oklch(from var(--bg) l c h / 0.7), 
                        0 0 25px -5px oklch(from var(--primary) l c h / 0.1);
        }

        .stack-category-card:hover::before {
            opacity: 1;
        }

        .stack-cat-title {
            font-size: var(--text-sm);
            font-family: var(--font-mono);
            font-weight: var(--weight-medium);
            text-transform: uppercase;
            color: var(--highlight);
            margin-bottom: 16px;
            letter-spacing: var(--letter-spacing-wide);
        }

        .stack-pills-flow {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: center;
        }

        .stack-pill-tag {
            font-family: var(--font-mono);
            font-size: var(--text-xs);
            padding: 4px 10px;
            border-radius: 6px;
            background-color: var(--surface);
            border: 1px solid var(--border);
            color: var(--ink);
            transition: all 0.2s ease;
            cursor: default;
            user-select: none;
            -webkit-user-select: none;
        }

        .stack-pill-tag:hover {
            border-color: var(--highlight);
            color: var(--highlight);
            background-color: oklch(from var(--primary) l c h / 0.05);
            transform: translateY(-1px);
        }

        /* Testimonial Quote Section */
        .quote-section {
            background-color: var(--bg);
            text-align: center;
        }

        .quote-box {
            max-width: 850px;
            margin: 0 auto;
            border: 1px solid var(--border);
            background: linear-gradient(180deg, oklch(from var(--surface) l c h / 0.5) 0%, oklch(from var(--bg) l c h / 0.5) 100%);
            border-radius: 24px;
            padding: 60px 40px;
            position: relative;
        }

        .quote-text {
            font-size: clamp(var(--text-lg), 3vw, 1.8rem);
            font-family: var(--font-display);
            font-weight: var(--weight-medium);
            line-height: var(--line-height-normal);
            color: var(--ink);
            margin-bottom: 24px;
            text-wrap: balance;
            text-align: center;
        }

        .quote-profile {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            margin-top: 28px;
        }

        .quote-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 1px solid var(--border);
            object-fit: cover;
            background-color: var(--surface);
            flex-shrink: 0;
        }

        .quote-info {
            text-align: left;
        }

        .quote-author {
            font-family: var(--font-display);
            font-size: var(--text-base);
            font-weight: var(--weight-bold);
            color: var(--ink);
            margin-bottom: 2px;
        }

        .quote-role {
            font-family: var(--font-mono);
            font-size: var(--text-xs);
            color: var(--highlight);
            text-transform: uppercase;
            letter-spacing: var(--letter-spacing-wide);
        }

        /* Testimonial Slider Styles */
        .testimonial-slider {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .testimonial-wrapper {
            position: relative;
            width: 100%;
            overflow: hidden;
        }

        .testimonial-slide {
            opacity: 0;
            visibility: hidden;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            pointer-events: none;
            transform: scale(0.98) translateY(10px);
            transition: 
                opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.6s;
        }

        .testimonial-slide.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            position: relative;
            transform: scale(1) translateY(0);
            z-index: 2;
        }

        /* Testimonial navigation controls */
        .testimonial-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin-top: 32px;
            width: 100%;
            z-index: 5;
        }

        .testimonial-nav-btn {
            background: oklch(from var(--ink) l c h / 0.03);
            border: 1px solid oklch(from var(--ink) l c h / 0.08);
            color: var(--muted);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            padding: 0;
        }

        .testimonial-nav-btn:hover {
            background: oklch(from var(--ink) l c h / 0.08);
            border-color: var(--highlight);
            color: var(--ink);
            scale: 1.05;
        }

        .testimonial-nav-btn:active {
            scale: 0.95;
        }

        .testimonial-indicators {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .testimonial-indicators .indicator {
            background: oklch(from var(--ink) l c h / 0.15);
            border: none;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            cursor: pointer;
            padding: 0;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .testimonial-indicators .indicator.active {
            background: var(--primary);
            width: 24px;
            border-radius: 4px;
        }

        @media (prefers-reduced-motion: reduce) {
            .testimonial-slide {
                transition: none !important;
                transform: none !important;
            }
            .testimonial-nav-btn {
                transition: none !important;
                scale: 1 !important;
            }
            .testimonial-indicators .indicator {
                transition: none !important;
            }
        }

        /* Mobile Testimonial Adaptations */
        @media (max-width: 768px) {
            .quote-box {
                padding: 40px 20px;
            }
            .quote-text {
                font-size: var(--text-base);
                margin-bottom: 20px;
            }
            .quote-profile {
                flex-direction: column;
                gap: 12px;
                margin-top: 20px;
            }
            .quote-info {
                text-align: center;
            }
            .testimonial-controls {
                margin-top: 24px;
                gap: 16px;
            }
        }

        /* Contact Section (Footer Call to Action) */
        .contact-cta-card {
            background: linear-gradient(135deg, oklch(from var(--surface) l c h / 0.9) 0%, oklch(from var(--accent) l c h / 0.1) 100%);
            border: 1px solid var(--border);
            border-radius: 28px;
            padding: 60px 40px;
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }

        .contact-title {
            font-size: clamp(var(--text-2xl), 5vw, 3rem);
            margin-bottom: 20px;
            letter-spacing: var(--letter-spacing-tight);
        }

        .contact-desc {
            max-width: 600px;
            margin: 0 auto 36px auto;
            font-size: var(--text-base);
        }

        .contact-buttons-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
        }

        @media (max-width: 640px) {
            .contact-buttons-row {
                flex-direction: column;
                align-items: stretch;
            }
        }

        /* Footer */
        footer {
            border-top: 1px solid var(--border);
            padding: 40px 0;
            background-color: var(--bg);
            color: var(--muted);
            font-size: var(--text-sm);
        }

        .footer-grid {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-links {
            display: flex;
            gap: 24px;
            list-style: none;
        }

        .footer-link {
            color: var(--muted);
            text-decoration: none;
            transition: color 0.2s ease;
            padding: 10px 14px;
            display: inline-block;
            margin: -10px -14px; /* Maintain visual positioning while increasing touch target area */
            border-radius: 6px;
        }

        .footer-link:hover {
            color: var(--ink);
        }

        .footer-link:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 0px;
        }

        @media (max-width: 360px) {
            .footer-logo {
                flex-wrap: wrap;
                row-gap: 2px;
            }

            .footer-logo .text-border {
                display: none;
            }

            .footer-logo-email {
                flex-basis: 100%;
                overflow-wrap: anywhere;
            }

            .footer-links {
                gap: 8px;
            }

            .footer-link {
                padding: 10px 4px;
                margin: -10px -4px;
            }
        }

        .footer-logo-text {
            font-family: var(--font-display);
            font-weight: var(--weight-bold);
            font-size: var(--text-base);
            color: var(--ink);
        }

        .footer-logo-email {
            font-size: var(--text-xs);
            font-family: var(--font-mono);
            color: var(--muted);
        }

        .footer-copyright {
            margin-top: 24px;
            font-size: var(--text-xs);
            color: oklch(from var(--ink) l c h / 0.2);
            text-align: center;
        }

        /* WhatsApp Floating Button (Mobile Only) */
        .wa-floating-btn {
            position: fixed;
            bottom: 24px;
            bottom: calc(24px + env(safe-area-inset-bottom));
            right: 24px;
            right: calc(24px + env(safe-area-inset-right));
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background-color: #25D366;
            color: white;
            display: none;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
            z-index: 90;
            transition: transform 0.2s ease;
            cursor: pointer;
        }

        .wa-floating-btn:hover {
            transform: scale(1.1);
        }

        @media (max-width: 768px) {
            .wa-floating-btn {
                display: flex;
            }
        }

        /* Color Utility Classes */
        .text-primary { color: var(--primary); }
        .text-accent { color: var(--accent); }
        .text-ink { color: var(--ink); }
        .text-border { color: var(--border); }

        /* About Section Layout & Styles */
        .about-content .badge {
            margin-bottom: 16px;
        }

        .about-content .section-title {
            margin-bottom: 24px;
        }

        .about-content p {
            margin-bottom: 20px;
        }

        .about-content .about-statement {
            font-weight: var(--weight-medium);
            color: var(--ink);
            margin-bottom: 0;
        }

        /* Contact Section Styles */
        .contact-section {
            position: relative;
        }
