488 lines
8.3 KiB
CSS
488 lines
8.3 KiB
CSS
.heroSection {
|
|
position: relative;
|
|
padding: 8rem 0 4rem;
|
|
/* Top padding for fixed navbar */
|
|
/* Stronger Pastel Gradient for differentiation */
|
|
background: linear-gradient(135deg, #fce7f3 0%, #e0f2fe 100%);
|
|
overflow: hidden;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Background Abstract Circles */
|
|
.heroBackground {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
.circleBg1 {
|
|
position: absolute;
|
|
width: 600px;
|
|
height: 600px;
|
|
background: radial-gradient(circle, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
|
|
top: -10%;
|
|
left: -10%;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.circleBg2 {
|
|
position: absolute;
|
|
width: 700px;
|
|
height: 700px;
|
|
background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
|
|
bottom: -10%;
|
|
right: -10%;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.container {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 100%;
|
|
}
|
|
|
|
.contentWrapper {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 4rem;
|
|
align-items: center;
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.contentWrapper {
|
|
grid-template-columns: 1.1fr 0.9fr;
|
|
gap: 2rem;
|
|
}
|
|
}
|
|
|
|
/* Left Content */
|
|
.leftContent {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
background: rgba(236, 72, 153, 0.1);
|
|
/* Light pink bg */
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 50px;
|
|
margin-bottom: 1.5rem;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.badge {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
|
|
.badgeLabel {
|
|
background: #6cb655;
|
|
/* Green like ref "NEW" */
|
|
color: white;
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: 4px;
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.badgeText {
|
|
font-size: 0.9rem;
|
|
color: #0f172a;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.title {
|
|
font-size: clamp(2.5rem, 5vw, 4rem);
|
|
line-height: 1.1;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
/* Dark text */
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.cursor {
|
|
display: inline-block;
|
|
width: 3px;
|
|
background: #3b82f6;
|
|
animation: blink 1s infinite;
|
|
}
|
|
|
|
@keyframes blink {
|
|
50% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.1rem;
|
|
color: #64748b;
|
|
margin-bottom: 3rem;
|
|
line-height: 1.6;
|
|
max-width: 500px;
|
|
}
|
|
|
|
/* Search Bar CTA */
|
|
.searchBarCta {
|
|
display: flex;
|
|
align-items: center;
|
|
background: white;
|
|
padding: 0.5rem;
|
|
border-radius: 12px;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
|
|
max-width: 500px;
|
|
margin-bottom: 3rem;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.inputGroup {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
padding-left: 1rem;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.searchIcon {
|
|
font-size: 1.2rem;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.searchInput {
|
|
width: 100%;
|
|
border: none;
|
|
outline: none;
|
|
font-size: 1rem;
|
|
color: #334155;
|
|
background: transparent;
|
|
}
|
|
|
|
.searchBtn {
|
|
background: #6cb655;
|
|
/* Green Button like Ref */
|
|
color: white;
|
|
border: none;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.searchBtn:hover {
|
|
background: #6cb655;
|
|
}
|
|
|
|
/* Trusted By */
|
|
.trustedBy p {
|
|
font-size: 0.9rem;
|
|
color: #64748b;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.trustedIcons {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.trustIcon {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
opacity: 0.8;
|
|
filter: grayscale(0%);
|
|
/* Keep colored like ref */
|
|
}
|
|
|
|
/* Right Content */
|
|
.rightContent {
|
|
position: relative;
|
|
height: 500px;
|
|
/* Adjust as needed */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.imageContainer {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.mainImageCircle {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1;
|
|
}
|
|
|
|
.heroImage {
|
|
max-height: 500px;
|
|
max-width: 100%;
|
|
height: auto;
|
|
object-fit: contain;
|
|
/* Clean, no shadow if image has its own transparency */
|
|
filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.08));
|
|
}
|
|
|
|
/* Floating Cards */
|
|
.floatCard {
|
|
position: absolute;
|
|
background: white;
|
|
border-radius: 16px;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
|
|
padding: 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
z-index: 2;
|
|
animation: float 4s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes float {
|
|
|
|
0%,
|
|
100% {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
50% {
|
|
transform: translateY(-10px);
|
|
}
|
|
}
|
|
|
|
/* Card 1: Congrats (Top Left / Top Center) */
|
|
.cardCongrats {
|
|
top: 10%;
|
|
left: 0;
|
|
animation-delay: 0s;
|
|
}
|
|
|
|
.cardIcon {
|
|
width: 40px;
|
|
height: 40px;
|
|
background: #fff1f2;
|
|
color: #f43f5e;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.cardText {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.cardText strong {
|
|
font-size: 0.9rem;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.cardText span {
|
|
font-size: 0.75rem;
|
|
color: #64748b;
|
|
}
|
|
|
|
.checkIcon {
|
|
width: 20px;
|
|
height: 20px;
|
|
background: #6cb655;
|
|
color: white;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
/* Card 2: Users (Bottom Right) */
|
|
.cardUsers {
|
|
bottom: 20%;
|
|
right: 0;
|
|
flex-direction: column;
|
|
/* Stacked layout like ref */
|
|
align-items: flex-start;
|
|
padding: 1.25rem;
|
|
animation-delay: 1.5s;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.userCount {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.userLabel {
|
|
font-size: 0.75rem;
|
|
font-weight: 400;
|
|
color: #64748b;
|
|
}
|
|
|
|
.userAvatars {
|
|
display: flex;
|
|
}
|
|
|
|
.avatar {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
background: #e2e8f0;
|
|
border: 2px solid white;
|
|
margin-left: -10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.avatar:first-child {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.addBtn {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
background: #f1f5f9;
|
|
color: #64748b;
|
|
border: 2px solid white;
|
|
margin-left: -10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Card 3: Message (Bottom Left) */
|
|
.cardMessage {
|
|
bottom: 10%;
|
|
left: 10%;
|
|
padding: 0.75rem 1rem;
|
|
animation-delay: 2.5s;
|
|
}
|
|
|
|
.msgAvatar {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
background: #bfdbfe;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.msgText span {
|
|
font-size: 0.75rem;
|
|
color: #64748b;
|
|
display: block;
|
|
}
|
|
|
|
.msgText p {
|
|
font-size: 0.85rem;
|
|
color: #0f172a;
|
|
font-weight: 500;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Dots */
|
|
.sliderDots {
|
|
position: absolute;
|
|
bottom: 2rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background: #cbd5e1;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.activeDot {
|
|
width: 30px;
|
|
border-radius: 5px;
|
|
background: #3b82f6;
|
|
/* Blue active dot */
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
.searchBarCta {
|
|
flex-direction: column;
|
|
padding: 0.75rem;
|
|
gap: 1rem;
|
|
height: auto;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.inputGroup {
|
|
width: 100%;
|
|
padding-left: 0.5rem;
|
|
}
|
|
|
|
.searchBtn {
|
|
width: 100%;
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
/* Existing Responsive */
|
|
@media (max-width: 1024px) {
|
|
.contentWrapper {
|
|
grid-template-columns: 1fr;
|
|
text-align: center;
|
|
}
|
|
|
|
.leftContent {
|
|
align-items: center;
|
|
}
|
|
|
|
.searchBarCta {
|
|
margin: 0 auto 3rem;
|
|
}
|
|
|
|
.rightContent {
|
|
display: none;
|
|
/* Hide complex image on tablet/mobile if needed, or simply scale it */
|
|
}
|
|
|
|
.title {
|
|
font-size: 2.5rem;
|
|
}
|
|
} |