 :root {
            --primary-color: #2563eb;
            --secondary-color: #3b82f6;
            --accent-color: #f59e0b;
            --text-dark: #1e293b;
            --text-light: #64748b;
            --glass-bg: rgba(255, 255, 255, 0.7);
            --glass-border: rgba(255, 255, 255, 0.5);
        }

        body {
            font-family: 'Inter', sans-serif;
            /*background-color: #f8fafc; */
            overflow-x: hidden;
        }

        /* --- Animated Background Shapes --- */
        .hero-section {
            position: relative;
            padding: 100px 0 80px;
            min-height: 100vh;
            display: flex;
            align-items: center;
            overflow: hidden;
        }

        .blob {
            position: absolute;
            filter: blur(80px);
            z-index: -1;
            opacity: 0.6;
            animation: float-blob 10s infinite ease-in-out alternate;
        }

        .blob-1 {
            top: -10%;
            left: -10%;
            width: 500px;
            height: 500px;
            background: #dbeafe; /* Light Blue */
            animation-delay: 0s;
        }

        .blob-2 {
            bottom: -10%;
            right: -10%;
            width: 600px;
            height: 600px;
            background: #fef3c7; /* Light Amber */
            animation-delay: 2s;
        }

        .blob-3 {
            top: 40%;
            left: 40%;
            width: 300px;
            height: 300px;
            background: #e0e7ff; /* Indigo tint */
            animation-delay: 4s;
        }

        @keyframes float-blob {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(30px, 50px) scale(1.1); }
        }

        /* --- Typography & Content --- */
        .hero-subtitle {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 700;
            color: var(--primary-color);
            background: rgba(37, 99, 235, 0.1);
            padding: 8px 16px;
            border-radius: 50px;
            display: inline-block;
            margin-bottom: 24px;
        }

        .hero-title {
            font-weight: 800;
            color: var(--text-dark);
            font-size: 3.5rem;
            line-height: 1.1;
            margin-bottom: 24px;
        }

        .hero-title span {
            background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-description {
            font-size: 1.15rem;
            color: var(--text-light);
            margin-bottom: 40px;
            max-width: 500px;
            line-height: 1.6;
        }

        /* --- Buttons --- */
        .btn-modern {
            padding: 14px 32px;
            border-radius: 12px;
            font-weight: 600;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .btn-primary-modern {
            background: var(--primary-color);
            color: white;
            border: none;
            box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
        }

        .btn-primary-modern:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
            background: #1d4ed8;
        }

        .btn-outline-modern {
            background: white;
            color: var(--text-dark);
            border: 1px solid #e2e8f0;
            margin-left: 15px;
        }

        .btn-outline-modern:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
            background: #f8fafc;
        }

        /* --- Interactive 3D Card --- */
        .tilt-wrapper {
            perspective: 1000px;
            width: 100%;
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .invoice-card {
            width: 380px;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 24px;
            border: 1px solid var(--glass-border);
            box-shadow: 
                0 25px 50px -12px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255,255,255,0.5) inset;
            padding: 30px;
            transform-style: preserve-3d;
            transition: transform 0.1s ease-out; /* Smooth follow */
            position: relative;
            z-index: 10;
        }

        /* Invoice Mockup Details */
        .inv-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            transform: translateZ(20px);
        }
        .inv-logo {
            width: 40px;
            height: 40px;
            background: var(--primary-color);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
        }
        .inv-badge {
            background: #dcfce7;
            color: #166534;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
        }
        
        .inv-lines {
            margin-bottom: 20px;
            transform: translateZ(10px);
        }
        .inv-line {
            height: 10px;
            background: #e2e8f0;
            border-radius: 5px;
            margin-bottom: 12px;
        }
        .inv-line.long { width: 100%; }
        .inv-line.medium { width: 70%; }
        .inv-line.short { width: 40%; }

        .inv-total {
            margin-top: 30px;
            background: #f8fafc;
            padding: 15px;
            border-radius: 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transform: translateZ(30px);
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
        }
        .inv-total-label { font-size: 12px; color: var(--text-light); }
        .inv-total-amount { font-size: 18px; font-weight: 700; color: var(--text-dark); }

        /* Floating Elements (Parallax) */
        .floater {
            position: absolute;
            background: white;
            padding: 12px 20px;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 20;
            font-weight: 600;
            font-size: 14px;
            transform: translateZ(60px);
            border: 1px solid rgba(255,255,255,0.8);
        }
        
        .floater i { color: #10b981; }

        .floater-1 {
            top: 60px;
            right: -30px;
            animation: float-y 4s ease-in-out infinite;
        }
        
        .floater-2 {
            bottom: 80px;
            left: -40px;
            animation: float-y 5s ease-in-out infinite reverse;
        }

        @keyframes float-y {
            0%, 100% { transform: translateY(0) translateZ(60px); }
            50% { transform: translateY(-15px) translateZ(60px); }
        }

        /* Checkmark Animation */
        .check-circle {
            width: 24px;
            height: 24px;
            background: #10b981;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
        }

        /* --- Billing Automation Section Styles --- */
        .features-section {
            padding: 100px 0;
            background: #fff;
            position: relative;
        }
        
        .features-section::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; height: 100px;
            background: linear-gradient(to bottom, #f8fafc, #fff);
        }

        /* Left Panel Preview */
        .preview-panel {
            background: #f8fafc;
            border-radius: 24px;
            padding: 40px;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
            transition: all 0.4s ease;
            border: 1px solid #e2e8f0;
        }

        .icon-large-wrapper {
            width: 80px;
            height: 80px;
            background: white;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            margin: 0 auto;
        }

        .icon-large-wrapper i {
            font-size: 32px;
            color: var(--primary-color);
        }

        .preview-image-container {
            margin-top: 30px;
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        }

        /* Feature Grid Cards */
        .feature-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 25px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.05);
        }

        .feature-card.active {
            border-color: var(--primary-color);
            background: var(--card-hover-bg);
            box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
        }

        .feature-card.active::before {
            content: '';
            position: absolute;
            left: 0; top: 0; bottom: 0; width: 4px;
            background: var(--primary-color);
        }

        .f-icon {
            width: 45px;
            height: 45px;
            background: rgba(37, 99, 235, 0.1);
            color: var(--primary-color);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .feature-card.active .f-icon {
            background: var(--primary-color);
            color: white;
        }

        .feature-card h5 {
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text-dark);
        }

        .feature-card p {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 0;
            line-height: 1.5;
        }

 /* --- NEW SECTION: Benefits --- */
        .benefits-section {
            padding: 100px 0;
            background: radial-gradient(circle at 50% 50%, #f0f9ff 0%, #f8fafc 100%);
            overflow: hidden;
        }

        .benefit-card {
            background: white;
            border-radius: 20px;
            padding: 40px 30px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            height: 100%;
            position: relative;
            top: 50px; /* Initial state for animation */
            opacity: 0;
        }

        .benefit-card.visible {
            top: 0;
            opacity: 1;
        }

        .benefit-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
        }

        .benefit-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
            color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            margin: 0 auto 25px;
            transition: all 0.4s ease;
        }

        .benefit-card:hover .benefit-icon {
            background: var(--primary-color);
            color: white;
            transform: scale(1.1) rotate(5deg);
        }

        .benefit-title {
            font-weight: 700;
            font-size: 1.25rem;
            margin-bottom: 15px;
            color: var(--text-dark);
        }

        .benefit-desc {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.6;
        }

/* --- NEW: Sticky Narrative Scroll Section --- */
        .sticky-narrative-section {
            background-color: #f8fafc;
            padding-bottom: 100px;
            position: relative;
        }
        
        /* Subtle Noise Background Texture */
        .sticky-narrative-section::before {
            content: "";
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
            pointer-events: none;
            z-index: 0;
        }

        .sticky-wrapper {
            position: sticky;
            top: 100px; /* Stick 100px from top */
            height: 60vh; /* Viewport height for the sticky container */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .visual-frame {
            width: 100%;
            height: 100%;
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
            background: white;
            border: 1px solid rgba(255,255,255,0.6);
        }

        .visual-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 40px;
            opacity: 0;
            transform: scale(0.95);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .visual-img.active {
            opacity: 1;
            transform: scale(1);
        }

        /* Scroll Content */
        .narrative-step {
            min-height: 70vh; /* Each step takes up screen space to allow scrolling */
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 40px 0;
            opacity: 0.3;
            transition: all 0.5s ease;
            transform: translateX(20px);
        }

        .narrative-step.active {
            opacity: 1;
            transform: translateX(0);
        }

        .narrative-step h3 {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
        }
        
        .narrative-step ul li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 12px;
            color: var(--text-light);
            font-size: 1.05rem;
        }

        .narrative-step ul li::before {
            content: "\f00c"; /* FontAwesome Check */
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            color: var(--primary-color);
        }
        
        /* --- NEW: Bento Grid / Complete Solution Section --- */
        .bento-section {
            padding: 100px 0;
            background: #fff;
            position: relative;
        }

        .bento-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 24px;
            margin-top: 40px;
        }

        .bento-card {
            background: #fff;
            border-radius: 24px;
            border: 1px solid rgba(0,0,0,0.08);
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
            overflow: hidden;
            position: relative;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .bento-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.06);
        }

        .card-content {
            padding: 40px;
            z-index: 2; /* Above spotlight */
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        /* Spotlight Effect Element */
        .spotlight {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: radial-gradient(
                600px circle at var(--x) var(--y), 
                rgba(37, 99, 235, 0.08), 
                transparent 40%
            );
            z-index: 1;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .bento-card:hover .spotlight {
            opacity: 1;
        }

        .bento-card h3 {
            font-weight: 700;
            font-size: 1.75rem;
            margin-bottom: 1rem;
            color: var(--text-dark);
        }

        .bento-card p {
            color: var(--text-light);
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .bento-card ul {
            padding-left: 0;
            list-style: none;
            margin-bottom: 2rem;
        }

        .bento-card ul li {
            position: relative;
            padding-left: 30px;
            margin-bottom: 12px;
            color: var(--text-light);
        }

        .bento-card ul li::before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: #10b981; /* Success Green */
            background: #ecfdf5;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            font-size: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .bento-img-container {
            margin-top: auto;
            text-align: center;
            position: relative;
        }
        
        .bento-img {
            max-width: 100%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.4s ease;
        }

        .bento-card:hover .bento-img {
            transform: scale(1.03);
        }

        /* Desktop Grid Layout */
        @media (min-width: 992px) {
            .bento-grid {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: auto auto;
            }
            .span-2 {
                grid-column: span 2;
                flex-direction: row; /* Horizontal layout for big card */
                align-items: center;
            }
            .span-2 .card-content {
                flex-direction: row;
                align-items: center;
                gap: 40px;
                text-align: left;
            }
            .span-2 .text-part { flex: 1; }
            .span-2 .img-part { flex: 1; margin-top: 0; }
        }
        /* Responsive */
        @media (max-width: 991px) {
            .hero-section { text-align: center; padding-top: 120px; }
            .hero-description { margin: 0 auto 40px; }
            .tilt-wrapper { height: 400px; margin-top: 50px; }
            .hero-title { font-size: 2.5rem; }
            .preview-panel { margin-bottom: 30px; }
            .benefit-card { margin-bottom: 20px; top: 0; opacity: 1; } /* Disable scroll anim on mobile for simplicity */
            /* Disable sticky on mobile, fallback to stack */
            .sticky-wrapper { position: relative; top: 0; height: 400px; margin-bottom: 40px; }
            .narrative-step { min-height: auto; opacity: 1; transform: none; margin-bottom: 60px; }
            /* Bento adjustments */
            .span-2 .card-content { flex-direction: column; }
        }