<!DOCTYPE html>

<html class="dark scroll-smooth" lang="en">

<head>

    <meta charset="utf-8"/>

    <meta content="width=device-width, initial-scale=1.0" name="viewport"/>

    <title>Freedom Finance | Real-Time Salary Streaming</title>

    <script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>

    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap" rel="stylesheet"/>

    <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>

    

    <script id="tailwind-config">

        tailwind.config = {

            darkMode: "class",

            theme: {

                extend: {

                    colors: {

                        "background": "#131313",

                        "primary": "#f2fff1",

                        "primary-container": "#00ff94",

                        "on-primary-container": "#00210e",

                        "surface": "#131313",

                        "surface-container": "#1f1f1f",

                        "surface-container-low": "#1b1b1b",

                        "surface-container-high": "#2a2a2a",

                        "surface-container-highest": "#353535",

                        "on-surface": "#e2e2e2",

                        "on-surface-variant": "#b9cbbb",

                        "secondary-container": "#00e3fd",

                        "outline": "#849586",

                    },

                    fontFamily: {

                        sans: ["Inter", "sans-serif"],

                    }

                },

            },

        }

    </script>

    <style>

        body { background-color: #131313; color: #e2e2e2; font-family: 'Inter', sans-serif; }

        .hidden-section { display: none !important; }

        .beta-hidden { display: none; }

        ::selection { background: #00ff94; color: #00210e; }

    </style>

</head>

<body class="antialiased">


    <!-- Shared Navigation -->

    <nav class="fixed top-0 w-full z-50 bg-background/90 backdrop-blur-md border-b border-surface-container-highest">

        <div class="max-w-screen-2xl mx-auto px-6 py-4 flex justify-between items-center">

            <div class="text-2xl font-black tracking-tighter text-primary-container uppercase italic">Freedom Finance</div>

            <div class="flex gap-4">

                <button onclick="revealBeta()" class="bg-primary-container text-on-primary-container text-[10px] font-bold px-4 py-2 uppercase tracking-widest hover:bg-white transition-colors">

                    Access Beta

                </button>

            </div>

        </div>

    </nav>


    <!-- SECTION A: YIELD MAXIMIZERS (#yield) -->

    <div id="section-yield" class="hidden-section pt-16">

        <!-- Hero Yield -->

        <section class="relative min-h-[90vh] flex flex-col items-center justify-center px-6 overflow-hidden">

            <div class="absolute inset-0 z-0">

                <div class="absolute top-1/4 left-1/2 -translate-x-1/2 w-[800px] h-[400px] bg-primary-container/10 blur-[120px] rounded-full"></div>

            </div>

            <div class="relative z-10 max-w-5xl w-full text-center space-y-12">

                <h1 class="text-6xl md:text-8xl font-black tracking-tighter text-primary leading-[0.9] uppercase">

                    Stop giving your employer a <span class="text-primary-container">0% interest</span> loan.

                </h1>

                <p class="max-w-2xl mx-auto text-on-surface-variant text-lg md:text-xl font-medium leading-relaxed">

                    Your money should be earning today. Stream your salary daily into high-yield vaults. Join the waitlist for early access.

                </p>

                <div class="flex flex-col md:flex-row items-center justify-center gap-4 max-w-xl mx-auto pt-6">

                    <button onclick="revealBeta()" class="w-full md:w-auto whitespace-nowrap bg-primary-container text-on-primary-container font-black px-12 py-5 uppercase tracking-tighter text-sm hover:scale-105 transition-all">

                        REQUEST EARLY ACCESS

                    </button>

                </div>

            </div>

        </section>


        <!-- Bento Grid Props (Yield) -->

        <section class="px-6 py-24 max-w-screen-2xl mx-auto">

            <div class="grid grid-cols-1 md:grid-cols-12 gap-1 bg-surface-container-highest">

                <div class="md:col-span-8 bg-background p-12 flex flex-col justify-between min-h-[450px]">

                    <div class="space-y-4">

                        <span class="text-primary-container font-black text-xs tracking-widest uppercase">The Protocol</span>

                        <h2 class="text-4xl font-bold text-primary tracking-tight">SALARY STREAMING</h2>

                        <p class="text-on-surface-variant max-w-md">Institutional rates applied to your earnings the moment they are generated.</p>

                    </div>

                    <div class="w-full h-48 mt-8 bg-surface-container-low relative overflow-hidden group">

                        <img class="w-full h-full object-cover opacity-20" src="https://images.unsplash.com/photo-1639762681485-074b7f938ba0?auto=format&fit=crop&q=80&w=2000" alt="tech">

                    </div>

                </div>

                <div class="md:col-span-4 bg-background p-12 space-y-8 flex flex-col justify-center">

                    <span class="material-symbols-outlined text-primary-container text-5xl">bolt</span>

                    <h3 class="text-xl font-bold uppercase tracking-tighter">Instant Yield</h3>

                    <p class="text-sm text-on-surface-variant">Your earnings begin compounding the second they hit your vault.</p>

                </div>

            </div>

        </section>

    </div>


    <!-- SECTION B: SQUEEZED PROFESSIONALS (#smooth) -->

    <div id="section-smooth" class="hidden-section pt-16">

        <!-- Hero Smooth -->

        <section class="relative min-h-[90vh] flex items-center px-6 py-12 md:py-24 overflow-hidden">

            <div class="absolute top-[-10%] right-[-10%] w-[600px] h-[600px] bg-primary-container opacity-5 rounded-full blur-[120px] -z-10"></div>

            

            <div class="max-w-7xl mx-auto w-full grid grid-cols-1 lg:grid-cols-12 gap-12 items-center">

                <div class="lg:col-span-7 space-y-8">

                    <div class="inline-flex items-center px-4 py-2 rounded-full bg-surface-container-low text-primary-container font-black text-xs tracking-[0.2em] uppercase">

                        <span class="material-symbols-outlined text-sm mr-2">waves</span>

                        FINANCIAL SERENITY

                    </div>

                    <h1 class="text-5xl md:text-7xl font-black text-on-surface leading-[1] tracking-tighter uppercase">

                        Bills Don’t Wait for the 30th. <br/>

                        <span class="text-primary-container">Neither Should Your Pay.</span>

                    </h1>

                    <p class="text-lg md:text-xl text-on-surface-variant max-w-2xl leading-relaxed">

                        Stream your earnings daily to cover rent, groceries, or emergencies—without the stress of the mid-month crunch.

                    </p>

                    <div class="flex flex-col sm:flex-row gap-4 pt-4">

                        <button onclick="revealBeta()" class="bg-primary-container text-on-primary-container px-10 py-5 font-black text-sm uppercase tracking-widest hover:scale-[1.02] transition-transform flex items-center justify-center">

                            SMOOTH MY PAYFLOW

                            <span class="material-symbols-outlined ml-2">arrow_forward</span>

                        </button>

                    </div>

                </div>

                <div class="lg:col-span-5 relative hidden lg:block">

                    <div class="bg-surface-container border border-surface-container-highest p-8 space-y-6">

                        <span class="text-on-surface-variant text-xs uppercase tracking-widest font-bold">Stream Balance</span>

                        <div class="text-5xl font-black text-primary-container">$1,452.80</div>

                        <div class="h-1 w-full bg-surface-container-highest">

                            <div class="h-full bg-primary-container w-2/3"></div>

                        </div>

                        <div class="flex justify-between text-[10px] font-bold uppercase tracking-widest text-on-surface-variant">

                            <span>Earned: $2,100</span>

                            <span class="flex items-center gap-1"><span class="w-1.5 h-1.5 rounded-full bg-primary-container animate-pulse"></span> Streaming Active</span>

                        </div>

                    </div>

                </div>

            </div>

        </section>


        <!-- Feature Icons (Smooth) -->

        <section class="py-24 px-6 bg-surface-container-low">

            <div class="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-3 gap-8">

                <div class="p-10 border border-surface-container-highest bg-background space-y-4">

                    <span class="material-symbols-outlined text-primary-container text-4xl">credit_card_off</span>

                    <h3 class="text-xl font-black uppercase tracking-tight">Ditch the Debt</h3>

                    <p class="text-on-surface-variant text-sm">Stop relying on credit cards to bridge the gap between paychecks.</p>

                </div>

                <div class="p-10 border border-primary-container bg-background space-y-4">

                    <span class="material-symbols-outlined text-primary-container text-4xl">monitoring</span>

                    <h3 class="text-xl font-black uppercase tracking-tight">Total Visibility</h3>

                    <p class="text-on-surface-variant text-sm">See your balance grow in real-time as you work. No more guessing games.</p>

                </div>

                <div class="p-10 border border-surface-container-highest bg-background space-y-4">

                    <span class="material-symbols-outlined text-primary-container text-4xl">auto_awesome</span>

                    <h3 class="text-xl font-black uppercase tracking-tight">Auto Smoothing</h3>

                    <p class="text-on-surface-variant text-sm">Set it and forget it. Stream just enough to cover your fixed bills automatically.</p>

                </div>

            </div>

        </section>

    </div>


    <!-- SHARED BETA SECTION (Hidden) -->

    <section id="beta" class="beta-hidden bg-background py-32 px-6 border-t border-primary-container/20">

        <div class="max-w-2xl mx-auto">

            <div class="mb-12 text-center">

                <div class="flex items-center justify-center gap-3 mb-6">

                    <div class="h-[1px] w-12 bg-primary-container"></div>

                    <span class="text-[10px] uppercase tracking-[0.4em] text-primary-container font-black">Early Access Terminal</span>

                    <div class="h-[1px] w-12 bg-primary-container"></div>

                </div>

                <h2 class="text-4xl md:text-6xl font-black tracking-tighter text-primary uppercase leading-none mb-4">

                    Join the flow.

                </h2>

                <p class="text-on-surface-variant text-sm uppercase tracking-widest">A few questions to customize your terminal.</p>

            </div>


            <!-- Questionnaire Placeholder -->

            <div id="survey-container" class="bg-surface-container-low border border-surface-container-highest p-8 md:p-12">

                <!-- User Questionnaire Embeds Here -->

                <div class="space-y-8 opacity-20">

                    <div class="h-4 bg-primary-container w-1/4"></div>

                    <div class="h-12 bg-surface-container-highest w-full"></div>

                    <div class="h-12 bg-surface-container-highest w-full"></div>

                    <div class="flex justify-center">

                        <div class="h-12 w-48 bg-primary-container"></div>

                    </div>

                </div>

            </div>

        </div>

    </section>


    <footer class="py-12 px-6 border-t border-surface-container-highest text-center">

        <p class="text-[10px] font-bold uppercase tracking-[0.5em] text-on-surface-variant">©2024 Freedom Finance Protocol — All Rights Reserved</p>

    </footer>


    <script>

        // Router Logic

        function handleRouting() {

            const hash = window.location.hash;

            const yieldSection = document.getElementById('section-yield');

            const smoothSection = document.getElementById('section-smooth');

            const betaSection = document.getElementById('beta');


            // Hide everything first

            yieldSection.classList.add('hidden-section');

            smoothSection.classList.add('hidden-section');

            betaSection.classList.add('beta-hidden');


            if (hash === '#smooth') {

                smoothSection.classList.remove('hidden-section');

            } else {

                // Default to yield if #yield or no hash

                yieldSection.classList.remove('hidden-section');

            }

        }


        // CTA Logic

        function revealBeta() {

            const betaSection = document.getElementById('beta');

            betaSection.classList.remove('beta-hidden');

            betaSection.scrollIntoView({ behavior: 'smooth' });

        }


        // Listen for hash changes and initial load

        window.addEventListener('hashchange', handleRouting);

        window.addEventListener('load', handleRouting);

    </script>

</body>

</html>