Spaces:
Running

Gigi506 commited on
Commit
0ec0e1b
·
verified ·
1 Parent(s): f0bfed3

📱 NEVER LATE AGAIN — A Chrono-Behavioral Optimization System A Proposal for an AI-Driven Mobile Platform Tackling Chronic Lateness through Predictive Models, Real-Time Data, and Habit Engineering --- 1. Problem Analysis 📉 Quantifying Chronic Lateness Chronic lateness is not merely behavioral—it is a measurable cognitive-latency issue. Studies (Zakay & Block, 1996) show that time estimation errors often follow a Gaussian (Normal) Distribution, with a heavier tail for consistently late individuals. Let: μ = mean expected arrival deviation (typically > 0 for late users) σ² = variance in lateness across multiple contexts (school, work, appointments) A Bayesian Gaussian Mixture Model (BGMM) is proposed for user profiling: from sklearn.mixture import BayesianGaussianMixture bgmm = BayesianGaussianMixture(n_components=3).fit(lateness_data) Time-blindness, a form of temporal dysregulation, correlates with ADHD and executive dysfunction (Barkley, 1997), reinforcing the need for AI-personalized nudges and ETA recalibration. --- 2. System Architecture 🏗️ Microservices-Based Architecture (Event-Driven) Key Services: TimeOptimizationService (Python + Flask): Predicts optimal departure time using user models RealtimeTrafficAnalyzer (Go): Ingests traffic APIs & sensor data with <20ms latency BehavioralNudgeEngine (Kotlin): Triggers habit-building notifications Communication: gRPC with Protocol Buffers: Ensures high-throughput, type-safe RPCs Message Broker: Apache Kafka for pub-sub coordination 🔁 Cloud Infrastructure (Kubernetes + AWS) All services containerized in Kubernetes Pods Lambda@Edge for instant geofence-triggered Lambda execution SAGA pattern across services to ensure orchestration (e.g., trip plan rollback if traffic data fails) --- 3. Core Algorithms 🧠 Dynamic ETA Computation A hybrid algorithm fuses routing, historical delay trends, and real-time conditions: def calculate_eta(user, destination): base_eta = osrm_routing(user.location, destination) delay_profile = bayesian_network.predict(user.lateness_hist) realtime_adjust = kalman_filter( traffic_feed, weather_api, transit_api ) return base_eta + delay_profile + realtime_adjust OSRM: Open Source Routing Machine Bayesian Network: Built using pgmpy or PyMC3 Kalman Filter: Sensor fusion per Asakura (2000) to correct noisy traffic signals --- 4. AI/ML Components 🧠 Time-Behavior Prediction via LSTM Predict future lateness based on time series of user behavior: from keras.models import Sequential from keras.layers import LSTM, Dense model = Sequential([ LSTM(64, input_shape=(SEQ_LEN, FEATURES)), Dense(32, activation='relu'), Dense(1, activation='linear') ]) Input: [sleep_quality, weather, prior_day_punctuality, app_opens] Output: Expected Delay in Minutes Trained on a rolling 30-day user dataset Model retrained weekly via CI/CD pipelines with Amazon SageMaker. --- 5. Edge Computing 🛰️ Android Jetpack WorkManager + Geofencing API Run departure checks locally on the device to preserve speed and privacy: class LeaveNowWorker(context: Context, params: WorkerParameters) : Worker(context, params) { override fun doWork(): Result { GeofencingClient(context) .addGeofences(buildGeofenceData(), pendingIntent) return Result.success() } } Location-aware departure reminders Offline-first capability via Room DB caching --- 6. Data Pipeline ⛓️ Real-Time Ingestion & Analysis // Kafka + Spark Structured Streaming val trafficStream = spark.readStream.format("kafka") .option("subscribe", "gps_updates") .load() .withWatermark("timestamp", "2 minutes") Real-time feed from Mapbox, Google Maps, local transit APIs Apache Flink used for complex event processing (CEP) on trip anomalies All data processed through Kafka Streams with Avro schema enforcement --- 7. Privacy Safeguards 🔐 Differential Privacy in Location Sharing from diffprivlib.tools import histogram sanitized_data = histogram(user_locations, epsilon=0.1) Follows guidelines by Dwork & Roth (2014) on ε-differential privacy Raw GPS coordinates never leave the device without sanitization Private aggregation enforced at API Gateway level (AWS WAF + Lambda@Edge) --- 8. Testing Strategy 🔍 Resilience Testing Chaos Engineering via Gremlin: Inject API latencies, sensor failures TLA+ Formal Verification: For notification timing specs THEOREM NotificationAlwaysSent == \A user \in Users : \E t \in Times : Notification(user, t) End-to-End Testing: Detox + Appium for UI Contract Testing: Pact for inter-service data contracts Performance Benchmarks: JMeter + Gatling scripts for ETA response latency (<150ms target) --- 💼 Enterprise Patterns Pattern Application CQRS For separating ETA queries from behavior updates SAGA Ensuring multi-step trip planning and cancelation coordination Circuit Breaker In RealtimeTrafficAnalyzer to fail gracefully when APIs timeout --- 🔍 Citations & Academic Foundations Zakay, D., & Block, R. A. (1996). The role of attention in time estimation. Barkley, R. A. (1997). ADHD and the nature of self-control. Asakura, Y. (2000). Kalman Filtering Approach for Short-Term Traffic Flow Prediction. Dwork, C., & Roth, A. (2014). The Algorithmic Foundations of Differential Privacy. Rich & Knight (1991). Artificial Intelligence (for agent modeling inspiration) --- 📦 Deliverables Android (.apk) + iOS (TestFlight build) Swagger API Docs for all microservices Kubernetes Helm Charts for deployment CI/CD Pipeline (GitHub Actions + ArgoCD) Developer & Privacy Compliance Documentation --- 🔚 Conclusion "NEVER LATE AGAIN" is not just a time tracker—it’s a cognitive-behavioral assistant designed for a hyperconnected, punctuality-critical world. Its intelligent ETA engine, privacy-first geolocation tech, and AI-driven habit correction system together form a next-generation solution to time mismanagement. - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +761 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Sf
3
- emoji: 🏆
4
- colorFrom: indigo
5
- colorTo: red
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: sf
3
+ emoji: 🐳
4
+ colorFrom: gray
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,761 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>NEVER LATE AGAIN | Chrono-Behavioral Optimization</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Inter', sans-serif;
14
+ background-color: #f8fafc;
15
+ }
16
+
17
+ .gradient-bg {
18
+ background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
19
+ }
20
+
21
+ .section-divider {
22
+ height: 80px;
23
+ background: linear-gradient(to bottom right, transparent 49.5%, #f8fafc 50%);
24
+ }
25
+
26
+ .flip-divider {
27
+ height: 80px;
28
+ background: linear-gradient(to bottom left, transparent 49.5%, #f8fafc 50%);
29
+ }
30
+
31
+ .algorithm-card:hover {
32
+ transform: translateY(-5px);
33
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
34
+ }
35
+
36
+ .feature-icon {
37
+ transition: all 0.3s ease;
38
+ }
39
+
40
+ .feature-card:hover .feature-icon {
41
+ transform: scale(1.1);
42
+ }
43
+
44
+ .glow {
45
+ box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
46
+ }
47
+
48
+ @keyframes pulse {
49
+ 0%, 100% {
50
+ opacity: 1;
51
+ }
52
+ 50% {
53
+ opacity: 0.5;
54
+ }
55
+ }
56
+
57
+ .animate-pulse {
58
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
59
+ }
60
+ </style>
61
+ </head>
62
+ <body>
63
+ <!-- Navigation -->
64
+ <nav class="bg-white shadow-sm sticky top-0 z-50">
65
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
66
+ <div class="flex justify-between h-16">
67
+ <div class="flex items-center">
68
+ <div class="flex-shrink-0 flex items-center">
69
+ <i class="fas fa-clock text-indigo-600 text-2xl mr-2"></i>
70
+ <span class="text-xl font-bold text-gray-900">NEVER LATE</span>
71
+ </div>
72
+ </div>
73
+ <div class="hidden md:ml-6 md:flex md:items-center md:space-x-8">
74
+ <a href="#problem" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Problem</a>
75
+ <a href="#architecture" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Architecture</a>
76
+ <a href="#algorithms" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Algorithms</a>
77
+ <a href="#features" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Features</a>
78
+ <a href="#contact" class="text-indigo-600 hover:bg-indigo-50 px-3 py-2 rounded-md text-sm font-medium">Get Early Access</a>
79
+ </div>
80
+ <div class="-mr-2 flex items-center md:hidden">
81
+ <button type="button" id="mobile-menu-button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none">
82
+ <span class="sr-only">Open main menu</span>
83
+ <i class="fas fa-bars h-6 w-6"></i>
84
+ </button>
85
+ </div>
86
+ </div>
87
+ </div>
88
+
89
+ <!-- Mobile menu -->
90
+ <div id="mobile-menu" class="hidden md:hidden">
91
+ <div class="pt-2 pb-3 space-y-1">
92
+ <a href="#problem" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">Problem Analysis</a>
93
+ <a href="#architecture" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">System Architecture</a>
94
+ <a href="#algorithms" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">Core Algorithms</a>
95
+ <a href="#features" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">Features</a>
96
+ <a href="#contact" class="block px-3 py-2 text-base font-medium text-indigo-600 hover:bg-indigo-50">Get Early Access</a>
97
+ </div>
98
+ </div>
99
+ </nav>
100
+
101
+ <!-- Hero Section -->
102
+ <div class="gradient-bg text-white">
103
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24">
104
+ <div class="lg:grid lg:grid-cols-2 lg:gap-8 items-center">
105
+ <div class="mb-12 lg:mb-0">
106
+ <h1 class="text-4xl md:text-5xl font-extrabold tracking-tight mb-6">
107
+ <span class="block">NEVER LATE AGAIN</span>
108
+ <span class="block text-indigo-200">Chrono-Behavioral Optimization</span>
109
+ </h1>
110
+ <p class="text-xl text-indigo-100 mb-8">
111
+ An AI-driven platform that predicts, prevents, and corrects chronic lateness through behavioral science and real-time data analysis.
112
+ </p>
113
+ <div class="flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-4">
114
+ <a href="#contact" class="inline-flex items-center justify-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-indigo-600 bg-white hover:bg-indigo-50 glow">
115
+ Request Demo
116
+ </a>
117
+ <a href="#problem" class="inline-flex items-center justify-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-700 bg-opacity-60 hover:bg-opacity-70">
118
+ Learn More
119
+ </a>
120
+ </div>
121
+ </div>
122
+ <div class="relative">
123
+ <div class="relative w-full rounded-xl overflow-hidden shadow-2xl">
124
+ <img src="https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="App screenshot" class="w-full h-auto">
125
+ <div class="absolute inset-0 bg-indigo-600 opacity-20"></div>
126
+ </div>
127
+ <div class="absolute -bottom-6 -left-6 w-32 h-32 bg-purple-400 rounded-full opacity-20 animate-pulse"></div>
128
+ <div class="absolute -top-6 -right-6 w-24 h-24 bg-blue-400 rounded-full opacity-20 animate-pulse delay-300"></div>
129
+ </div>
130
+ </div>
131
+ </div>
132
+ <div class="section-divider"></div>
133
+ </div>
134
+
135
+ <!-- Problem Analysis Section -->
136
+ <div id="problem" class="bg-white py-24">
137
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
138
+ <div class="lg:text-center mb-16">
139
+ <h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Problem Analysis</h2>
140
+ <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
141
+ Chronic Lateness as a Measurable Cognitive-Latency Issue
142
+ </p>
143
+ <p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
144
+ Studies show time estimation errors follow a Gaussian distribution with heavier tails for consistently late individuals.
145
+ </p>
146
+ </div>
147
+
148
+ <div class="mt-10">
149
+ <div class="grid grid-cols-1 gap-10 lg:grid-cols-2">
150
+ <div class="bg-gray-50 p-8 rounded-xl shadow-sm">
151
+ <div class="flex items-center mb-6">
152
+ <div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
153
+ <i class="fas fa-chart-line text-white text-xl"></i>
154
+ </div>
155
+ <h3 class="ml-4 text-lg font-medium text-gray-900">Quantifying Temporal Dysregulation</h3>
156
+ </div>
157
+ <div class="space-y-4">
158
+ <p class="text-gray-600">
159
+ Our Bayesian Gaussian Mixture Model (BGMM) profiles users based on their μ (mean expected arrival deviation) and σ² (variance in lateness across contexts).
160
+ </p>
161
+ <div class="bg-white p-4 rounded-lg border border-gray-200">
162
+ <pre class="text-sm text-gray-800 overflow-x-auto"><code>from sklearn.mixture import BayesianGaussianMixture
163
+ bgmm = BayesianGaussianMixture(n_components=3)
164
+ bgmm.fit(lateness_data)</code></pre>
165
+ </div>
166
+ <p class="text-gray-600">
167
+ Time-blindness correlates strongly with ADHD and executive dysfunction, requiring personalized AI interventions.
168
+ </p>
169
+ </div>
170
+ </div>
171
+
172
+ <div class="bg-gray-50 p-8 rounded-xl shadow-sm">
173
+ <div class="flex items-center mb-6">
174
+ <div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
175
+ <i class="fas fa-brain text-white text-xl"></i>
176
+ </div>
177
+ <h3 class="ml-4 text-lg font-medium text-gray-900">Cognitive-Behavioral Framework</h3>
178
+ </div>
179
+ <div class="space-y-4">
180
+ <p class="text-gray-600">
181
+ Based on Barkley's (1997) model of self-regulation, we address four key executive functions:
182
+ </p>
183
+ <ul class="list-disc pl-5 space-y-2 text-gray-600">
184
+ <li>Working memory (remembering departure times)</li>
185
+ <li>Self-motivation (overcoming procrastination)</li>
186
+ <li>Emotional regulation (stress-induced delays)</li>
187
+ <li>Reconstitution (breaking down travel sequences)</li>
188
+ </ul>
189
+ <div class="bg-indigo-50 p-3 rounded-lg border border-indigo-100">
190
+ <p class="text-sm text-indigo-800">
191
+ <i class="fas fa-info-circle mr-1"></i> Our system provides scaffolding for these cognitive functions through predictive nudges and habit engineering.
192
+ </p>
193
+ </div>
194
+ </div>
195
+ </div>
196
+ </div>
197
+ </div>
198
+ </div>
199
+ </div>
200
+
201
+ <!-- Architecture Section -->
202
+ <div id="architecture" class="bg-gray-50 py-24">
203
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
204
+ <div class="lg:text-center mb-16">
205
+ <h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">System Architecture</h2>
206
+ <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
207
+ Microservices-Based Event-Driven Design
208
+ </p>
209
+ <p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
210
+ A cloud-native architecture built for real-time responsiveness and behavioral adaptation.
211
+ </p>
212
+ </div>
213
+
214
+ <div class="mt-10">
215
+ <div class="relative">
216
+ <div class="absolute inset-0 flex items-center" aria-hidden="true">
217
+ <div class="w-full border-t border-gray-300"></div>
218
+ </div>
219
+ <div class="relative flex justify-center">
220
+ <span class="px-4 bg-gray-50 text-lg font-medium text-gray-900">
221
+ Core Services
222
+ </span>
223
+ </div>
224
+ </div>
225
+
226
+ <div class="mt-8 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3">
227
+ <div class="feature-card bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow duration-300 border border-gray-100">
228
+ <div class="feature-icon flex-shrink-0 bg-indigo-100 rounded-md p-3 inline-flex">
229
+ <i class="fas fa-route text-indigo-600 text-xl"></i>
230
+ </div>
231
+ <h3 class="mt-4 text-lg font-medium text-gray-900">TimeOptimizationService</h3>
232
+ <p class="mt-2 text-gray-600">
233
+ Python + Flask service predicting optimal departure times using personalized user models.
234
+ </p>
235
+ </div>
236
+
237
+ <div class="feature-card bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow duration-300 border border-gray-100">
238
+ <div class="feature-icon flex-shrink-0 bg-indigo-100 rounded-md p-3 inline-flex">
239
+ <i class="fas fa-traffic-light text-indigo-600 text-xl"></i>
240
+ </div>
241
+ <h3 class="mt-4 text-lg font-medium text-gray-900">RealtimeTrafficAnalyzer</h3>
242
+ <p class="mt-2 text-gray-600">
243
+ Go service processing traffic APIs & sensor data with &lt;20ms latency for instant updates.
244
+ </p>
245
+ </div>
246
+
247
+ <div class="feature-card bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow duration-300 border border-gray-100">
248
+ <div class="feature-icon flex-shrink-0 bg-indigo-100 rounded-md p-3 inline-flex">
249
+ <i class="fas fa-bell text-indigo-600 text-xl"></i>
250
+ </div>
251
+ <h3 class="mt-4 text-lg font-medium text-gray-900">BehavioralNudgeEngine</h3>
252
+ <p class="mt-2 text-gray-600">
253
+ Kotlin service triggering context-aware habit-building notifications at optimal times.
254
+ </p>
255
+ </div>
256
+ </div>
257
+
258
+ <div class="mt-12 bg-white rounded-xl shadow-md overflow-hidden">
259
+ <div class="p-6">
260
+ <h3 class="text-lg font-medium text-gray-900 mb-4">Cloud Infrastructure</h3>
261
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
262
+ <div>
263
+ <h4 class="font-medium text-gray-800 mb-2">Kubernetes + AWS</h4>
264
+ <ul class="list-disc pl-5 space-y-1 text-gray-600">
265
+ <li>Containerized services in Kubernetes Pods</li>
266
+ <li>Lambda@Edge for geofence-triggered execution</li>
267
+ <li>SAGA pattern for distributed transaction management</li>
268
+ </ul>
269
+ </div>
270
+ <div>
271
+ <h4 class="font-medium text-gray-800 mb-2">Communication</h4>
272
+ <ul class="list-disc pl-5 space-y-1 text-gray-600">
273
+ <li>gRPC with Protocol Buffers for high-throughput RPCs</li>
274
+ <li>Apache Kafka for pub-sub coordination</li>
275
+ <li>Avro schema enforcement for data contracts</li>
276
+ </ul>
277
+ </div>
278
+ </div>
279
+ </div>
280
+ <div class="bg-gray-50 px-6 py-4">
281
+ <div class="flex items-center">
282
+ <div class="flex-shrink-0 bg-indigo-100 rounded-full p-2">
283
+ <i class="fas fa-shield-alt text-indigo-600"></i>
284
+ </div>
285
+ <div class="ml-3">
286
+ <p class="text-sm text-indigo-700">
287
+ <span class="font-medium">Security Note:</span> All services implement zero-trust networking with mTLS authentication.
288
+ </p>
289
+ </div>
290
+ </div>
291
+ </div>
292
+ </div>
293
+ </div>
294
+ </div>
295
+ </div>
296
+
297
+ <!-- Algorithms Section -->
298
+ <div id="algorithms" class="bg-white py-24">
299
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
300
+ <div class="lg:text-center mb-16">
301
+ <h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Core Algorithms</h2>
302
+ <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
303
+ Hybrid ETA Computation Engine
304
+ </p>
305
+ <p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
306
+ Combining routing, behavioral patterns, and real-time conditions for unparalleled accuracy.
307
+ </p>
308
+ </div>
309
+
310
+ <div class="mt-10">
311
+ <div class="algorithm-card bg-gray-50 rounded-xl p-8 shadow-sm border border-gray-200 transition-all duration-300">
312
+ <div class="flex items-center mb-6">
313
+ <div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
314
+ <i class="fas fa-calculator text-white text-xl"></i>
315
+ </div>
316
+ <h3 class="ml-4 text-lg font-medium text-gray-900">Dynamic ETA Computation</h3>
317
+ </div>
318
+ <div class="space-y-4">
319
+ <p class="text-gray-600">
320
+ Our hybrid algorithm fuses multiple data sources to calculate the true probability-weighted arrival time:
321
+ </p>
322
+ <div class="bg-white p-4 rounded-lg border border-gray-200 overflow-x-auto">
323
+ <pre class="text-sm text-gray-800"><code>def calculate_eta(user, destination):
324
+ base_eta = osrm_routing(user.location, destination)
325
+ delay_profile = bayesian_network.predict(user.lateness_hist)
326
+ realtime_adjust = kalman_filter(
327
+ traffic_feed, weather_api, transit_api
328
+ )
329
+ return base_eta + delay_profile + realtime_adjust</code></pre>
330
+ </div>
331
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mt-6">
332
+ <div class="bg-indigo-50 p-4 rounded-lg border border-indigo-100">
333
+ <h4 class="font-medium text-indigo-800 mb-2">OSRM Routing</h4>
334
+ <p class="text-sm text-indigo-700">Open Source Routing Machine for base travel time</p>
335
+ </div>
336
+ <div class="bg-indigo-50 p-4 rounded-lg border border-indigo-100">
337
+ <h4 class="font-medium text-indigo-800 mb-2">Bayesian Network</h4>
338
+ <p class="text-sm text-indigo-700">Predicts personal delay patterns (pgmpy/PyMC3)</p>
339
+ </div>
340
+ <div class="bg-indigo-50 p-4 rounded-lg border border-indigo-100">
341
+ <h4 class="font-medium text-indigo-800 mb-2">Kalman Filter</h4>
342
+ <p class="text-sm text-indigo-700">Sensor fusion for real-time conditions (Asakura, 2000)</p>
343
+ </div>
344
+ </div>
345
+ </div>
346
+ </div>
347
+
348
+ <div class="mt-12 grid grid-cols-1 lg:grid-cols-2 gap-8">
349
+ <div class="bg-gray-50 rounded-xl p-6 shadow-sm border border-gray-200">
350
+ <h3 class="text-lg font-medium text-gray-900 mb-4">LSTM Time-Behavior Prediction</h3>
351
+ <p class="text-gray-600 mb-4">
352
+ Our LSTM network learns from 30-day rolling windows of user behavior to predict future lateness:
353
+ </p>
354
+ <div class="bg-white p-4 rounded-lg border border-gray-200">
355
+ <pre class="text-sm text-gray-800"><code>from keras.models import Sequential
356
+ from keras.layers import LSTM, Dense
357
+
358
+ model = Sequential([
359
+ LSTM(64, input_shape=(SEQ_LEN, FEATURES)),
360
+ Dense(32, activation='relu'),
361
+ Dense(1, activation='linear')
362
+ ])</code></pre>
363
+ </div>
364
+ <div class="mt-4 flex items-center text-sm text-indigo-600">
365
+ <i class="fas fa-sync-alt mr-2"></i>
366
+ <span>Model retrained weekly via CI/CD pipelines with Amazon SageMaker</span>
367
+ </div>
368
+ </div>
369
+
370
+ <div class="bg-gray-50 rounded-xl p-6 shadow-sm border border-gray-200">
371
+ <h3 class="text-lg font-medium text-gray-900 mb-4">Edge Computing Implementation</h3>
372
+ <p class="text-gray-600 mb-4">
373
+ Location-aware departure checks run locally on devices for speed and privacy:
374
+ </p>
375
+ <div class="bg-white p-4 rounded-lg border border-gray-200">
376
+ <pre class="text-sm text-gray-800"><code>class LeaveNowWorker(context: Context, params: WorkerParameters) : Worker(context, params) {
377
+ override fun doWork(): Result {
378
+ GeofencingClient(context)
379
+ .addGeofences(buildGeofenceData(), pendingIntent)
380
+ return Result.success()
381
+ }
382
+ }</code></pre>
383
+ </div>
384
+ <div class="mt-4 flex items-center text-sm text-indigo-600">
385
+ <i class="fas fa-database mr-2"></i>
386
+ <span>Offline-first capability via Room DB caching</span>
387
+ </div>
388
+ </div>
389
+ </div>
390
+ </div>
391
+ </div>
392
+ </div>
393
+
394
+ <!-- Features Section -->
395
+ <div id="features" class="gradient-bg text-white py-24">
396
+ <div class="flip-divider"></div>
397
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
398
+ <div class="lg:text-center mb-16">
399
+ <h2 class="text-base text-indigo-200 font-semibold tracking-wide uppercase">Key Features</h2>
400
+ <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-white sm:text-4xl">
401
+ Comprehensive Chrono-Behavioral Optimization
402
+ </p>
403
+ <p class="mt-4 max-w-2xl text-xl text-indigo-100 lg:mx-auto">
404
+ From predictive analytics to privacy-preserving location tracking.
405
+ </p>
406
+ </div>
407
+
408
+ <div class="mt-10">
409
+ <div class="grid grid-cols-1 gap-10 lg:grid-cols-3">
410
+ <div class="bg-white bg-opacity-10 backdrop-filter backdrop-blur-lg rounded-xl p-8 border border-white border-opacity-20">
411
+ <div class="flex items-center mb-6">
412
+ <div class="flex-shrink-0 bg-white bg-opacity-20 rounded-md p-3">
413
+ <i class="fas fa-lock-open text-white text-xl"></i>
414
+ </div>
415
+ <h3 class="ml-4 text-lg font-medium text-white">Differential Privacy</h3>
416
+ </div>
417
+ <p class="text-indigo-100">
418
+ Raw GPS coordinates never leave the device without ε-differential privacy sanitization (Dwork & Roth, 2014).
419
+ </p>
420
+ <div class="mt-4 bg-white bg-opacity-10 p-3 rounded-lg">
421
+ <pre class="text-xs text-indigo-100"><code>from diffprivlib.tools import histogram
422
+ sanitized_data = histogram(user_locations, epsilon=0.1)</code></pre>
423
+ </div>
424
+ </div>
425
+
426
+ <div class="bg-white bg-opacity-10 backdrop-filter backdrop-blur-lg rounded-xl p-8 border border-white border-opacity-20">
427
+ <div class="flex items-center mb-6">
428
+ <div class="flex-shrink-0 bg-white bg-opacity-20 rounded-md p-3">
429
+ <i class="fas fa-bolt text-white text-xl"></i>
430
+ </div>
431
+ <h3 class="ml-4 text-lg font-medium text-white">Real-Time Data Pipeline</h3>
432
+ </div>
433
+ <p class="text-indigo-100">
434
+ Kafka + Spark Structured Streaming processes GPS updates with 2-minute watermarks for timely analysis.
435
+ </p>
436
+ <div class="mt-4 bg-white bg-opacity-10 p-3 rounded-lg">
437
+ <pre class="text-xs text-indigo-100"><code>val trafficStream = spark.readStream.format("kafka")
438
+ .option("subscribe", "gps_updates")
439
+ .load()
440
+ .withWatermark("timestamp", "2 minutes")</code></pre>
441
+ </div>
442
+ </div>
443
+
444
+ <div class="bg-white bg-opacity-10 backdrop-filter backdrop-blur-lg rounded-xl p-8 border border-white border-opacity-20">
445
+ <div class="flex items-center mb-6">
446
+ <div class="flex-shrink-0 bg-white bg-opacity-20 rounded-md p-3">
447
+ <i class="fas fa-vial text-white text-xl"></i>
448
+ </div>
449
+ <h3 class="ml-4 text-lg font-medium text-white">Resilience Testing</h3>
450
+ </div>
451
+ <p class="text-indigo-100">
452
+ Chaos engineering via Gremlin with formal TLA+ verification for notification timing specs.
453
+ </p>
454
+ <div class="mt-4 bg-white bg-opacity-10 p-3 rounded-lg">
455
+ <pre class="text-xs text-indigo-100"><code>THEOREM NotificationAlwaysSent ==
456
+ \A user \in Users : \E t \in Times : Notification(user, t)</code></pre>
457
+ </div>
458
+ </div>
459
+ </div>
460
+ </div>
461
+ </div>
462
+ </div>
463
+
464
+ <!-- Enterprise Patterns -->
465
+ <div class="bg-white py-16">
466
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
467
+ <div class="bg-indigo-50 rounded-xl shadow-sm p-8 border border-indigo-100">
468
+ <h3 class="text-lg font-medium text-indigo-900 mb-6 text-center">Enterprise Integration Patterns</h3>
469
+ <div class="overflow-x-auto">
470
+ <table class="min-w-full divide-y divide-indigo-200">
471
+ <thead class="bg-indigo-100">
472
+ <tr>
473
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-indigo-800 uppercase tracking-wider">Pattern</th>
474
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-indigo-800 uppercase tracking-wider">Application</th>
475
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-indigo-800 uppercase tracking-wider">Benefit</th>
476
+ </tr>
477
+ </thead>
478
+ <tbody class="bg-white divide-y divide-indigo-200">
479
+ <tr>
480
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-900">CQRS</td>
481
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-600">Separating ETA queries from behavior updates</td>
482
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-600">Optimized read/write performance</td>
483
+ </tr>
484
+ <tr>
485
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-900">SAGA</td>
486
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-600">Multi-step trip planning coordination</td>
487
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-600">Transaction consistency across services</td>
488
+ </tr>
489
+ <tr>
490
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-indigo-900">Circuit Breaker</td>
491
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-600">RealtimeTrafficAnalyzer API calls</td>
492
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-600">Graceful degradation during outages</td>
493
+ </tr>
494
+ </tbody>
495
+ </table>
496
+ </div>
497
+ </div>
498
+ </div>
499
+ </div>
500
+
501
+ <!-- Contact Section -->
502
+ <div id="contact" class="bg-gray-50 py-24">
503
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
504
+ <div class="lg:grid lg:grid-cols-2 lg:gap-16 items-center">
505
+ <div class="mb-12 lg:mb-0">
506
+ <h2 class="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl">
507
+ Ready to transform time management?
508
+ </h2>
509
+ <p class="mt-4 text-lg text-gray-600">
510
+ Join our early access program for enterprises and institutions committed to punctuality excellence.
511
+ </p>
512
+ <div class="mt-8">
513
+ <div class="flex items-center">
514
+ <div class="flex-shrink-0 bg-indigo-500 rounded-full p-2">
515
+ <i class="fas fa-box-open text-white"></i>
516
+ </div>
517
+ <div class="ml-3">
518
+ <h3 class="text-sm font-medium text-indigo-700">Deliverables Include</h3>
519
+ <div class="mt-2 text-sm text-gray-700">
520
+ <ul class="list-disc pl-5 space-y-1">
521
+ <li>Android (.apk) + iOS (TestFlight build)</li>
522
+ <li>Swagger API Documentation</li>
523
+ <li>Kubernetes Helm Charts</li>
524
+ <li>Privacy Compliance Documentation</li>
525
+ </ul>
526
+ </div>
527
+ </div>
528
+ </div>
529
+ </div>
530
+ </div>
531
+ <div class="bg-white py-8 px-6 shadow rounded-lg sm:px-10">
532
+ <form id="early-access-form" class="mb-0 space-y-6">
533
+ <div>
534
+ <label for="name" class="block text-sm font-medium text-gray-700">Full Name</label>
535
+ <div class="mt-1">
536
+ <input id="name" name="name" type="text" required class="w-full border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500">
537
+ </div>
538
+ </div>
539
+ <div>
540
+ <label for="email" class="block text-sm font-medium text-gray-700">Email Address</label>
541
+ <div class="mt-1">
542
+ <input id="email" name="email" type="email" required class="w-full border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500">
543
+ </div>
544
+ </div>
545
+ <div>
546
+ <label for="organization" class="block text-sm font-medium text-gray-700">Organization</label>
547
+ <div class="mt-1">
548
+ <input id="organization" name="organization" type="text" required class="w-full border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500">
549
+ </div>
550
+ </div>
551
+ <div>
552
+ <label for="use-case" class="block text-sm font-medium text-gray-700">Primary Use Case</label>
553
+ <div class="mt-1">
554
+ <select id="use-case" name="use-case" class="w-full border border-gray-300 px-3 py-2 rounded-lg shadow-sm focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500">
555
+ <option>Corporate Workforce</option>
556
+ <option>Healthcare Providers</option>
557
+ <option>Educational Institutions</option>
558
+ <option>Government Agencies</option>
559
+ <option>Other</option>
560
+ </select>
561
+ </div>
562
+ </div>
563
+ <div>
564
+ <button type="submit" class="w-full flex justify-center py-3 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
565
+ Request Early Access
566
+ </button>
567
+ </div>
568
+ </form>
569
+ <div id="form-success" class="hidden mt-4 p-4 bg-green-50 rounded-lg">
570
+ <div class="flex">
571
+ <div class="flex-shrink-0">
572
+ <i class="fas fa-check-circle text-green-400"></i>
573
+ </div>
574
+ <div class="ml-3">
575
+ <p class="text-sm font-medium text-green-800">
576
+ Thank you! Your request has been submitted. We'll contact you shortly.
577
+ </p>
578
+ </div>
579
+ </div>
580
+ </div>
581
+ </div>
582
+ </div>
583
+ </div>
584
+ </div>
585
+
586
+ <!-- Footer -->
587
+ <footer class="bg-gray-900">
588
+ <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
589
+ <div class="xl:grid xl:grid-cols-3 xl:gap-8">
590
+ <div class="space-y-8 xl:col-span-1">
591
+ <div class="flex items-center">
592
+ <i class="fas fa-clock text-indigo-500 text-2xl mr-2"></i>
593
+ <span class="text-xl font-bold text-white">NEVER LATE</span>
594
+ </div>
595
+ <p class="text-gray-400 text-base">
596
+ A cognitive-behavioral assistant for a punctuality-critical world.
597
+ </p>
598
+ <div class="flex space-x-6">
599
+ <a href="#" class="text-gray-400 hover:text-white">
600
+ <i class="fab fa-twitter"></i>
601
+ </a>
602
+ <a href="#" class="text-gray-400 hover:text-white">
603
+ <i class="fab fa-github"></i>
604
+ </a>
605
+ <a href="#" class="text-gray-400 hover:text-white">
606
+ <i class="fab fa-linkedin"></i>
607
+ </a>
608
+ </div>
609
+ </div>
610
+ <div class="mt-12 grid grid-cols-2 gap-8 xl:mt-0 xl:col-span-2">
611
+ <div class="md:grid md:grid-cols-2 md:gap-8">
612
+ <div>
613
+ <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">
614
+ Product
615
+ </h3>
616
+ <ul class="mt-4 space-y-4">
617
+ <li>
618
+ <a href="#features" class="text-base text-gray-400 hover:text-white">
619
+ Features
620
+ </a>
621
+ </li>
622
+ <li>
623
+ <a href="#algorithms" class="text-base text-gray-400 hover:text-white">
624
+ Technology
625
+ </a>
626
+ </li>
627
+ <li>
628
+ <a href="#contact" class="text-base text-gray-400 hover:text-white">
629
+ Pricing
630
+ </a>
631
+ </li>
632
+ </ul>
633
+ </div>
634
+ <div class="mt-12 md:mt-0">
635
+ <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">
636
+ Resources
637
+ </h3>
638
+ <ul class="mt-4 space-y-4">
639
+ <li>
640
+ <a href="#" class="text-base text-gray-400 hover:text-white">
641
+ Documentation
642
+ </a>
643
+ </li>
644
+ <li>
645
+ <a href="#" class="text-base text-gray-400 hover:text-white">
646
+ Research Papers
647
+ </a>
648
+ </li>
649
+ <li>
650
+ <a href="#" class="text-base text-gray-400 hover:text-white">
651
+ Case Studies
652
+ </a>
653
+ </li>
654
+ </ul>
655
+ </div>
656
+ </div>
657
+ <div class="md:grid md:grid-cols-2 md:gap-8">
658
+ <div>
659
+ <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">
660
+ Company
661
+ </h3>
662
+ <ul class="mt-4 space-y-4">
663
+ <li>
664
+ <a href="#" class="text-base text-gray-400 hover:text-white">
665
+ About
666
+ </a>
667
+ </li>
668
+ <li>
669
+ <a href="#" class="text-base text-gray-400 hover:text-white">
670
+ Careers
671
+ </a>
672
+ </li>
673
+ <li>
674
+ <a href="#" class="text-base text-gray-400 hover:text-white">
675
+ Contact
676
+ </a>
677
+ </li>
678
+ </ul>
679
+ </div>
680
+ <div class="mt-12 md:mt-0">
681
+ <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">
682
+ Legal
683
+ </h3>
684
+ <ul class="mt-4 space-y-4">
685
+ <li>
686
+ <a href="#" class="text-base text-gray-400 hover:text-white">
687
+ Privacy
688
+ </a>
689
+ </li>
690
+ <li>
691
+ <a href="#" class="text-base text-gray-400 hover:text-white">
692
+ Terms
693
+ </a>
694
+ </li>
695
+ <li>
696
+ <a href="#" class="text-base text-gray-400 hover:text-white">
697
+ GDPR
698
+ </a>
699
+ </li>
700
+ </ul>
701
+ </div>
702
+ </div>
703
+ </div>
704
+ </div>
705
+ <div class="mt-12 border-t border-gray-800 pt-8">
706
+ <p class="text-base text-gray-400 text-center">
707
+ &copy; 2023 NEVER LATE AGAIN. All rights reserved.
708
+ </p>
709
+ </div>
710
+ </div>
711
+ </footer>
712
+
713
+ <script>
714
+ // Mobile menu toggle
715
+ document.getElementById('mobile-menu-button').addEventListener('click', function() {
716
+ const menu = document.getElementById('mobile-menu');
717
+ menu.classList.toggle('hidden');
718
+ });
719
+
720
+ // Form submission
721
+ document.getElementById('early-access-form').addEventListener('submit', function(e) {
722
+ e.preventDefault();
723
+
724
+ // In a real app, you would send this to your backend
725
+ // For demo purposes, we'll just show a success message
726
+ this.style.display = 'none';
727
+ document.getElementById('form-success').classList.remove('hidden');
728
+
729
+ // Reset form after 5 seconds (for demo purposes)
730
+ setTimeout(() => {
731
+ this.reset();
732
+ this.style.display = 'block';
733
+ document.getElementById('form-success').classList.add('hidden');
734
+ }, 5000);
735
+ });
736
+
737
+ // Smooth scrolling for anchor links
738
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
739
+ anchor.addEventListener('click', function (e) {
740
+ e.preventDefault();
741
+
742
+ const targetId = this.getAttribute('href');
743
+ if (targetId === '#') return;
744
+
745
+ const targetElement = document.querySelector(targetId);
746
+ if (targetElement) {
747
+ targetElement.scrollIntoView({
748
+ behavior: 'smooth'
749
+ });
750
+
751
+ // Close mobile menu if open
752
+ const mobileMenu = document.getElementById('mobile-menu');
753
+ if (!mobileMenu.classList.contains('hidden')) {
754
+ mobileMenu.classList.add('hidden');
755
+ }
756
+ }
757
+ });
758
+ });
759
+ </script>
760
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Gigi506/sf" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
761
+ </html>