SSC / frontend /src /pages /home.module.css
Axit Dagara
first commit
b996603
Raw History Blame Contribute Delete
3.53 kB
.home {
background: #f2f8f7;
}
.hero {
background:
radial-gradient(circle at 12% 20%, rgba(255, 180, 43, 0.28), transparent 40%),
radial-gradient(circle at 85% 10%, rgba(20, 168, 139, 0.3), transparent 35%),
linear-gradient(130deg, #113e37 0%, #0d2f2a 100%);
color: white;
padding: 80px 20px;
text-align: center;
}
.heroContent h1 {
font-size: clamp(42px, 6vw, 64px);
margin-bottom: 16px;
font-weight: bold;
letter-spacing: 0.5px;
}
.heroContent p {
font-size: 19px;
margin-bottom: 32px;
opacity: 0.92;
}
.buttons {
display: flex;
gap: 16px;
justify-content: center;
flex-wrap: wrap;
}
.primaryBtn,
.secondaryBtn {
padding: 12px 30px;
border-radius: 999px;
text-decoration: none;
font-weight: 700;
font-size: 16px;
transition: all 0.3s;
}
.primaryBtn {
background-color: #ffb63a;
color: #143730;
}
.primaryBtn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.secondaryBtn {
border: 2px solid rgba(255, 255, 255, 0.7);
color: white;
background-color: transparent;
}
.secondaryBtn:hover {
background-color: rgba(255, 255, 255, 0.1);
}
/* Features Section */
.features {
padding: 80px 20px;
background-color: #f7fcfb;
}
.features h2 {
text-align: center;
font-size: 36px;
margin-bottom: 50px;
color: #153b35;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.featureGrid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.featureCard {
background-color: #ffffff;
padding: 30px;
border-radius: 14px;
border: 1px solid #dbece7;
box-shadow: 0 8px 22px rgba(20, 61, 55, 0.08);
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
}
.featureCard:hover {
transform: translateY(-4px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.icon {
font-size: 40px;
margin-bottom: 16px;
}
.featureCard h3 {
margin-bottom: 12px;
color: #1c433d;
}
.featureCard p {
color: #5a7671;
font-size: 14px;
}
/* Pricing Section */
.pricing {
padding: 80px 20px;
background-color: #edf6f4;
}
.pricing h2 {
text-align: center;
font-size: 36px;
margin-bottom: 50px;
color: #153b35;
}
.pricingGrid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
max-width: 900px;
margin: 0 auto;
}
.priceCard {
background: white;
padding: 30px;
border-radius: 14px;
text-align: center;
border: 1px solid #dbece7;
box-shadow: 0 8px 22px rgba(20, 61, 55, 0.08);
transition: all 0.3s;
}
.priceCard:hover {
transform: translateY(-4px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.priceCard.premium {
border-color: #ffb645;
background: linear-gradient(135deg, rgba(255, 187, 74, 0.09), rgba(24, 164, 139, 0.08));
}
.priceCard h3 {
margin-bottom: 16px;
font-size: 24px;
color: #1d433d;
}
.price {
font-size: 36px;
font-weight: bold;
color: #0f7f69;
margin-bottom: 24px;
}
.price span {
font-size: 16px;
color: #5f6368;
}
.priceCard ul {
list-style: none;
margin-bottom: 30px;
text-align: left;
}
.priceCard li {
padding: 8px 0;
color: #5a7671;
border-bottom: 1px solid #e1ece9;
}
.upgradeBtn {
display: inline-block;
background: linear-gradient(135deg, #f4a625 0%, #d07b00 100%);
color: white;
padding: 12px 32px;
border-radius: 999px;
text-decoration: none;
font-weight: 700;
transition: all 0.3s;
}
.upgradeBtn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}