forked from fongandrew/hydeout
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcode.html
More file actions
365 lines (319 loc) · 18.5 KB
/
Copy pathcode.html
File metadata and controls
365 lines (319 loc) · 18.5 KB
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
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Futuro Insights · Predictive Analyst</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Predictive analytics, ML modeling, and data storytelling that turn uncertainty into strategy. Explore demos, benchmarks, and open resources from Futuro Insights.">
<!-- FONTS -->
<link href="https://fonts.googleapis.com/css?family=Montserrat:wght@700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto:wght@400;500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:wght@400;500&display=swap" rel="stylesheet">
<!-- ICONS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css">
<style>
:root {
--main-bg: linear-gradient(135deg,#0c1330 60%,#33dbb5 100%);
--panel-bg: #0f1b2f99;
--panel-border: #27f7c1;
--main-text: #eaf5ff;
--muted-text: #c8e3f0;
--accent-neon: #2affc1;
--accent-2: #6b53ff;
--hero-head-glow: 0 0 16px #00ffe7,0 0 45px #2affc1,0 0 35px #8f38ec;
--counter-glow: 0 0 18px #25fff0, 0 0 20px #38dfff, 0 0 13px #80ffd7;
--card-shadow: 0 0 18px #1de9c680;
--nav-bg: #0c1a2ecc;
}
.light-mode {
--main-bg: linear-gradient(135deg,#f9fbff 60%,#dcfff6 100%);
--panel-bg: #ffffffee;
--panel-border: #14c3a2;
--main-text: #0e1b2b;
--muted-text: #3b5363;
--accent-neon: #0aa88a;
--accent-2: #4d3fe6;
--hero-head-glow: none;
--counter-glow: none;
--card-shadow: 0 8px 24px rgba(10,168,138,0.18);
--nav-bg: #ffffffee;
}
html, body { margin:0; padding:0; }
body { font-family: 'Roboto', Arial, sans-serif; background: var(--main-bg); color: var(--main-text); }
img { max-width:100%; height:auto; display:block; }
a { color:var(--accent-neon); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .headline { font-family: 'Montserrat', 'Roboto', Arial, sans-serif; }
.container { width: min(1100px, 92vw); margin: 0 auto; }
/* Header / Nav */
header { position: sticky; top: 0; z-index: 1000; backdrop-filter: saturate(120%) blur(8px); background: var(--nav-bg); }
.nav { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; }
.brand { display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:0.3px; }
.logo-dot { width:12px; height:12px; border-radius:50%; background:var(--accent-neon); box-shadow:0 0 12px var(--accent-neon); }
.brand span { color:var(--main-text); }
nav ul { display:flex; flex-wrap:wrap; align-items:center; gap:18px; list-style:none; margin:0; padding:0; }
nav a { color:var(--main-text); opacity:.95; font-weight:600; }
nav a.cta-link { background: linear-gradient(90deg,#2affc1,#6b53ff 80%,#00ffe7); color:#0e1520; padding:10px 16px; border-radius:24px; box-shadow: 0 0 20px #38dfff60, 0 0 4px #fff; }
.nav-toggle { display:none; background:none; border:1px solid #2affc155; color:var(--main-text); padding:8px 12px; border-radius:10px; font-size:1rem; }
@media (max-width: 840px) {
nav ul { display:none; flex-direction:column; align-items:flex-start; padding:12px; background:var(--panel-bg); border:1px solid var(--panel-border); border-radius:14px; box-shadow: var(--card-shadow); position:absolute; top:56px; right:4vw; min-width: 220px; }
nav ul.open { display:flex; }
.nav-toggle { display:block; }
}
/* HERO */
#hero { position:relative; overflow:hidden; padding:66px 0 36px; text-align:center; }
#hero h1, #hero .headline { text-shadow: var(--hero-head-glow); font-size: clamp(2rem, 3.5vw, 3rem); margin: 0 auto 10px; max-width: 900px; }
#hero p.sub { font-size:1.2rem; color:var(--muted-text); max-width: 860px; margin: 0.4rem auto 1.6rem; }
.hero-wrap { display:grid; gap:26px; align-items:center; grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 960px) { .hero-wrap { grid-template-columns: 1fr; } }
.hero-media { display:flex; justify-content:center; }
.video-frame { aspect-ratio: 16/9; width: min(720px, 95%); border-radius:22px; box-shadow:0 0 24px #0ffcf6,0 0 60px #48f6d9aa; background:#0c1d2d; border: none; }
.hero-cta { margin-top: 12px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.cta-magnet {
background: linear-gradient(90deg,#2affc1,#6b53ff 80%,#00ffe7);
color:#161b23; font-weight:bold; font-size: 1.05rem; border-radius: 48px;
box-shadow: 0 0 44px #38dfff80, 0 0 6px #fff;
padding: 14px 28px; display:inline-block; text-decoration:none; border:none; position:relative; overflow:hidden;
transition:transform .18s cubic-bezier(.39,.5,.64,1.36),box-shadow .18s;
}
.cta-magnet:hover { transform:scale(1.06) translateY(-3px); box-shadow:0 0 77px #2affc1,0 0 8px #fff; }
.cta-ghost { border: 1.5px solid var(--accent-neon); color: var(--accent-neon); padding: 12px 18px; border-radius: 40px; font-weight:600; }
/* Counters */
.hero-counters { display:flex; justify-content:center; gap:40px; margin: 22px 0 10px; flex-wrap:wrap; }
.counter { color: var(--accent-neon); text-shadow: var(--counter-glow); font-size: 2.1rem; font-family:'Montserrat',sans-serif; font-weight:700; }
.counter-wrap { text-align:center; min-width: 140px; }
.counter-wrap span.label { display:block; margin-top:6px; color:var(--muted-text); }
/* Social proof strip */
.trust-strip { margin: 22px auto 0; opacity: .9; }
.trust-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: center; }
@media (max-width: 720px) { .trust-logos { grid-template-columns: repeat(3, 1fr); } }
.trust-logos img { filter: grayscale(100%) contrast(120%) opacity(.75); }
/* Section wrappers */
section.panel { margin: 2rem auto; padding: 2rem 1.2rem; background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 18px; box-shadow: var(--card-shadow); }
.section-title { margin: 0 0 1.2rem; text-align:center; font-size: 1.6rem; }
.muted { color: var(--muted-text); }
/* Services */
.cards { display:grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { background: #0f2037aa; border: 1px solid #24e6c444; padding:16px; border-radius:16px; box-shadow: var(--card-shadow); height:100%; }
.card h4 { margin: 8px 0 6px; }
.card p { margin: 0; color: var(--muted-text); }
.card .icon { font-size: 1.4rem; color: var(--accent-neon); }
/* Demos / embeds */
.embed-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; }
@media (max-width: 1024px) { .embed-grid { grid-template-columns: 1fr; } }
.embed { background:#0c2143cc; border-radius:14px; border:1px solid #27f7c1; box-shadow: var(--card-shadow); padding:12px; }
.embed h3 { margin: 0 0 10px; text-align:center; }
.embed iframe { width:100%; height:320px; border:none; border-radius:10px; background:#0c1d2d; }
/* Tables */
table.benchmark { width:100%; border-collapse:collapse; background:#111a29cc; border-radius:12px; overflow:hidden; }
table.benchmark th, table.benchmark td { padding:.8em 1em; text-align:center; border-bottom:1px solid #18e3c0; }
table.benchmark th { background:#014a32; color:#38faaf; }
table.benchmark tr:last-child td { border-bottom: none; }
table.benchmark td.modelname { font-weight:600; }
/* Equation and quote */
.sciency-quote { font-size:1.05rem; margin:1.2rem 0 .6rem; text-align:center; color:var(--muted-text); }
.equation { font-family: 'Roboto Mono', monospace; background: #205588; color: #0ffcf6; padding:.6rem 1rem; border-radius:10px; box-shadow:0 0 7px #27a7f7; display:inline-block; }
/* Footer */
footer { text-align:center; color:rgba(255,255,255,.5); font-size:.95rem; padding: 28px 0 46px; }
.light-mode footer { color: #5a6a78; }
/* Focus ring */
:focus-visible { outline: 2px solid var(--accent-neon); outline-offset: 2px; }
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
.cta-magnet, .cta-magnet:hover { transition: none; transform: none; }
}
</style>
</head>
<body>
<!-- Header / Primary Nav -->
<header>
<div class="container nav" aria-label="Primary navigation">
<div class="brand">
<span class="logo-dot" aria-hidden="true"></span>
<span>Futuro Insights</span>
</div>
<button class="nav-toggle" aria-label="Toggle navigation menu">Menu</button>
<nav>
<ul id="navMenu">
<li><a href="index.html">Home</a></li>
<li><a href="code.html">Code</a></li>
<li><a href="studymanual.html">Study Manual</a></li>
<li><a href="buy.html">Buy</a></li>
<li><a href="#benchmarks">Benchmarks</a></li>
<li><a href="#demos">Demos</a></li>
<li><a href="#downloads">Downloads</a></li>
<li><a href="privacy.html">Privacy</a></li>
<li><a href="terms.html">Terms</a></li>
<li><a class="cta-link" href="contact.html">Contact</a></li>
</ul>
</nav>
</div>
</header>
<!-- Dark Mode Button -->
<button id="darkModeBtn" style="position:fixed;bottom:18px;right:24px;z-index:999;border-radius:18px;background:#161b23;color:#aef8f3;padding:10px 26px;font-weight:700;font-size:1rem;box-shadow:0 2px 15px #0affe780;border:1px solid #27f7c1;cursor:pointer;">Toggle Theme</button>
<div class="container center-text">
<div>
<h2>📂 Buy the Code</h2>
<p>All notebooks are available with the Amazon Kindle. Fork the repo and start using them today!</p>
<a href="https://github.com/sdcastillo/ExamPAContent" target="_blank" class="github-button">🚀 Fork on GitHub</a>
<h2>💡 Why Use These Notebooks?</h2>
<ul style="list-style-type: none;">
<li>🔹 Ready-to-use templates for predictive modeling</li>
<li>🔹 Learn from structured examples</li>
<li>🔹 Modify and customize for your own projects</li>
<li>🔹 Open-source and completely free</li>
</ul>
<!-- Amazon Kindle Book – Futuro Insights Style -->
<div style="max-width:1000px; margin:60px auto 20px; padding:28px; background:#0f1b2fee; border:2px solid #27f7c1; border-radius:20px; box-shadow:0 0 32px #1de9c680; text-align:center;">
<h3 style="color:#2affc1; margin:0 0 18px; font-size:2rem; text-shadow:0 0 14px #2affc1; font-family:'Montserrat',sans-serif;">
Official Exam PA-R Study Manual – Now on Kindle
</h3>
<div style="display:flex; flex-wrap:wrap; gap:30px; justify-content:center; align-items:center;">
<!-- Book Cover (replace this image URL with your real cover if you have a better one) -->
<a href="https://a.co/d/8PKiwCH" target="_blank" rel="noopener">
<img src="https://m.media-amazon.com/images/I/71example-cover.jpg"
alt="Exam PA-R Study Manual – Spring 2025 Edition"
style="width:200px; height:auto; border-radius:14px; box-shadow:0 10px 30px rgba(0,0,0,0.7); transition:transform .3s;"
onmouseover="this.style.transform='scale(1.06)'"
onmouseout="this.style.transform='scale(1)'">
</a>
<!-- Call to Action -->
<div style="text-align:left;">
<p style="color:#c8e3f0; margin:8px 0 16px; font-size:1.15rem; line-height:1.5;">
✓ Full Spring 2025 Edition<br>
✓ Hundreds of practice problems & solutions<br>
✓ Available on Kindle Unlimited – read free
</p>
<a href="https://a.co/d/8PKiwCH" target="_blank" rel="noopener"
style="display:inline-block; background:#FF9900; color:#0e1520; font-weight:bold; font-size:1.3rem; padding:16px 36px; border-radius:50px; box-shadow:0 0 30px #ffb347; text-decoration:none; transition:all .3s;">
Get It on Amazon Kindle Now
</a>
</div>
</div>
</div>
<ul id="resource-list"></ul>
<h2>💡 How to Use These Notebooks</h2>
<ul>
<li>🔹 Click on any file name to view it on GitHub.</li>
<li>🔹 For solution files (`--solution.html`), they will be embedded below for easy viewing.</li>
<li>🔹 Fork the repository to start using these notebooks for your projects.</li>
</ul>
<script>
// GitHub API URL for your repository
const apiUrl = 'https://api.github.com/repos/sdcastillo/ExamPAContent/contents/';
// Function to fetch and display repository contents
async function fetchRepoContents() {
try {
const response = await fetch(apiUrl);
const data = await response.json();
const resourceList = document.getElementById('resource-list');
data.forEach(item => {
const listItem = document.createElement('li');
const link = document.createElement('a');
link.href = item.html_url;
link.textContent = item.name;
link.target = '_blank';
listItem.appendChild(link);
// Check if the file is an HTML solution file and embed it
if (item.name.endsWith('--solution.html')) {
const iframe = document.createElement('iframe');
iframe.src = `https://htmlpreview.github.io/?${item.html_url}`;
iframe.width = "100%";
iframe.height = "600";
iframe.style.border = "1px solid #ccc";
listItem.appendChild(document.createElement('br'));
listItem.appendChild(iframe);
}
resourceList.appendChild(listItem);
});
} catch (error) {
console.error('Error fetching repository contents:', error);
}
}
// Fetch and display contents on page load
fetchRepoContents();
</script>
<h3>Legal Notice</h3>
<p>
The code, analysis, and materials (“Materials”) in this repository are provided by Sam (“Author”). These Materials incorporate concepts from educational templates and exam-preparation content for actuarial exams. The Author does not claim ownership of any pre-existing template resources.
These Materials are made available solely for personal, educational use—particularly for individuals studying or considering a career in actuarial science or preparing for actuarial exams such as Exam PA.
License & Restrictions:
</p>
<h4>License & Restrictions:</h4>
Copyright © 2025, Sam Castillo.
No part of these Materials may be reproduced, modified, or distributed without the Author’s prior written consent.
These Materials are provided “as is” without warranty of any kind, and the Author disclaims any liability for their use.
For license or legal inquiries, please contact:
<br>
Sam@PredictiveInsightsAI.com
<!-- Footer -->
<footer>
<div class="container">
<div style="margin-bottom:10px;">
<a href="index.html">Home</a> •
<a href="code.html">Code</a> •
<a href="studymanual.html">Study Manual</a> •
<a href="buy.html">Buy</a> •
<a href="privacy.html">Privacy</a> •
<a href="terms.html">Terms</a> •
<a href="contact.html">Contact</a>
</div>
© 2025 Futuro Insights. Designed with care.
</div>
</footer>
<!-- JS -->
<script>
// Mobile nav toggle
document.querySelector('.nav-toggle').addEventListener('click', function(){
document.getElementById('navMenu').classList.toggle('open');
});
// Theme toggle
const themeBtn = document.getElementById('darkModeBtn');
themeBtn.addEventListener('click', () => {
document.body.classList.toggle('light-mode');
themeBtn.textContent = document.body.classList.contains('light-mode') ? 'Toggle Theme' : 'Toggle Theme';
});
// Counters
const counters = document.querySelectorAll('.counter');
const animateCounters = () => {
counters.forEach(counter => {
const target = +counter.dataset.target || 0;
const duration = 1200;
const start = 0;
const startTime = performance.now();
const step = (now) => {
const progress = Math.min((now - startTime) / duration, 1);
const val = Math.floor(start + (target - start) * progress);
counter.textContent = val.toLocaleString();
if (progress < 1) requestAnimationFrame(step);
};
requestAnimationFrame(step);
});
};
const countersObserver = new IntersectionObserver(entries => {
entries.forEach(entry => {
if (entry.isIntersecting) {
animateCounters();
countersObserver.disconnect();
}
});
}, { threshold: 0.3 });
countersObserver.observe(document.querySelector('.hero-counters'));
// Respect reduced motion for video autoplay (pause if prefers-reduced-motion)
const mq = window.matchMedia('(prefers-reduced-motion: reduce)');
if (mq.matches) {
document.querySelectorAll('iframe').forEach(f => {
try {
const src = new URL(f.src);
if (src.hostname.includes('youtube.com')) {
src.searchParams.set('autoplay', '0');
f.src = src.toString();
}
} catch(e){}
});
}
</script>
</body>
</html>