:root {
            --red: #8B0000;
            --red-light: #c0392b;
            --red-gradient: linear-gradient(135deg, #8B0000, #c0392b);
            --green: #27ae60;
            --green-light: #2ecc71;
            --bg: #ffffff;
            --bg-alt: #f8f9fa;
            --text: #1a1a2e;
            --text-light: #666;
            --card: #ffffff;
            --border: #eee;
            --shadow: 0 5px 25px rgba(0,0,0,0.05);
            --shadow-hover: 0 20px 50px rgba(0,0,0,0.1);
            --radius: 16px;
            --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body.dark {
            --bg: #0a0a16;
            --bg-alt: #0f0f1c;
            --text: #ffffff;
            --text-light: #aaa;
            --card: #151528;
            --border: #222238;
            --shadow: 0 5px 25px rgba(0,0,0,0.2);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg);
            color: var(--text);
            overflow-x: hidden;
            line-height: 1.6;
            width: 100%;
        }

        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
            will-change: opacity, transform;
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal-delay-1 { transition-delay: 0.1s; }
        .reveal-delay-2 { transition-delay: 0.2s; }
        .reveal-delay-3 { transition-delay: 0.3s; }
        .reveal-delay-4 { transition-delay: 0.4s; }
        .reveal-delay-5 { transition-delay: 0.5s; }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 5%;
            background: rgba(255,255,255,0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 1px 30px rgba(0,0,0,0.04);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: var(--transition);
            border-bottom: 1px solid transparent;
        }
        body.dark nav {
            background: rgba(10,10,22,0.92);
            border-bottom: 1px solid rgba(255,255,255,0.04);
        }
        nav.scrolled {
            border-bottom: 1px solid var(--border);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0;
            text-decoration: none;
            flex-shrink: 0;
        }
        .logo-img {
            width: 38px;
            height: 38px;
            border-radius: 8px;
            object-fit: contain;
            flex-shrink: 0;
        }
        .logo-icon-fallback {
            width: 38px;
            height: 38px;
            background: var(--red-gradient);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 800;
            font-size: 1rem;
            box-shadow: 0 4px 12px rgba(139,0,0,0.25);
            flex-shrink: 0;
        }
        .brand-name {
            font-size: 1.25rem;
            font-weight: 800;
            background: var(--red-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.1;
            white-space: nowrap;
        }
        .logo-text span {
            font-size: 0.65rem;
            color: var(--text-light);
            display: block;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            font-weight: 600;
            white-space: nowrap;
        }

        /* Reduce logo size on mobile to fit nav items */
        @media (max-width: 768px) {
            .logo-img {
                width: 28px;
                height: 28px;
            }
            .logo-icon-fallback {
                width: 28px;
                height: 28px;
                font-size: 0.7rem;
            }
            .brand-name {
                font-size: 0.85rem;
            }
            .logo-text span {
                font-size: 0.45rem;
                letter-spacing: 0.5px;
            }
            .btn {
                padding: 6px 12px;
                font-size: 0.7rem;
            }
            .btn-login {
                padding: 6px 12px;
            }
            .btn-register {
                padding: 6px 12px;
            }
            .theme-toggle {
                width: 32px;
                height: 32px;
                font-size: 0.9rem;
            }
            .nav-links {
                gap: 12px;
            }
            .nav-links a {
                font-size: 0.75rem;
            }
        }

        @media (max-width: 480px) {
            .brand-name {
                font-size: 0.7rem;
            }
            .logo-text span {
                font-size: 0.4rem;
            }
            .btn {
                padding: 4px 8px;
                font-size: 0.6rem;
            }
            .btn-login {
                padding: 4px 8px;
            }
            .btn-register {
                padding: 4px 8px;
            }
            .theme-toggle {
                width: 28px;
                height: 28px;
                font-size: 0.7rem;
            }
            .nav-links {
                gap: 8px;
            }
            .nav-links a {
                font-size: 0.65rem;
            }
            .nav-buttons {
                gap: 4px;
            }
        }

        .nav-links {
            display: flex;
            gap: 30px;
            align-items: center;
        }
        .nav-links a {
            text-decoration: none;
            color: var(--text);
            font-weight: 500;
            font-size: 0.9rem;
            position: relative;
            padding: 4px 0;
        }
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--red);
            border-radius: 2px;
            transition: width 0.25s;
        }
        .nav-links a:hover::after {
            width: 100%;
        }
        .nav-links a:hover {
            color: var(--red);
        }

        .nav-buttons {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .btn {
            padding: 10px 22px;
            border-radius: 10px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.85rem;
            transition: var(--transition);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 7px;
            font-family: inherit;
            white-space: nowrap;
            letter-spacing: 0.2px;
            position: relative;
            overflow: hidden;
        }
        .btn:active { transform: scale(0.96); }

        .btn-login {
            background: transparent;
            border: 2px solid var(--border);
            color: var(--text);
        }
        .btn-login:hover {
            border-color: var(--red);
            color: var(--red);
            background: rgba(139,0,0,0.03);
            transform: translateY(-2px);
        }
        .btn-register, .btn-primary {
            background: var(--red-gradient);
            color: white;
            box-shadow: 0 4px 18px rgba(139,0,0,0.25);
        }
        .btn-register:hover, .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(139,0,0,0.35);
        }
        .btn-outline {
            background: transparent;
            border: 2px solid var(--red);
            color: var(--red);
        }
        .btn-outline:hover {
            background: var(--red);
            color: white;
            transform: translateY(-2px);
        }
        .btn-success {
            background: linear-gradient(135deg, #219a52, #27ae60);
            color: white;
            box-shadow: 0 4px 18px rgba(39,174,96,0.25);
        }
        .btn-success:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(39,174,96,0.35);
        }

        .theme-toggle {
            background: var(--bg-alt);
            border: 1px solid var(--border);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            color: var(--text);
            font-size: 1.1rem;
        }
        .theme-toggle:hover {
            transform: rotate(20deg);
        }
        
        .nav-phone {
            display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(39,174,96,0.1);
            padding: 6px 12px;
            border-radius: 40px;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--green);
            text-decoration: none;
            transition: var(--transition);
        }
        .nav-phone:hover {
            background: var(--green);
            color: white;
        }
        .nav-phone i {
            font-size: 0.9rem;
        }

        .hero {
            background: linear-gradient(180deg, #fafbfc 0%, #ffffff 40%, #f8f9fb 100%);
            padding: 70px 5%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 40px;
            position: relative;
            overflow: hidden;
        }
        body.dark .hero {
            background: linear-gradient(180deg, #0a0a16 0%, #0f0f1c 40%, #0a0a16 100%);
        }
        .hero::before {
            content: '';
            position: absolute;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(139,0,0,0.04) 0%, transparent 70%);
            top: -150px;
            right: -150px;
            border-radius: 50%;
            animation: floatBubble 8s ease-in-out infinite;
        }
        .hero::after {
            content: '';
            position: absolute;
            width: 350px;
            height: 350px;
            background: radial-gradient(circle, rgba(39,174,96,0.04) 0%, transparent 70%);
            bottom: -100px;
            left: -100px;
            border-radius: 50%;
            animation: floatBubble 10s ease-in-out infinite reverse;
        }
        @keyframes floatBubble {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(30px, -30px); }
        }

        .hero-content {
            flex: 1;
            min-width: 280px;
            position: relative;
            z-index: 1;
            text-align: center;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(139,0,0,0.06);
            color: var(--red);
            padding: 7px 16px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 700;
            margin-bottom: 20px;
            letter-spacing: 0.5px;
            border: 1px solid rgba(139,0,0,0.1);
        }
        .hero-badge .pulse-dot {
            width: 8px;
            height: 8px;
            background: var(--green);
            border-radius: 50%;
            animation: pulseDot 2s infinite;
        }
        @keyframes pulseDot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.4; transform: scale(1.6); }
        }
        .hero-content h1 {
            font-size: 3.4rem;
            font-weight: 800;
            margin-bottom: 18px;
            line-height: 1.15;
            letter-spacing: -1px;
        }
        .hero-gradient {
            background: var(--red-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero-content p {
            font-size: 1.1rem;
            color: var(--text-light);
            margin-bottom: 28px;
            line-height: 1.7;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        .hero-buttons {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;
        }

        /* Dashboard Preview Image */
        .dashboard-preview {
            margin-top: 30px;
            text-align: center;
        }
        .dashboard-preview img {
            max-width: 100%;
            border-radius: var(--radius);
            box-shadow: var(--shadow-hover);
            border: 1px solid var(--border);
            background: var(--card);
            padding: 8px;
            transition: var(--transition);
        }
        .dashboard-preview img:hover {
            transform: scale(1.01);
            box-shadow: 0 25px 60px rgba(0,0,0,0.15);
        }

        /* Dashboard Screenshots Gallery */
        .screenshots-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            margin-top: 30px;
        }
        .screenshot-card {
            background: var(--card);
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        .screenshot-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: transparent;
        }
        .screenshot-card img {
            width: 100%;
            height: auto;
            display: block;
            padding: 8px;
            background: var(--bg-alt);
            transition: var(--transition);
        }
        .screenshot-card:hover img {
            transform: scale(1.02);
        }
        .screenshot-card .caption {
            padding: 14px 18px;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-light);
            background: var(--bg-alt);
            border-top: 1px solid var(--border);
            text-align: center;
        }
        .screenshot-card .caption i {
            color: var(--primary, #1a4b2a);
            margin-right: 6px;
        }
        
        .comparison-table {
            background: var(--card);
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid var(--border);
            margin: 30px auto;
            max-width: 900px;
        }
        .comparison-row {
            display: flex;
            border-bottom: 1px solid var(--border);
        }
        .comparison-row:last-child {
            border-bottom: none;
        }
        .comparison-feature {
            flex: 1;
            padding: 16px 20px;
            font-weight: 600;
            background: var(--bg-alt);
        }
        .comparison-option {
            flex: 1;
            padding: 16px 20px;
            text-align: center;
        }
        .comparison-option:first-of-type {
            border-right: 1px solid var(--border);
        }
        .comparison-option i.fa-check { color: var(--green); margin-right: 6px; }
        .comparison-option i.fa-times { color: #ccc; }
        .comparison-header {
            background: var(--red-gradient);
            color: white;
        }
        .comparison-header .comparison-feature,
        .comparison-header .comparison-option {
            font-weight: 700;
            font-size: 1.1rem;
        }
        .mpesa-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(39,174,96,0.12);
            padding: 6px 16px;
            border-radius: 40px;
            color: var(--green);
            font-weight: 700;
            font-size: 0.85rem;
        }

        #how-it-works {
            background: var(--bg);
            padding: 60px 5%;
            position: relative;
        }
        .section-label {
            display: inline-block;
            background: rgba(139,0,0,0.06);
            color: var(--red);
            padding: 5px 14px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 10px;
        }
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        .section-title h2 {
            font-size: 2.3rem;
            font-weight: 800;
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }
        .section-title p {
            color: var(--text-light);
            max-width: 600px;
            margin: 0 auto;
        }

        .steps-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            position: relative;
        }
        .steps-container::before {
            content: '';
            position: absolute;
            top: 55px;
            left: 12%;
            right: 12%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #e0d0d0 20%, var(--red) 50%, #e0d0d0 80%, transparent);
            z-index: 0;
        }
        body.dark .steps-container::before {
            background: linear-gradient(90deg, transparent, #3a3030 20%, var(--red) 50%, #3a3030 80%, transparent);
        }

        .step-card {
            text-align: center;
            position: relative;
            z-index: 1;
        }
        .step-card-inner {
            background: var(--card);
            border-radius: var(--radius);
            padding: 30px 18px 25px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            transition: var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        .step-card-inner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--red-gradient);
            transform: scaleX(0);
            transition: transform 0.4s;
        }
        .step-card-inner:hover::before {
            transform: scaleX(1);
        }
        .step-card-inner:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
            border-color: transparent;
        }
        .step-number {
            width: 75px;
            height: 75px;
            background: var(--card);
            border: 3px solid var(--border);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--red);
            position: relative;
            z-index: 2;
            transition: var(--transition);
            margin-bottom: 18px;
        }
        .step-card-inner:hover .step-number {
            background: var(--red);
            color: #fff;
            border-color: var(--red);
            box-shadow: 0 10px 30px rgba(139,0,0,0.3);
            animation: swing 0.6s ease;
        }
        @keyframes swing {
            0%, 100% { transform: rotate(0); }
            25% { transform: rotate(6deg); }
            50% { transform: rotate(-4deg); }
            75% { transform: rotate(3deg); }
        }
        .step-check {
            position: absolute;
            bottom: -3px;
            right: -3px;
            width: 26px;
            height: 26px;
            background: var(--green);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 0.65rem;
            border: 3px solid var(--bg);
            z-index: 3;
            opacity: 0;
            transform: scale(0);
            transition: var(--transition);
        }
        .step-card-inner:hover .step-check {
            opacity: 1;
            transform: scale(1);
        }
        .step-card-inner h3 {
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 8px;
            letter-spacing: -0.2px;
        }
        .step-card-inner p {
            font-size: 0.85rem;
            color: var(--text-light);
            line-height: 1.6;
        }
        .step-tag {
            display: inline-block;
            background: var(--bg-alt);
            padding: 3px 10px;
            border-radius: 50px;
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--text-light);
            margin-top: 12px;
            letter-spacing: 0.5px;
        }

        #connection-showcase {
            background: var(--bg-alt);
            padding: 60px 5%;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .connection-orbit {
            position: relative;
            width: 280px;
            height: 280px;
            margin: 30px auto 0;
        }
        .orbit-center {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: var(--red-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 2rem;
            box-shadow: 0 0 60px rgba(139,0,0,0.3);
            z-index: 2;
            animation: centerPulse 2s ease-in-out infinite;
        }
        @keyframes centerPulse {
            0%, 100% { box-shadow: 0 0 40px rgba(139,0,0,0.3); }
            50% { box-shadow: 0 0 80px rgba(139,0,0,0.5); }
        }
        .orbit-ring {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border: 1.5px dashed rgba(139,0,0,0.25);
            border-radius: 50%;
            animation: orbitSpin 12s linear infinite;
        }
        .orbit-ring:nth-child(2) { width: 180px; height: 180px; animation-duration: 10s; animation-direction: reverse; }
        .orbit-ring:nth-child(3) { width: 260px; height: 260px; animation-duration: 14s; }
        @keyframes orbitSpin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }
        .orbit-item {
            position: absolute;
            width: 45px;
            height: 45px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.1rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            animation: orbitItemFloat 3s ease-in-out infinite;
        }
        .orbit-item:nth-child(4) { top: -20px; left: 50%; transform: translateX(-50%); background: #3b82f6; animation-delay: 0s; }
        .orbit-item:nth-child(5) { bottom: -20px; left: 50%; transform: translateX(-50%); background: #f59e0b; animation-delay: 0.8s; }
        .orbit-item:nth-child(6) { left: -20px; top: 50%; transform: translateY(-50%); background: var(--green); animation-delay: 1.6s; }
        .orbit-item:nth-child(7) { right: -20px; top: 50%; transform: translateY(-50%); background: #8b5cf6; animation-delay: 2.4s; }
        @keyframes orbitItemFloat {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(-8px); }
        }
        .orbit-item:nth-child(5) { animation-name: orbitItemFloatBottom; }
        @keyframes orbitItemFloatBottom {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(8px); }
        }
        .orbit-item:nth-child(6) { animation-name: orbitItemFloatLeft; }
        @keyframes orbitItemFloatLeft {
            0%, 100% { transform: translateY(-50%) translateX(0); }
            50% { transform: translateY(-50%) translateX(-8px); }
        }
        .orbit-item:nth-child(7) { animation-name: orbitItemFloatRight; }
        @keyframes orbitItemFloatRight {
            0%, 100% { transform: translateY(-50%) translateX(0); }
            50% { transform: translateY(-50%) translateX(8px); }
        }
        .connection-dots {
            display: flex;
            justify-content: center;
            gap: 60px;
            flex-wrap: wrap;
            margin-top: 40px;
        }
        .connection-dot {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            animation: bounceIn 0.6s ease backwards;
        }
        .connection-dot:nth-child(1) { animation-delay: 0s; }
        .connection-dot:nth-child(2) { animation-delay: 0.15s; }
        .connection-dot:nth-child(3) { animation-delay: 0.3s; }
        .connection-dot:nth-child(4) { animation-delay: 0.45s; }
        @keyframes bounceIn {
            0% { opacity: 0; transform: translateY(30px); }
            60% { opacity: 1; transform: translateY(-8px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        .connection-dot .dot-circle {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.4rem;
            transition: var(--transition);
        }
        .connection-dot .dot-circle:hover {
            transform: scale(1.15);
        }
        .connection-dot span {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-light);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 22px;
        }
        .feature-card {
            background: var(--card);
            padding: 30px 25px;
            border-radius: var(--radius);
            transition: var(--transition);
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            text-align: center;
        }
        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: transparent;
        }
        .feature-icon {
            width: 64px;
            height: 64px;
            background: var(--red-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
            font-size: 1.6rem;
            color: #fff;
            box-shadow: 0 6px 20px rgba(139,0,0,0.2);
        }
        .feature-card h3 {
            margin-bottom: 10px;
            font-size: 1.15rem;
            font-weight: 700;
        }
        .feature-card p {
            color: var(--text-light);
            line-height: 1.6;
            font-size: 0.9rem;
        }

        .about-content {
            display: flex;
            gap: 40px;
            align-items: flex-start;
            flex-wrap: wrap;
        }
        .about-text {
            flex: 1;
            min-width: 280px;
        }
        .about-text h3 {
            font-size: 1.4rem;
            margin-bottom: 16px;
            font-weight: 700;
        }
        .about-text p {
            color: var(--text-light);
            line-height: 1.8;
            margin-bottom: 18px;
        }
        .about-list {
            list-style: none;
            margin-top: 16px;
        }
        .about-list li {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .about-list i {
            color: var(--green);
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 22px;
            max-width: 1300px;
            margin: 0 auto;
            align-items: start;
        }
        .price-card {
            background: var(--card);
            border-radius: var(--radius);
            padding: 32px 22px;
            text-align: center;
            border: 1px solid var(--border);
            position: relative;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        .price-card.featured {
            border: 2px solid var(--red);
            box-shadow: 0 10px 35px rgba(139,0,0,0.12);
        }
        .price-card.purchase-card {
            border: 2px solid var(--green);
            background: linear-gradient(180deg, var(--card) 0%, rgba(39,174,96,0.03) 100%);
        }
        .price-card:hover {
            transform: translateY(-5px);
        }
        .popular-badge, .purchase-badge {
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            color: #fff;
            padding: 5px 16px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.5px;
        }
        .popular-badge { background: var(--red); }
        .purchase-badge { background: var(--green); }
        .price-card h3 {
            font-size: 1.3rem;
            margin-bottom: 10px;
            font-weight: 700;
        }
        .price {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--red);
            margin-bottom: 2px;
        }
        .price-card.purchase-card .price { color: var(--green); }
        .price-period {
            color: var(--text-light);
            font-size: 0.82rem;
            margin-bottom: 16px;
        }
        .price-save {
            background: rgba(39,174,96,0.1);
            color: var(--green);
            padding: 4px 12px;
            border-radius: 50px;
            font-size: 0.72rem;
            display: inline-block;
            margin-bottom: 18px;
            font-weight: 600;
        }
        .price-card ul {
            list-style: none;
            margin: 20px 0;
            text-align: left;
        }
        .price-card li {
            padding: 9px 0;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-light);
            font-size: 0.88rem;
        }
        .price-card li i { color: var(--green); }
        .price-card .btn { width: 100%; justify-content: center; }

        .faq-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 14px;
            max-width: 850px;
            margin: 0 auto;
        }
        .faq-item {
            background: var(--card);
            padding: 18px 20px;
            border-radius: 12px;
            border: 1px solid var(--border);
            cursor: pointer;
            transition: var(--transition);
        }
        .faq-item:hover { border-color: var(--red); }
        .faq-question {
            font-weight: 600;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .faq-answer {
            display: none;
            margin-top: 14px;
            color: var(--text-light);
            line-height: 1.7;
            font-size: 0.9rem;
        }
        .faq-answer.active { display: block; }

        .cta-section {
            background: var(--red-gradient);
            color: #fff;
            text-align: center;
            border-radius: 20px;
            margin: 40px 5%;
            padding: 55px 30px;
        }
        .cta-section h2 {
            font-size: 2rem;
            margin-bottom: 12px;
        }
        .cta-section p {
            margin-bottom: 24px;
            opacity: 0.92;
        }
        .cta-section .btn {
            background: #fff;
            color: var(--red);
        }
        .cta-section .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }

        footer {
            background: #0f0f1e;
            color: #fff;
            padding: 50px 5% 20px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 35px;
            margin-bottom: 35px;
        }
        .footer-col h4 {
            margin-bottom: 18px;
            font-size: 1rem;
            font-weight: 700;
        }
        .footer-col a {
            display: block;
            color: #aaa;
            text-decoration: none;
            margin-bottom: 8px;
            font-size: 0.88rem;
            transition: var(--transition);
            cursor: pointer;
        }
        .footer-col a:hover { color: var(--red-light); }
        .footer-col i { color: var(--red-light); margin-right: 6px; }
        .footer-col h3 {
            font-size: 0.7rem;
            color: #777;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 14px 0 6px;
        }
        .social-links {
            display: flex;
            gap: 12px;
            margin-top: 16px;
        }
        .social-links a {
            width: 38px;
            height: 38px;
            background: rgba(255,255,255,0.08);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            color: #aaa;
        }
        .social-links a:hover {
            background: var(--red-light);
            color: #fff;
            transform: translateY(-3px);
        }
        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.08);
        }
        .copyright-text { font-size: 0.82rem; color: #666; }
        .empowering-text {
            font-size: 0.85rem;
            color: #777;
            font-style: italic;
            letter-spacing: 0.5px;
            margin-top: 6px;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.75);
            backdrop-filter: blur(4px);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }
        .modal.active { display: flex; }
        .modal-content {
            background: var(--card);
            max-width: 750px;
            width: 92%;
            max-height: 85vh;
            border-radius: var(--radius);
            overflow: hidden;
            animation: modalIn 0.35s ease;
        }
        @keyframes modalIn {
            from { opacity: 0; transform: scale(0.9) translateY(20px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }
        .modal-header {
            background: var(--red-gradient);
            padding: 18px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .modal-header h3 { color: #fff; font-size: 1.1rem; }
        .modal-close {
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
        .modal-close:hover { background: rgba(255,255,255,0.15); }
        .modal-body {
            padding: 28px;
            overflow-y: auto;
            max-height: 60vh;
        }
        .modal-body h4 {
            color: var(--red);
            margin: 18px 0 8px;
            font-size: 1.05rem;
            font-weight: 700;
        }
        .modal-body h4:first-of-type { margin-top: 0; }
        .modal-body p { color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
        .modal-body ul { margin-left: 20px; margin-bottom: 14px; }
        .modal-body li { color: var(--text-light); line-height: 1.8; margin-bottom: 6px; }
        .contact-email { color: var(--red); font-weight: 600; }
        .purchase-contact-info a { color: var(--green); text-decoration: none; }
        .purchase-contact-info a:hover { color: var(--red); }

        .whatsapp-float {
            position: fixed;
            bottom: 28px;
            right: 28px;
            z-index: 1000;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .whatsapp-icon {
            background: #25D366;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 22px rgba(37,211,102,0.35);
            transition: var(--transition);
            position: relative;
        }
        .whatsapp-icon i { font-size: 28px; color: #fff; }
        .whatsapp-icon::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: #25D366;
            border-radius: 50%;
            opacity: 0.35;
            animation: pulseRing 1.6s ease-out infinite;
        }
        @keyframes pulseRing {
            0% { transform: scale(1); opacity: 0.35; }
            100% { transform: scale(1.4); opacity: 0; }
        }
        .whatsapp-message {
            background: var(--card);
            color: var(--text);
            padding: 10px 18px;
            border-radius: 50px;
            font-size: 0.82rem;
            font-weight: 500;
            box-shadow: var(--shadow);
            white-space: nowrap;
        }
        .whatsapp-message i { color: #25D366; margin-right: 5px; }
        .whatsapp-float:hover .whatsapp-icon { transform: scale(1.1); }

        .mobile-menu-btn {
            display: none;
            font-size: 1.3rem;
            cursor: pointer;
            width: 38px;
            height: 38px;
            border-radius: 8px;
            background: var(--bg-alt);
            border: 1px solid var(--border);
            align-items: center;
            justify-content: center;
            color: var(--text);
        }

        /* Custom POS Solutions Section */
        .custom-pos-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 18px;
            margin-top: 30px;
        }
        .pos-industry {
            background: var(--card);
            padding: 24px 18px;
            border-radius: var(--radius);
            text-align: center;
            border: 1px solid var(--border);
            transition: var(--transition);
            box-shadow: var(--shadow);
        }
        .pos-industry:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: var(--red);
        }
        .pos-industry i {
            font-size: 2.2rem;
            color: var(--red);
            margin-bottom: 12px;
            display: block;
        }
        .pos-industry h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 4px;
            color: var(--text);
        }
        .pos-industry p {
            font-size: 0.8rem;
            color: var(--text-light);
        }

        @media (max-width: 992px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 70px;
                left: 0;
                right: 0;
                background: var(--card);
                flex-direction: column;
                padding: 20px 5%;
                box-shadow: var(--shadow-hover);
                border-bottom: 1px solid var(--border);
                z-index: 999;
            }
            .nav-links.active {
                display: flex;
            }
            .mobile-menu-btn {
                display: flex;
            }
            .nav-buttons {
                gap: 8px;
            }
            .btn {
                padding: 8px 14px;
                font-size: 0.8rem;
            }
            .steps-container {
                grid-template-columns: repeat(2, 1fr);
            }
            .steps-container::before { display: none; }
            .hero-content h1 {
                font-size: 2.5rem;
            }
            .comparison-row {
                flex-wrap: wrap;
            }
            .comparison-feature, .comparison-option {
                flex: 100%;
                text-align: left;
                border-bottom: 1px solid var(--border);
            }
            .comparison-option:first-of-type {
                border-right: none;
            }
            .screenshots-grid {
                grid-template-columns: 1fr 1fr;
            }
            .custom-pos-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @media (max-width: 768px) {
            nav {
                padding: 10px 4%;
            }
            .logo-img, .logo-icon-fallback {
                width: 32px;
                height: 32px;
            }
            .brand-name {
                font-size: 1rem;
            }
            .logo-text span {
                font-size: 0.55rem;
            }
            .hero {
                flex-direction: column;
                text-align: center;
                padding: 50px 5%;
            }
            .hero-content h1 {
                font-size: 2rem;
            }
            .hero-content p {
                max-width: 100%;
            }
            .hero-buttons {
                justify-content: center;
            }
            section, .cta-section {
                padding: 45px 5%;
            }
            .section-title h2 {
                font-size: 1.8rem;
            }
            .cta-section {
                padding: 35px 18px;
                margin: 30px 4%;
            }
            .cta-section h2 {
                font-size: 1.5rem;
            }
            .faq-grid {
                grid-template-columns: 1fr;
            }
            .pricing-grid {
                grid-template-columns: 1fr;
                max-width: 420px;
                margin: 0 auto;
            }
            .about-content {
                flex-direction: column;
            }
            .features-grid {
                grid-template-columns: 1fr;
            }
            .steps-container {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .connection-dots {
                gap: 30px;
            }
            .whatsapp-message {
                display: none;
            }
            .screenshots-grid {
                grid-template-columns: 1fr;
            }
            .custom-pos-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 1.7rem;
            }
            .custom-pos-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }
            .pos-industry {
                padding: 16px 12px;
            }
            .pos-industry i {
                font-size: 1.6rem;
            }
            .pos-industry h4 {
                font-size: 0.85rem;
            }
        }
        @media (max-width: 380px) {
            .btn {
                padding: 7px 12px;
                font-size: 0.7rem;
            }
            .nav-phone span {
                display: none;
            }
            .nav-phone {
                padding: 6px 10px;
            }
            .custom-pos-grid {
                grid-template-columns: 1fr;
            }
        }

/* Accessibility and semantic enhancements */
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 9999; padding: 10px 14px; background: var(--red); color: #fff; border-radius: 8px; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.brand-name { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1.1; white-space: nowrap; background: var(--red-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.whatsapp-float { border: 0; background: transparent; font-family: inherit; }
section { scroll-margin-top: 90px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid rgba(139, 0, 0, .35); outline-offset: 3px; }
@media (max-width: 768px) { .brand-name { font-size: .85rem; } }
@media (max-width: 480px) { .brand-name { font-size: .7rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
.u-0c75e322 { color: var(--red); }
.u-1ade0dff { background:#f59e0b; }
.u-1d0ed09e { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.u-23bcb4b1 { background:#8b5cf6; }
.u-3301ea9e { margin-bottom: 10px; }
.u-33192ba7 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.u-382bbd7c { background: var(--bg-alt); padding: 60px 5%; }
.u-3dd1365c { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 1200px; margin: 0 auto; }
.u-428c3b3c { font-size: 2rem; color: var(--red); margin-bottom: 12px; display: block; }
.u-4459b122 { text-align: center; margin-top: 30px; }
.u-497322d3 { background:#3b82f6; }
.u-5aded91d { width: 60px; height: 60px; background: var(--red-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.u-642c7333 { text-align: center; margin-top: 20px; font-size: 0.85rem; }
.u-65ec118b { text-align: center; margin-top: 35px; }
.u-6728f96a { background: var(--card); padding: 25px 20px; border-radius: var(--radius); text-align: center; border: 1px solid var(--border); transition: var(--transition); }
.u-67fd2a10 { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.u-6f7ebf99 { color: white; font-size: 1.5rem; }
.u-703f47af { color: var(--text-light); max-width: 700px; margin: 0 auto 20px; }
.u-70d5364f { background: white; color: #27ae60; }
.u-8eae47dc { font-size: 1rem; font-weight: 700; }
.u-b082bd6d { color:#27ae60; }
.u-b1ed833e { background: white; color: #8B0000; }
.u-b32654dc { color: var(--text-light); }
.u-c3e5a992 { font-size: 0.8rem; color: var(--text-light); margin-top: 8px; }
.u-d43106b9 { background:#27ae60; }
.u-e098cffe { background: var(--card); padding: 28px 22px; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; transition: var(--transition); }
.u-e4e3f753 { margin-top: 20px; font-size: 0.8rem; }
.u-e781c629 { margin-top: 15px; padding: 10px; background: #e8f5e9; border-radius: 8px; text-align: center; }
.u-e872200c { padding: 60px 5%; }

/* =========================================================
   VIMARK TECH — PROFESSIONAL RESPONSIVE DESIGN LAYER v2.0
   ========================================================= */
:root {
    --red: #8f1017;
    --red-dark: #641015;
    --red-light: #bd2530;
    --red-gradient: linear-gradient(135deg, #701016 0%, #a91822 55%, #c22c37 100%);
    --green: #14804a;
    --green-light: #1ca45f;
    --bg: #ffffff;
    --bg-alt: #f6f7f9;
    --bg-soft: #fbfbfc;
    --text: #131722;
    --text-light: #5e6573;
    --card: #ffffff;
    --border: #e5e8ed;
    --border-strong: #d7dbe2;
    --shadow: 0 12px 35px rgba(16, 24, 40, 0.07);
    --shadow-hover: 0 22px 55px rgba(16, 24, 40, 0.13);
    --radius: 18px;
    --radius-lg: 28px;
    --container: 1240px;
    --section-space: clamp(72px, 8vw, 112px);
    --transition: 0.28s cubic-bezier(.2,.8,.2,1);
}

body.dark {
    --bg: #090b10;
    --bg-alt: #10131a;
    --bg-soft: #0d1016;
    --text: #f4f6fa;
    --text-light: #aab0bc;
    --card: #131720;
    --border: #272d38;
    --border-strong: #353d4b;
    --shadow: 0 15px 40px rgba(0,0,0,.3);
    --shadow-hover: 0 25px 60px rgba(0,0,0,.5);
}

html { scroll-padding-top: 92px; }
body {
    font-size: 16px;
    line-height: 1.7;
    background:
        radial-gradient(circle at 90% 3%, rgba(143,16,23,.045), transparent 28rem),
        var(--bg);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
section { scroll-margin-top: 90px; }

/* Unified content width */
section:not(.hero), footer, .cta-section {
    position: relative;
}
section:not(.hero) > *, footer > *, .cta-section > * {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}
section:not(.hero) {
    padding: var(--section-space) max(24px, calc((100vw - var(--container)) / 2));
}

/* Navigation */
nav#navbar {
    width: min(calc(100% - 32px), 1320px);
    margin: 14px auto 0;
    padding: 12px 16px 12px 18px;
    border: 1px solid rgba(229,232,237,.9);
    border-radius: 18px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 10px 35px rgba(16,24,40,.08);
    top: 12px;
    gap: 24px;
}
body.dark nav#navbar {
    background: rgba(15,18,25,.9);
    border-color: rgba(255,255,255,.08);
}
nav#navbar.scrolled {
    box-shadow: 0 15px 45px rgba(16,24,40,.14);
    border-color: var(--border-strong);
}
.logo { gap: 10px; min-width: 190px; }
.logo-img { width: 42px; height: 42px; border-radius: 11px; }
.logo-text { line-height: 1.05; }
.brand-name { font-size: 1.05rem; letter-spacing: .02em; }
.logo-text span:last-child { margin-top: 3px; font-size: .58rem; letter-spacing: .15em; }
.nav-links { gap: clamp(16px, 1.8vw, 28px); }
.nav-links a {
    font-size: .86rem;
    font-weight: 650;
    color: var(--text-light);
    padding: 10px 0;
}
.nav-links a:hover { color: var(--red); }
.nav-links a::after { bottom: 5px; height: 2px; }
.nav-buttons { gap: 8px; }
.theme-toggle { width: 40px; height: 40px; flex: 0 0 40px; }

/* Buttons */
.btn {
    min-height: 44px;
    padding: 11px 19px;
    border-radius: 11px;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: 0;
    justify-content: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-register, .btn-primary {
    box-shadow: 0 8px 22px rgba(143,16,23,.24);
}
.btn-success { box-shadow: 0 8px 22px rgba(20,128,74,.22); }
.btn-login { border-width: 1px; background: var(--card); }

/* Hero */
.hero {
    min-height: auto;
    padding: clamp(76px, 8vw, 118px) max(24px, calc((100vw - var(--container)) / 2)) 76px;
    margin-top: -84px;
    padding-top: clamp(158px, 15vw, 205px);
    background:
        radial-gradient(circle at 15% 20%, rgba(143,16,23,.09), transparent 23rem),
        radial-gradient(circle at 87% 26%, rgba(20,128,74,.07), transparent 22rem),
        linear-gradient(180deg, #fafbfc 0%, #fff 65%, #f7f8fa 100%);
}
body.dark .hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(194,44,55,.13), transparent 23rem),
        radial-gradient(circle at 87% 26%, rgba(28,164,95,.09), transparent 22rem),
        linear-gradient(180deg, #090b10 0%, #0d1016 65%, #10131a 100%);
}
.hero::before, .hero::after { opacity: .55; }
.hero-content { max-width: 1120px; width: 100%; }
.hero-badge {
    padding: 8px 15px;
    margin-bottom: 24px;
    font-size: .76rem;
    letter-spacing: .06em;
    background: rgba(143,16,23,.07);
    border-color: rgba(143,16,23,.14);
}
.hero-content h1 {
    max-width: 980px;
    margin: 0 auto 24px;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -.055em;
}
.hero-content p {
    max-width: 820px;
    margin-bottom: 30px;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.75;
}
.hero-buttons { gap: 12px; }
.hero-buttons .btn { min-height: 50px; padding: 13px 22px; font-size: .92rem; }
.hero-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 22px auto 0;
    color: var(--text-light);
    font-size: .82rem;
    font-weight: 600;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust i { color: var(--green); }
.dashboard-preview { margin-top: 54px; }
.dashboard-preview img {
    width: min(100%, 1050px);
    padding: 10px;
    border-radius: 24px;
    border: 1px solid var(--border-strong);
    box-shadow: 0 30px 75px rgba(16,24,40,.18);
}

/* Section hierarchy */
.section-title { max-width: 760px !important; margin-bottom: 48px; }
.section-label {
    padding: 6px 13px;
    font-size: .69rem;
    letter-spacing: .13em;
    border: 1px solid rgba(143,16,23,.12);
}
.section-title h2 {
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.14;
    letter-spacing: -.035em;
    margin-bottom: 14px;
}
.section-title p { font-size: clamp(.95rem, 1.2vw, 1.05rem); line-height: 1.75; }

/* Generic professional cards */
.feature-card, .price-card, .pos-industry, .screenshot-card, .step-card-inner,
.u-6728f96a, .u-e098cffe {
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.feature-card:hover, .price-card:hover, .pos-industry:hover, .screenshot-card:hover,
.step-card-inner:hover, .u-6728f96a:hover, .u-e098cffe:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(143,16,23,.18);
}

/* Dashboard gallery */
#dashboard-screenshots { background: var(--bg-soft); }
.screenshots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.screenshot-card { border-radius: 20px; }
.screenshot-card img { aspect-ratio: 16 / 9; object-fit: cover; padding: 7px; }
.screenshot-card .caption { padding: 15px 18px; font-weight: 700; color: var(--text); }

/* Connection section */
#connection-showcase { background: var(--bg); }
.connection-orbit { transform: scale(1.05); margin-top: 42px; }
.connection-dots { margin-top: 54px; gap: clamp(30px, 7vw, 82px); }
.connection-dot span { color: var(--text); font-weight: 700; }

/* Feature grid */
.features-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.feature-card { padding: 32px 26px; text-align: left; border-radius: 18px; }
.feature-icon { margin: 0 0 22px; width: 56px; height: 56px; border-radius: 15px; font-size: 1.35rem; }
.feature-card h3 { font-size: 1.08rem; line-height: 1.4; }
.feature-card p { font-size: .9rem; }

/* Opaque utility-class sections from generated markup */
.u-382bbd7c { background: var(--bg-soft) !important; }
.u-e872200c { background: var(--bg) !important; }
.u-33192ba7, .u-3dd1365c {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 20px !important;
    max-width: var(--container) !important;
}
.u-6728f96a, .u-e098cffe {
    background: var(--card) !important;
    border-radius: 18px !important;
    padding: 28px 24px !important;
    transition: var(--transition) !important;
}
.u-6728f96a { text-align: center !important; }
.u-428c3b3c { font-size: 2rem !important; color: var(--red) !important; margin-bottom: 14px !important; }
.u-8eae47dc, .u-3301ea9e { font-size: 1.03rem !important; line-height: 1.35 !important; margin-bottom: 8px !important; }
.u-c3e5a992, .u-b32654dc { font-size: .88rem !important; line-height: 1.65 !important; color: var(--text-light) !important; }
.u-5aded91d { width: 52px !important; height: 52px !important; border-radius: 14px !important; margin-bottom: 18px !important; }

/* Comparison table */
.comparison-table {
    max-width: 1080px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.comparison-row { min-width: 760px; }
.comparison-feature, .comparison-option { padding: 17px 20px; }
.comparison-header { background: var(--red-gradient); }
.mpesa-badge { border: 1px solid rgba(20,128,74,.12); }

/* How it works */
.steps-container { gap: 20px; }
.step-card-inner { padding: 32px 20px 27px; }
.step-number { width: 66px; height: 66px; font-size: 1.55rem; }
.steps-container::before { opacity: .7; }

/* Custom POS */
.custom-pos-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.pos-industry { padding: 28px 22px; }
.pos-industry i { font-size: 1.65rem; }

/* About */
.about-content { gap: 24px; align-items: stretch; }
.about-text {
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 20px;
    padding: 34px;
}
.about-list li { align-items: flex-start; }
.about-list i { margin-top: 5px; }

/* Pricing */
.pricing-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.price-card { padding: 38px 28px 30px; border-radius: 20px; }
.price-card.featured { transform: translateY(-10px); }
.price-card.featured:hover { transform: translateY(-15px); }
.price { font-size: clamp(2rem, 3vw, 2.65rem); }
.price-card li { border-bottom: 1px solid var(--border); }
.price-card li:last-child { border-bottom: 0; }

/* FAQ */
.faq-grid { max-width: 900px; grid-template-columns: 1fr; gap: 12px; }
.faq-item { padding: 0; overflow: hidden; border-radius: 14px; }
.faq-question { padding: 19px 22px; font-size: .95rem; }
.faq-answer { margin: 0; padding: 0 22px 20px; }

/* CTA */
.cta-section {
    max-width: min(1180px, calc(100% - 48px));
    margin: 40px auto 90px;
    padding: clamp(48px, 6vw, 72px) 30px;
    border-radius: 26px;
    box-shadow: 0 25px 65px rgba(112,16,22,.25);
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.16), transparent 18rem);
    pointer-events: none;
}
.cta-section h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }

/* Footer */
footer {
    padding: 70px max(24px, calc((100vw - var(--container)) / 2)) 24px;
    background: #090b10;
}
.footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 46px; }
.footer-col p { color: #9ea5b1; font-size: .9rem; line-height: 1.75; }
.footer-col h4 { font-size: .95rem; }
.footer-col a { margin-bottom: 10px; }

/* Modal polish */
.modal { padding: 18px; }
.modal-content { width: min(94%, 760px); border-radius: 20px; box-shadow: 0 30px 90px rgba(0,0,0,.32); }
.modal-header { padding: 20px 24px; }
.modal-body { padding: 30px; }

/* Floating WhatsApp */
.whatsapp-float { border: 0; background: transparent; }
.whatsapp-icon { width: 58px; height: 58px; }
.whatsapp-message { border: 1px solid var(--border); }

/* Large desktop */
@media (min-width: 1440px) {
    :root { --container: 1320px; }
    nav#navbar { width: min(calc(100% - 52px), 1400px); }
    .hero-content h1 { font-size: 4.85rem; }
    .features-grid, .u-33192ba7, .u-3dd1365c { gap: 26px !important; }
}

/* Laptop and tablet landscape */
@media (max-width: 1180px) {
    nav#navbar { width: calc(100% - 24px); gap: 12px; }
    .logo { min-width: 165px; }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: .8rem; }
    .nav-buttons .btn { padding-inline: 14px; }
    .features-grid, .u-33192ba7, .u-3dd1365c, .custom-pos-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* Tablet and mobile navigation */
@media (max-width: 992px) {
    html { scroll-padding-top: 82px; }
    nav#navbar {
        width: calc(100% - 20px);
        margin-top: 10px;
        padding: 10px 12px;
        border-radius: 15px;
        flex-wrap: nowrap;
    }
    .logo { min-width: 0; margin-right: auto; }
    .mobile-menu-btn {
        display: flex;
        order: 2;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }
    .nav-buttons { order: 3; }
    .nav-buttons .btn-login { display: none; }
    .nav-buttons .btn-register { min-height: 40px; padding: 9px 14px; }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        padding: 12px;
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow-hover);
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 12px 14px; border-radius: 10px; font-size: .9rem; }
    .nav-links a:hover { background: var(--bg-alt); }
    .nav-links a::after { display: none; }
    .hero { margin-top: -74px; padding-top: 145px; }
    .hero-content h1 { font-size: clamp(2.25rem, 7vw, 3.8rem); }
    .steps-container { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .steps-container::before { display: none; }
    .pricing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .price-card.featured { transform: none; }
    .price-card.featured:hover { transform: translateY(-6px); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Phones */
@media (max-width: 700px) {
    :root { --section-space: 68px; }
    body { font-size: 15px; }
    section:not(.hero) { padding-left: 18px; padding-right: 18px; }
    nav#navbar { width: calc(100% - 14px); margin-top: 7px; top: 7px; }
    .logo-img { width: 36px; height: 36px; }
    .brand-name { font-size: .86rem; }
    .logo-text span:last-child { display: none; }
    .theme-toggle { display: none; }
    .nav-buttons .btn-register { font-size: .72rem; padding: 8px 11px; }
    .mobile-menu-btn { width: 40px; height: 40px; flex-basis: 40px; }
    .hero {
        padding-left: 18px;
        padding-right: 18px;
        padding-bottom: 58px;
        text-align: left;
    }
    .hero-content { text-align: left; }
    .hero-badge { margin-bottom: 18px; }
    .hero-content h1 { margin-left: 0; margin-right: 0; font-size: clamp(2.15rem, 11.5vw, 3.1rem); }
    .hero-content p { margin-left: 0; font-size: .98rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { width: 100%; }
    .hero-trust { justify-content: flex-start; flex-direction: column; gap: 8px; }
    .dashboard-preview { margin-top: 36px; }
    .dashboard-preview img { padding: 5px; border-radius: 16px; }
    .section-title { text-align: left; margin-bottom: 34px; }
    .section-title h2 { font-size: clamp(1.72rem, 8vw, 2.25rem); }
    .section-title p { margin-left: 0; }
    .screenshots-grid, .features-grid, .u-33192ba7, .u-3dd1365c, .custom-pos-grid,
    .steps-container, .pricing-grid { grid-template-columns: 1fr !important; }
    .feature-card { text-align: left; }
    .connection-orbit { transform: scale(.88); margin-top: 18px; }
    .connection-dots { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
    .comparison-table { margin-left: -2px; margin-right: -2px; border-radius: 15px; }
    .comparison-row { min-width: 650px; }
    .about-text { padding: 26px 22px; }
    .cta-section { max-width: calc(100% - 28px); margin-bottom: 64px; padding: 44px 20px; text-align: left; }
    .cta-section .u-67fd2a10 { display: flex !important; flex-direction: column !important; }
    .cta-section .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    footer { padding-top: 56px; }
    .whatsapp-float { right: 16px; bottom: 16px; }
    .whatsapp-message { display: none; }
    .whatsapp-icon { width: 54px; height: 54px; }
    .modal-body { padding: 24px 20px; }
}

/* Very small phones */
@media (max-width: 390px) {
    .nav-buttons .btn-register { display: none; }
    .logo { gap: 7px; }
    .brand-name { font-size: .82rem; }
    .hero { padding-top: 132px; }
    .hero-content h1 { font-size: 2.05rem; }
    .hero-badge { font-size: .66rem; padding: 7px 11px; }
    .comparison-row { min-width: 600px; }
}

/* Accessibility and motion */
:focus-visible { outline: 3px solid rgba(143,16,23,.32); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}