        :root {
            --primary: #0a1f3d;
            --primary-light: #123058;
            --accent: #0d9488;
            --accent-light: #2dd4bf;
            --accent-green: #22c55e;
            --accent-gradient: linear-gradient(135deg, #0d9488 0%, #22c55e 100%);
            --text-dark: #0a1f3d;
            --text-medium: #475569;
            --text-light: #94a3b8;
            --bg-white: #ffffff;
            --bg-gray: #f8fafc;
            --bg-dark: #0a1f3d;
            --border: #e2e8f0;
            --success: #22c55e;
            --warning: #f59e0b;
        }

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

        /* Keeps anchor-linked sections from landing under the fixed nav */
        section[id] {
            scroll-margin-top: 100px;
        }

        body {
            font-family: 'Manrope', sans-serif;
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            line-height: 1.2;
        }

        .material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            vertical-align: middle;
            line-height: 1;
            display: inline-block;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border);
            transition: all 0.3s;
        }

        nav.scrolled {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

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

        .logo {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-family: 'Outfit', sans-serif;
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
        }

        .logo-img {
            height: 40px;
            width: auto;
        }

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

        .nav-links a {
            color: var(--text-medium);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.3s;
            position: relative;
        }

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

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

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

        .nav-cta {
            background: var(--accent);
            color: white !important;
            padding: 0.6rem 1.5rem;
            border-radius: 8px;
            border: none;
            font-family: inherit;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .nav-cta::after {
            display: none;
        }

        .nav-cta:hover {
            background: var(--accent-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
        }

        .nav-toggle {
            display: none;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            padding: 0;
            background: none;
            border: none;
            color: var(--text-dark);
            font-size: 1.7rem;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            padding: 9rem 2rem 5rem;
            background: #ffffff;
            position: relative;
            overflow: hidden;
        }

        .hero-bg-image {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            width: 60%;
            background: url('hero-photo.jpg') center/cover;
        }

        .hero-bg-fade {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, #ffffff 0%, #ffffff 36%, rgba(255, 255, 255, 0.82) 50%, rgba(255, 255, 255, 0) 74%);
        }

        .hero-content {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1.1fr 1fr;
            gap: 4rem;
            align-items: center;
            text-align: left;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1.2rem;
            background: rgba(13, 148, 136, 0.1);
            border: 1px solid rgba(13, 148, 136, 0.2);
            border-radius: 50px;
            color: var(--accent);
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 2rem;
            animation: fadeInUp 0.8s ease-out;
        }

        .hero-badge .material-symbols-outlined {
            font-size: 1.1rem;
        }

        .hero h1 {
            font-size: 3.2rem;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            animation: fadeInUp 0.8s ease-out 0.2s both;
            line-height: 1.15;
        }

        .hero-gradient-text {
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p {
            font-size: 1.15rem;
            color: var(--text-medium);
            max-width: 520px;
            margin: 0 0 2.5rem;
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }

        .hero-buttons {
            display: flex;
            gap: 1.2rem;
            flex-wrap: wrap;
            animation: fadeInUp 0.8s ease-out 0.6s both;
        }

        .hero-visual {
            height: 480px;
        }

        .btn {
            padding: 1rem 2rem;
            border-radius: 10px;
            border: none;
            text-decoration: none;
            font-family: inherit;
            font-weight: 600;
            font-size: 1.05rem;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn .material-symbols-outlined {
            font-size: 1.2rem;
        }

        .btn-solid {
            background: var(--accent-gradient);
            color: white;
        }

        .btn-solid:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 28px rgba(13, 148, 136, 0.3);
        }

        .btn-outline {
            background: white;
            border: 2px solid var(--border);
            color: var(--text-dark);
        }

        .btn-outline:hover {
            border-color: var(--accent);
            color: var(--accent);
            transform: translateY(-3px);
        }

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

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.2);
            color: white;
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-3px);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Stats Section */
        .stats {
            padding: 4rem 2rem;
            background: white;
        }

        .stats-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
        }

        .stat-card {
            text-align: center;
        }

        .stat-number {
            font-size: 3.5rem;
            font-weight: 800;
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: var(--text-medium);
            font-size: 1.1rem;
            font-weight: 500;
        }

        /* Features Section */
        .features {
            padding: 5rem 2rem;
            background: #eef2f6;
        }

        .section-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 4rem;
        }

        .section-badge {
            display: inline-block;
            padding: 0.4rem 1rem;
            background: rgba(13, 148, 136, 0.1);
            color: var(--accent);
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }

        .section-header h2 {
            font-size: 2.8rem;
            color: var(--text-dark);
            margin-bottom: 1rem;
        }

        .section-header p {
            font-size: 1.2rem;
            color: var(--text-medium);
        }

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

        .feature-card {
            background: transparent;
            padding: 0;
            border: none;
            transition: transform 0.3s;
            opacity: 0;
            transform: translateY(20px);
        }

        .feature-card.active {
            opacity: 1;
            transform: translateY(0);
        }

        .feature-card:hover {
            transform: translateY(-4px);
        }

        .feature-icon {
            width: 52px;
            height: 52px;
            background: rgba(13, 148, 136, 0.12);
            color: var(--accent);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 1.2rem;
        }

        .feature-card h3 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: var(--text-dark);
        }

        .feature-card p {
            color: var(--text-medium);
            font-size: 0.92rem;
            line-height: 1.6;
        }

        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease-out;
        }

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

        /* Image Showcase Section */
        .showcase {
            padding: 6rem 2rem;
            background: white;
        }

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

        .showcase-image {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        }

        .showcase-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        .showcase-content h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            color: var(--text-dark);
        }

        .showcase-content p {
            font-size: 1.15rem;
            color: var(--text-medium);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .showcase-features {
            list-style: none;
            margin-bottom: 2rem;
        }

        .showcase-features li {
            padding: 1rem 0;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 1rem;
            color: var(--text-medium);
            font-size: 1.05rem;
        }

        .showcase-features li:last-child {
            border-bottom: none;
        }

        .showcase-features .check {
            color: var(--success);
            font-weight: bold;
            font-size: 1.3rem;
        }

        /* Technology Section */
        .technology {
            padding: 6rem 2rem;
            background: var(--bg-gray);
        }

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

        /* Modules Section */
        .modules {
            padding: 6rem 2rem;
            background: white;
        }

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

        .module-card {
            background: var(--bg-gray);
            padding: 2.5rem;
            border-radius: 16px;
            border: 2px solid transparent;
            transition: all 0.3s;
            text-align: center;
        }

        .module-card:hover {
            border-color: var(--accent);
            background: white;
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        }

        .module-icon {
            font-size: 2.4rem;
            color: var(--accent);
            margin-bottom: 1rem;
        }

        .module-card h3 {
            font-size: 1.4rem;
            margin-bottom: 0.8rem;
            color: var(--text-dark);
        }

        .module-card p {
            color: var(--text-medium);
            font-size: 0.95rem;
        }

        .module-tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1.2rem;
        }

        .module-tag {
            padding: 0.35rem 0.8rem;
            background: white;
            border: 1px solid var(--border);
            border-radius: 20px;
            font-size: 0.78rem;
            color: var(--text-medium);
            font-weight: 500;
        }

        /* Benefits Section */
        .benefits {
            padding: 6rem 2rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            position: relative;
        }

        .benefits::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 50%, rgba(13, 148, 136, 0.1) 0%, transparent 50%);
        }

        .benefits-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .benefits-content h2 {
            font-size: 2.8rem;
            color: white;
            margin-bottom: 2.5rem;
        }

        .benefits-list {
            list-style: none;
        }

        .benefit-item {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 2.5rem;
            align-items: flex-start;
        }

        .benefit-icon {
            width: 56px;
            height: 56px;
            background: rgba(45, 212, 191, 0.15);
            color: var(--accent-light);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            flex-shrink: 0;
        }

        .benefit-text h3 {
            font-size: 1.5rem;
            color: white;
            margin-bottom: 0.5rem;
        }

        .benefit-text p {
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.7;
        }

        .benefits-image {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
            min-height: 500px;
        }

        .benefits-image-overlay {
            position: absolute;
            inset: 0;
        }

        .benefits-image-overlay img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
        }

        /* CTA Section */
        .cta-section {
            padding: 6rem 2rem;
            background: var(--accent-gradient);
            text-align: center;
        }

        .cta-container {
            max-width: 700px;
            margin: 0 auto;
        }

        .cta-container h2 {
            font-size: 3rem;
            color: white;
            margin-bottom: 1.5rem;
        }

        .cta-container p {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2.5rem;
        }

        /* Contact Form (used inside the demo request modal) */
        .contact-form {
            text-align: left;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

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

        .form-group label {
            display: block;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.4rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 1.5px solid var(--border);
            border-radius: 10px;
            font-family: 'Manrope', sans-serif;
            font-size: 0.95rem;
            color: var(--text-dark);
            background: white;
            transition: border-color 0.3s;
            resize: vertical;
        }

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

        .contact-form .btn {
            width: 100%;
            justify-content: center;
            border: none;
            cursor: pointer;
        }

        .contact-form .btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none !important;
        }

        .form-status {
            margin-top: 1rem;
            font-size: 0.9rem;
            text-align: center;
            min-height: 1.2rem;
        }

        .form-status.success {
            color: var(--success);
        }

        .form-status.error {
            color: #dc2626;
        }

        .form-group select {
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.9rem center;
            background-size: 1.1rem;
            padding-right: 2.6rem;
            cursor: pointer;
        }

        .form-group select:invalid {
            color: var(--text-light);
        }

        /* Demo Request Modal */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(10, 31, 61, 0.6);
            backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-card {
            background: white;
            border-radius: 20px;
            padding: 2.5rem;
            max-width: 600px;
            width: 100%;
            max-height: 88vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
            transform: translateY(20px) scale(0.97);
            transition: transform 0.3s ease;
        }

        .modal-overlay.active .modal-card {
            transform: translateY(0) scale(1);
        }

        .modal-close {
            position: absolute;
            top: 1.2rem;
            right: 1.2rem;
            width: 36px;
            height: 36px;
            border: none;
            background: var(--bg-gray);
            color: var(--text-medium);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
        }

        .modal-close:hover {
            background: var(--border);
            color: var(--text-dark);
        }

        .modal-header {
            margin-bottom: 1.5rem;
            padding-right: 2rem;
        }

        .modal-header h2 {
            font-size: 1.6rem;
            color: var(--text-dark);
            margin-bottom: 0.4rem;
        }

        .modal-header p {
            color: var(--text-medium);
            font-size: 0.95rem;
        }

        /* Footer */
        footer {
            background: var(--bg-dark);
            padding: 4rem 2rem 2rem;
            color: rgba(255, 255, 255, 0.8);
        }

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

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.2rem;
        }

        .footer-logo-chip {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            background: white;
            border-radius: 12px;
            padding: 6px;
            flex-shrink: 0;
        }

        .footer-logo-chip img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .footer-logo h3 {
            color: white;
            font-size: 1.6rem;
            margin-bottom: 0.2rem;
        }

        .footer-tagline {
            display: block;
            color: var(--accent-light);
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .footer-brand p {
            margin-bottom: 1.5rem;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.7);
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: white;
            font-size: 1.2rem;
            transition: all 0.3s;
        }

        .social-link:hover {
            background: var(--accent);
            transform: translateY(-3px);
        }

        .footer-links h4 {
            color: white;
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }

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

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

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--accent-light);
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: rgba(255, 255, 255, 0.6);
        }

        .footer-bottom-brand {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
            flex-wrap: wrap;
        }

        .varisley-chip {
            display: inline-flex;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: white;
            overflow: hidden;
            flex-shrink: 0;
        }

        .varisley-chip img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        /* Responsive Design */
        @media (max-width: 900px) {
            .nav-toggle {
                display: flex;
            }

            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                flex-direction: column;
                align-items: stretch;
                gap: 0;
                background: #ffffff;
                border-bottom: 1px solid var(--border);
                box-shadow: 0 16px 30px rgba(10, 31, 61, 0.12);
                max-height: 0;
                overflow: hidden;
                opacity: 0;
                visibility: hidden;
                transition: max-height 0.3s ease, opacity 0.25s ease;
            }

            .nav-links.nav-open {
                max-height: 420px;
                opacity: 1;
                visibility: visible;
            }

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

            .nav-links a {
                display: block;
                padding: 1rem 2rem;
            }

            .nav-links a::after {
                display: none;
            }

            .nav-cta {
                display: block;
                margin: 0.5rem 2rem 1.2rem;
                width: calc(100% - 4rem);
                text-align: center;
            }

            .hero-bg-image {
                width: 100%;
            }

            .hero-bg-fade {
                background: linear-gradient(180deg, #ffffff 0%, #ffffff 38%, rgba(255, 255, 255, 0.85) 55%, rgba(255, 255, 255, 0.35) 100%);
            }

            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero p {
                margin: 0 auto 2.5rem;
            }

            .hero-buttons {
                justify-content: center;
            }

            .hero-visual {
                order: -1;
                height: 320px;
            }
        }

        @media (max-width: 480px) {
            .form-row {
                grid-template-columns: 1fr;
            }

            .modal-card {
                padding: 1.8rem;
            }
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }

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

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

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

            .section-header h2 {
                font-size: 2rem;
            }
        }

        /* Services Page: hero photo (fills the hero-visual card) */
        .hero-photo {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        }

        /* Services Page: process / how-it-works strip */
        .process {
            padding: 6rem 2rem;
            background: var(--bg-gray);
        }

        .process-grid {
            max-width: 1300px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 2.5rem 2rem;
        }

        .process-step {
            text-align: center;
        }

        .process-number {
            width: 48px;
            height: 48px;
            background: var(--accent-gradient);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Outfit', sans-serif;
            font-weight: 800;
            font-size: 1.1rem;
            margin: 0 auto 1.2rem;
        }

        .process-step h3 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: var(--text-dark);
        }

        .process-step p {
            color: var(--text-medium);
            font-size: 0.9rem;
            line-height: 1.6;
        }

        /* Services Page: pillar overview cards are clickable */
        .pillar-card {
            display: block;
            text-decoration: none;
        }

        /* ===================== Privacy Policy Page ===================== */

        .legal-hero {
            padding: 9rem 2rem 4rem;
            background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
            text-align: center;
        }

        .legal-breadcrumb {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 1.5rem;
        }

        .legal-breadcrumb a {
            color: var(--text-medium);
            text-decoration: none;
            font-weight: 500;
        }

        .legal-breadcrumb a:hover {
            color: var(--accent);
        }

        .legal-breadcrumb .material-symbols-outlined {
            font-size: 1rem;
        }

        .legal-hero h1 {
            font-size: 2.8rem;
            color: var(--text-dark);
            margin-bottom: 1rem;
        }

        .legal-hero>p {
            max-width: 680px;
            margin: 0 auto 1.2rem;
            color: var(--text-medium);
            font-size: 1.1rem;
        }

        .legal-updated {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1.1rem;
            background: rgba(13, 148, 136, 0.1);
            color: var(--accent);
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 700;
        }

        .legal-updated .material-symbols-outlined {
            font-size: 1.1rem;
        }

        /* Principles */
        .legal-principles {
            padding: 0 2rem 5rem;
            background: #ffffff;
        }

        .legal-principles-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
        }

        .legal-principle-card {
            background: var(--bg-gray);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 2rem 1.6rem;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .legal-principle-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 32px rgba(10, 31, 61, 0.08);
        }

        .legal-principle-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            background: var(--accent-gradient);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.1rem;
        }

        .legal-principle-icon .material-symbols-outlined {
            font-size: 1.6rem;
        }

        .legal-principle-card h3 {
            font-size: 1.05rem;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .legal-principle-card p {
            font-size: 0.9rem;
            color: var(--text-medium);
        }

        /* Body layout: sticky TOC + content */
        .legal-body {
            padding: 0 2rem 6rem;
            background: #ffffff;
        }

        .legal-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 260px 1fr;
            gap: 3rem;
            align-items: start;
        }

        .legal-toc {
            position: sticky;
            top: 100px;
            background: var(--bg-gray);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1.5rem;
        }

        .legal-toc h4 {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-light);
            margin-bottom: 1rem;
        }

        .legal-toc ol {
            list-style: none;
            counter-reset: toc-counter;
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
        }

        .legal-toc li {
            counter-increment: toc-counter;
        }

        .legal-toc a {
            display: flex;
            gap: 0.6rem;
            padding: 0.5rem 0.6rem;
            border-radius: 8px;
            color: var(--text-medium);
            text-decoration: none;
            font-size: 0.92rem;
            font-weight: 500;
            transition: background 0.2s, color 0.2s;
        }

        .legal-toc a::before {
            content: counter(toc-counter);
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: white;
            border: 1px solid var(--border);
            color: var(--text-light);
            font-size: 0.7rem;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .legal-toc a:hover {
            background: white;
            color: var(--accent);
        }

        .legal-content {
            min-width: 0;
        }

        .legal-section {
            padding-bottom: 3rem;
            margin-bottom: 3rem;
            border-bottom: 1px solid var(--border);
            scroll-margin-top: 100px;
        }

        .legal-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .legal-section-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: rgba(13, 148, 136, 0.1);
            color: var(--accent);
            font-family: 'Outfit', sans-serif;
            font-weight: 800;
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }

        .legal-section h2 {
            font-size: 1.6rem;
            color: var(--text-dark);
            margin-bottom: 1rem;
        }

        .legal-section h3 {
            font-size: 1.1rem;
            color: var(--text-dark);
            margin: 1.5rem 0 0.6rem;
        }

        .legal-section p {
            color: var(--text-medium);
            margin-bottom: 1rem;
            font-size: 1rem;
        }

        .legal-section ul {
            color: var(--text-medium);
            padding-left: 1.3rem;
            margin-bottom: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .legal-section ul li::marker {
            color: var(--accent);
        }

        .legal-note {
            display: flex;
            gap: 0.9rem;
            background: rgba(13, 148, 136, 0.06);
            border: 1px solid rgba(13, 148, 136, 0.2);
            border-radius: 14px;
            padding: 1.2rem 1.4rem;
            margin-top: 1rem;
        }

        .legal-note .material-symbols-outlined {
            color: var(--accent);
            flex-shrink: 0;
        }

        .legal-note p {
            margin: 0;
            font-size: 0.92rem;
            color: var(--text-dark);
        }

        .legal-compare {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }

        .legal-compare-col {
            border-radius: 14px;
            padding: 1.4rem 1.5rem;
            border: 1px solid var(--border);
        }

        .legal-compare-col.do {
            background: rgba(34, 197, 94, 0.06);
            border-color: rgba(34, 197, 94, 0.25);
        }

        .legal-compare-col.dont {
            background: rgba(239, 68, 68, 0.05);
            border-color: rgba(239, 68, 68, 0.2);
        }

        .legal-compare-col h4 {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.95rem;
            margin-bottom: 0.8rem;
        }

        .legal-compare-col.do h4 {
            color: var(--accent-green);
        }

        .legal-compare-col.dont h4 {
            color: #ef4444;
        }

        .legal-compare-col ul {
            padding-left: 0;
            list-style: none;
            gap: 0.6rem;
        }

        .legal-compare-col li {
            display: flex;
            gap: 0.6rem;
            font-size: 0.92rem;
            align-items: flex-start;
        }

        .legal-compare-col li .material-symbols-outlined {
            font-size: 1.1rem;
            flex-shrink: 0;
            margin-top: 0.1rem;
        }

        .legal-compare-col.do li .material-symbols-outlined {
            color: var(--accent-green);
        }

        .legal-compare-col.dont li .material-symbols-outlined {
            color: #ef4444;
        }

        .legal-contact-card {
            background: var(--bg-dark);
            background-image: radial-gradient(circle at 15% 20%, rgba(13, 148, 136, 0.35), transparent 45%);
            border-radius: 20px;
            padding: 2.5rem;
            color: white;
            text-align: center;
        }

        .legal-contact-card h2 {
            color: white;
            font-size: 1.6rem;
            margin-bottom: 0.6rem;
        }

        .legal-contact-card p {
            color: rgba(255, 255, 255, 0.75);
            max-width: 480px;
            margin: 0 auto 1.5rem;
        }

        .legal-contact-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        @media (max-width: 900px) {
            .legal-grid {
                grid-template-columns: 1fr;
            }

            .legal-toc {
                position: static;
                margin-bottom: 1rem;
            }

            .legal-toc ol {
                flex-direction: row;
                flex-wrap: wrap;
            }

            .legal-compare {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 640px) {
            .legal-hero h1 {
                font-size: 2.1rem;
            }
        }

        /* ===================== Varisley Home Page ===================== */

        /* Full-bleed video hero with text overlaid on top of the media */
        .hero-video-section {
            padding: 0;
            min-height: 680px;
            display: flex;
            align-items: center;
        }

        .hero-video-section .hero-media {
            position: absolute;
            inset: 0;
            z-index: 0;
        }

        .hero-video-section .hero-media video {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
        }

        .hero-video-section .hero-media::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(100deg, rgba(10, 31, 61, 0.92) 0%, rgba(10, 31, 61, 0.78) 32%, rgba(10, 31, 61, 0.4) 60%, rgba(10, 31, 61, 0.12) 85%);
        }

        .hero-video-section .hero-content {
            display: block;
            padding: 9rem 2rem 5rem;
        }

        .hero-video-section .hero-text {
            max-width: 620px;
        }

        .hero-video-section .hero-badge {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(255, 255, 255, 0.3);
            color: #ffffff;
        }

        .hero-video-section .hero-badge .material-symbols-outlined {
            color: var(--accent-light);
        }

        .hero-video-section h1 {
            color: #ffffff;
        }

        .hero-video-section p {
            color: rgba(255, 255, 255, 0.85);
        }

        @media (max-width: 900px) {
            .hero-video-section {
                min-height: 560px;
            }

            .hero-video-section .hero-content {
                padding: 7.5rem 1.5rem 3.5rem;
            }

            .hero-video-section .hero-text {
                max-width: none;
                margin: 0 auto;
            }
        }

        .section-badge-muted {
            background: var(--bg-gray);
            color: var(--text-light);
        }

        .about-section {
            padding: 6rem 2rem;
            background: var(--bg-gray);
        }

        .about-section .section-header {
            margin: 0;
            max-width: none;
            text-align: left;
        }

        .about-section .section-header p {
            text-align: left;
            margin-bottom: 1.2rem;
        }

        .about-section .section-header p:last-child {
            margin-bottom: 0;
        }

        .showcase-image-blend {
            position: relative;
            border-radius: 0;
            box-shadow: none;
        }

        .showcase-image-fade {
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, var(--bg-gray) 0%, rgba(248, 250, 252, 0.85) 10%, rgba(248, 250, 252, 0) 32%);
            pointer-events: none;
        }

        @media (max-width: 768px) {
            .showcase-image-fade {
                background:
                    linear-gradient(180deg, var(--bg-gray) 0%, rgba(248, 250, 252, 0.85) 12%, rgba(248, 250, 252, 0) 38%),
                    linear-gradient(90deg, var(--bg-gray) 0%, rgba(248, 250, 252, 0.85) 8%, rgba(248, 250, 252, 0) 24%);
            }
        }

        .product-card {
            background: var(--bg-gray);
            padding: 2.5rem;
            border-radius: 16px;
            border: 2px solid transparent;
            transition: all 0.3s;
        }

        .product-card-title {
            display: flex;
            align-items: center;
            gap: 0.9rem;
            margin: 1rem 0 0.8rem;
        }

        .product-card-title h3 {
            margin: 0;
        }

        .product-card-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            flex-shrink: 0;
        }

        .product-card-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .product-card:hover {
            border-color: var(--accent);
            background: white;
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        }

        .product-card h3 {
            font-size: 1.6rem;
            color: var(--text-dark);
        }

        .product-card p {
            color: var(--text-medium);
            margin-bottom: 1.5rem;
        }

        .contact-note {
            margin-top: 1.5rem;
            color: rgba(255, 255, 255, 0.85);
        }

        .contact-note a {
            color: white;
            font-weight: 700;
            text-decoration: underline;
        }

        /* Small-screen image scaling: keep photos proportional to the page instead of towering over it */
        @media (max-width: 600px) {
            .logo-img {
                height: 32px;
            }

            .nav-container {
                padding: 1rem 1.25rem;
            }

            .hero-video-section {
                min-height: 420px;
            }

            .hero-video-section .hero-content {
                padding: 6.5rem 1.25rem 3rem;
            }

            .hero-video-section h1 {
                font-size: 2.1rem;
            }

            .showcase-image-blend {
                max-height: 280px;
            }

            .showcase-image-blend img {
                height: 100%;
                object-fit: cover;
            }
        }
