57 lines
1.1 KiB
CSS
57 lines
1.1 KiB
CSS
.hero {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
text-align: center;
|
|
padding-top: 80px;
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 10;
|
|
max-width: 900px;
|
|
animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: clamp(2.5rem, 6vw, 4.5rem);
|
|
line-height: 1.1;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.text-gradient {
|
|
background: var(--accent-gradient);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
display: inline-block;
|
|
}
|
|
|
|
.hero-subtext {
|
|
font-size: clamp(1.1rem, 2vw, 1.3rem);
|
|
color: var(--text-secondary);
|
|
max-width: 700px;
|
|
margin: 0 auto 40px auto;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.background-mesh {
|
|
position: absolute;
|
|
top: -20%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 1000px;
|
|
height: 600px;
|
|
background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(10, 10, 10, 0) 70%);
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
@keyframes fadeUp {
|
|
0% { opacity: 0; transform: translateY(30px); }
|
|
100% { opacity: 1; transform: translateY(0); }
|
|
}
|