Updated Landing Page

This commit is contained in:
Utkarsh-Singhal-26
2025-08-25 11:09:54 +05:30
parent b0ef547816
commit 7133425258
12 changed files with 1977 additions and 422 deletions

View File

@@ -10,51 +10,102 @@
flex-direction: row;
align-items: center;
justify-content: space-between;
height: 100%;
height: 100dvh;
max-width: calc(1200px + 6em);
margin: 0 auto;
padding: 0 4em;
margin-top: 250px;
z-index: 10;
}
.landing-title {
text-align: center;
user-select: none;
white-space: nowrap !important;
font-size: 3.6rem;
font-weight: 500;
font-size: 5rem;
font-weight: 400;
position: relative;
z-index: 6;
color: #fff;
margin-bottom: 1rem;
margin-bottom: 3rem;
max-width: 22ch;
letter-spacing: -3px;
line-height: 1;
text-shadow:
0 0 2px rgba(255, 255, 255, 0.1),
0 0 4px rgba(255, 255, 255, 0.3),
0 0 8px rgba(255, 255, 255, 0.4),
0 0 8px rgba(255, 255, 255, 0.2),
0 0 136px rgba(60, 255, 79, 0.4);
}
.landing-subtitle {
user-select: none;
text-align: center;
overflow: visible !important;
font-size: 1.2rem;
text-align: left !important;
font-size: 1.4rem;
font-weight: 300;
line-height: 1.2;
color: #a7ef9e;
max-width: 30ch;
margin-bottom: 2rem;
text-shadow:
0 0 2px rgba(255, 255, 255, 0.1),
0 0 4px rgba(255, 255, 255, 0.3),
0 0 8px rgba(255, 255, 255, 0.4),
0 0 136px rgba(60, 255, 79, 0.8);
line-height: 1.6;
color: #ccc;
max-width: 40ch;
margin-bottom: 1.5rem;
z-index: 6;
}
.landing-gradient-blur {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
aspect-ratio: 1;
height: 1200px;
}
.hero-new-badge-container {
display: flex;
align-items: center;
gap: 0.8rem;
border: 1px solid rgba(255, 255, 255, 0.07);
background: rgba(255, 255, 255, 0.01);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
padding: 0.6em 0.8em 0.6em 0.6em;
border-radius: 50px;
margin-bottom: 1.5rem;
color: #ccc;
z-index: 6;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-tag-fade {
position: relative;
z-index: 8;
}
.hero-new-badge {
font-size: 14px;
background: #3aef43;
padding: 0.2em 0.8em;
border-radius: 50px;
color: black;
}
.hero-new-badge-text {
display: flex;
align-items: center;
gap: 0.4em;
}
.hero-new-badge-container:hover {
box-shadow:
0 0 60px rgba(58, 237, 112, 0.4),
0 0 120px rgba(92, 246, 138, 0.35),
0 0 180px rgba(40, 217, 64, 0.3),
0 12px 40px rgba(0, 0, 0, 0.6);
transform: translateY(-4px) scale(1.01);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
animation-duration: 1.5s;
}
.hero-split {
white-space: nowrap !important;
overflow: visible !important;
@@ -62,34 +113,35 @@
.landing-button {
position: relative;
background: linear-gradient(135deg, rgb(30, 160, 63), rgba(24, 47, 255, 0.6));
background: linear-gradient(135deg, rgb(30, 160, 63), rgba(24, 47, 255, 1));
background-size: 200% 200%;
font-weight: 600;
font-size: 1.1rem;
font-weight: 500;
font-size: 1rem;
border-radius: 50px;
border: none;
padding: 1rem 1rem 1rem 2.5rem;
letter-spacing: -0.2px;
height: 55px;
padding: 0 2em 0 2em;
color: white;
cursor: pointer;
isolation: isolate;
z-index: 15;
box-shadow:
0 0 40px rgba(58, 237, 112, 0.4),
0 0 80px rgba(92, 246, 138, 0.3),
0 8px 32px rgba(0, 0, 0, 0.3);
0 0 40px rgba(58, 237, 112, 0.1),
0 0 80px rgba(92, 246, 138, 0.1),
0 8px 32px rgba(0, 0, 0, 0.1);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
animation: glow-pulse 3s ease-in-out infinite alternate;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
letter-spacing: 0.5px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1.6rem;
gap: 0.8rem;
}
.button-arrow-circle {
display: flex;
display: none;
align-items: center;
justify-content: center;
width: 38px;
@@ -105,7 +157,6 @@
.landing-button:hover .button-arrow-circle {
background: rgba(255, 255, 255, 1);
transform: translateX(4px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@@ -300,118 +351,10 @@
.hero-main-content {
flex: 1;
display: flex;
flex-direction: column;
align-items: flex-start;
max-width: 60%;
}
.hero-cards-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2.4rem;
max-width: 40%;
margin-left: 0.6rem;
}
.hero-cards-row {
display: flex;
gap: 2.4rem;
}
.hero-glitch {
mix-blend-mode: screen;
border-radius: 30px !important;
}
.hero-dot-grid {
overflow: hidden !important;
transform: translateY(5px) translateX(5px);
}
.hero-metaballs {
mix-blend-mode: screen;
opacity: 1;
}
.hero-falling-text .falling-text-canvas {
width: 100% !important;
height: 100% !important;
}
.hero-lines {
width: 100% !important;
height: 100% !important;
}
.hero-card {
width: 200px;
height: 200px;
background: linear-gradient(135deg, rgba(58, 237, 109, 0.2), rgba(40, 217, 72, 0.2));
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 30px;
box-shadow:
0 30px 100px rgba(0, 16, 5, 0.95),
0 20px 70px rgba(0, 16, 5, 0.9),
0 15px 50px rgba(0, 16, 5, 0.8),
0 10px 30px rgba(0, 16, 7, 0.7),
0 8px 32px rgba(58, 237, 121, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
cursor: pointer;
opacity: 0;
}
.hero-card-1 {
animation: fadeInUpRotate1 0.8s ease-out forwards;
animation-delay: 0.2s;
transform: translateY(0) scale(1) rotate(-13deg);
}
.hero-card-2 {
animation: fadeInUpRotate2 0.8s ease-out forwards;
animation-delay: 0.4s;
transform: translateY(0) scale(1) rotate(10deg);
}
.hero-card-3 {
animation: fadeInUpRotate3 0.8s ease-out forwards;
animation-delay: 0.6s;
transform: translateY(0) scale(1) rotate(-5deg);
}
.hero-card:hover {
filter: grayscale(50%);
box-shadow:
0 50px 140px rgba(0, 16, 5, 0.98),
0 35px 100px rgba(0, 16, 4, 0.95),
0 25px 70px rgba(0, 16, 4, 0.9),
0 15px 50px rgba(0, 16, 4, 0.8),
0 12px 40px rgba(58, 237, 115, 0.6),
inset 0 1px 0 rgba(255, 255, 255, 0.3);
backdrop-filter: blur(25px);
-webkit-backdrop-filter: blur(25px);
}
.hero-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}
.hero-card:hover::before {
left: 100%;
max-width: 100%;
}
@media (max-width: 1440px) {
@@ -422,10 +365,6 @@
.landing-subtitle {
font-size: 1.3rem;
}
.landing-content {
margin-top: 250px;
}
}
@media (max-width: 1366px) {
@@ -436,10 +375,6 @@
.landing-subtitle {
font-size: 1.2rem;
}
.landing-content {
margin-top: 250px;
}
}
@media (max-width: 1200px) {
@@ -450,10 +385,6 @@
.landing-subtitle {
font-size: 1.1rem;
}
.landing-content {
margin-top: 250px;
}
}
@media (max-width: 1100px) {
@@ -464,10 +395,6 @@
.landing-subtitle {
font-size: 1rem;
}
.landing-content {
margin-top: 250px;
}
}
@media (max-width: 1024px) {
@@ -480,58 +407,14 @@
}
.landing-content {
margin-top: 300px;
margin-top: 250px;
height: auto;
padding: 0 2em;
max-width: calc(1200px + 2em);
flex-direction: column;
align-items: center;
}
.hero-main-content {
max-width: 100%;
align-items: center;
text-align: center;
margin-bottom: 2rem;
}
.hero-cards-container {
max-width: 100%;
width: 100%;
margin-left: 0;
margin-top: 2rem;
flex-direction: row;
gap: 1.5rem;
justify-content: space-between;
}
.hero-cards-row {
display: contents;
}
.hero-card {
flex: 1;
height: 120px;
max-width: calc(33.333% - 1rem);
}
.hero-card-1 {
animation: fadeInUpMobileRotate1 0.8s ease-out forwards;
animation-delay: 0.2s;
transform: translateY(0) scale(1) rotate(-13deg);
}
.hero-card-2 {
animation: fadeInUpMobileRotate2 0.8s ease-out forwards;
animation-delay: 0.4s;
transform: translateY(0) scale(1) rotate(10deg);
}
.hero-card-3 {
animation: fadeInUpMobileRotate3 0.8s ease-out forwards;
animation-delay: 0.6s;
transform: translateY(0) scale(1) rotate(-5deg);
}
.landing-wrapper > div[style*='position: absolute'][style*='width: 100vw'][style*='height: 100vh'] {
opacity: 0.7;
}
@@ -546,10 +429,6 @@
font-size: 0.9rem;
text-align: center !important;
}
.landing-content {
margin-top: 290px;
}
}
@media (max-width: 900px) {
@@ -562,10 +441,6 @@
text-align: center !important;
}
.landing-content {
margin-top: 280px;
}
.landing-wrapper::before {
width: 100px;
}
@@ -583,10 +458,6 @@
.landing-subtitle {
font-size: 0.8rem;
}
.landing-content {
margin-top: 270px;
}
}
@media (max-width: 768px) {
@@ -599,7 +470,7 @@
.landing-subtitle {
font-size: 0.75rem;
text-align: center !important;
max-width: 100%;
max-width: 80%;
}
.landing-content {
@@ -609,7 +480,7 @@
}
.landing-button {
padding: 0.8rem 0.8rem 0.8rem 1.8rem;
padding: 0 2em 0 2em;
font-size: 1rem;
gap: 1.2rem;
}
@@ -619,41 +490,6 @@
height: 32px;
}
.hero-cards-container {
flex-direction: row;
gap: 1.2rem;
width: 100%;
justify-content: space-between;
}
.hero-cards-row {
display: contents;
}
.hero-card {
flex: 1;
height: 120px;
max-width: calc(33.333% - 0.8rem);
}
.hero-card-1 {
animation: fadeInUpMobileRotate1 0.8s ease-out forwards;
animation-delay: 0.2s;
transform: translateY(0) scale(1) rotate(-13deg);
}
.hero-card-2 {
animation: fadeInUpMobileRotate2 0.8s ease-out forwards;
animation-delay: 0.4s;
transform: translateY(0) scale(1) rotate(10deg);
}
.hero-card-3 {
animation: fadeInUpMobileRotate3 0.8s ease-out forwards;
animation-delay: 0.6s;
transform: translateY(0) scale(1) rotate(-5deg);
}
.landing-wrapper > div[style*='position: absolute'][style*='width: 100vw'][style*='height: 100vh'] {
opacity: 0.5;
}
@@ -670,7 +506,7 @@
.landing-subtitle {
font-size: 1rem;
text-align: center !important;
max-width: 100%;
max-width: 80%;
}
.landing-content {
@@ -689,7 +525,7 @@
.landing-subtitle {
text-align: center !important;
max-width: 100%;
max-width: 80%;
}
.landing-content {
@@ -708,7 +544,7 @@
.landing-subtitle {
text-align: center !important;
max-width: 100%;
max-width: 80%;
}
.landing-content {
@@ -727,7 +563,7 @@
.landing-subtitle {
text-align: center !important;
max-width: 100%;
max-width: 80%;
}
.landing-content {
@@ -746,7 +582,7 @@
.landing-subtitle {
text-align: center !important;
max-width: 100%;
max-width: 80%;
}
.landing-content {
@@ -756,7 +592,7 @@
}
.landing-button {
padding: 0.7rem 0.7rem 0.7rem 1.5rem;
padding: 0 2em 0 2em;
font-size: 0.95rem;
gap: 1rem;
}
@@ -766,41 +602,6 @@
height: 28px;
}
.hero-cards-container {
flex-direction: row;
gap: 1rem;
width: 100%;
justify-content: space-between;
}
.hero-cards-row {
display: contents;
}
.hero-card {
flex: 1;
height: 120px;
max-width: calc(33.333% - 0.666rem);
}
.hero-card-1 {
animation: fadeInUpMobileRotate1 0.8s ease-out forwards;
animation-delay: 0.2s;
transform: translateY(0) scale(1) rotate(-13deg);
}
.hero-card-2 {
animation: fadeInUpMobileRotate2 0.8s ease-out forwards;
animation-delay: 0.4s;
transform: translateY(0) scale(1) rotate(10deg);
}
.hero-card-3 {
animation: fadeInUpMobileRotate3 0.8s ease-out forwards;
animation-delay: 0.6s;
transform: translateY(0) scale(1) rotate(-5deg);
}
.landing-wrapper > div[style*='position: absolute'][style*='width: 100vw'][style*='height: 100vh'] {
opacity: 0.3;
}
@@ -816,7 +617,7 @@
.landing-subtitle {
text-align: center !important;
max-width: 100%;
max-width: 80%;
}
.landing-content {
@@ -836,7 +637,7 @@
.landing-subtitle {
text-align: center !important;
max-width: 100%;
max-width: 80%;
}
.landing-content {
@@ -856,7 +657,7 @@
.landing-subtitle {
text-align: center !important;
max-width: 100%;
max-width: 80%;
}
.landing-content {
@@ -866,7 +667,7 @@
}
.landing-button {
padding: 0.6rem 0.6rem 0.6rem 1.2rem;
padding: 0 2em 0 2em;
font-size: 0.9rem;
gap: 0.8rem;
}