/* === Pricing Page Styles === */

/* Hero */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 40px;
    position: relative;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--secondary-text);
    max-width: 580px;
    margin: 0 auto 3rem;
}

/* Toggle */
.toggle-wrap {
    margin: 2.5rem 0;
}

.billing-toggle {
    display: inline-flex;
    background: var(--surface-hover);
    border-radius: 8px;
    padding: 4px;
    gap: 2px;
}

.billing-toggle button {
    font-family: var(--body-font);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    color: var(--muted-text);
}

.billing-toggle button.active {
    background: var(--surface-color);
    color: var(--body-text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.15);
}

.save-badge {
    display: inline-block;
    background: var(--success);
    color: var(--body-text);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.35rem;
    vertical-align: middle;
    text-transform: uppercase;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.1);
    transform: translateY(-4px);
    background-color: var(--surface-hover);
}

.pricing-card.featured {
    border: 1.5px solid var(--primary-accent);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 40px rgba(167, 139, 250, 0.12);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-accent);
    color: var(--bg-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-card h2 {
    font-family: var(--display-font);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Price */
.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--body-text);
    margin: 0.75rem 0 0.25rem;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted-text);
}

.price-note {
    font-size: 0.8rem;
    color: var(--muted-text);
    margin-bottom: 1.5rem;
    min-height: 1.4em;
    font-weight: 300;
}

.price-struck {
    text-decoration: line-through;
    color: var(--muted-text);
    font-size: 1.2rem;
    font-weight: 400;
    margin-right: 0.25rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--secondary-text);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 300;
}

.feature-list .check {
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

.feature-list .dash {
    color: var(--muted-text);
    flex-shrink: 0;
}

/* Button overrides */
.btn-primary {
    width: 100%;
}

.btn-secondary {
    width: 100%;
}

/* Brand CTA */
.brand-cta {
    background: var(--surface-color);
    border: 1.5px solid var(--primary-accent);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    margin: 0 auto 3rem;
    max-width: 600px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 40px rgba(167, 139, 250, 0.12);
}

.brand-cta h2 {
    font-family: var(--display-font);
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.brand-cta p {
    color: var(--secondary-text);
    margin-bottom: 1.75rem;
    font-weight: 300;
}

.brand-cta .btn {
    width: auto;
    padding: 0.9rem 2rem;
}

/* Comparison Table */
.comparison {
    max-width: 720px;
    margin: 0 auto 3rem;
}

.comparison h2 {
    font-family: var(--display-font);
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.comparison table {
    width: 100%;
    border-collapse: collapse;
}

.comparison th {
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.75rem 0.75rem;
    border-bottom: 2px solid var(--border-color);
    font-family: var(--body-font);
}

.comparison th:not(:first-child) {
    text-align: center;
    width: 100px;
}

.comparison td {
    padding: 0.75rem 0.75rem;
    font-size: 0.9rem;
    color: var(--secondary-text);
    border-bottom: 1px solid var(--border-color);
    font-weight: 300;
}

.comparison td:not(:first-child) { text-align: center; }

.comparison .check-cell {
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison .dash-cell { color: var(--muted-text); }

/* FAQ */
.faq {
    padding: 2rem 0 3rem;
    max-width: 720px;
    margin: 0 auto;
}

.faq h2 {
    font-family: var(--display-font);
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    text-align: center;
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.faq-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.1);
    transform: translateY(-2px);
    background-color: var(--surface-hover);
}

.faq-item h3 {
    font-family: var(--display-font);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--secondary-text);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Pricing-specific responsive */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .comparison {
        overflow-x: auto;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }
}

/* ---- Inline style replacements ---- */
.reveal-delay-100 { animation-delay: 100ms; }
.reveal-delay-200 { animation-delay: 200ms; }
.reveal-delay-250 { animation-delay: 250ms; }
.reveal-delay-300 { animation-delay: 300ms; }
.reveal-delay-350 { animation-delay: 350ms; }
.reveal-delay-400 { animation-delay: 400ms; }
.reveal-delay-450 { animation-delay: 450ms; }
