/* --- Styles for Plans & Pricing Page --- */

/* General Section Styling */
.intro-section, .pricing-section, .included-features-section, .faq-section {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}
.section-title p {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Intro Section */
.intro-section {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}
.intro-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Pricing Section */
.pricing-section {
    background-color: #1a1818;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}
.plan-card {
    background-color: #2c2929;
    border: 2px solid #444;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.plan-card.recommended {
    border-color: var(--primary-color);
    transform: scale(1.05);
}
.plan-card.recommended:hover {
    transform: scale(1.1) translateY(-10px);
}
.plan-header h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}
.plan-header p {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 20px;
}
.plan-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}
.plan-card .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}
.plan-footer {
    margin-top: auto; /* Pushes footer to the bottom */
    padding-top: 25px;
    font-size: 0.9rem;
    color: #a0a0a0;
}
.plan-footer strong {
    color: #e0e0e0;
}
.pricing-disclaimer {
    text-align: center;
    max-width: 800px;
    margin: 50px auto 0 auto;
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}

/* Included Features Section */
.included-features-section .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}
.feature-item {
    background: #2c2929;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}
.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}
.features-cta {
    text-align: center;
}
.features-cta .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}


/* FAQ Section */
.faq-section {
    background-color: #1a1818;
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #444;
    padding: 25px 0;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 992px) {
    .plan-card.recommended {
        transform: scale(1); /* Reset scale on smaller screens */
    }
    .plan-card.recommended:hover {
        transform: translateY(-10px); /* Keep hover effect */
    }
}

/* --- Styles for Plans & Pricing Page --- */

/* Page Title Section - FIX */
.page-title-section {
    padding: 60px 0;
    text-align: center; /* This centers the H1 */
    border-bottom: 1px solid #444;
}
.page-title-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

/* General Section Styling */
.intro-section, .pricing-section, .included-features-section, .faq-section {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}
.section-title p {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Intro Section */
.intro-section {
    text-align: center;
    max-width: 850px;
    margin: 60px auto; /* Added margin for spacing */
}
.intro-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Pricing Section */
.pricing-section {
    background-color: #1a1818;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}
.plan-card {
    background-color: #2c2929;
    border: 2px solid #444;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.plan-card.recommended {
    border-color: var(--primary-color);
    transform: scale(1.05);
}
.plan-card.recommended:hover {
    transform: scale(1.1) translateY(-10px);
}
.plan-header h3 { font-size: 1.5rem; color: var(--text-color); }
.plan-header p { font-size: 1rem; color: #b0b0b0; margin-bottom: 20px; }
.plan-price { font-size: 3.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 25px; }
.plan-card .btn { width: 100%; padding: 15px; font-size: 1.1rem; }
.plan-footer { margin-top: auto; padding-top: 25px; font-size: 0.9rem; color: #a0a0a0; }
.plan-footer strong { color: #e0e0e0; }
.pricing-disclaimer { text-align: center; max-width: 800px; margin: 50px auto 0 auto; font-size: 0.9rem; color: #888; line-height: 1.6; }

/* Included Features Section */
.included-features-section .section-intro { text-align: center; max-width: 800px; margin: 0 auto 50px auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 50px; }
.feature-item { background: #2c2929; padding: 25px; border-radius: 8px; border-left: 4px solid var(--primary-color); }
.feature-item h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-color); }
.features-cta { text-align: center; }
.features-cta .btn { padding: 15px 40px; font-size: 1.1rem; }

/* FAQ Section - NEW STYLES */
.faq-section {
    background-color: #1a1818;
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #444;
}
.faq-question {
    background: none;
    border: none;
    color: var(--text-color);
    width: 100%;
    text-align: left;
    padding: 25px 0;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 40px; /* Space for the icon */
}
.faq-question::after { /* The + / - icon */
    content: '+';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-answer p {
    padding: 0 10px 25px 10px;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .plan-card.recommended {
        transform: scale(1);
    }
    .plan-card.recommended:hover {
        transform: translateY(-10px);
    }
}