        :root {
            --color-primary: #00d4ff;
            --color-primary-rgb: 0, 212, 255;
            --color-secondary: #8b5cf6;
            --color-secondary-rgb: 139, 92, 246;
            --color-accent: #10b981;
            --color-accent-rgb: 16, 185, 129;
            --color-text: #ffffff;
            --color-text-muted: rgba(226, 232, 240, 0.8);
            --color-background: #020617;
            --color-surface: rgba(30, 41, 59, 0.6);
            --color-surface-elevated: rgba(51, 65, 85, 0.8);
            --color-border: rgba(148, 163, 184, 0.2);
            --font-display: 'Space Grotesk', sans-serif;
            --font-body: 'Inter', sans-serif;
            --font-mono: 'JetBrains Mono', monospace;
            --shadow-glow: 0 0 40px rgba(var(--color-primary-rgb), 0.3);
            --shadow-card: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
            --border-radius: 16px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        body {
            font-family: var(--font-body);
            color: var(--color-text);
            background: var(--color-background);
            background-image: 
                radial-gradient(circle at 20% 50%, rgba(var(--color-primary-rgb), 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(var(--color-secondary-rgb), 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(var(--color-accent-rgb), 0.05) 0%, transparent 50%);
            line-height: 1.7;
            overflow-x: hidden;
        }

        .page-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            padding: 20px;
            background: rgba(2, 6, 23, 0.8);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--color-border);
        }

        .back-to-home-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--color-text-muted);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            font-size: 0.95rem;
        }

        .back-to-home-link:hover {
            color: var(--color-primary);
            transform: translateX(-4px);
        }

        .case-study-hero {
            padding: 160px 20px 100px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .case-study-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(var(--color-primary-rgb), 0.1) 0%, 
                rgba(var(--color-secondary-rgb), 0.05) 50%,
                transparent 100%);
            z-index: -1;
        }

        .hero-content {
            max-width: 900px;
            margin: 0 auto;
            animation: fadeInUp 1s ease-out;
        }

        .hero-tag {
            font-family: var(--font-mono);
            font-size: 0.85rem;
            color: var(--color-secondary);
            background: rgba(var(--color-secondary-rgb), 0.1);
            padding: 8px 16px;
            border-radius: 50px;
            display: inline-block;
            margin-bottom: 24px;
            border: 1px solid rgba(var(--color-secondary-rgb), 0.2);
            font-weight: 500;
        }

        .hero-title {
            font-family: var(--font-display);
            font-size: clamp(2.5rem, 6vw, 4rem);
            color: var(--color-primary);
            margin-bottom: 24px;
            font-weight: 700;
            line-height: 1.1;
            background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 2.5vw, 1.25rem);
            max-width: 700px;
            margin: 0 auto;
            color: var(--color-text-muted);
            line-height: 1.6;
            font-weight: 400;
        }

        .case-study-section {
            padding: 80px 20px;
            display: flex;
            justify-content: center;
            position: relative;
        }

        .section-content {
            max-width: 800px;
            width: 100%;
            animation: fadeInUp 0.8s ease-out;
        }

        .section-content h2 {
            font-family: var(--font-display);
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            margin-bottom: 32px;
            color: var(--color-text);
            font-weight: 600;
            position: relative;
            padding-bottom: 16px;
        }

        .section-content h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
            border-radius: 2px;
        }

        .section-content p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--color-text-muted);
            font-weight: 400;
        }

        .tech-stack-section {
            background: rgba(var(--color-surface), 0.5);
            backdrop-filter: blur(20px);
            border-top: 1px solid var(--color-border);
            border-bottom: 1px solid var(--color-border);
        }

        .tech-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            margin-top: 40px;
        }

        .tech-item {
            padding: 32px;
            background: var(--color-surface-elevated);
            border: 1px solid var(--color-border);
            border-radius: var(--border-radius);
            backdrop-filter: blur(20px);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .tech-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
            transform: scaleX(0);
            transition: var(--transition);
        }

        .tech-item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-card);
            border-color: rgba(var(--color-primary-rgb), 0.4);
        }

        .tech-item:hover::before {
            transform: scaleX(1);
        }

        .tech-item strong {
            color: var(--color-primary);
            font-weight: 600;
            display: block;
            margin-bottom: 8px;
            font-size: 1.1rem;
        }

        .challenge-section {
            background: rgba(var(--color-secondary-rgb), 0.05);
            border-top: 1px solid rgba(var(--color-secondary-rgb), 0.2);
            border-bottom: 1px solid rgba(var(--color-secondary-rgb), 0.2);
            position: relative;
        }

        .challenge-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 50%, rgba(var(--color-secondary-rgb), 0.1) 0%, transparent 70%);
            pointer-events: none;
        }

        .highlight-box {
            background: rgba(var(--color-accent-rgb), 0.1);
            border: 1px solid rgba(var(--color-accent-rgb), 0.3);
            border-radius: var(--border-radius);
            padding: 32px;
            margin: 32px 0;
            position: relative;
            overflow: hidden;
        }

        .highlight-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--color-accent);
        }

        .page-footer {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 60px 20px;
            background: rgba(var(--color-surface), 0.3);
            border-top: 1px solid var(--color-border);
            backdrop-filter: blur(20px);
        }

        .page-footer p {
            color: var(--color-text-muted);
            font-size: 0.95rem;
            font-weight: 400;
        }

        .code-snippet {
            font-family: var(--font-mono);
            background: rgba(var(--color-surface-elevated), 0.8);
            padding: 20px;
            border-radius: 12px;
            border: 1px solid var(--color-border);
            color: var(--color-accent);
            font-size: 0.9rem;
            margin: 20px 0;
            overflow-x: auto;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 40px 0;
        }

        .stat-item {
            text-align: center;
            padding: 24px;
            background: rgba(var(--color-surface), 0.6);
            border-radius: var(--border-radius);
            border: 1px solid var(--color-border);
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: var(--color-primary);
            display: block;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--color-text-muted);
            margin-top: 8px;
        }

        .ocr-module{
            margin-top: 20px
        }

        .challenge-section h3{
            margin-top: 20px;
        }

        .legal-advise-button{
            display: inline-block;
            margin-top: 20px;
            padding: 10px 20px;
            background: var(--color-primary);
            color: var(--color-text);
            text-decoration: none;
            border-radius: 8px;
            font-weight: 500;
            transition: background 0.3s ease;
        }

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

        @media (max-width: 768px) {
            .case-study-hero {
                padding: 120px 20px 80px;
            }
            
            .case-study-section {
                padding: 60px 20px;
            }
            
            .tech-grid {
                grid-template-columns: 1fr;
            }
            
            .tech-item {
                padding: 24px;
            }
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--color-background);
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--color-primary);
        }