GrantForge Bot
Deploy to Hugging Face
afd56bc
/* ─── Pricing Page ─────────────────────────────────────────────────────────── */
.pricing-page {
max-width: 1200px;
margin: 0 auto;
padding: 2rem 1.5rem 4rem;
opacity: 0;
transform: translateY(16px);
transition: opacity 0.5s ease, transform 0.5s ease;
overflow-y: auto;
height: 100%;
}
.pricing-page--visible {
opacity: 1;
transform: translateY(0);
}
/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.pricing-hero {
text-align: center;
padding: 2.5rem 0 2rem;
}
.pricing-hero-badge {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.4rem 1rem;
background: rgba(59, 130, 246, 0.1);
border: 1px solid rgba(59, 130, 246, 0.25);
border-radius: 100px;
font-size: 0.8rem;
color: var(--accent-blue);
font-weight: 500;
margin-bottom: 1.5rem;
animation: fadeSlideDown 0.6s ease both;
}
.pricing-title {
font-family: var(--font-display);
font-size: clamp(2rem, 5vw, 3.2rem);
font-weight: 800;
line-height: 1.1;
margin-bottom: 1rem;
animation: fadeSlideDown 0.6s 0.1s ease both;
}
.pricing-title-gradient {
background: linear-gradient(135deg, #3B82F6, #8B5CF6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.pricing-subtitle {
color: var(--text-secondary);
font-size: 1rem;
line-height: 1.7;
max-width: 560px;
margin: 0 auto 2rem;
animation: fadeSlideDown 0.6s 0.15s ease both;
}
/* ─── Billing Toggle ─────────────────────────────────────────────────────────── */
.pricing-billing-toggle {
display: inline-flex;
align-items: center;
gap: 0.75rem;
font-size: 0.9rem;
color: var(--text-secondary);
animation: fadeSlideDown 0.6s 0.2s ease both;
}
.pricing-billing-toggle .active {
color: var(--text-primary);
font-weight: 600;
}
.pricing-toggle-btn {
width: 44px;
height: 24px;
border-radius: 100px;
background: rgba(255, 255, 255, 0.08);
border: 1px solid var(--border-strong);
cursor: pointer;
position: relative;
transition: background 0.25s;
}
.pricing-toggle-btn--on {
background: linear-gradient(135deg, #3B82F6, #8B5CF6);
border-color: transparent;
}
.pricing-toggle-knob {
position: absolute;
width: 18px;
height: 18px;
background: #fff;
border-radius: 50%;
top: 2px;
left: 2px;
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.pricing-toggle-btn--on .pricing-toggle-knob {
transform: translateX(20px);
}
.pricing-discount-badge {
display: inline-block;
padding: 0.15rem 0.45rem;
background: rgba(16, 185, 129, 0.15);
color: var(--accent-green);
border-radius: 4px;
font-size: 0.75rem;
font-weight: 700;
}
/* ─── Plan Cards ─────────────────────────────────────────────────────────────── */
.pricing-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
margin: 2.5rem auto;
align-items: stretch;
}
@media (max-width: 900px) {
.pricing-cards {
grid-template-columns: 1fr;
max-width: 520px;
margin-left: auto;
margin-right: auto;
}
}
.pricing-card {
background: var(--bg-elevated);
border: 1px solid var(--border-subtle);
border-radius: 16px;
padding: 1.75rem;
position: relative;
transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
animation: fadeSlideUp 0.6s ease both;
}
.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }
.pricing-card:hover {
transform: translateY(-4px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
border-color: var(--border-strong);
}
.pricing-card--popular {
border-color: rgba(59, 130, 246, 0.4);
background: linear-gradient(135deg,
rgba(59, 130, 246, 0.06) 0%,
rgba(139, 92, 246, 0.04) 100%
);
box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 8px 30px rgba(59, 130, 246, 0.1);
}
.pricing-card--popular:hover {
border-color: rgba(59, 130, 246, 0.6);
box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.3), 0 20px 50px rgba(59, 130, 246, 0.2);
}
.pricing-card--enterprise {
border-color: rgba(139, 92, 246, 0.3);
}
.pricing-badge {
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
padding: 0.3rem 1rem;
background: linear-gradient(135deg, #3B82F6, #8B5CF6);
color: #fff;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.05em;
border-radius: 100px;
white-space: nowrap;
text-transform: uppercase;
}
.pricing-card-header {
margin-bottom: 1.25rem;
}
.pricing-plan-name {
font-family: var(--font-display);
font-size: 1.3rem;
font-weight: 700;
margin-bottom: 0.5rem;
}
.pricing-price-wrap {
display: flex;
align-items: baseline;
gap: 0.35rem;
margin-bottom: 0.5rem;
}
.pricing-price {
font-family: var(--font-display);
font-size: 2.2rem;
font-weight: 800;
}
.pricing-price-suffix {
font-size: 0.85rem;
color: var(--text-secondary);
}
.pricing-description {
font-size: 0.85rem;
color: var(--text-secondary);
line-height: 1.5;
}
/* ─── CTA Buttons ────────────────────────────────────────────────────────────── */
.pricing-cta {
width: 100%;
padding: 0.8rem;
border-radius: 10px;
font-size: 0.9rem;
font-weight: 600;
font-family: var(--font-sans);
cursor: pointer;
border: none;
margin-bottom: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.pricing-cta--secondary {
background: rgba(255, 255, 255, 0.05);
color: var(--text-primary);
border: 1px solid var(--border-strong);
}
.pricing-cta--secondary:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.2);
transform: translateY(-1px);
}
.pricing-cta--primary {
background: linear-gradient(135deg, #3B82F6, #2563EB);
color: #fff;
box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}
.pricing-cta--primary:hover:not(:disabled) {
transform: translateY(-2px) scale(1.01);
box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}
.pricing-cta--enterprise {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
color: #C4B5FD;
border: 1px solid rgba(139, 92, 246, 0.35);
}
.pricing-cta--enterprise:hover:not(:disabled) {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.15));
border-color: rgba(139, 92, 246, 0.5);
transform: translateY(-1px);
}
.pricing-cta:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.pricing-spinner {
width: 18px;
height: 18px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top-color: #fff;
border-radius: 50%;
animation: spin 0.7s linear infinite;
}
/* ─── Features ───────────────────────────────────────────────────────────────── */
.pricing-features {
display: flex;
flex-direction: column;
gap: 0.6rem;
}
.pricing-feature {
display: flex;
align-items: center;
gap: 0.6rem;
font-size: 0.85rem;
color: var(--text-secondary);
line-height: 1.4;
}
.pricing-feature--highlight {
color: var(--text-primary);
font-weight: 500;
}
.pricing-feature--disabled {
opacity: 0.4;
}
/* ─── Trust signals ──────────────────────────────────────────────────────────── */
.pricing-trust {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1rem 2rem;
padding: 1.25rem;
background: rgba(255, 255, 255, 0.02);
border: 1px solid var(--border-subtle);
border-radius: 12px;
margin-bottom: 3rem;
}
.pricing-trust-item {
font-size: 0.82rem;
color: var(--text-secondary);
display: flex;
align-items: center;
gap: 0.35rem;
}
/* ─── FAQ ────────────────────────────────────────────────────────────────────── */
.pricing-faq {
max-width: 720px;
margin: 0 auto 3rem;
}
.pricing-faq-title {
font-family: var(--font-display);
font-size: 1.6rem;
font-weight: 700;
text-align: center;
margin-bottom: 1.5rem;
}
.pricing-faq-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.faq-item {
background: var(--bg-elevated);
border: 1px solid var(--border-subtle);
border-radius: 10px;
overflow: hidden;
transition: border-color 0.2s;
}
.faq-item--open {
border-color: var(--border-strong);
}
.faq-question {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 1rem 1.25rem;
background: none;
border: none;
color: var(--text-primary);
font-family: var(--font-sans);
font-size: 0.9rem;
font-weight: 500;
text-align: left;
cursor: pointer;
transition: color 0.2s;
}
.faq-question:hover {
color: var(--accent-blue);
}
.faq-chevron {
flex-shrink: 0;
color: var(--text-muted);
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item--open .faq-chevron {
transform: rotate(180deg);
}
.faq-answer {
padding: 0 1.25rem 1rem;
font-size: 0.85rem;
color: var(--text-secondary);
line-height: 1.7;
border-top: 1px solid var(--border-subtle);
padding-top: 0.75rem;
}
/* ─── Bottom CTA ─────────────────────────────────────────────────────────────── */
.pricing-bottom-cta {
text-align: center;
padding: 2.5rem;
background: linear-gradient(135deg,
rgba(59, 130, 246, 0.06) 0%,
rgba(139, 92, 246, 0.04) 100%
);
border: 1px solid rgba(59, 130, 246, 0.15);
border-radius: 16px;
}
.pricing-bottom-cta h2 {
font-family: var(--font-display);
font-size: 1.4rem;
font-weight: 700;
margin-bottom: 0.5rem;
}
.pricing-bottom-cta p {
color: var(--text-secondary);
font-size: 0.9rem;
margin-bottom: 1.25rem;
}
/* ─── Animations ─────────────────────────────────────────────────────────────── */
@keyframes fadeSlideDown {
from { opacity: 0; transform: translateY(-12px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
from { opacity: 0; transform: translateY(16px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
to { transform: rotate(360deg); }
}