:root {
            --primary: #0f172a;
            --primary-light: #1e293b;
            --accent: #f97316;--accent-text:#c2410c;
            --accent-hover: #ea580c;
            --accent-light: #fb923c;
            --accent-glow: rgba(249, 115, 22, 0.15);
            --white: #ffffff;
            --gray-50: #f8fafc;
            --gray-100: #f1f5f9;
            --gray-200: #e2e8f0;
            --gray-400: #94a3b8;
            --gray-500: #64748b;
            --gray-600: #475569;
            --gray-900: #0f172a;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        @page {
            size: A4;
            margin: 0;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            line-height: 1.7;
            color: var(--gray-900);
            background: var(--gray-200);
        }

        .page {
            width: 210mm;
            min-height: 297mm;
            margin: 20px auto;
            background: var(--white);
            position: relative;
            box-shadow: 0 25px 80px rgba(0,0,0,0.08), 0 10px 30px rgba(0,0,0,0.05);
        }

        /* ========== ANIMATIONS ========== */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes scaleIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        /* ========== COVER PAGE ========== */
        .cover-page {
            background: var(--gray-50);
            color: var(--primary);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 60px 40px;
            min-height: 297mm;
            position: relative;
            overflow: hidden;
            -webkit-print-color-adjust: exact !important;
            print-color-adjust: exact !important;
        }

        .cover-page::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(249, 115, 22, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(249, 115, 22, 0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            pointer-events: none;
        }

        .cover-page::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            height: 80%;
            background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
            pointer-events: none;
        }

        .logo {
            width: 200px;
            height: auto;
            margin-bottom: 25px;
            animation: scaleIn 0.8s ease-out;
            position: relative;
            z-index: 10;
        }

        .cover-tagline {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--white);
            border: 1px solid var(--gray-200);
            padding: 0.5rem 1.25rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--accent);
            margin-bottom: 1.5rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            position: relative;
            z-index: 10;
        }

        .cover-title {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 8px;
            letter-spacing: -1px;
            color: var(--primary);
            line-height: 1.15;
            animation: fadeInUp 0.8s ease-out 0.2s both;
            position: relative;
            z-index: 10;
        }

        .cover-title .highlight {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            color: var(--accent-text);
        }

        .cover-divider {
            width: 60px;
            height: 4px;
            background: var(--accent);
            margin: 20px auto;
            border-radius: 2px;
            animation: fadeIn 0.8s ease-out 0.4s both;
            position: relative;
            z-index: 10;
        }

        .cover-subtitle {
            font-size: 18px;
            margin-bottom: 20px;
            color: var(--gray-500);
            font-weight: 500;
            max-width: 500px;
            line-height: 1.7;
            animation: fadeInUp 0.8s ease-out 0.5s both;
            position: relative;
            z-index: 10;
        }

        .cover-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin: 30px 0;
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 650px;
        }

        .cover-stat {
            text-align: center;
            padding: 20px 15px;
            background: var(--white);
            border-radius: 16px;
            border: 1px solid var(--gray-100);
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }

        .cover-stat-value {
            font-size: 32px;
            font-weight: 800;
            color: var(--accent);
            line-height: 1;
            margin-bottom: 5px;
        }

        .cover-stat-label {
            font-size: 11px;
            color: var(--gray-500);
            font-weight: 500;
        }

        .cover-footer {
            font-size: 14px;
            color: var(--gray-500);
            margin-top: auto;
            animation: fadeIn 0.8s ease-out 0.8s both;
            position: relative;
            z-index: 10;
        }

        .cover-footer p {
            margin-bottom: 5px;
        }

        .cover-footer a {
            color: var(--accent);
            text-decoration: none;
            font-weight: 600;
        }

        /* ========== CONTENT PAGES ========== */
        .content-page {
            padding: 50px 50px;
        }

        /* ========== SECTIONS ========== */
        .section {
            margin-bottom: 35px;
            break-inside: avoid;
            page-break-inside: avoid;
        }

        .section-label {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--accent-text);
            margin-bottom: 10px;
        }

        .section-label::before {
            content: '';
            width: 20px;
            height: 2px;
            background: var(--accent);
        }

        .section-title {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 30px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 8px;
            line-height: 1.2;
        }

        .section-title .highlight {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            color: var(--accent-text);
        }

        .section-divider {
            width: 50px;
            height: 3px;
            background: var(--accent);
            margin-bottom: 20px;
            border-radius: 2px;
        }

        .section-text {
            font-size: 14px;
            line-height: 1.8;
            color: var(--gray-600);
            margin-bottom: 15px;
        }

        /* ========== CARDS ========== */
        .card {
            background: var(--white);
            border: 1px solid var(--gray-100);
            border-radius: 16px;
            padding: 22px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--accent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .card:hover {
            border-color: var(--gray-200);
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            transform: translateY(-3px);
        }

        .card:hover::before {
            opacity: 1;
        }

        .card-icon {
            width: 44px;
            height: 44px;
            background: var(--accent-glow);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
            font-size: 22px;
        }

        .card-title {
            font-size: 15px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 8px;
        }

        .card-text {
            font-size: 12px;
            color: var(--gray-500);
            line-height: 1.7;
        }

        /* ========== GRID LAYOUTS ========== */
        .two-column {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 18px;
        }

        .three-column {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }

        .four-column {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
        }

        /* ========== HIGHLIGHT BOX ========== */
        .highlight-box {
            background: var(--gray-50);
            border: 1px solid var(--gray-100);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 25px;
            position: relative;
            overflow: hidden;
        }

        .highlight-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
        }

        .highlight-title {
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--primary);
        }

        .highlight-title .highlight {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            color: var(--accent-text);
        }

        .highlight-divider {
            width: 50px;
            height: 3px;
            background: var(--accent);
            margin-bottom: 15px;
            border-radius: 2px;
        }

        .highlight-text {
            font-size: 14px;
            line-height: 1.8;
            color: var(--gray-600);
            margin-bottom: 15px;
        }

        /* ========== LIST ITEMS ========== */
        .list-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 10px;
            font-size: 13px;
            color: var(--gray-600);
            transition: transform 0.2s ease;
        }

        .list-item:hover {
            transform: translateX(5px);
        }

        .list-icon {
            color: var(--accent);
            margin-right: 10px;
            font-weight: bold;
            flex-shrink: 0;
        }

        /* ========== TECH BADGES ========== */
        .tech-badge {
            display: inline-block;
            background: var(--accent);
            color: var(--white);
            padding: 10px 18px;
            border-radius: 10px;
            font-size: 12px;
            font-weight: 600;
            margin: 4px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
        }

        .tech-badge:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
        }

        /* ========== CLIENT LOGOS ========== */
        .clients-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-top: 20px;
        }

        .client-logo-card {
            background: var(--white);
            border: 1px solid var(--gray-100);
            padding: 15px;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100px;
            transition: all 0.3s ease;
            gap: 10px;
        }

        .client-logo-card:hover {
            border-color: var(--accent);
            box-shadow: 0 5px 20px rgba(249, 115, 22, 0.15);
            transform: translateY(-2px);
        }

        .client-logo-card img {
            max-width: 100px;
            max-height: 45px;
            object-fit: contain;
            filter: grayscale(30%);
            opacity: 0.8;
            transition: all 0.3s ease;
        }

        .client-logo-card:hover img {
            filter: grayscale(0%);
            opacity: 1;
        }

        .client-name {
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--gray-500);
            text-align: center;
            line-height: 1.2;
            margin: 0;
        }

        .client-logo-card:hover .client-name {
            color: var(--primary);
        }

        /* ========== STATS BOX ========== */
        .stats-box {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: var(--white);
            padding: 25px;
            border-radius: 16px;
            text-align: center;
            margin-bottom: 20px;
        }

        .stat-number {
            font-size: 48px;
            font-weight: 800;
            color: var(--accent);
            line-height: 1;
            margin-bottom: 8px;
        }

        .stat-text {
            font-size: 14px;
            color: var(--gray-400);
        }

        /* ========== CONTACT BOX ========== */
        .contact-box {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: var(--white);
            padding: 40px;
            border-radius: 20px;
            position: relative;
            overflow: hidden;
        }

        .contact-box::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 300px;
            height: 300px;
            background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
            pointer-events: none;
        }

        .contact-box h2 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 10px;
            position: relative;
            z-index: 10;
        }

        .contact-box .highlight {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            color: var(--accent-text);
        }

        .contact-item {
            margin-bottom: 20px;
            transition: transform 0.2s ease;
            position: relative;
            z-index: 10;
        }

        .contact-item:hover {
            transform: translateX(5px);
        }

        .contact-label {
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 5px;
            color: var(--accent);
        }

        .contact-value {
            font-size: 13px;
            color: var(--gray-400);
            line-height: 1.6;
        }

        .contact-value a {
            color: var(--gray-400);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-value a:hover {
            color: var(--accent);
        }

        /* ========== ENGAGEMENT CARDS ========== */
        .engagement-card {
            background: var(--white);
            border: 1px solid var(--gray-100);
            border-radius: 16px;
            padding: 25px;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .engagement-card::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--accent);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .engagement-card:hover {
            border-color: var(--gray-200);
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            transform: translateY(-5px);
        }

        .engagement-card:hover::before {
            transform: scaleX(1);
        }

        .engagement-card .card-title {
            font-size: 17px;
            margin-bottom: 10px;
        }

        .engagement-card .card-text {
            margin-bottom: 12px;
            font-size: 12px;
        }

        .engagement-features {
            list-style: none;
            text-align: left;
            margin: 15px 0;
            font-size: 11px;
        }

        .engagement-features li {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 6px;
            color: var(--gray-600);
        }

        .engagement-features li svg {
            width: 14px;
            height: 14px;
            color: var(--accent);
            flex-shrink: 0;
        }

        .engagement-best-for {
            background: var(--gray-50);
            padding: 12px;
            border-radius: 8px;
            margin-top: 15px;
            font-size: 11px;
        }

        .engagement-best-for strong {
            color: var(--accent);
            display: block;
            margin-bottom: 4px;
        }

        .engagement-best-for span {
            color: var(--gray-500);
        }

        /* ========== PRINT STYLES ========== */
        @media print {
            * {
                -webkit-print-color-adjust: exact !important;
                print-color-adjust: exact !important;
                color-adjust: exact !important;
            }

            html, body {
                width: 210mm;
                height: 297mm;
                margin: 0;
                padding: 0;
            }

            body {
                background: white;
            }

            .page {
                width: 210mm;
                min-height: 297mm;
                margin: 0;
                box-shadow: none;
                page-break-after: always;
                page-break-inside: avoid;
            }

            .cover-page {
                background: var(--gray-50) !important;
            }

            .cover-page::before,
            .cover-page::after {
                display: none;
            }

            .highlight-box {
                background: var(--gray-50) !important;
            }

            .stats-box,
            .contact-box {
                background: var(--primary) !important;
            }

            .card:hover,
            .client-logo-card:hover,
            .tech-badge:hover,
            .list-item:hover,
            .contact-item:hover,
            .engagement-card:hover {
                transform: none !important;
                box-shadow: none !important;
            }

            /* Force the Connect With Us block onto its own page
               so the engagement cards above don't squeeze it into a split. */
            .contact-box {
                page-break-before: always;
                break-before: page;
                page-break-inside: avoid;
                break-inside: avoid;
            }
        }

        /* ========== RESPONSIVE ========== */
        @media screen and (max-width: 800px) {
            .page {
                width: 100%;
                min-height: auto;
                margin: 10px;
            }

            .two-column,
            .three-column,
            .four-column,
            .clients-grid {
                grid-template-columns: 1fr;
            }

            .cover-stats {
                grid-template-columns: repeat(2, 1fr);
            }

            .cover-title {
                font-size: 32px;
            }

            .section-title {
                font-size: 24px;
            }

            .content-page {
                padding: 30px;
            }
        }