        /* --- CSS Variables --- */
        :root {
            --pure-red: #FF0000;
            --blue-600: #ff0000;
            --blue-700: #ff0000;
            --gray-50: #F9FAFB;
            --gray-100: #F3F4F6;
            --gray-200: #E5E7EB;
            --gray-300: #D1D5DB;
            --gray-400: #9CA3AF;
            --gray-500: #6B7280;
            --gray-600: #4B5563;
            --gray-700: #374151;
            --gray-800: #1F2937;
            --gray-900: #11182C;
            --purple-100: #F3E8FF;
            --purple-200: #E9D5FF;
            --purple-600: #9333EA;
            --blue-100: #DBEAFE;
            --blue-200: #BFDBFE;
            --green-100: #D1FAE5;
            --green-600: #059669;
            --white-tp-30: rgba(255, 255, 255, 0.3);
            --white-tp-50: rgba(255, 255, 255, 0.5);
            --white-tp-60: rgba(255, 255, 255, 0.6);
            --white-tp-80: rgba(255, 255, 255, 0.8);
            --black-tp-10: rgba(0, 0, 0, 0.1);
            --black-tp-20: rgba(0, 0, 0, 0.2);
            --red-tp-40: rgba(255, 0, 0, 0.4);

            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
            --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

        /* --- Base & Body --- */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--gray-50);
            color: var(--gray-900);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        /* Language-specific font classes */
        body.lang-en .font-hand {
            font-family: 'Poppins', sans-serif;
        }
        body.lang-si .font-hand {
            font-family: '"Kite One"', sans-serif; /* Sinhala hand-drawing font */
            font-weight: 600; /* Kite One is a bit thin */
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        a:hover {
            color: var(--blue-600);
        }
        section {
            padding-top: 5rem;
            padding-bottom: 5rem;
        }
        .container {
            width: 100%;
            max-width: 1536px; /* 2xl */
            margin-left: auto;
            margin-right: auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }
        @media (min-width: 1280px) { /* xl */
            .container {
                max-width: 1280px;
            }
        }
        .container-narrow {
            max-width: 896px; /* 3xl */
            margin-left: auto;
            margin-right: auto;
        }
        .container-medium {
            max-width: 1152px; /* 6xl */
            margin-left: auto;
            margin-right: auto;
        }

        /* --- Glassmorphism Base --- */
        .glass-card {
            background-color: var(--white-tp-60);
            backdrop-filter: blur(24px);
            border-radius: 1.5rem; /* rounded-3xl */
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--white-tp-30);
        }
        .glass-nav {
            background-color: var(--white-tp-60);
            backdrop-filter: blur(24px);
            border-radius: 1rem; /* rounded-2xl */
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--white-tp-30);
        }

        /* --- Animated Background Blobs --- */
        .background-blobs {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -10;
            overflow: hidden;
        }
        .blob {
            position: absolute;
            border-radius: 9999px;
            opacity: 0.3;
            filter: blur(72px);
        }
        .blob-1 {
            top: -25%; left: -25%;
            width: 500px; height: 500px;
            background-color: var(--blue-200);
            animation: move-blob-1 30s infinite alternate ease-in-out;
        }
        .blob-2 {
            bottom: -25%; right: -25%;
            width: 600px; height: 600px;
            background-color: var(--purple-200);
            animation: move-blob-2 35s infinite alternate ease-in-out -10s;
        }
        .blob-3 {
            top: 25%; right: 25%;
            width: 400px; height: 400px;
            background-color: var(--red-tp-40); /* Was red-200 */
            animation: move-blob-3 40s infinite alternate ease-in-out -20s;
        }
        @keyframes move-blob-1 {
            0% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(100px, -50px) scale(1.2); }
            100% { transform: translate(0, 0) scale(1); }
        }
        @keyframes move-blob-2 {
            0% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(-80px, 60px) scale(0.8); }
            100% { transform: translate(0, 0) scale(1); }
        }
        @keyframes move-blob-3 {
            0% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(70px, 90px) scale(1.1); }
            100% { transform: translate(0, 0) scale(1); }
        }

        /* --- Header / Navigation --- */
        #main-header {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 50;
            padding: 1rem;
        }
        #main-nav {
            max-width: 1152px; /* max-w-6xl */
            margin: auto;
            padding: 1rem 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo-container {
            display: flex;
            align-items: center;
            gap: 0.75rem; /* space-x-3 */
        }
        .logo-container svg {
            width: 2rem; height: 2rem;
            color: var(--pure-red);
        }
        .logo-container .site-name {
            font-size: 2.25rem; /* text-3xl */
            font-weight: 700;
            color: var(--gray-900);
        }
        .logo-container .nav-trust-text {
            font-size: 0.75rem; /* text-xs */
            color: var(--pure-red);
            font-weight: 500;
            border-left: 2px solid var(--gray-200); /* was red-200 */
            padding-left: 0.75rem;
            margin-left: 0.25rem;
            display: none;
        }
        .desktop-nav {
            display: none;
            align-items: center;
            gap: 1.5rem; /* space-x-6 */
        }
        .desktop-nav a {
            color: var(--gray-600);
            font-size: 0.875rem; /* text-sm */
        }
        .cta-button {
            display: inline-block;
            background-color: var(--blue-600);
            color:white;
            font-weight: 500;
            padding: 0.5rem 1.5rem;
            border-radius: 9999px;
            box-shadow: var(--shadow-lg);
            transition: all 0.3s ease;
        }
        .cta-button:hover {
            background-color: var(--blue-700);
            transform: scale(1.05);
            color: white;
        }
        #mobile-menu-button {
            display: block;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--gray-800);
        }
        #mobile-menu-button svg {
            width: 1.75rem; height: 1.75rem;
        }
        
        /* Language Toggle Button */
        .lang-toggle-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background-color: var(--white-tp-50);
            border: 1px solid var(--white-tp-30);
            border-radius: 9999px;
            padding: 0.3rem 0.8rem;
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--gray-700);
            box-shadow: 0 1px 3px var(--black-tp-10);
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .lang-toggle-btn:hover {
            background-color: var(--white-tp-80);
            box-shadow: 0 2px 5px var(--black-tp-10);
        }
        .lang-toggle-btn svg {
            width: 1rem; height: 1rem;
            color: var(--gray-500);
        }
        .lang-toggle-btn .lang-text {
            color: var(--pure-red);
            font-weight: 700;
        }
        
        /* --- Mobile Menu --- */
        #mobile-menu {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background-color: var(--white-tp-60);
            backdrop-filter: blur(24px);
            z-index: 60;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2rem; /* space-y-8 */
            transform: translateX(100%);
            transition: transform 0.3s ease-in-out;
        }
        #mobile-menu.is-open {
            transform: translateX(0);
        }
        #mobile-menu-close {
            position: absolute;
            top: 2rem; right: 2rem;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--gray-800);
        }
        #mobile-menu-close svg {
            width: 2rem; height: 2rem;
        }
        #mobile-menu a {
            font-family: 'Poppins', sans-serif;
            font-size: 2.25rem; /* text-4xl */
            color: var(--gray-800);
        }
        #mobile-menu .cta-button {
            padding: 0.75rem 2rem;
            font-size: 1.125rem; /* text-lg */
        }
        #mobile-lang-toggle {
            padding-top: 2rem;
        }

        /* --- Main Content --- */
        main {
            padding-top: 8rem; /* pt-32 */
            padding-bottom: 5rem; /* pb-20 */
        }

        /* --- Hero Section --- */
        #hero-section {
            text-align: center;
            padding-top: 4rem;
            padding-bottom: 6rem;
            position: relative;
        }
        /* Floating stationary/math icons for hero background */
        .floating-icons {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: visible;
        }
        .floating-icons .icon {
            position: absolute;
            font-size: 2.5rem;
            opacity: 0.2;
            color: var(--gray-600);
            animation: floatIcon 8s ease-in-out infinite alternate;
        }
        .floating-icons .calc { top: 10%; left: 15%; animation-delay: 0s; }
        .floating-icons .pencil { top: 20%; right: 10%; animation-delay: 2s; }
        .floating-icons .book { bottom: 15%; left: 20%; animation-delay: 4s; }
        .floating-icons .ruler { bottom: 10%; right: 25%; animation-delay: 1s; }
        .floating-icons .brain { top: 40%; left: 50%; animation-delay: 3s; }
        @keyframes floatIcon {
            0% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-10px) rotate(10deg); }
            100% { transform: translateY(0px) rotate(0deg); }
        }
        #hero-section .hero-logo {
            margin-bottom: 2rem;
            font-size: 3rem; /* text-5xl */
            font-weight: 700;
            color: var(--pure-red);
        }
        #hero-section h1 {
            font-size: 3.75rem; /* text-6xl */
            font-weight: 400;
            color: var(--gray-900);
            margin-bottom: 1.5rem;
        }
        #hero-section .hero-subtitle {
            font-size: 1.125rem; /* text-lg */
            color: var(--gray-600);
            max-width: 42rem; /* max-w-xl */
            margin: auto;
            margin-bottom: 2.5rem;
        }
        #hero-input-wrapper {
            position: relative;
            max-width: 48rem; /* max-w-2xl */
            margin: auto;
            margin-bottom: 3rem;
        }
        .ai-input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            background-color: var(--white-tp-60);
            backdrop-filter: blur(24px);
            border-radius: 9999px;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--white-tp-30);
            padding: 0.6rem; /* p-2 md:p-3 */
            transition: all 0.3s ease-out;
        }
        /* Input Focus Animation */
        .ai-input-wrapper:focus-within {
            transform: scale(1.02);
            box-shadow: 0 0 30px var(--red-tp-40);
            border-color: rgba(255, 0, 0, 0.2);
        }
        .ai-input-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2rem; height: 2rem;
            border-radius: 9999px;
            cursor: pointer;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        .ai-input-icon.icon-left {
            background-color: var(--gray-100);
            color: var(--gray-500);
            margin-right: 0.5rem;
            margin-left: 0.25rem;
        }
        .ai-input-icon.icon-mid {
            background-color: var(--gray-100);
            color: var(--gray-500);
            margin-right: 0.5rem;
        }
        .ai-input-icon.icon-send {
            background-color: var(--pure-red);
            color: white;
            margin-right: 0.25rem;
        }
        .ai-input-icon.icon-send:hover {
            background-color: #D60000; /* red-700 */
        }
        .ai-input-icon svg {
            width: 1.25rem; height: 1.25rem;
        }
        .ai-input-icon.icon-send svg {
            transform: rotate(45deg);
            margin-left: 2px; /* Alignment fix */
        }
        .auto-grow-input {
            flex-grow: 1;
            background: transparent;
            outline: none;
            color: var(--gray-800);
            font-size: 1rem; /* text-base md:text-lg */
            padding: 0.25rem 0.5rem;
            border: none;
            resize: none;
            overflow: hidden; /* Hide scrollbar */
            min-height: 28px; /* Match icon size */
            line-height: 1.5;
        }
        .auto-grow-input::placeholder {
            color: var(--gray-400);
        }
        .hero-cta-button {
            display: inline-block;
            background-color: var(--pure-red);
            color: white;
            border: none;
            box-shadow: var(--shadow-lg);
            font-weight: 500;
            padding: 1rem 2rem;
            font-size: 1.125rem; /* text-lg */
            border-radius: 9999px;
            transition: all 0.3s ease;
        }
        .hero-cta-button:hover {
            background-color: #D60000; /* darker red hover */
            transform: scale(1.05);
            color: white;
        }

        /* --- Horizontal Features Section --- */
        #features-section {
            padding-left: 1rem;
            padding-right: 1rem;
        }
        #features-section h2 {
            font-size: 3rem; /* text-5xl md:text-6xl */
            text-align: center;
            font-weight: 400;
            color: var(--gray-900);
            margin-bottom: 3rem;
        }
        .features-grid {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            gap: 2rem; /* space-x-8 */
            padding-bottom: 2rem; /* pb-8 */
            /* Hide scrollbar */
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        .features-grid::-webkit-scrollbar { display: none; }
        
        .feature-card {
            scroll-snap-align: center;
            flex-shrink: 0;
            width: 20rem; /* w-80 */
            padding: 1.5rem;
        }
        .feature-card .feature-video {
            width: 100%;
            height: 12rem; /* matches previous placeholder */
            object-fit: cover;
            border-radius: 1rem; /* matches rounded-2xl */
            margin-bottom: 1rem;
            cursor: pointer;
        }
        .feature-card h3 {
            font-size: 1.875rem; /* text-3xl */
            font-weight: 400;
            margin-bottom: 0.5rem;
        }
        .feature-card p {
            color: var(--gray-600);
        }

        /* --- Accuracy Bar Chart Section --- */
        #accuracy-bar-chart {
            text-align: center;
        }
        #accuracy-bar-chart h2 {
            font-size: 3rem; /* text-5xl md:text-6xl */
            font-weight: 400;
            color: var(--gray-900);
            margin-bottom: 1.5rem;
        }
        #accuracy-bar-chart .accuracy-subtitle {
            font-size: 1.125rem; /* text-lg */
            color: var(--gray-600);
            max-width: 36rem; /* max-w-lg */
            margin: auto;
            margin-bottom: 4rem;
        }
        .chart-container {
            padding: 2rem; /* p-8 md:p-12 */
        }
        .chart-wrapper {
            position: relative; /* Ensure absolute elements inside are relative */
            display: flex;
            justify-content: space-around;
            align-items: flex-end;
            height: 18rem; /* h-64 md:h-80 */
        }
        .chart-background {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.1; /* Light background */
            z-index: 0;
        }
        .chart-item {
            position: relative;
            z-index: 1; /* Bars above image */
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .chart-item .percent {
            font-family: 'Poppins', sans-serif;
            margin-bottom: 0.5rem;
        }
        .chart-item .percent-other {
            font-size: 1.5rem; /* text-2xl */
            color: var(--gray-700);
        }
        .chart-item .percent-apilage {
            font-size: 1.875rem; /* text-3xl */
            color: var(--pure-red);
            font-weight: 700;
        }
        .chart-bar {
            width: 5rem; /* w-20 md:w-28 */
            background-color: var(--gray-300); /* Changed from blue-300 */
            border-top-left-radius: 0.5rem; /* rounded-t-lg */
            border-top-right-radius: 0.5rem;
            /* Animation */
            transform: scaleY(0);
            transform-origin: bottom;
            transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
        }
        .chart-bar.bar-apilage {
            background-color: var(--pure-red);
            transition-delay: 200ms;
        }
        .chart-item .label {
            font-size: 0.875rem; /* text-sm */
            font-weight: 500;
            margin-top: 0.75rem;
            color: var(--gray-600);
        }
        .chart-item .label-apilage {
            color: var(--gray-800);
        }
        /* Chart Animation Trigger */
        .chart-container.is-visible .chart-bar {
            transform: scaleY(1);
        }

        /* --- Accuracy Scatter Plot Section --- */
        #accuracy-scatter-plot {
            text-align: center;
        }
        #accuracy-scatter-plot h2 {
            font-size: 3rem; /* text-5xl md:text-6xl */
            font-weight: 400;
            color: var(--gray-900);
            margin-bottom: 1.5rem;
        }
        #accuracy-scatter-plot .accuracy-subtitle {
            font-size: 1.125rem; /* text-lg */
            color: var(--gray-600);
            max-width: 36rem; /* max-w-lg */
            margin: auto;
            margin-bottom: 4rem;
        }
        /* UPDATED Scatter Plot Container Style */
        .scatter-plot-container {
            position: relative;
            width: 100%;
            max-width: 600px;
            height: 400px;
            margin: auto;
            padding: 2.5rem 2.5rem 2rem 2rem; /* Adjusted padding */
            background-color: #FFFFFF; /* Solid white background */
            border: 1px solid var(--gray-200); /* Light gray border */
            box-shadow: var(--shadow-xl); /* Softer shadow */
            border-radius: 1.5rem; /* rounded-3xl */
        }
        .plot-axes {
            position: absolute;
            bottom: 2rem; /* Match padding */
            left: 2rem; /* Match padding */
            width: calc(100% - 2.5rem); /* Adjust for padding */
            height: calc(100% - 2.5rem); /* Adjust for padding */
            border-left: 2px solid var(--gray-300);
            border-bottom: 2px solid var(--gray-300);
        }
        .plot-label {
            position: absolute;
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--gray-500);
        }
        .plot-label-y {
            transform: rotate(-90deg);
            left: -1.5rem;
            top: 50%;
        }
        .plot-label-x {
            bottom: -2.5rem;
            left: 50%;
            transform: translateX(-50%);
        }
        .plot-dot {
            position: absolute;
            width: 12px;
            height: 12px;
            background-color: var(--blue-600);
            border-radius: 50%;
            opacity: 0.7;
            /* Animation */
            transform: scale(0);
            transition: transform 0.5s ease-out;
            /* Position relative to plot-axes */
            bottom: 2rem;
            left: 2rem;
        }
        .plot-line {
            position: absolute;
            width: 3px; /* Made line thicker */
            height: 120%; /* Will be clipped by container */
            background-color: var(--pure-red);
            transform: rotate(35deg);
            left: 50%;
            bottom: -10%;
            transform-origin: bottom left;
            /* Animation */
            transform: scaleY(0) rotate(35deg);
            transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
            transition-delay: 0.5s;
            /* Position relative to plot-axes */
            bottom: 2rem;
            left: 2rem;
        }
        /* Scatter Plot Animation Trigger */
        .scatter-plot-container.is-visible .plot-dot {
            transform: scale(1);
        }
        .scatter-plot-container.is-visible .plot-line {
            transform: scaleY(1) rotate(35deg);
        }
        /* Individual dot positions and delays (relative to plot-axes) */
        .dot-1 { bottom: calc(2rem + 15%); left: calc(2rem + 10%); transition-delay: 0.1s; }
        .dot-2 { bottom: calc(2rem + 25%); left: calc(2rem + 18%); transition-delay: 0.2s; }
        .dot-3 { bottom: calc(2rem + 20%); left: calc(2rem + 30%); transition-delay: 0.3s; }
        .dot-4 { bottom: calc(2rem + 35%); left: calc(2rem + 40%); transition-delay: 0.4s; }
        .dot-5 { bottom: calc(2rem + 50%); left: calc(2rem + 45%); transition-delay: 0.5s; }
        .dot-6 { bottom: calc(2rem + 45%); left: calc(2rem + 55%); transition-delay: 0.6s; }
        .dot-7 { bottom: calc(2rem + 60%); left: calc(2rem + 62%); transition-delay: 0.7s; }
        .dot-8 { bottom: calc(2rem + 75%); left: calc(2rem + 70%); transition-delay: 0.8s; }
        .dot-9 { bottom: calc(2rem + 70%); left: calc(2rem + 85%); transition-delay: 0.9s; }
        .plot-line-container {
             position: absolute;
             bottom: 2rem;
             left: 2rem;
             width: calc(100% - 2.5rem);
             height: calc(100% - 2.5rem);
             overflow: hidden; /* Clip the line */
        }
        .plot-line-container .plot-line {
            left: 45%; /* Adjust line start */
            bottom: -5%; /* Adjust line start */
        }


        /* --- "Why Us" Section --- */
        #why-us-section {
            padding-left: 1rem;
            padding-right: 1rem;
        }
        #why-us-section h2 {
            font-size: 3rem; /* text-5xl md:text-6xl */
            text-align: center;
            font-weight: 400;
            color: var(--gray-900);
            margin-bottom: 4rem;
        }
        .why-us-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem; /* gap-8 */
        }
        .why-us-card {
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }
        .why-us-card:hover {
            box-shadow: var(--shadow-2xl);
            transform: translateY(-8px);
        }
        .why-us-card .icon-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 4rem; /* w-16 */
            height: 4rem; /* h-16 */
            border-radius: 9999px;
            margin: auto;
            margin-bottom: 1.5rem;
        }
        .why-us-card .icon-wrapper svg {
            width: 2rem; height: 2rem;
        }
        .icon-bg-blue { background-color: var(--blue-100); color: var(--blue-600); }
        .icon-bg-purple { background-color: var(--purple-100); color: var(--purple-600); }
        .icon-bg-green { background-color: var(--green-100); color: var(--green-600); }
        
        .why-us-card h3 {
            font-size: 1.875rem; /* text-3xl */
            font-weight: 400;
            margin-bottom: 0.75rem;
        }
        .why-us-card p {
            color: var(--gray-600);
        }

        /* --- Pricing Section --- */
        #pricing-section {
            padding-left: 1rem;
            padding-right: 1rem;
        }
        .pricing-card {
            padding: 3rem; /* p-12 md:p-16 */
            text-align: center;
        }
        .pricing-card h2 {
            font-size: 3rem; /* text-5xl md:text-6xl */
            font-weight: 400;
            color: var(--gray-900);
            margin-bottom: 1rem;
        }
        .pricing-card .pricing-subtitle {
            font-size: 1.125rem; /* text-lg */
            color: var(--gray-600);
            max-width: 36rem; /* max-w-lg */
            margin: auto;
            margin-bottom: 2.5rem;
        }
        .price-slider-container {
            max-width: 28rem; /* max-w-md */
            margin: auto;
            margin-bottom: 2.5rem;
        }
        .price-slider-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }
        .price-slider-header .credits-label {
            color: var(--gray-600);
            font-weight: 500;
        }
        #credit-amount {
            font-size: 1.5rem; /* text-2xl */
            font-weight: 700;
            color: var(--pure-red);
        }
        input[type="range"] {
            -webkit-appearance: none; appearance: none;
            width: 100%; height: 8px;
            background: var(--black-tp-10);
            border-radius: 5px;
            outline: none;
        }
        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none; appearance: none;
            width: 24px; height: 24px;
            background: var(--pure-red);
            cursor: pointer;
            border-radius: 50%;
            border: 4px solid white;
            box-shadow: 0 0 10px var(--black-tp-20);
        }
        input[type="range"]::-moz-range-thumb {
            width: 24px; height: 24px;
            background: var(--pure-red);
            cursor: pointer;
            border-radius: 50%;
            border: 4px solid white;
            box-shadow: 0 0 10px var(--black-tp-20);
        }
        .price-slider-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 0.5rem;
        }
        .price-slider-footer .price-range {
            font-size: 0.875rem; /* text-sm */
            color: var(--gray-500);
        }
        #price-display {
            font-size: 1.125rem; /* text-lg */
            font-weight: 700;
            color: var(--gray-800);
        }
        .pricing-card .pricing-cta-button {
            padding: 1rem 2.5rem;
            font-size: 1.125rem; /* text-lg */
        }
        .pricing-card .pricing-note {
            font-size: 0.875rem; /* text-sm */
            color: var(--gray-500);
            margin-top: 1rem;
        }
        .stripe-logo-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem; /* space-x-2 */
            margin-top: 2rem;
            opacity: 0.6;
        }
        .stripe-logo-container span {
            color: var(--gray-600);
            font-weight: 500;
        }

        /* --- Footer --- */
        #main-footer {
            padding-top: 5rem;
            padding-bottom: 2.5rem;
            background-color: var(--white-tp-30);
            border-top: 1px solid rgba(229, 231, 235, 0.5); /* border-gray-200/50 */
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem; /* gap-8 */
            margin-bottom: 3rem;
        }
        .footer-col-1 {
            grid-column: span 1;
        }
        .footer-col-1 .logo-container {
            margin-bottom: 1rem;
        }
        .footer-col-1 .footer-desc {
            color: var(--gray-600);
            max-width: 24rem; /* max-w-sm */
            margin-bottom: 1rem;
        }
        .footer-col-1 .footer-address {
            color: var(--gray-500);
            font-size: 0.875rem; /* text-sm */
            line-height: 1.5;
        }
        .footer-col-2, .footer-col-3 {
            grid-column: span 1;
        }
        .footer-grid h4 {
            font-weight: 700;
            color: var(--gray-800);
            margin-bottom: 1rem;
        }
        .footer-grid nav {
            display: flex;
            flex-direction: column;
            gap: 0.5rem; /* space-y-2 */
        }
        .footer-grid nav a {
            color: var(--gray-600);
        }
        .footer-col-3 .legal-nav {
            margin-bottom: 1.5rem;
        }
        .social-links {
            display: flex;
            gap: 1rem; /* space-x-4 */
        }
        .social-links a {
            color: var(--gray-500);
        }
        .social-links a:hover {
            color: var(--blue-600);
        }
        .social-links svg {
            width: 1.5rem; height: 1.5rem;
        }
        .footer-copyright {
            border-top: 1px solid rgba(209, 213, 219, 0.5); /* border-gray-300/50 */
            padding-top: 2rem;
            text-align: center;
        }
        .footer-copyright p {
            font-size: 0.875rem; /* text-sm */
            color: var(--gray-500);
        }

        /* --- Sticky Input Bar --- */
        #sticky-input-bar {
            position: fixed;
            bottom: 0; left: 0; right: 0;
            z-index: 40;
            padding: 0 1rem 1rem 1rem; /* Adjusted padding */
            background-color: transparent; /* CHANGED */
            backdrop-filter: none; /* CHANGED */
            border-top: none; /* CHANGED */
            /* Animation */
            transform: translateY(150%);
            transition: transform 0.4s ease-out;
        }
        #sticky-input-bar.is-visible {
            transform: translateY(0);
        }
        #sticky-input-bar.is-hidden { /* New class to hide when footer is visible */
            transform: translateY(150%);
        }
        #sticky-input-bar .ai-input-wrapper {
            max-width: 48rem; /* max-w-2xl */
            margin: auto;
            background-color: var(--white-tp-80); /* Kept glass on input */
            padding: 0.4rem; /* p-2 */
            box-shadow: var(--shadow-xl); /* Added stronger shadow */
        }

        /* --- Scroll Animation --- */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        .animate-on-scroll.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
        .delay-100 { transition-delay: 100ms; }
        .delay-200 { transition-delay: 200ms; }
        .delay-300 { transition-delay: 300ms; }
        .delay-400 { transition-delay: 400ms; }
        .delay-500 { transition-delay: 500ms; }

        /* --- Media Queries for Responsiveness --- */
        @media (min-width: 768px) { /* md: */
            #hero-section h1 {
                font-size: 5rem; /* text-8xl */
            }
            #hero-section .hero-subtitle {
                font-size: 1.25rem; /* text-xl */
            }
            .feature-card {
                width: 24rem; /* w-96 */
            }
            #features-section h2, #accuracy-bar-chart h2, #accuracy-scatter-plot h2, #why-us-section h2, .pricing-card h2 {
                font-size: 3.75rem; /* text-6xl */
            }
            .why-us-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            .footer-grid {
                grid-template-columns: repeat(4, 1fr);
            }
            .footer-col-1 {
                grid-column: span 2;
            }
            .footer-col-2, .footer-col-3 {
                grid-column: span 1;
            }
            .desktop-nav {
                display: flex;
            }
            #mobile-menu-button {
                display: none;
            }
        }
        @media (min-width: 1024px) { /* lg: */
            .logo-container .nav-trust-text {
                display: block;
            }
        }
