2025-12-12 13:15:44 +05:30

234 lines
4.2 KiB
CSS

.header {
text-align: center;
max-width: 800px;
margin: 0 auto 4rem;
}
.badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: var(--background-secondary);
border-radius: 2rem;
font-size: 0.9rem;
font-weight: 600;
margin-bottom: 1.5rem;
color: var(--primary);
}
.title {
font-size: clamp(2rem, 4vw, 3rem);
margin-bottom: 1rem;
color: var(--foreground);
}
.subtitle {
font-size: 1.1rem;
color: var(--foreground-secondary);
line-height: 1.6;
margin-bottom: 2rem;
}
.toggle {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
font-weight: 600;
color: var(--foreground-secondary);
}
.toggleButton {
position: relative;
width: 60px;
height: 30px;
background: var(--background-secondary);
border: none;
border-radius: 2rem;
cursor: pointer;
transition: all 0.3s ease;
}
.toggleSlider {
position: absolute;
top: 3px;
left: 3px;
width: 24px;
height: 24px;
background: var(--gradient-primary);
border-radius: 50%;
transition: all 0.3s ease;
}
.toggleSlider.annual {
transform: translateX(30px);
}
.active {
color: var(--primary);
}
.saveBadge {
display: inline-block;
margin-left: 0.5rem;
padding: 0.25rem 0.5rem;
background: var(--gradient-primary);
color: white;
border-radius: 0.5rem;
font-size: 0.75rem;
font-weight: 700;
}
.pricingGrid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
margin-bottom: 3rem;
}
@media (min-width: 768px) {
.pricingGrid {
grid-template-columns: repeat(3, 1fr);
}
}
.pricingCard {
background: var(--card-bg);
border-radius: var(--radius-2xl);
padding: 2.5rem;
box-shadow: var(--shadow-md);
transition: all 0.3s ease;
border: 2px solid var(--border-color);
position: relative;
animation: fadeIn 0.6s ease-out forwards;
display: flex;
flex-direction: column;
}
.pricingCard:hover {
transform: translateY(-10px);
box-shadow: var(--shadow-xl);
}
.pricingCard.popular {
border-color: var(--primary);
background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}
.pricingCard.popular:hover {
box-shadow: var(--shadow-xl), var(--shadow-glow);
}
.popularBadge {
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
background: var(--gradient-primary);
color: white;
padding: 0.5rem 1.5rem;
border-radius: 2rem;
font-size: 0.85rem;
font-weight: 700;
box-shadow: var(--shadow-md);
}
.planHeader {
margin-bottom: 2rem;
}
.planName {
font-size: 1.75rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: var(--foreground);
font-family: var(--font-display);
}
.planDescription {
color: var(--foreground-secondary);
font-size: 0.95rem;
}
.priceSection {
margin-bottom: 2rem;
}
.price {
display: flex;
align-items: baseline;
gap: 0.25rem;
margin-bottom: 0.5rem;
}
.currency {
font-size: 1.5rem;
font-weight: 700;
color: var(--foreground-secondary);
}
.amount {
font-size: 3.5rem;
font-weight: 700;
color: var(--foreground);
font-family: var(--font-display);
line-height: 1;
}
.period {
font-size: 1rem;
color: var(--foreground-secondary);
}
.billedAnnually {
font-size: 0.85rem;
color: var(--foreground-secondary);
}
.ctaButton {
width: 100%;
margin-top: auto;
}
.features {
display: flex;
flex-direction: column;
gap: 1rem;
flex-grow: 1;
margin-bottom: 2rem;
}
.feature {
display: flex;
align-items: flex-start;
gap: 0.75rem;
color: var(--foreground-secondary);
font-size: 0.95rem;
}
.checkIcon {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
background: var(--gradient-primary);
color: white;
border-radius: 50%;
font-size: 0.75rem;
font-weight: 700;
flex-shrink: 0;
}
.guarantee {
text-align: center;
padding: 2rem;
background: var(--background-secondary);
border-radius: var(--radius-xl);
color: var(--foreground);
}
.guarantee strong {
color: var(--primary);
}