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

/* Prevent flash of unstyled content before Alpine.js initializes */
[x-cloak] { display: none !important; }

/* --- Headline Section --- */
.pricing-headline-section {
    padding: 4rem 1.5rem 1.5rem 1.5rem;
}

.pricing-headline {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.pricing-subheadline {
    font-size: 1.15rem;
    color: #4a4a6a;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .pricing-headline {
        font-size: 2rem;
    }

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

/* --- Subheadline (below cards) --- */
.pricing-subheadline-section {
    padding: 2rem 1.5rem 1rem 1.5rem;
}

/* --- Free-Through-Summer Banner --- */
.pricing-banner {
    padding: 0 1.5rem 2rem 1.5rem;
}

.pricing-banner-box {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 10px;
    text-align: center;
}

.pricing-banner-headline {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 0.4rem;
}

.pricing-banner-subtext {
    font-size: 0.95rem;
    color: #4a4a6a;
    margin: 0;
    line-height: 1.5;
}

/* --- Billing Toggle --- */
.pricing-toggle-section {
    padding: 1rem 1.5rem 2rem 1.5rem;
}

.pricing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-toggle-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #aaa;
    cursor: pointer;
    transition: color 0.15s ease;
    user-select: none;
}

.pricing-toggle-label.is-active {
    color: #1a1a2e;
    font-weight: 600;
}

.pricing-switch {
    position: relative;
    width: 48px;
    height: 26px;
    background: #4a4a6a;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.pricing-switch.is-annual {
    background: #667eea;
}

.pricing-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.pricing-switch.is-annual .pricing-slider {
    transform: translateX(22px);
}

/* --- Tier Cards --- */
.pricing-cards-section {
    padding: 0 1.5rem 3rem 1.5rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card--featured {
    background: rgba(102, 126, 234, 0.035);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* --- Badges --- */
.pricing-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.pricing-badge--accent {
    background: rgba(102, 126, 234, 0.12);
    color: #667eea;
}

.pricing-badge--neutral {
    background: rgba(0, 0, 0, 0.06);
    color: #777;
}

.pricing-badge-spacer {
    height: calc(0.75rem * 1.2 + 0.5rem); /* match badge line-height + padding */
    margin-bottom: 0.75rem; /* match badge margin */
}

/* --- Card Content --- */
.pricing-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.pricing-card-subtitle {
    font-size: 0.9rem;
    color: #4a4a6a;
    margin-bottom: 1.25rem;
}

.pricing-card-price {
    margin-bottom: 0.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    color: #4a4a6a;
    font-weight: 500;
}

.pricing-annual-note {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5rem;
    min-height: 1.25rem;
}

/* --- Feature List --- */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: #4a4a6a;
    line-height: 1.45;
}

.pricing-features li .icon {
    color: #667eea;
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 0.8rem;
}

.pricing-features-includes {
    font-weight: 600;
    color: #1a1a2e !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* --- CTA Button --- */
.pricing-card-cta {
    margin-top: auto;
}

.pricing-cta-button {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: #667eea;
    color: white !important;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

.pricing-cta-button:hover {
    background: #5568d3;
    color: white !important;
}

.pricing-card--featured .pricing-cta-button {
    background: #667eea;
}

@media screen and (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

/* --- Founder Message Section --- */
.pricing-founder-section {
    padding: 3rem 1.5rem 1rem 1.5rem;
    background: #fafafa;
}

.pricing-founder-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

.pricing-founder-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1.25rem;
}

.pricing-founder-quote {
    font-size: 1.05rem;
    color: #4a4a6a;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 1.25rem 0;
}

.pricing-founder-sig {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 1.5rem 0 0 0;
    font-style: normal;
}

@media screen and (max-width: 768px) {
    .pricing-founder-card {
        padding: 1.5rem 1.25rem;
    }
}

/* --- FAQ Section --- */
.pricing-faq-section {
    padding: 3rem 1.5rem 4rem 1.5rem;
    background: #fafafa;
}

.pricing-faq-headline {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.pricing-faq-item {
    margin-bottom: 2rem;
}

.pricing-faq-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.pricing-faq-item p {
    font-size: 0.95rem;
    color: #4a4a6a;
    line-height: 1.6;
    margin: 0;
}
