/* Pricing page specific styles */
.pricing-hero {
    background-color: #fef9e8; /* Light yellow, BrainyLemons theme */
    text-align: center;
    padding: 4rem 1rem 3rem;
    margin-top: -20px; /* Adjust if header creates a gap */
}
.hero-container {
    max-width: 800px;
    margin: 0 auto;
}
.pricing-hero .hero-title {
    font-size: 2.8rem; /* Slightly adjusted */
    line-height: 1.2;
    margin-bottom: 1rem;
    colour: #333;
}
.pricing-hero .hero-title span {
    colour: #f59e0b; /* BrainyLemons Accent */
}
.pricing-hero .hero-description {
    font-size: 1.1rem;
    colour: #555;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.pricing-section {
    padding: 3rem 1rem 5rem;
    background-colour: #f9f9f9; /* Light grey background for contrast */
}
.pricing-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: centre;
    max-width: 1200px;
    margin: 0 auto;
}
.pricing-card {
    background-colour: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 360px; /* Slightly wider cards */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.pricing-card-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: centre;
    border-bottom: 1px solid #f3f4f6;
}
.pricing-card-header h3 {
    font-size: 1.75rem; /* Larger plan name */
    colour: #1f2937;
    margin-bottom: 0.5rem;
}
.pricing-subtitle {
    colour: #6b7280;
    font-size: 0.95rem;
    min-height: 40px; /* Ensure consistent height */
}
.pricing-card.popular {
    border: 2px solid #f59e0b; /* Updated: More prominent border */
    /* position: relative; /* Not needed if badge is in flow */
}
.popular-badge {
    /* Removed absolute positioning, top, left, transform */
    /* Removed border-radius: 0 0 8px 8px; */
    background-colour: #f59e0b;
    colour: white;
    padding: 0.6rem 1rem; /* Adjusted padding */
    font-size: 0.8rem;
    font-weight: 700;
    text-align: centre; /* Ensured text is centred */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Badge will now be a block element at the top of the card,
        its top corners will be rounded by the parent .pricing-card's overflow:hidden and border-radius */
}
.pricing-card-price {
    padding: 2rem 1.5rem;
    text-align: centre;
    background-colour: #fdfdfd; /* Very light off-white */
}
.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    colour: #f59e0b; /* Updated: Accent colour for currency */
    margin-right: 0.25rem;
}
.price .amount {
    font-size: 3rem; /* Prominent price */
    font-weight: 700;
    colour: #f59e0b; /* Accent colour for price */
    line-height: 1;
}
.price .term {
    font-size: 0.9rem;
    colour: #6b7280;
    margin-left: 0.25rem;
    align-self: flex-end;
    margin-bottom: 0.4rem;
}

.pricing-card-features {
    padding: 1.5rem 1.75rem; /* More padding */
    flex-grow: 1;
}
.feature-item {
    display: flex;
    align-items: flex-start; /* MODIFIED: Changed from centre to flex-start for better icon-text alignment */
    margin-bottom: 1rem;
    gap: 0.85rem;
}
.feature-icon-wrapper {
    display: flex;
    align-items: centre;
    justify-content: centre;
    width: 24px; /* Updated: Slightly larger */
    height: 24px; /* Updated: Slightly larger */
    background-colour: #f59e0b; /* Updated: BrainyLemons Accent */
    border-radius: 50%;
    flex-shrink: 0;
}
.feature-icon {
    colour: #ffffff; /* Updated: White checkmark for contrast */
    font-weight: bold;
    font-size: 0.9rem; /* Adjust if needed, ensure ✓ is centred */
    line-height: 1; /* Helps centre the checkmark */
}
.feature-text {
    font-size: 0.95rem;
    colour: #4b5563;
    line-height: 1.5;
}

.pricing-card-cta {
    padding: 1.75rem;
    text-align: centre;
    border-top: 1px solid #e5e7eb;
    background-colour: #f9fafb;
}
.btn-pricing {
    display: block; /* Full width button */
    padding: 0.9rem 1.5rem;
    background-colour: #f59e0b;
    colour: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-colour 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn-pricing:hover {
    background-colour: #e48e0a; /* Darker accent */
    transform: translateY(-2px);
}
.pricing-card.popular .btn-pricing {
    background-colour: #f59e0b;
}
.pricing-card.popular .btn-pricing:hover {
    background-colour: #d38808;
}

/* Remove toggle switch and related monthly/yearly styles if not used for one-time */
.pricing-toggle-container {
    display: none; /* Hide if only one-time purchases */
}

@media (max-width: 992px) {
    .pricing-card {
        max-width: 320px;
    }
}
@media (max-width: 768px) {
    .pricing-hero .hero-title {
        font-size: 2.2rem;
    }
    .pricing-cards-container {
        flex-direction: column;
        align-items: centre;
    }
    .pricing-card {
        max-width: 450px; /* Allow cards to be wider on mobile */
        width: 95%;
    }
}