Add splash page and improve user registration views.

This commit is contained in:
2025-07-06 10:36:49 +02:00
parent 397175f38e
commit 6213cdd2b9
14 changed files with 2415 additions and 104 deletions

507
static/css/splash.css Normal file
View File

@@ -0,0 +1,507 @@
/* Splash Page Styles */
/* Reset for splash page */
.splash-container {
margin: -2rem -2rem 0 -2rem;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
/* Hero Section */
.splash-hero {
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
color: white;
padding: 6rem 2rem;
text-align: center;
position: relative;
overflow: hidden;
min-height: 600px;
display: flex;
align-items: center;
justify-content: center;
}
.hero-content {
max-width: 800px;
margin: 0 auto;
z-index: 2;
position: relative;
}
.hero-title {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 1.5rem;
letter-spacing: -1px;
animation: fadeInUp 1s ease-out;
}
.hero-subtitle {
font-size: 1.5rem;
font-weight: 300;
margin-bottom: 2.5rem;
opacity: 0.9;
animation: fadeInUp 1s ease-out 0.2s both;
}
.cta-buttons {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
animation: fadeInUp 1s ease-out 0.4s both;
}
.btn-primary, .btn-secondary {
padding: 1rem 2.5rem;
font-size: 1.1rem;
border-radius: 50px;
text-decoration: none;
transition: all 0.3s ease;
font-weight: 500;
display: inline-block;
}
.btn-primary {
background: #4CAF50;
color: white;
box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}
.btn-primary:hover {
background: #45a049;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}
.btn-secondary {
background: transparent;
color: white;
border: 2px solid white;
}
.btn-secondary:hover {
background: white;
color: #2a5298;
}
/* Floating Clock Animation */
.hero-visual {
position: absolute;
right: 10%;
top: 50%;
transform: translateY(-50%);
opacity: 0.1;
}
.floating-clock {
width: 300px;
height: 300px;
animation: float 6s ease-in-out infinite;
}
.clock-face {
width: 100%;
height: 100%;
border: 8px solid white;
border-radius: 50%;
position: relative;
}
.hour-hand, .minute-hand, .second-hand {
position: absolute;
background: white;
transform-origin: bottom center;
bottom: 50%;
left: 50%;
}
.hour-hand {
width: 6px;
height: 80px;
margin-left: -3px;
animation: rotate 43200s linear infinite;
}
.minute-hand {
width: 4px;
height: 100px;
margin-left: -2px;
animation: rotate 3600s linear infinite;
}
.second-hand {
width: 2px;
height: 110px;
margin-left: -1px;
background: #4CAF50;
animation: rotate 60s linear infinite;
}
/* Features Grid */
.features-grid {
padding: 5rem 2rem;
background: #f8f9fa;
}
.section-title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: #333;
font-weight: 600;
}
.feature-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.feature-card {
background: white;
padding: 2.5rem;
border-radius: 12px;
text-align: center;
box-shadow: 0 5px 20px rgba(0,0,0,0.08);
transition: all 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.feature-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.feature-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #333;
}
.feature-card p {
color: #666;
line-height: 1.6;
}
/* Statistics Section */
.statistics {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 5rem 2rem;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 2rem;
position: relative;
}
/* Add subtle overlay for better text contrast */
.statistics::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.1);
pointer-events: none;
}
.statistics .section-title {
color: white;
width: 100%;
text-align: center;
margin-bottom: 3rem;
position: relative;
z-index: 1;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.stat-item {
text-align: center;
color: white;
position: relative;
z-index: 1;
}
.stat-number {
font-size: 3rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: white;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.stat-label {
font-size: 1.1rem;
color: rgba(255, 255, 255, 1);
font-weight: 500;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
/* Testimonials */
.testimonials {
padding: 5rem 2rem;
background: white;
}
.testimonial-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.testimonial-card {
background: #f8f9fa;
padding: 2rem;
border-radius: 12px;
text-align: center;
}
.stars {
font-size: 1.2rem;
margin-bottom: 1rem;
}
.testimonial-card p {
font-size: 1.1rem;
line-height: 1.6;
color: #555;
margin-bottom: 1.5rem;
font-style: italic;
}
.testimonial-author {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.testimonial-author strong {
color: #333;
}
.testimonial-author span {
color: #666;
font-size: 0.9rem;
}
/* Pricing Section */
.pricing {
padding: 5rem 2rem;
background: #f8f9fa;
}
.pricing-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
max-width: 1000px;
margin: 0 auto;
}
.pricing-card {
background: white;
padding: 2.5rem;
border-radius: 12px;
text-align: center;
position: relative;
box-shadow: 0 5px 20px rgba(0,0,0,0.08);
transition: all 0.3s ease;
}
.pricing-card.featured {
transform: scale(1.05);
box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.badge {
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
background: #4CAF50;
color: white;
padding: 0.5rem 1.5rem;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 500;
}
.pricing-card h3 {
font-size: 1.8rem;
margin-bottom: 1rem;
color: #333;
}
.price {
font-size: 3rem;
font-weight: 700;
color: #2a5298;
margin-bottom: 2rem;
}
.price span {
font-size: 1rem;
font-weight: 400;
color: #666;
}
.pricing-features {
list-style: none;
padding: 0;
margin: 0 0 2rem 0;
}
.pricing-features li {
padding: 0.75rem 0;
color: #555;
border-bottom: 1px solid #eee;
}
.pricing-features li:last-child {
border-bottom: none;
}
.btn-pricing {
display: inline-block;
padding: 1rem 2rem;
background: #4CAF50;
color: white;
text-decoration: none;
border-radius: 6px;
transition: all 0.3s ease;
font-weight: 500;
}
.btn-pricing:hover {
background: #45a049;
transform: translateY(-2px);
}
.pricing-card.featured .btn-pricing {
background: #2a5298;
}
.pricing-card.featured .btn-pricing:hover {
background: #1e3c72;
}
/* Final CTA */
.final-cta {
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
color: white;
padding: 5rem 2rem;
text-align: center;
}
.final-cta h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.final-cta p {
font-size: 1.2rem;
margin-bottom: 2rem;
opacity: 0.9;
}
.btn-primary.large {
font-size: 1.2rem;
padding: 1.25rem 3rem;
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes float {
0%, 100% {
transform: translateY(-50%) translateX(0);
}
50% {
transform: translateY(-50%) translateX(20px);
}
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/* Responsive Design */
@media (max-width: 768px) {
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.2rem;
}
.cta-buttons {
flex-direction: column;
align-items: center;
}
.btn-primary, .btn-secondary {
width: 200px;
}
.hero-visual {
display: none;
}
.section-title {
font-size: 2rem;
}
.stat-number {
font-size: 2.5rem;
}
.pricing-card.featured {
transform: none;
}
}
/* Ripple Effect */
.btn-primary, .btn-secondary, .btn-pricing {
position: relative;
overflow: hidden;
}
.ripple {
position: absolute;
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
transform: scale(0);
animation: ripple-animation 0.6s ease-out;
}
@keyframes ripple-animation {
to {
transform: scale(4);
opacity: 0;
}
}