 /* =========================================
           BLOOMPAY DESIGN SYSTEM
        ========================================= */
        :root {
            --bg-deep: #020617;
            --bg-surface: #0f172a;
            --bloom-violet: #8b5cf6;
            --bloom-blue: #3b82f6;
            --bloom-teal: #14b8a6;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --glass-bg: rgba(15, 23, 42, 0.6);
            --glass-border: rgba(255, 255, 255, 0.08);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--bg-deep);
            color: var(--text-main);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* --- Reusable Utilities --- */
        .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
        .text-gradient {
            background: linear-gradient(135deg, #fff 0%, var(--bloom-violet) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .glass-panel {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
        }

        /* --- Ambient Background Glow --- */
        .ambient-glow {
            position: absolute; width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
            top: -10%; right: -10%; z-index: -1; filter: blur(60px);
            animation: pulseGlow 10s infinite alternate;
        }
        .ambient-glow.blue {
            background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
            bottom: 10%; left: -10%; top: auto;
        }
        @keyframes pulseGlow { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.2); opacity: 1; } }

        /* =========================================
           NAVIGATION
        ========================================= */
        nav {
            position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
            transition: all 0.4s ease; padding: 20px 0;
        }
        nav.scrolled {
            background: rgba(2, 6, 23, 0.85); backdrop-filter: blur(12px);
            padding: 15px 0; border-bottom: 1px solid var(--glass-border);
        }
        .nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
        
        .brand { font-weight: 800; font-size: 1.5rem; display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
        .brand i { color: var(--bloom-violet); font-size: 1.8rem; }
        
        .nav-links { display: flex; gap: 30px; list-style: none; }
        .nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
        .nav-links a:hover { color: #fff; }
        
        .btn-primary {
            background: #fff; color: #000; text-decoration: none; padding: 10px 24px;
            border-radius: 12px; font-weight: 800; font-size: 0.9rem; transition: 0.3s;
        }
        .btn-primary:hover { background: var(--bloom-violet); color: #fff; box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3); }

        /* =========================================
           HERO SECTION
        ========================================= */
        .hero {
            min-height: 100vh; display: flex; align-items: center; position: relative;
            padding-top: 80px;
        }
        .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
        
        .hero-content h1 { font-size: 4.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -2px; margin-bottom: 24px; }
        .hero-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; max-width: 500px; }
        
        .hero-actions { display: flex; gap: 16px; align-items: center; }
        .btn-outline {
            background: transparent; color: #fff; border: 1px solid var(--glass-border);
            padding: 10px 24px; border-radius: 12px; font-weight: 600; text-decoration: none; transition: 0.3s;
        }
        .btn-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--bloom-violet); }

        /* Hero Visual (Floating Code Card) */
        .hero-visual { position: relative; }
        .floating-card {
            background: var(--bg-surface); padding: 30px; border-radius: 20px;
            border: 1px solid rgba(139, 92, 246, 0.3);
            box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(139, 92, 246, 0.2);
            transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
            animation: float 6s ease-in-out infinite;
        }
        @keyframes float { 0%, 100% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0); } 50% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(-20px); } }
        
        .code-snippet { font-family: 'Space Mono', monospace; font-size: 0.85rem; color: #a78bfa; }
        .code-snippet .keyword { color: var(--bloom-teal); }
        .code-snippet .string { color: #fcd34d; }
        .code-snippet .comment { color: #64748b; }

        /* =========================================
           FEATURES (BENTO GRID)
        ========================================= */
        .features { padding: 120px 0; position: relative; }
        .section-header { text-align: center; margin-bottom: 80px; }
        .section-header h2 { font-size: 3rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
        .section-header p { color: var(--text-muted); font-size: 1.1rem; }

        .bento-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: auto auto;
            gap: 24px;
        }
        
        .bento-item { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; transition: 0.3s; }
        .bento-item:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.4); }
        .bento-item i { font-size: 2.5rem; color: var(--bloom-violet); margin-bottom: 24px; display: inline-block; }
        .bento-item h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
        .bento-item p { color: var(--text-muted); font-size: 0.95rem; }

        /* Spans for Bento Layout */
        .bento-large { grid-column: span 2; background: linear-gradient(135deg, rgba(15,23,42,0.8), rgba(2,6,23,1)); }
        .bento-tall { grid-row: span 2; background: linear-gradient(180deg, rgba(15,23,42,0.8), rgba(139,92,246,0.1)); }

        /* =========================================
           DEVELOPER / STATS SECTION
        ========================================= */
        .stats { padding: 80px 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); background: rgba(15, 23, 42, 0.3); }
        .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 40px; }
        .stat-number { font-family: 'Space Mono', monospace; font-size: 3rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
        .stat-label { color: var(--bloom-violet); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: 0.8rem; }

        /* =========================================
           CTA SECTION
        ========================================= */
        .cta-section { padding: 120px 0; text-align: center; }
        .cta-box {
            padding: 80px 40px; background: radial-gradient(circle at center, rgba(139, 92, 246, 0.2) 0%, transparent 100%);
            border: 1px solid var(--bloom-violet); border-radius: 32px; position: relative; overflow: hidden;
        }
        .cta-box h2 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; }

        /* =========================================
           FOOTER
        ========================================= */
        footer { padding: 60px 0 30px; border-top: 1px solid var(--glass-border); }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
        .footer-brand p { color: var(--text-muted); margin-top: 16px; font-size: 0.9rem; max-width: 300px; }
        .footer-links h4 { color: #fff; font-weight: 800; margin-bottom: 20px; font-size: 1rem; }
        .footer-links ul { list-style: none; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
        .footer-links a:hover { color: var(--bloom-violet); }
        .footer-bottom { text-align: center; color: #64748b; font-size: 0.85rem; border-top: 1px solid var(--glass-border); padding-top: 30px; }

        /* =========================================
           RESPONSIVE
        ========================================= */
        @media (max-width: 992px) {
            .hero-grid { grid-template-columns: 1fr; text-align: center; }
            .hero-content h1 { font-size: 3.5rem; }
            .hero-content p { margin: 0 auto 30px; }
            .hero-actions { justify-content: center; }
            .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
            .bento-large, .bento-tall { grid-column: span 1; grid-row: span 1; }
            .stats-grid { grid-template-columns: 1fr 1fr; }
            .nav-links { display: none; } /* Add hamburger menu logic for real implementation */
        }
        @media (max-width: 768px) {
            .footer-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: 1fr; }
            .cta-box h2 { font-size: 2.5rem; }
        }

        /* Reveal Animation Classes */
        .reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
        .reveal.active { opacity: 1; transform: translateY(0); }

        /* =========================================
           FLOW ARCHITECTURE ANIMATIONS
        ========================================= */
        .flow-architecture { padding: 80px 0 120px; }
        .flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
        
        .flow-card { padding: 40px; overflow: hidden; position: relative; }
        .flow-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
        
        .badge-cyber {
            background: rgba(139, 92, 246, 0.15); color: #a78bfa;
            border: 1px solid rgba(139, 92, 246, 0.3);
            padding: 6px 12px; border-radius: 8px; font-size: 0.7rem; font-weight: 800; letter-spacing: 1px;
        }
        .badge-cyber.blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border-color: rgba(59, 130, 246, 0.3); }

        /* --- Context Mocks (Checkout & Terminal) --- */
        .context-ui-mockup {
            background: #000; border: 1px solid var(--glass-border);
            border-radius: 16px; margin-bottom: 50px; overflow: hidden;
            box-shadow: 0 15px 30px rgba(0,0,0,0.5);
        }
        .mock-header {
            background: #1e293b; padding: 10px 15px; font-size: 0.75rem;
            color: #94a3b8; font-weight: 700; display: flex; align-items: center; gap: 10px;
        }
        .mock-body { padding: 20px; font-size: 0.85rem; }
        
        .mac-dots span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }
        .mac-dots span:nth-child(1) { background: #ef4444; }
        .mac-dots span:nth-child(2) { background: #f59e0b; }
        .mac-dots span:nth-child(3) { background: #10b981; }

        .mock-item { padding: 12px; background: rgba(255,255,255,0.05); border-radius: 8px; margin-bottom: 15px; color: #fff; }
        .mock-btn { background: #fff; color: #000; padding: 12px; border-radius: 8px; text-align: center; font-weight: 800; cursor: pointer; }
        .code-font { font-family: 'Space Mono', monospace; line-height: 1.8; }

        /* Button Pulse Animation */
        .pulse-btn { animation: btnPulse 2s infinite; }
        @keyframes btnPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.98); background: #e2e8f0; } }

        /* --- Animated Nodes System --- */
        .animated-nodes { display: flex; align-items: center; justify-content: space-between; }
        
        .node-wrapper { display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2; }
        .node-circle {
            width: 60px; height: 60px; border-radius: 50%;
            background: #0f172a; border: 2px solid var(--glass-border);
            display: grid; place-items: center; font-size: 1.8rem; color: #64748b;
            transition: 0.3s;
        }
        .node-label { font-size: 0.75rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; }

        /* Node Specific Styling */
        .active-node { border-color: #94a3b8; color: #fff; }
        .bloom-node { border-color: var(--bloom-violet); color: var(--bloom-violet); box-shadow: 0 0 20px rgba(139, 92, 246, 0.2); }
        .success-node { border-color: #10b981; color: #10b981; box-shadow: 0 0 20px rgba(16, 185, 129, 0.2); }
        
        .bloom-node-blue { border-color: var(--bloom-blue); color: var(--bloom-blue); box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); }
        .success-node-blue { border-color: #14b8a6; color: #14b8a6; box-shadow: 0 0 20px rgba(20, 184, 166, 0.2); }

        /* Connecting Lines & Packets */
        .node-line { flex-grow: 1; height: 2px; background: rgba(255,255,255,0.05); position: relative; margin: 0 -15px; z-index: 1; transform: translateY(-12px); }
        
        .packet {
            width: 12px; height: 12px; border-radius: 50%;
            background: var(--bloom-violet); box-shadow: 0 0 15px var(--bloom-violet), 0 0 30px var(--bloom-violet);
            position: absolute; top: -5px; left: 0; opacity: 0;
            animation: sendData 3s infinite cubic-bezier(0.4, 0, 0.2, 1);
        }
        .packet-blue { background: var(--bloom-blue); box-shadow: 0 0 15px var(--bloom-blue), 0 0 30px var(--bloom-blue); }

        /* Stagger the animations so Packet 2 waits for Packet 1 */
        .delay-0 { animation-delay: 0s; }
        .delay-1 { animation-delay: 1.5s; }

        @keyframes sendData {
            0% { left: 0%; opacity: 0; transform: scale(0.5); }
            10% { opacity: 1; transform: scale(1); }
            90% { opacity: 1; transform: scale(1); }
            100% { left: 100%; opacity: 0; transform: scale(0.5); }
        }

        @media (max-width: 992px) {
            .flow-grid { grid-template-columns: 1fr; }
            .node-circle { width: 50px; height: 50px; font-size: 1.5rem; }
        }