SocialShare / frontend /src /components /home /NewsletterSignup.css
NitinBot002's picture
Initial commit with all project files
f4854a1
/* Newsletter Section */
.newsletter {
position: relative;
padding: 5rem 0;
background: linear-gradient(135deg, var(--color-secondary-900), var(--color-secondary-700), var(--color-primary-800));
overflow: hidden;
}
.newsletter__bg {
position: absolute;
inset: 0;
}
.newsletter__orb {
position: absolute;
border-radius: 50%;
filter: blur(80px);
}
.newsletter__orb--1 {
width: 300px;
height: 300px;
background: rgba(15, 76, 129, 0.2);
top: -50px;
right: -50px;
}
.newsletter__orb--2 {
width: 250px;
height: 250px;
background: rgba(0, 169, 157, 0.2);
bottom: -50px;
left: -50px;
}
.newsletter__content {
position: relative;
z-index: 1;
text-align: center;
max-width: 600px;
margin: 0 auto;
}
.newsletter__icon-wrap {
display: inline-flex;
align-items: center;
justify-content: center;
width: 64px;
height: 64px;
background: rgba(255, 255, 255, 0.1);
border-radius: var(--radius-lg);
color: var(--color-primary-200);
margin-bottom: 1.5rem;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.newsletter__title {
font-size: 2rem;
font-weight: 800;
color: white;
margin-bottom: 0.75rem;
}
.newsletter__subtitle {
font-size: 1rem;
color: rgba(255, 255, 255, 0.7);
line-height: 1.7;
margin-bottom: 2rem;
}
.newsletter__form {
display: flex;
gap: 0.75rem;
max-width: 500px;
margin: 0 auto 1rem;
}
.newsletter__input-wrap {
flex: 1;
position: relative;
}
.newsletter__input-icon {
position: absolute;
left: 1rem;
top: 50%;
transform: translateY(-50%);
color: var(--color-neutral-400);
font-size: 1.1rem;
}
.newsletter__input {
width: 100%;
padding: 0.85rem 1rem 0.85rem 2.75rem;
background: rgba(255, 255, 255, 0.95);
border: 2px solid transparent;
border-radius: var(--radius-full);
font-size: 0.95rem;
color: var(--color-neutral-800);
transition: all 0.3s ease;
}
.newsletter__input:focus {
border-color: var(--color-primary-400);
box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.2);
}
.newsletter__btn {
padding: 0.85rem 1.75rem;
background: linear-gradient(135deg, var(--color-secondary-500), var(--color-secondary-600));
color: white;
font-weight: 600;
font-size: 0.95rem;
border-radius: var(--radius-full);
white-space: nowrap;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.newsletter__btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(15, 76, 129, 0.35);
}
.newsletter__btn--success {
background: linear-gradient(135deg, var(--color-success), #059669);
}
.newsletter__privacy {
font-size: 0.78rem;
color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 640px) {
.newsletter__form {
flex-direction: column;
}
.newsletter__title {
font-size: 1.5rem;
}
}