File size: 18,340 Bytes
4662280
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7499b47
155cc4e
d132547
4662280
b4df407
c4700d4
bd74eba
 
 
 
b4df407
 
d132547
4662280
7499b47
 
 
 
 
4662280
 
 
 
 
7499b47
 
 
 
4662280
cea0011
7499b47
155cc4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7499b47
155cc4e
 
 
 
 
 
 
 
 
d132547
7499b47
155cc4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7499b47
155cc4e
 
 
 
 
 
 
 
4065cf0
7499b47
155cc4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1e1e3f6
155cc4e
 
 
 
 
 
7499b47
e14cd04
7b94c7a
155cc4e
 
7b94c7a
155cc4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7b94c7a
155cc4e
 
 
7b94c7a
155cc4e
 
 
 
 
 
 
 
 
 
7b94c7a
155cc4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7b94c7a
155cc4e
 
7b94c7a
c0ebbd9
155cc4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7499b47
155cc4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7499b47
d132547
4662280
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>California Films Project</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            background-color: #f8f9fa;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        }
        .gradient-text {
            background: linear-gradient(90deg, #3b82f6, #10b981);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
    </style>
</head>

<body class="min-h-screen bg-gray-50 flex flex-col">

    <main class="flex-grow flex flex-col items-center justify-center p-4 text-center">
        <h1 class="text-4xl md:text-7xl font-bold mb-4 gradient-text">California Films Project/</h1>
        <p class="text-0.5g md:text-0.2xl text-gray-600">Film Tax Incentives / Transferable Tax Credits {B/On Eligibility}</p>
        <p class="text-md md:text-x0.20 text-gray-600 mt-2">Benefits: Annuitized • Blockchain Tokens • Yield% Farming</p>
        <p class="text-md md:text-x0.20 text-gray-600 mt-2">1901 Avenue of the Stars / Silicon Beach /</p>
        <p class="text-md md:text-x0.20 text-gray-600 mt-2">California Films Project is a private SaaS Dev/. Inception date: 6.10.2025 2025. Allrights reserved.</p>
        <p class="text-md md:text-x0.20 text-gray-600 mt-2">§ 1.482-4 (b) (4)(5) §1.482-4(f)(3) § 6132 (h)(1) Section 798.3 Notice 2014-21</p>
      
      
    </main>

    <div class="fixed bottom-6 left-6 z-50">
        <button id="togglePrivacy" class="bg-gray-700 hover:bg-gray-800 text-white w-16 h-16 rounded-full flex items-center justify-center shadow-lg transition-all duration-300 transform hover:scale-110">
            <i class="fas fa-shield-alt text-2xl"></i>
        </button>
    </div>
    <div class="fixed bottom-6 right-6 z-50">
        <button id="togglePanel" class="bg-blue-600 hover:bg-blue-700 text-white w-16 h-16 rounded-full flex items-center justify-center shadow-lg transition-all duration-300 transform hover:scale-110">
            <i class="fas fa-id-card text-2xl"></i>
        </button>
    </div>
    <div class="fixed bottom-6 right-24 z-50">
        <button id="toggleCalculator" class="bg-green-600 hover:bg-green-700 text-white w-16 h-16 rounded-full flex items-center justify-center shadow-lg transition-all duration-300 transform hover:scale-110">
            <i class="fas fa-percent text-2xl"></i>
        </button>
    </div>

    <div id="floatingPanel" class="fixed bottom-24 right-6 w-80 bg-white rounded-xl shadow-xl p-6 hidden opacity-0 transition-all duration-300 transform translate-y-4 z-40">
        <div id="formContainer">
            <div class="flex justify-between items-center mb-4">
                <h3 class="text-xl font-semibold text-gray-800">Indicate Your Interest</h3>
                <button id="closePanel" class="text-gray-500 hover:text-gray-700"><i class="fas fa-times"></i></button>
            </div>
            <p class="text-gray-600 mb-4 text-sm">Complete this form to participate. Your unique ID will serve as your placeholder.</p>
            <form id="interestForm" class="space-y-4">
                <div>
                    <label for="name" class="block text-sm font-medium text-gray-700 mb-1">Full Name</label>
                    <input type="text" id="name" name="name" required class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500">
                </div>
                <div>
                    <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email</label>
                    <input type="email" id="email" name="email" required class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500">
                </div>
                <div>
                    <button type="submit" id="submitButton" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-md transition duration-300 flex items-center justify-center">
                        <span id="buttonText">Generate Unique ID</span><i class="fas fa-arrow-right ml-2"></i>
                    </button>
                </div>
            </form>
        </div>
        <div id="successMessage" class="hidden text-center">
            <div class="text-green-500"><i class="fas fa-check-circle fa-3x"></i></div>
            <h4 class="text-lg font-semibold text-gray-800 mt-3">Success!</h4>
            <p class="text-gray-600 mt-1">Your unique ID is:</p>
            <p id="uniqueIDDisplay" class="font-bold text-lg text-gray-800 bg-gray-100 rounded-md py-2 mt-2"></p>
            <p class="mt-3 text-sm text-gray-500">We'll be in touch soon!</p>
            <button id="closeSuccess" class="mt-4 w-full text-sm text-gray-600 hover:text-gray-800">Close</button>
        </div>
    </div>

    <div id="pointsCalculatorPanel" class="fixed bottom-24 right-6 w-80 md:w-96 bg-white rounded-xl shadow-xl p-6 hidden opacity-0 transition-all duration-300 transform translate-y-4 z-40">
        <div class="flex justify-between items-center mb-4">
            <h3 class="text-xl font-semibold text-gray-800">Financing Points Calculator</h3>
            <button id="closeCalculator" class="text-gray-500 hover:text-gray-700"><i class="fas fa-times"></i></button>
        </div>
        <p class="text-gray-600 mb-4 text-sm">Select a role to see a typical points allocation for a ~$1M film project.</p>
        <div class="space-y-2 mb-4">
            <label class="block w-full text-left p-3 border rounded-md cursor-pointer has-[:checked]:bg-blue-50 has-[:checked]:border-blue-400">
                <input type="radio" name="filmRole" value="Financier" class="sr-only" checked>
                <span class="font-semibold text-gray-800">Financier</span><span class="block text-xs text-gray-500">Provides the primary funding.</span>
            </label>
            <label class="block w-full text-left p-3 border rounded-md cursor-pointer has-[:checked]:bg-blue-50 has-[:checked]:border-blue-400">
                <input type="radio" name="filmRole" value="Producer" class="sr-only">
                <span class="font-semibold text-gray-800">Producer</span><span class="block text-xs text-gray-500">Manages the production.</span>
            </label>
            <label class="block w-full text-left p-3 border rounded-md cursor-pointer has-[:checked]:bg-blue-50 has-[:checked]:border-blue-400">
                <input type="radio" name="filmRole" value="Director" class="sr-only">
                <span class="font-semibold text-gray-800">Director</span><span class="block text-xs text-gray-500">Oversees creative aspects.</span>
            </label>
        </div>
        <div id="pointsResult" class="bg-gray-50 p-4 rounded-lg text-center mb-4"></div>
        <p class="text-xs text-gray-500 italic mb-4">Points can be represented by our project's BRC-20 or Bitcoin Cash (CHIP) tokens.</p>
        <div class="border-t pt-3">
            <div class="flex justify-between items-center text-xs text-gray-700"><span><i class="fab fa-bitcoin text-orange-500"></i> BTC</span><span class="font-mono">$69,420.00</span></div>
            <div class="flex justify-between items-center text-xs text-gray-700 mt-1"><span><i class="fa-brands fa-btc text-green-500"></i> BCH</span><span class="font-mono">$450.50</span></div>
            <div class="flex justify-between items-center text-xs text-gray-700 mt-1"><span><i class="fas fa-atom text-blue-500"></i> CUSTOM</span><span class="font-mono">$1.00</span></div>
        </div>
    </div>

    <div id="privacyPanel" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 hidden opacity-0 z-50 transition-opacity duration-300">
        <div class="bg-white rounded-xl shadow-2xl w-full max-w-2xl max-h-[90vh] flex flex-col">
            <div class="flex justify-between items-center p-4 border-b">
                <h3 class="text-xl font-semibold text-gray-800 flex items-center"><i class="fas fa-shield-alt text-blue-600 mr-3"></i>Privacy Policy for California Residents</h3>
                <button id="closePrivacy" class="text-gray-500 hover:text-gray-700 text-2xl">&times;</button>
            </div>
            <div class="p-6 overflow-y-auto text-gray-700 text-sm space-y-4">
                <p><strong class="text-gray-800">Last Updated:</strong> June 10, 2025</p>
                <p>This Privacy Policy applies solely to residents of the State of California ("consumers" or "you"). We adopt this notice to comply with the California Consumer Privacy Act (CCPA) and the California Privacy Rights Act (CPRA).</p>
                <div>
                    <h4 class="font-semibold text-gray-800 mb-1">1. Information We Collect</h4>
                    <p>We collect "personal information" such as your name, email address, and the unique ID our system generates when you voluntarily provide it through our site's forms.</p>
                </div>
                <div>
                    <h4 class="font-semibold text-gray-800 mb-1">2. Use of Personal Information</h4>
                    <p>We use your information to fulfill the reason you provided it (e.g., to record your interest in the California Films Project), provide updates, and respond to law enforcement requests.</p>
                </div>
                <div>
                    <h4 class="font-semibold text-gray-800 mb-1">3. Sharing and Selling of Personal Information</h4>
                    <p>We do not sell or share your personal information with third parties for cross-context behavioral advertising.</p>
                </div>
                <div>
                    <h4 class="font-semibold text-gray-800 mb-1">4. Your Rights and Choices (CCPA/CPRA)</h4>
                    <p>You have the right to request access to, deletion of, or correction of your personal information. We will not discriminate against you for exercising these rights.</p>
                </div>
                <div>
                    <h4 class="font-semibold text-gray-800 mb-1">5. How to Exercise Your Rights</h4>
                    <p>To exercise your rights, please message a verifiable consumer request to us. <a href="" class="text-blue-600 hover:underline">Telegram</a>.</p>
                </div>
            </div>
            <div class="p-4 bg-gray-50 border-t text-right">
                <button id="acceptPrivacy" class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-6 rounded-md transition duration-300">Acknowledge</button>
            </div>
        </div>
    </div>


    <script>
    document.addEventListener('DOMContentLoaded', () => {

        // #################################################################
        // ## PANEL 1: "INDICATE YOUR INTEREST"
        // #################################################################
        const interestFormPanel = document.getElementById('floatingPanel');
        if (interestFormPanel) {
            const WORKER_URL = 'https://contact-form-api.aiagents.workers.dev/';
            let isSubmitting = false;
            const toggleInterestBtn = document.getElementById('togglePanel');
            const closeInterestBtn = document.getElementById('closePanel');
            const interestForm = document.getElementById('interestForm');
            const formContainer = document.getElementById('formContainer');
            const successMessage = document.getElementById('successMessage');
            const uniqueIDDisplay = document.getElementById('uniqueIDDisplay');
            const closeSuccessBtn = document.getElementById('closeSuccess');
            const submitButton = document.getElementById('submitButton');
            const buttonText = document.getElementById('buttonText');

            const showInterestPanel = () => interestFormPanel.classList.remove('hidden', 'opacity-0', 'translate-y-4');
            const hideInterestPanel = () => interestFormPanel.classList.add('hidden', 'opacity-0', 'translate-y-4');
            const generateUniqueId = () => 'CFP-' + Date.now().toString(36) + Math.random().toString(36).substring(2, 8).toUpperCase();

            toggleInterestBtn.addEventListener('click', showInterestPanel);
            if(closeInterestBtn) closeInterestBtn.addEventListener('click', hideInterestPanel);
            if(closeSuccessBtn) closeSuccessBtn.addEventListener('click', () => {
                hideInterestPanel();
                setTimeout(() => {
                    if(formContainer) formContainer.classList.remove('hidden');
                    if(successMessage) successMessage.classList.add('hidden');
                    if(interestForm) interestForm.reset();
                }, 300);
            });

            if (interestForm) {
                interestForm.addEventListener('submit', async (e) => {
                    e.preventDefault();
                    if (isSubmitting) return;
                    isSubmitting = true;
                    if(submitButton) submitButton.disabled = true;
                    if(buttonText) buttonText.textContent = 'Submitting...';
                    const uniqueId = generateUniqueId();
                    const name = document.getElementById('name').value;
                    const email = document.getElementById('email').value;
                    try {
                        const response = await fetch(WORKER_URL, {
                            method: 'POST',
                            headers: { 'Content-Type': 'application/json' },
                            body: JSON.stringify({ name, email, uniqueId }),
                        });
                        if (!response.ok) {
                            const errorData = await response.json();
                            throw new Error(errorData.error || 'Submission failed');
                        }
                        if(uniqueIDDisplay) uniqueIDDisplay.textContent = uniqueId;
                        if(formContainer) formContainer.classList.add('hidden');
                        if(successMessage) successMessage.classList.remove('hidden');
                    } catch (error) {
                        alert(`There was an error: ${error.message}`);
                    } finally {
                        isSubmitting = false;
                        if(submitButton) submitButton.disabled = false;
                        if(buttonText) buttonText.textContent = 'Generate Unique ID';
                    }
                });
            }
        }

        // #################################################################
        // ## PANEL 2: "POINTS CALCULATOR"
        // #################################################################
        const pointsCalculatorPanel = document.getElementById('pointsCalculatorPanel');
        if (pointsCalculatorPanel) {
            const toggleCalculatorBtn = document.getElementById('toggleCalculator');
            const closeCalculatorBtn = document.getElementById('closeCalculator');
            const pointsResultDiv = document.getElementById('pointsResult');
            const roleInputs = document.querySelectorAll('input[name="filmRole"]');
            const pointsData = {
                Financier: { points: "50 Points", description: "Financing 100% of the budget typically equals 50% of the net profits, the foundational 50/50 split." },
                Producer: { points: "10 Points", description: "A lead producer often receives points from the 'Producer's Pool' for managing the project." },
                Director: { points: "5 Points", description: "An established director's creative leadership is often rewarded with points from the 'Talent Pool'." }
            };
            const updatePointsDisplay = () => {
                const selectedRole = document.querySelector('input[name="filmRole"]:checked').value;
                const data = pointsData[selectedRole];
                if(pointsResultDiv) pointsResultDiv.innerHTML = `<h4 class="text-2xl font-bold text-blue-600">${data.points}</h4><p class="text-xs text-gray-600 mt-1">${data.description}</p>`;
            };
            toggleCalculatorBtn.addEventListener('click', () => {
                pointsCalculatorPanel.classList.toggle('hidden');
                pointsCalculatorPanel.classList.toggle('opacity-0');
                pointsCalculatorPanel.classList.toggle('translate-y-4');
                updatePointsDisplay();
            });
            if(closeCalculatorBtn) closeCalculatorBtn.addEventListener('click', () => {
                pointsCalculatorPanel.classList.add('hidden', 'opacity-0', 'translate-y-4');
            });
            roleInputs.forEach(input => input.addEventListener('change', updatePointsDisplay));
        }

        // #################################################################
        // ## PANEL 3: PRIVACY POLICY
        // #################################################################
        const privacyPanel = document.getElementById('privacyPanel');
        if (privacyPanel) {
            const togglePrivacyBtn = document.getElementById('togglePrivacy');
            const closePrivacyBtn = document.getElementById('closePrivacy');
            const acceptPrivacyBtn = document.getElementById('acceptPrivacy');
            const openPrivacyPanel = () => {
                privacyPanel.classList.remove('hidden');
                setTimeout(() => { privacyPanel.classList.add('opacity-100'); }, 10);
            };
            const closePrivacyPanel = () => {
                privacyPanel.classList.remove('opacity-100');
                setTimeout(() => { privacyPanel.classList.add('hidden'); }, 300);
            };
            togglePrivacyBtn.addEventListener('click', openPrivacyPanel);
            closePrivacyBtn.addEventListener('click', closePrivacyPanel);
            acceptPrivacyBtn.addEventListener('click', closePrivacyPanel);
            privacyPanel.addEventListener('click', (event) => {
                if (event.target === privacyPanel) closePrivacyPanel();
            });
        }
    });
    </script>

</body>
</html>