*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        :root {
            --bg: #0f172a; --surface: #1e293b; --glass: rgba(30, 41, 59, 0.6);
            --blue: #2563eb; --cyan: #06b6d4; --purple: #7c3aed;
            --text: #f1f5f9; --muted: #94a3b8; --border: rgba(148, 163, 184, 0.1);
            --green: #10b981; --wa-green: #25D366;
        }
        html { scroll-behavior: smooth; }
        body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.6; }

        /* Animated gradient background */
        .hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
        .hero-bg::before {
            content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
            background: radial-gradient(circle, rgba(37,99,235,0.15), transparent 70%);
            top: -200px; right: -100px; animation: float1 8s ease-in-out infinite;
        }
        .hero-bg::after {
            content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
            background: radial-gradient(circle, rgba(6,182,212,0.12), transparent 70%);
            bottom: -150px; left: -100px; animation: float2 10s ease-in-out infinite;
        }
        @keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px,40px); } }
        @keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-40px); } }

        /* Particles */
        .particles { position: absolute; inset: 0; z-index: 1; }
        .particle {
            position: absolute; width: 3px; height: 3px; background: rgba(37,99,235,0.4);
            border-radius: 50%; animation: drift linear infinite;
        }
        @keyframes drift { 0% { transform: translateY(100vh) scale(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-10vh) scale(1); opacity: 0; } }

        /* Nav */
        nav {
            position: fixed; top: 0; left: 0; right: 0; z-index: 100;
            padding: 16px 24px; transition: all 0.3s;
        }
        nav.scrolled { background: rgba(15,23,42,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
        .nav-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
        .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
        .logo-icon {
            width: 40px; height: 40px; background: linear-gradient(135deg, var(--blue), var(--cyan));
            border-radius: 12px; display: flex; align-items: center; justify-content: center;
        }
        .logo-text { font-size: 20px; font-weight: 800; color: white; letter-spacing: -0.5px; }
        .logo-text span { color: var(--cyan); }
        .nav-btn {
            padding: 8px 20px; border-radius: 10px; font-weight: 600; font-size: 13px;
            cursor: pointer; transition: all 0.3s; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
        }
        .nav-btn-blue { background: var(--blue); color: white; border: none; }
        .nav-btn-blue:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,0.3); }

        /* Hero */
        .hero {
            position: relative; min-height: 100vh; display: flex; align-items: center;
            justify-content: center; text-align: center; padding: 120px 24px 80px;
        }
        .hero-content { position: relative; z-index: 2; max-width: 800px; }
        .badge {
            display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px;
            background: var(--glass); border: 1px solid var(--border); border-radius: 100px;
            font-size: 13px; color: var(--cyan); font-weight: 500; margin-bottom: 32px;
            backdrop-filter: blur(10px); animation: fadeInUp 0.6s ease;
        }
        .badge-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; animation: pulse-dot 2s infinite; }
        @keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
        h1 {
            font-size: clamp(36px, 6vw, 64px); font-weight: 900; line-height: 1.1;
            letter-spacing: -2px; margin-bottom: 24px; animation: fadeInUp 0.6s ease 0.1s both;
        }
        h1 .gradient { background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .hero-desc {
            font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 auto;
            line-height: 1.7; animation: fadeInUp 0.6s ease 0.2s both;
        }
        .hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.6s ease 0.3s both; }
        .btn {
            padding: 16px 32px; border-radius: 14px; font-weight: 700; font-size: 16px;
            cursor: pointer; transition: all 0.3s; text-decoration: none; display: inline-flex;
            align-items: center; gap: 8px; font-family: 'Inter', sans-serif;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--blue), #1d4ed8); color: white; border: none;
            box-shadow: 0 8px 32px rgba(37,99,235,0.3);
        }
        .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37,99,235,0.4); }
        .btn-outline { background: transparent; color: white; border: 2px solid var(--border); }
        .btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-3px); }
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

        /* Sections */
        section { padding: 100px 24px; }
        .container { max-width: 1200px; margin: 0 auto; }
        .section-label {
            display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
            background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2);
            border-radius: 100px; font-size: 13px; color: var(--blue); font-weight: 600;
            text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
        }
        .section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
        .section-desc { color: var(--muted); font-size: 16px; max-width: 600px; }

        /* Features */
        .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; margin-top: 60px; }
        .feature-card {
            background: var(--glass); border: 1px solid var(--border); border-radius: 20px;
            padding: 32px; backdrop-filter: blur(10px); transition: all 0.4s;
        }
        .feature-card:hover { transform: translateY(-6px); border-color: rgba(37,99,235,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
        .feature-icon {
            width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center;
            justify-content: center; margin-bottom: 20px;
        }
        .feature-icon svg { width: 26px; height: 26px; }
        .fi-blue { background: rgba(37,99,235,0.15); color: var(--blue); }
        .fi-cyan { background: rgba(6,182,212,0.15); color: var(--cyan); }
        .fi-purple { background: rgba(124,58,237,0.15); color: var(--purple); }
        .fi-green { background: rgba(16,185,129,0.15); color: #10b981; }
        .fi-amber { background: rgba(245,158,11,0.15); color: #f59e0b; }
        .fi-rose { background: rgba(244,63,94,0.15); color: #f43f5e; }
        .feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
        .feature-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

        /* Analysis Flow */
        .analysis-flow-section { background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(6,182,212,0.04)); }
        .flow-container { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 60px; flex-wrap: wrap; }
        .flow-step {
            text-align: center; padding: 32px 28px; position: relative;
            background: var(--glass); border: 1px solid var(--border); border-radius: 20px;
            backdrop-filter: blur(10px); transition: all 0.4s; min-width: 220px; flex: 1; max-width: 300px;
        }
        .flow-step:hover { transform: translateY(-8px); border-color: rgba(37,99,235,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
        .flow-icon {
            width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center;
            justify-content: center; margin: 0 auto 16px; position: relative;
        }
        .flow-icon svg { width: 32px; height: 32px; }
        .flow-icon .pulse-ring {
            position: absolute; inset: -6px; border-radius: 24px; border: 2px solid;
            opacity: 0; animation: pulseRing 2.5s ease-out infinite;
        }
        @keyframes pulseRing { 0% { transform: scale(0.9); opacity: 0.6; } 100% { transform: scale(1.3); opacity: 0; } }
        .flow-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
        .flow-step p { color: var(--muted); font-size: 13px; line-height: 1.5; }
        .flow-step .step-badge {
            position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
            background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white;
            font-size: 11px; font-weight: 800; padding: 4px 14px; border-radius: 100px;
            text-transform: uppercase; letter-spacing: 1px;
        }
        .flow-arrow {
            font-size: 28px; color: var(--cyan); margin: 0 12px;
            animation: arrowPulse 1.5s ease-in-out infinite;
        }
        @keyframes arrowPulse { 0%,100% { opacity: 0.4; transform: translateX(0); } 50% { opacity: 1; transform: translateX(6px); } }
        .flow-arrow-mobile { display: none; }

        /* Steps */
        .steps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 60px; }
        .step { 
            text-align: center; padding: 32px 28px; position: relative;
            background: var(--glass); border: 1px solid var(--border); border-radius: 20px;
            backdrop-filter: blur(10px); transition: all 0.4s; flex: 1; max-width: 300px; min-width: 220px;
        }
        .step:hover { transform: translateY(-8px); border-color: rgba(6,182,212,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
        .step-num {
            width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center;
            justify-content: center; font-size: 24px; font-weight: 900; margin: 0 auto 20px;
            background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white;
            position: relative; overflow: hidden;
        }
        .step-num::after {
            content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
        }
        .step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
        .step p { color: var(--muted); font-size: 14px; line-height: 1.5; }

        /* Animations */
        .ai-scanner-wrapper { display: flex; justify-content: center; margin-bottom: 24px; animation: fadeInUp 0.6s ease; }
        .ai-scanner {
            width: 80px; height: 80px; border-radius: 20px; background: rgba(37,99,235,0.1);
            border: 2px dashed rgba(6,182,212,0.4); position: relative; overflow: hidden;
            display: flex; align-items: center; justify-content: center;
        }
        .ai-scanner-icon { width: 40px; height: 40px; color: var(--cyan); }
        .ai-scanner-line {
            position: absolute; top: 0; left: 0; right: 0; height: 3px;
            background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
            animation: scan 2s ease-in-out infinite alternate;
        }
        @keyframes scan { 0% { top: -10%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 110%; opacity: 0; } }

        /* CTA */
        .cta-section { text-align: center; }
        .cta-box {
            background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(6,182,212,0.1));
            border: 1px solid rgba(37,99,235,0.2); border-radius: 28px; padding: 60px 40px;
            max-width: 700px; margin: 0 auto; backdrop-filter: blur(10px);
        }
        .cta-box h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
        .cta-box p { color: var(--muted); margin-bottom: 32px; }

        /* Footer */
        footer { text-align: center; padding: 40px 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

        /* Chat Modal */
        .modal-overlay {
            position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
            z-index: 1000; display: flex; align-items: center; justify-content: center;
            opacity: 0; pointer-events: none; transition: opacity 0.3s;
        }
        .modal-overlay.active { opacity: 1; pointer-events: auto; }
        .chat-modal {
            background: var(--surface); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
            width: 100%; max-width: 400px; overflow: hidden; transform: translateY(20px);
            transition: transform 0.3s; box-shadow: 0 20px 40px rgba(0,0,0,0.4); margin: 16px;
        }
        .modal-overlay.active .chat-modal { transform: translateY(0); }
        .chat-header {
            background: var(--blue); padding: 20px;
            display: flex; align-items: center; gap: 12px; position: relative;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .chat-avatar {
            width: 48px; height: 48px; background: white; border-radius: 50%; display: flex;
            align-items: center; justify-content: center; flex-shrink: 0;
        }
        .chat-header-text { text-align: left; }
        .chat-header-text h3 { color: white; font-size: 16px; font-weight: 700; line-height: 1.2; margin-bottom: 2px; }
        .chat-header-text p { color: rgba(255,255,255,0.8); font-size: 13px; margin: 0; }
        .chat-close {
            position: absolute; top: 16px; right: 16px; background: rgba(0,0,0,0.2); border: none;
            color: white; width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
            display: flex; align-items: center; justify-content: center; font-size: 16px;
        }
        
        /* Chat Body & Messages */
        .chat-body { padding: 24px; background: var(--bg); display: flex; flex-direction: column; gap: 12px; height: auto; max-height: 450px; overflow-y: auto; scroll-behavior: smooth; }
        .chat-bubble {
            background: var(--surface); border: 1px solid var(--border); border-radius: 16px 16px 16px 4px;
            padding: 12px 16px; font-size: 14px; color: var(--text); max-width: 85%; align-self: flex-start;
            animation: fadeIn 0.3s ease; line-height: 1.5; margin-bottom: 12px;
        }
        .chat-bubble.user {
            background: var(--blue); color: white; border-radius: 16px 16px 4px 16px; align-self: flex-end; border: none;
        }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        
        .chat-form { display: flex; flex-direction: column; gap: 12px; width: 100%; }
        .chat-input {
            width: 100%; box-sizing: border-box; background: var(--surface); border: 1px solid var(--border);
            border-radius: 12px; padding: 12px 16px; color: var(--text); font-size: 14px; outline: none; transition: border-color 0.3s; font-family: 'Inter', sans-serif;
        }
        .chat-input:focus { border-color: var(--cyan); }
        
        .chat-btn {
            background: var(--blue); color: white; border: none; border-radius: 12px;
            padding: 12px 16px; font-weight: 700; font-size: 14px; cursor: pointer;
            display: flex; align-items: center; justify-content: center; gap: 8px;
            transition: all 0.3s; margin-top: 4px; font-family: 'Inter', sans-serif; align-self: flex-start;
        }
        .chat-btn:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }

        /* Typing Effect */
        .typing-indicator {
            display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px;
            background: var(--surface); border: 1px solid var(--border); border-radius: 16px 16px 16px 4px;
            margin-bottom: 8px; width: fit-content; align-self: flex-start;
        }
        .typing-dot {
            width: 6px; height: 6px; background: var(--cyan); border-radius: 50%;
            animation: typingBounce 1.4s infinite ease-in-out both;
        }
        .typing-dot:nth-child(1) { animation-delay: -0.32s; }
        .typing-dot:nth-child(2) { animation-delay: -0.16s; }
        @keyframes typingBounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

        /* WhatsApp icon */
        .wa-icon { width: 20px; height: 20px; fill: currentColor; }

        /* Floating Chat Button */
        .floating-chat-btn {
            position: fixed; bottom: 24px; right: 24px; z-index: 999;
            background: var(--blue);
            color: white; border: none; border-radius: 100px;
            padding: 14px 24px; font-weight: 700; font-size: 15px; cursor: pointer;
            display: flex; align-items: center; justify-content: center; gap: 8px;
            box-shadow: 0 10px 25px rgba(37,99,235,0.4); transition: background-color 0.3s;
            animation: fadeInUp 0.6s ease;
        }
        .floating-chat-btn:hover { background: #1d4ed8; }
        .floating-chat-btn svg { width: 22px; height: 22px; }

        /* Responsive */
        @media (max-width: 768px) {
            .flow-container, .steps { flex-direction: column; gap: 0; }
            .flow-arrow { display: none; }
            .flow-arrow-mobile {
                display: block; font-size: 28px; color: var(--cyan); margin: 12px 0;
                animation: arrowPulseMobile 1.5s ease-in-out infinite;
            }
            @keyframes arrowPulseMobile { 0%,100% { opacity: 0.4; transform: translateY(0); } 50% { opacity: 1; transform: translateY(6px); } }
            .flow-step, .step { max-width: 100%; width: 100%; }
        }
        @media (max-width: 640px) {
            .floating-chat-btn { bottom: 20px; right: 20px; padding: 12px 20px; font-size: 14px; }
            .hero { padding: 90px 24px 50px; min-height: auto; }
            section { padding: 60px 24px; }
            .features-grid { grid-template-columns: 1fr; margin-top: 40px; }
            .steps, .flow-container { margin-top: 40px; }
            .hero-btns { flex-direction: column; align-items: center; }
            .btn { width: 100%; max-width: 300px; justify-content: center; }
            nav .nav-btn { padding: 8px 16px; font-size: 13px; }
            .cta-box { padding: 40px 24px; border-radius: 20px; }
            .cta-box h2 { font-size: 24px; line-height: 1.3; }
            .cta-box p { font-size: 14px; }
        }
        /* Scroll reveal (Disabled opacity 0 to ensure visibility) */
        .reveal { opacity: 1; transform: translateY(0); transition: all 0.6s ease; }
        .reveal.visible { opacity: 1; transform: translateY(0); }