825 lines
17 KiB
SCSS
825 lines
17 KiB
SCSS
/* ====
|
|
--------- Modern Banner Component Styles ---------
|
|
==== */
|
|
|
|
.modern-banner {
|
|
position: relative;
|
|
min-height: 100vh;
|
|
background: linear-gradient(135deg,
|
|
#0a0a0a 0%,
|
|
#1a1a2e 25%,
|
|
#16213e 50%,
|
|
#0f3460 75%,
|
|
#0a0a0a 100%);
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
color: var(--white);
|
|
font-family: var(--font-family-sans);
|
|
|
|
// Animated Background
|
|
.banner-background {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 1;
|
|
|
|
// Floating Shapes
|
|
.floating-shapes {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
|
|
.shape {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
background: linear-gradient(45deg,
|
|
rgba(59, 130, 246, 0.1) 0%,
|
|
rgba(99, 102, 241, 0.1) 100%);
|
|
animation: float 6s ease-in-out infinite;
|
|
|
|
&.shape-1 {
|
|
width: 80px;
|
|
height: 80px;
|
|
top: 20%;
|
|
left: 10%;
|
|
animation-delay: 0s;
|
|
}
|
|
|
|
&.shape-2 {
|
|
width: 120px;
|
|
height: 120px;
|
|
top: 60%;
|
|
right: 15%;
|
|
animation-delay: 2s;
|
|
}
|
|
|
|
&.shape-3 {
|
|
width: 60px;
|
|
height: 60px;
|
|
bottom: 30%;
|
|
left: 20%;
|
|
animation-delay: 4s;
|
|
}
|
|
|
|
&.shape-4 {
|
|
width: 100px;
|
|
height: 100px;
|
|
top: 40%;
|
|
right: 30%;
|
|
animation-delay: 1s;
|
|
}
|
|
|
|
&.shape-5 {
|
|
width: 70px;
|
|
height: 70px;
|
|
bottom: 20%;
|
|
right: 10%;
|
|
animation-delay: 3s;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Grid Overlay
|
|
.grid-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-image:
|
|
linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
|
|
background-size: 50px 50px;
|
|
animation: gridMove 20s linear infinite;
|
|
}
|
|
|
|
// Gradient Orbs
|
|
.gradient-orb {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
filter: blur(100px);
|
|
opacity: 0.3;
|
|
animation: orbFloat 8s ease-in-out infinite;
|
|
|
|
&.orb-1 {
|
|
width: 300px;
|
|
height: 300px;
|
|
background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
|
|
top: 10%;
|
|
left: 10%;
|
|
animation-delay: 0s;
|
|
}
|
|
|
|
&.orb-2 {
|
|
width: 200px;
|
|
height: 200px;
|
|
background: radial-gradient(circle, #6366f1 0%, transparent 70%);
|
|
top: 60%;
|
|
right: 15%;
|
|
animation-delay: 3s;
|
|
}
|
|
|
|
&.orb-3 {
|
|
width: 250px;
|
|
height: 250px;
|
|
background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
|
|
bottom: 20%;
|
|
left: 50%;
|
|
animation-delay: 6s;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Main Content
|
|
.container {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.banner-content {
|
|
padding: 2rem 0;
|
|
|
|
// Status Badge
|
|
.status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
background: rgba(16, 185, 129, 0.1);
|
|
border: 1px solid rgba(16, 185, 129, 0.3);
|
|
color: #10b981;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 50px;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
margin-bottom: 2rem;
|
|
backdrop-filter: blur(10px);
|
|
|
|
.status-indicator {
|
|
width: 8px;
|
|
height: 8px;
|
|
background: #10b981;
|
|
border-radius: 50%;
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
}
|
|
|
|
// Main Title
|
|
.banner-title {
|
|
font-size: clamp(2.5rem, 5vw, 4rem);
|
|
font-weight: 700;
|
|
line-height: 1.1;
|
|
margin-bottom: 1.5rem;
|
|
background: linear-gradient(135deg,
|
|
var(--white) 0%,
|
|
rgba(255, 255, 255, 0.8) 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
font-family: var(--font-family-display);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
// Description
|
|
.banner-description {
|
|
font-size: 1.125rem;
|
|
line-height: 1.6;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
margin-bottom: 3rem;
|
|
max-width: 500px;
|
|
}
|
|
|
|
// Interactive Stats
|
|
.interactive-stats {
|
|
margin-bottom: 3rem;
|
|
|
|
.stats-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 1rem;
|
|
|
|
.stat-card {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 16px;
|
|
padding: 1.5rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
backdrop-filter: blur(10px);
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(135deg,
|
|
rgba(59, 130, 246, 0.1) 0%,
|
|
rgba(99, 102, 241, 0.1) 100%);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
&:hover,
|
|
&.active {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(59, 130, 246, 0.3);
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
|
|
|
|
&::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.stat-indicator {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.stat-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 1rem;
|
|
position: relative;
|
|
z-index: 1;
|
|
|
|
i {
|
|
font-size: 1.25rem;
|
|
color: var(--white);
|
|
}
|
|
}
|
|
|
|
.stat-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
|
|
.stat-number {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--white);
|
|
margin-bottom: 0.25rem;
|
|
font-family: var(--font-family-display);
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.875rem;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
text-transform: none;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
}
|
|
|
|
.stat-indicator {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
width: 8px;
|
|
height: 8px;
|
|
background: #3b82f6;
|
|
border-radius: 50%;
|
|
opacity: 0;
|
|
transform: scale(0);
|
|
transition: all 0.3s ease;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// CTA Buttons
|
|
.banner-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-bottom: 3rem;
|
|
flex-wrap: wrap;
|
|
|
|
.btn-primary,
|
|
.btn-secondary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 1rem 2rem;
|
|
border-radius: 12px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
font-size: 1rem;
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg,
|
|
transparent 0%,
|
|
rgba(255, 255, 255, 0.2) 50%,
|
|
transparent 100%);
|
|
transition: left 0.6s ease;
|
|
}
|
|
|
|
&:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
i {
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
&:hover i {
|
|
transform: translateX(4px);
|
|
}
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
|
|
color: var(--white);
|
|
border: none;
|
|
|
|
&:hover {
|
|
background: linear-gradient(135deg, #2563eb 0%, #5b21b6 100%);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
|
|
}
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: transparent;
|
|
color: var(--white);
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
|
|
&:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(255, 255, 255, 0.5);
|
|
transform: translateY(-2px);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Trust Indicators
|
|
.trust-indicators {
|
|
display: flex;
|
|
gap: 2rem;
|
|
flex-wrap: wrap;
|
|
|
|
.trust-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 0.875rem;
|
|
|
|
i {
|
|
color: #10b981;
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Banner Visual
|
|
.banner-visual {
|
|
position: relative;
|
|
height: 600px;
|
|
|
|
.image-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 24px;
|
|
overflow: hidden;
|
|
box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
|
|
|
|
.image-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
.main-image {
|
|
object-fit: cover;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.image-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(135deg,
|
|
rgba(59, 130, 246, 0.1) 0%,
|
|
rgba(99, 102, 241, 0.1) 100%);
|
|
}
|
|
}
|
|
|
|
&:hover .main-image {
|
|
transform: scale(1.05);
|
|
}
|
|
}
|
|
|
|
// Floating Cards
|
|
.floating-cards {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
pointer-events: none;
|
|
|
|
.floating-card {
|
|
position: absolute;
|
|
background: rgba(255, 255, 255, 0.95);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 16px;
|
|
padding: 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
|
|
animation: cardFloat 6s ease-in-out infinite;
|
|
|
|
.card-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
i {
|
|
font-size: 1rem;
|
|
color: var(--white);
|
|
}
|
|
}
|
|
|
|
.card-content {
|
|
.card-title {
|
|
font-size: 0.75rem;
|
|
color: #64748b;
|
|
text-transform: none;
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.card-value {
|
|
font-size: 1.125rem;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
font-family: var(--font-family-display);
|
|
}
|
|
}
|
|
|
|
&.card-1 {
|
|
top: 10%;
|
|
right: -20px;
|
|
animation-delay: 0s;
|
|
}
|
|
|
|
&.card-2 {
|
|
top: 50%;
|
|
left: -20px;
|
|
animation-delay: 2s;
|
|
}
|
|
|
|
&.card-3 {
|
|
bottom: 20%;
|
|
right: -20px;
|
|
animation-delay: 4s;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Tech Stack
|
|
.tech-stack {
|
|
position: absolute;
|
|
bottom: 1rem;
|
|
left: 1rem;
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
|
|
.tech-item {
|
|
width: 40px;
|
|
height: 40px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s ease;
|
|
|
|
&:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
i {
|
|
font-size: 1.25rem;
|
|
color: var(--white);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Social Links
|
|
.social-links {
|
|
position: absolute;
|
|
right: 2rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
z-index: 3;
|
|
|
|
.social-link {
|
|
width: 48px;
|
|
height: 48px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--white);
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
|
|
&:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
transform: translateY(-2px);
|
|
color: var(--white);
|
|
}
|
|
|
|
i {
|
|
font-size: 1.125rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Animations
|
|
@keyframes float {
|
|
0%, 100% {
|
|
transform: translateY(0px) rotate(0deg);
|
|
}
|
|
50% {
|
|
transform: translateY(-20px) rotate(180deg);
|
|
}
|
|
}
|
|
|
|
@keyframes gridMove {
|
|
0% {
|
|
transform: translate(0, 0);
|
|
}
|
|
100% {
|
|
transform: translate(50px, 50px);
|
|
}
|
|
}
|
|
|
|
@keyframes orbFloat {
|
|
0%, 100% {
|
|
transform: translateY(0px) scale(1);
|
|
}
|
|
50% {
|
|
transform: translateY(-30px) scale(1.1);
|
|
}
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
50% {
|
|
opacity: 0.5;
|
|
transform: scale(1.2);
|
|
}
|
|
}
|
|
|
|
@keyframes cardFloat {
|
|
0%, 100% {
|
|
transform: translateY(0px);
|
|
}
|
|
50% {
|
|
transform: translateY(-10px);
|
|
}
|
|
}
|
|
|
|
// Responsive Design
|
|
@media (max-width: 768px) {
|
|
.modern-banner {
|
|
min-height: auto;
|
|
padding: 4rem 0;
|
|
|
|
.banner-content {
|
|
text-align: center;
|
|
padding: 1rem 0;
|
|
|
|
.banner-title {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.banner-description {
|
|
font-size: 1rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.interactive-stats {
|
|
margin-bottom: 2rem;
|
|
|
|
.stats-container {
|
|
grid-template-columns: 1fr;
|
|
gap: 0.75rem;
|
|
|
|
.stat-card {
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.banner-actions {
|
|
justify-content: center;
|
|
margin-bottom: 2rem;
|
|
|
|
.btn-primary,
|
|
.btn-secondary {
|
|
padding: 0.875rem 1.5rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
.trust-indicators {
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
|
|
.trust-item {
|
|
font-size: 0.8rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.banner-visual {
|
|
height: 400px;
|
|
margin-top: 2rem;
|
|
|
|
.floating-cards {
|
|
.floating-card {
|
|
padding: 0.75rem;
|
|
|
|
.card-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
|
|
i {
|
|
font-size: 0.875rem;
|
|
}
|
|
}
|
|
|
|
.card-content {
|
|
.card-title {
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.card-value {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
&.card-1 {
|
|
top: 5%;
|
|
right: -10px;
|
|
}
|
|
|
|
&.card-2 {
|
|
top: 60%;
|
|
left: -10px;
|
|
}
|
|
|
|
&.card-3 {
|
|
bottom: 10%;
|
|
right: -10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.tech-stack {
|
|
bottom: 0.5rem;
|
|
left: 0.5rem;
|
|
|
|
.tech-item {
|
|
width: 32px;
|
|
height: 32px;
|
|
|
|
i {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.social-links {
|
|
position: static;
|
|
transform: none;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
margin-top: 2rem;
|
|
|
|
.social-link {
|
|
width: 40px;
|
|
height: 40px;
|
|
|
|
i {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.modern-banner {
|
|
padding: 3rem 0;
|
|
|
|
.banner-content {
|
|
.banner-title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.banner-description {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.interactive-stats {
|
|
.stats-container {
|
|
.stat-card {
|
|
padding: 0.75rem;
|
|
|
|
.stat-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
margin-bottom: 0.75rem;
|
|
|
|
i {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
.stat-content {
|
|
.stat-number {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.8rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.banner-actions {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
.btn-primary,
|
|
.btn-secondary {
|
|
width: 100%;
|
|
max-width: 280px;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.trust-indicators {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
}
|
|
|
|
.banner-visual {
|
|
height: 300px;
|
|
}
|
|
}
|
|
}
|