        :root {
            --primary: #00D9FF;
            --primary-dark: #00A8CC;
            --secondary: #6C5CE7;
            --accent: #FF6B9D;
            --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-2: linear-gradient(135deg, #00D9FF 0%, #6C5CE7 100%);
            --gradient-3: linear-gradient(135deg, #FF6B9D 0%, #FFA06B 100%);
        }

        /* Dark mode (default) */
        :root {
            --bg-primary: #0A0E27;
            --bg-secondary: #1A1F3A;
            --text-primary: #E8ECF4;
            --text-secondary: #A8B2D1;
            --border-color: rgba(0, 217, 255, 0.1);
            --border-color-hover: rgba(0, 217, 255, 0.2);
            --card-bg: #1A1F3A;
            --nav-bg: rgba(10, 14, 39, 0.95);
            --nav-bg-scroll: rgba(10, 14, 39, 0.98);
            --shadow-color: rgba(0, 0, 0, 0.5);
            --bg-gradient-opacity: 0.15;
        }

        /* Light mode */
        @media (prefers-color-scheme: light) {
            :root {
                --bg-primary: #F5F7FA;
                --bg-secondary: #FFFFFF;
                --text-primary: #1A1F3A;
                --text-secondary: #4A5568;
                --border-color: rgba(0, 217, 255, 0.2);
                --border-color-hover: rgba(0, 217, 255, 0.4);
                --card-bg: #FFFFFF;
                --nav-bg: rgba(255, 255, 255, 0.95);
                --nav-bg-scroll: rgba(255, 255, 255, 0.98);
                --shadow-color: rgba(0, 0, 0, 0.1);
                --bg-gradient-opacity: 0.05;
            }
        }

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

        body {
            font-family: 'Outfit', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Animated Background */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: var(--bg-gradient-opacity);
            background:
                radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(108, 92, 231, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
        }

        .bg-animation::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: gridScroll 20s linear infinite;
        }

        @keyframes gridScroll {
            0% { transform: translate(0, 0); }
            100% { transform: translate(50px, 50px); }
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: var(--nav-bg);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1.5rem 5%;
            border-bottom: 1px solid var(--border-color);
        }

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

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .logo img {
            height: 50px;
            width: auto;
            transition: transform 0.3s ease;
        }

        .logo:hover img {
            transform: scale(1.05);
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s ease;
        }

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

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

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 8rem 5% 4rem;
            position: relative;
        }

        .hero .container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .hero-content h1 {
            font-size: 4.5rem;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            letter-spacing: -2px;
        }

        .hero-content .gradient-text {
            background: var(--gradient-2);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: gradientShift 5s ease infinite;
        }

        @keyframes gradientShift {
            0%, 100% { filter: hue-rotate(0deg); }
            50% { filter: hue-rotate(15deg); }
        }

        .hero-content p {
            font-size: 1.3rem;
            color: var(--text-secondary);
            margin-bottom: 2.5rem;
            max-width: 600px;
            line-height: 1.7;
        }

        .cta-buttons {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 1rem 2.5rem;
            font-size: 1rem;
            font-weight: 600;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.4s ease;
            text-decoration: none;
            display: inline-block;
            position: relative;
            overflow: hidden;
        }

        .btn-primary {
            background: var(--gradient-2);
            color: white;
            box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }

        .btn-primary:hover::before {
            left: 100%;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
        }

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

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

        .hero-visual {
            position: relative;
            height: 500px;
        }

        .floating-card {
            position: absolute;
            background: var(--card-bg);
            border: 1px solid var(--border-color-hover);
            border-radius: 16px;
            padding: 1.5rem;
            box-shadow: 0 20px 60px var(--shadow-color);
            animation: float 6s ease-in-out infinite;
        }

        .floating-card:nth-child(1) {
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-card:nth-child(2) {
            top: 50%;
            right: 10%;
            animation-delay: 2s;
        }

        .floating-card:nth-child(3) {
            bottom: 10%;
            left: 20%;
            animation-delay: 4s;
        }

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

        .card-icon {
            width: 60px;
            height: 60px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
        }

        .card-title {
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--text-primary);
        }

        /* Services Section */
        .services {
            padding: 8rem 5%;
            background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
        }

        .section-header {
            text-align: center;
            margin-bottom: 5rem;
        }

        .section-tag {
            font-family: 'JetBrains Mono', monospace;
            color: var(--primary);
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 1rem;
        }

        .section-header h2 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            letter-spacing: -1px;
        }

        .section-header p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto;
        }

        .services-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
        }

        .service-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 24px;
            padding: 3rem;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--gradient-2);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

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

        .service-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary);
            box-shadow: 0 30px 60px rgba(0, 217, 255, 0.2);
        }

        .service-icon {
            width: 80px;
            height: 80px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            margin-bottom: 2rem;
            position: relative;
            z-index: 1;
        }

        .service-card h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            position: relative;
            z-index: 1;
        }

        .service-card p {
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 1;
        }

        .service-features {
            list-style: none;
            position: relative;
            z-index: 1;
        }

        .service-features li {
            padding: 0.5rem 0;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .service-features li::before {
            content: '→';
            color: var(--primary);
            font-weight: bold;
        }

        /* Technologies */
        .technologies {
            padding: 8rem 5%;
            background: var(--bg-primary);
        }

        .tech-grid {
            max-width: 1400px;
            margin: 3rem auto 0;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 2rem;
        }

        .tech-item {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 2rem 1.5rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .tech-item:hover {
            border-color: var(--primary);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 217, 255, 0.15);
        }

        .tech-item .tech-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .tech-item .tech-name {
            font-weight: 600;
            color: var(--text-primary);
        }

        /* Process Section */
        .process {
            padding: 8rem 5%;
            background: var(--bg-secondary);
        }

        .process-timeline {
            max-width: 1200px;
            margin: 4rem auto 0;
            position: relative;
        }

        .process-timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(180deg, var(--primary), var(--secondary));
        }

        .process-step {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            margin-bottom: 4rem;
            position: relative;
        }

        .process-step:nth-child(even) .step-content {
            order: 2;
        }

        .step-content {
            background: var(--bg-primary);
            border: 1px solid var(--border-color-hover);
            border-radius: 20px;
            padding: 2.5rem;
        }

        .step-number {
            font-family: 'JetBrains Mono', monospace;
            color: var(--primary);
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .step-content h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
        }

        .step-content p {
            color: var(--text-secondary);
            line-height: 1.8;
        }

        .step-indicator {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 24px;
            height: 24px;
            background: var(--primary);
            border-radius: 50%;
            border: 4px solid var(--bg-secondary);
            z-index: 10;
        }

        /* Portfolio Preview */
        .portfolio {
            padding: 8rem 5%;
            background: var(--bg-primary);
        }

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

        .portfolio-item {
            border-radius: 24px;
            overflow: hidden;
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            transition: all 0.4s ease;
        }

        .portfolio-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
        }

        .portfolio-image {
            width: 100%;
            height: 300px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            position: relative;
            overflow: hidden;
        }

        .portfolio-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
            animation: shine 3s infinite;
        }

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

        .portfolio-info {
            padding: 2rem;
        }

        .portfolio-info h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .portfolio-info p {
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }

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

        .tag {
            background: rgba(0, 217, 255, 0.1);
            color: var(--primary);
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }

        /* AI Benefits Section */
        .ai-benefits {
            padding: 8rem 5%;
            background: var(--bg-secondary);
        }

        .benefits-container {
            max-width: 1400px;
            margin: 4rem auto 0;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 2rem;
        }

        .benefit-card {
            background: var(--bg-primary);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 2.5rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .benefit-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            box-shadow: 0 10px 30px var(--shadow-color);
        }

        .benefit-number {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            font-size: 3rem;
            font-weight: 800;
            background: var(--gradient-2);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            opacity: 0.3;
        }

        .benefit-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .benefit-card p {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .benefit-card strong {
            color: var(--primary);
            font-weight: 600;
        }

        .benefit-stat {
            background: rgba(0, 217, 255, 0.1);
            padding: 0.75rem 1rem;
            border-radius: 8px;
            color: var(--primary);
            font-weight: 600;
            font-size: 0.95rem;
            border-left: 3px solid var(--primary);
        }

        .cta-centered {
            max-width: 800px;
            margin: 5rem auto 0;
            text-align: center;
            padding: 3rem;
            background: var(--bg-primary);
            border: 1px solid var(--border-color-hover);
            border-radius: 20px;
        }

        .cta-centered h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .cta-centered p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

        /* CTA Section */
        .cta-section {
            padding: 8rem 5%;
            background: var(--bg-primary);
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
            animation: pulse 10s ease-in-out infinite;
        }

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

        .cta-content {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .cta-content h2 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            letter-spacing: -1px;
        }

        .cta-content p {
            font-size: 1.3rem;
            color: var(--text-secondary);
            margin-bottom: 3rem;
        }

        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-top: 4rem;
            text-align: left;
        }

        .contact-form,
        .contact-info {
            background: var(--bg-primary);
            border: 1px solid var(--border-color-hover);
            border-radius: 20px;
            padding: 3rem;
        }

        .contact-form h3,
        .contact-info h3 {
            font-size: 1.8rem;
            margin-bottom: 2rem;
            color: var(--text-primary);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
            font-weight: 500;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            background: var(--bg-secondary);
            border: 1px solid var(--border-color-hover);
            border-radius: 8px;
            color: var(--text-primary);
            font-family: 'Outfit', sans-serif;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

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

        .form-group select {
            cursor: pointer;
        }

        .contact-form button {
            width: 100%;
            margin-top: 1rem;
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--border-color);
        }

        .info-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .info-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #00D9FF, #6C5CE7);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .info-details h4 {
            font-size: 1rem;
            color: var(--primary);
            margin-bottom: 0.3rem;
            font-weight: 600;
        }

        .info-details p {
            color: var(--text-primary);
            font-size: 1.1rem;
            margin: 0;
        }

        /* Footer */
        footer {
            background: var(--bg-primary);
            padding: 4rem 5% 2rem;
            border-top: 1px solid var(--border-color);
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 4rem;
            margin-bottom: 3rem;
        }

        .footer-brand h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            background: var(--gradient-2);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .footer-brand p {
            color: var(--text-secondary);
            line-height: 1.7;
        }

        .footer-column h4 {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
        }

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

        .footer-column ul li {
            margin-bottom: 0.8rem;
        }

        .footer-column ul li a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-column ul li a:hover {
            color: var(--primary);
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 2rem;
            border-top: 1px solid var(--border-color);
            text-align: center;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        /* ── Hamburger button ── */
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 6px;
            z-index: 1100;
        }

        .hamburger span {
            display: block;
            width: 26px;
            height: 2px;
            background: var(--text-primary);
            border-radius: 2px;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        nav.nav-open .hamburger span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        nav.nav-open .hamburger span:nth-child(2) {
            opacity: 0;
        }
        nav.nav-open .hamburger span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* ── Responsive ── */
        @media (max-width: 1024px) {
            .hero .container {
                grid-template-columns: 1fr;
            }

            .hero-visual {
                height: 350px;
            }

            /* Process: single-column vertical timeline on the left */
            .process-timeline::before {
                left: 20px;
                transform: none;
            }

            .process-step {
                display: block;           /* drop the 2-col grid */
                margin-left: 56px;        /* make room for the line */
                margin-bottom: 3rem;
            }

            /* All steps: content fills full width, no reordering needed */
            .process-step:nth-child(even) .step-content {
                order: unset;
            }

            /* Hide the empty placeholder divs */
            .process-step > div:not(.step-content):not(.step-indicator) {
                display: none;
            }

            .step-indicator {
                /* line is at left:20px of .process-timeline
                   step has margin-left:56px
                   so indicator left = 20px - 56px + 12px(half-width) offset = -48px */
                left: auto;
                right: auto;
                top: 1.8rem;
                transform: none;
                position: absolute;
                left: -48px;
            }

            .footer-content {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            /* ── Nav ── */
            .hamburger {
                display: flex;
            }

            /* Drop-down panel anchored to the nav bar.
               nav is position:fixed, so absolute children stay on screen. */
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                width: 100%;
                background: var(--nav-bg);
                border-top: 1px solid var(--border-color);
                box-shadow: 0 20px 40px var(--shadow-color);
                flex-direction: column;
                align-items: center;
                gap: 0;
                padding: 1rem 0 1.5rem;
                z-index: 999;
            }

            nav.nav-open .nav-links {
                display: flex;
            }

            .nav-links li {
                width: 100%;
                text-align: center;
            }

            .nav-links a {
                display: block;
                padding: 0.9rem 1rem;
                font-size: 1.1rem;
                width: 100%;
            }

            .nav-links li:last-child {
                padding: 0.75rem 1rem 0;
            }

            .nav-links li:last-child .btn {
                font-size: 0.95rem;
                padding: 0.6rem 1.8rem;
            }

            /* ── Hero ── */
            .hero {
                min-height: unset;
                padding: 8rem 5% 1.5rem;
                align-items: flex-start;
            }

            .hero-content h1 {
                font-size: 2.8rem;
                letter-spacing: -1px;
            }

            .hero-content p {
                font-size: 1.1rem;
            }

            .hero-visual {
                display: none;
            }

            /* ── Sections ── */
            .section-header h2 {
                font-size: 2rem;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            /* Services: reduce min-width so cards don't overflow */
            .portfolio-grid {
                grid-template-columns: 1fr;
            }

            .benefits-container {
                grid-template-columns: 1fr;
            }

            /* ── Process (inherit 1024 rules, just tighten spacing) ── */
            .process-step {
                margin-left: 44px;
            }

            .step-indicator {
                left: -36px;
            }

            /* ── Contact ── */
            .contact-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .contact-form,
            .contact-info {
                padding: 2rem 1.5rem;
            }

            /* ── Footer ── */
            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            /* ── CTA ── */
            .cta-content h2 {
                font-size: 2rem;
            }

            .cta-centered h3 {
                font-size: 1.6rem;
            }

            .benefit-number {
                font-size: 2rem;
            }

            /* Prevent portfolio card min-width overflow */
            .portfolio-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            nav {
                padding: 0.9rem 5%;
            }

            .logo img {
                height: 38px;
            }

            .hero {
                padding: 5.5rem 5% 2.5rem;
            }

            .hero-content h1 {
                font-size: 2.2rem;
            }

            .services {
                padding: 3rem 5% 5rem;
            }

            .technologies,
            .process,
            .portfolio,
            .ai-benefits,
            .cta-section {
                padding: 5rem 5%;
            }

            .service-card,
            .step-content {
                padding: 2rem 1.5rem;
            }
        }
