Initial commit — Superfice.de website
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
204
src/components/Hero/Hero.css
Normal file
204
src/components/Hero/Hero.css
Normal file
@@ -0,0 +1,204 @@
|
||||
.hero {
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero-bg {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.hero-grid {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background-image:
|
||||
linear-gradient(rgba(139, 61, 184, 0.1) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(139, 61, 184, 0.1) 1px, transparent 1px);
|
||||
background-size: 60px 60px;
|
||||
mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
|
||||
}
|
||||
|
||||
.hero-glow {
|
||||
display: none; /* replaced by SpaceBackground nebulas */
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding-top: 8rem;
|
||||
padding-bottom: 6rem;
|
||||
gap: var(--space-6);
|
||||
}
|
||||
|
||||
.hero-logo-mark {
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
.hero-logo-mark svg {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
|
||||
.hero-label {
|
||||
font-size: var(--font-size-xs);
|
||||
letter-spacing: 0.15em;
|
||||
text-transform: uppercase;
|
||||
color: var(--color-accent);
|
||||
font-weight: 600;
|
||||
padding: 0.375rem 1rem;
|
||||
border: 1px solid var(--color-accent-border);
|
||||
border-radius: 100px;
|
||||
background: var(--color-accent-dim);
|
||||
}
|
||||
|
||||
.hero-headline {
|
||||
font-size: clamp(2.75rem, 6vw, 5rem);
|
||||
font-weight: 800;
|
||||
line-height: 1.08;
|
||||
letter-spacing: -0.03em;
|
||||
color: var(--color-text);
|
||||
max-width: 700px;
|
||||
}
|
||||
|
||||
.hero-subline {
|
||||
font-size: clamp(1rem, 1.8vw, 1.25rem);
|
||||
color: var(--color-text-muted);
|
||||
max-width: 560px;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
display: flex;
|
||||
gap: var(--space-4);
|
||||
align-items: center;
|
||||
margin-top: var(--space-2);
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.hero-cta {
|
||||
font-size: 1rem;
|
||||
padding: 1rem 2.25rem;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.hero-cta-secondary {
|
||||
font-size: 1rem;
|
||||
padding: 1rem 2rem;
|
||||
}
|
||||
|
||||
/* Stats bar */
|
||||
.hero-stats {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0;
|
||||
margin-top: var(--space-6);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
background: rgba(255,255,255,0.03);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero-stat {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: var(--space-1);
|
||||
padding: var(--space-5) var(--space-8);
|
||||
flex: 1;
|
||||
border-right: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.hero-stat:last-child {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.hero-stat-value {
|
||||
font-size: var(--font-size-xl);
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.03em;
|
||||
color: var(--color-accent);
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.hero-stat-label {
|
||||
font-size: var(--font-size-xs);
|
||||
color: var(--color-text-muted);
|
||||
letter-spacing: 0.05em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.hero-scroll {
|
||||
position: absolute;
|
||||
bottom: 2.5rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.hero-scroll-line {
|
||||
width: 1px;
|
||||
height: 48px;
|
||||
background: linear-gradient(to bottom, var(--color-accent), transparent);
|
||||
animation: scrollPulse 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes scrollPulse {
|
||||
0%, 100% { opacity: 0.3; transform: scaleY(1); }
|
||||
50% { opacity: 1; transform: scaleY(1.1); }
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.hero-headline br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hero-subline br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hero-scroll {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hero-stats {
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.hero-stat {
|
||||
flex: 1 1 45%;
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.hero-stat:nth-child(2) {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.hero-stat:nth-child(3) {
|
||||
border-top: 1px solid var(--color-border);
|
||||
border-right: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.hero-stat:nth-child(4) {
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.hero-cta,
|
||||
.hero-cta-secondary {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user