/* ===============================
   Shared Content Block Styles
   Works across all page layouts
   =============================== */

/* Base List Styles for Page Content */
.page-content ul,
.page-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: #374151;
    line-height: 1.8;
}

.page-content ul li {
    list-style-type: disc;
}

.page-content ol li {
    list-style-type: decimal;
}

/* Steps Container (How It Works) */
.steps-container {
    margin: 2rem 0;
}

.step {
    position: relative;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #FF5A5F) 0%, var(--primary-light, #ff8a8d) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: #1a202c;
}

.step-content p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.step-content ul {
    margin: 0;
    padding-left: 1.25rem;
}

.step-content li {
    color: #64748b;
    font-size: 0.95rem;
}

/* Check List */
.check-list,
.page-content .check-list,
.page-content ul.check-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 1.25rem;
}

.check-list li,
.page-content .check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    list-style: none !important;
}

.check-list li::before {
    display: none !important;
}

.check-list li i {
    color: #10b981;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #FF5A5F) 0%, var(--primary-light, #ff8a8d) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: #1a202c;
}

.feature-card p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

/* Icon Cards */
.icon-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.icon-card {
    text-align: center;
    padding: 1.5rem;
}

.icon-card > i {
    font-size: 2.5rem;
    color: var(--primary-color, #FF5A5F);
    margin-bottom: 1rem;
    display: block;
}

.icon-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: #1a202c;
}

.icon-card p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pricing-card {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color, #FF5A5F);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--primary-color, #FF5A5F);
    color: white;
    padding: 0.25rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-header {
    padding: 1.5rem;
    background: white;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-header h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.pricing-header .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color, #FF5A5F);
}

.pricing-header .price span {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}

.pricing-features {
    list-style: none !important;
    padding: 1.5rem !important;
    margin: 0 !important;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i.fa-check {
    color: #10b981;
}

.pricing-features li i.fa-times {
    color: #ef4444;
}

.pricing-features li.disabled {
    color: #94a3b8;
}

/* Testimonial Card */
.testimonial-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #FF5A5F) 0%, var(--primary-light, #ff8a8d) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.testimonial-info .name {
    display: block;
    font-weight: 600;
    color: #1a202c;
}

.testimonial-info .role {
    font-size: 0.9rem;
    color: #64748b;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
    background: #f8fafc;
    border-radius: 12px;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color, #FF5A5F);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

/* Alert & Info Boxes */
.alert-box,
.info-box {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.alert-box {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
}

.alert-box.warning {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.alert-box > i {
    color: #ef4444;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.alert-box.warning > i {
    color: #f59e0b;
}

.info-box {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
}

.info-box > i {
    color: #3b82f6;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.alert-content strong,
.info-content strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #1a202c;
}

.alert-content p,
.info-content p {
    margin: 0;
    font-size: 0.9rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -1.625rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color, #FF5A5F);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color, #FF5A5F);
}

.timeline-content h4 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: #1a202c;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--primary-color, #FF5A5F);
    font-weight: 500;
}

.timeline-content p {
    margin: 0.5rem 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

/* Accordion */
.accordion {
    margin: 2rem 0;
}

.accordion-item {
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #1a202c;
    text-align: left;
    font-size: 1rem;
}

.accordion-header i {
    transition: transform 0.2s;
    color: #64748b;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 1.25rem 1rem;
    margin: 0;
    color: #4a5568;
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1a202c;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 8px;
}

.faq-item h4 {
    color: #1a202c;
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    color: #4a5568;
}

/* Image Figure */
.image-figure {
    margin: 2rem 0;
    text-align: center;
}

.image-figure img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.image-figure figcaption {
    margin-top: 0.75rem;
    color: #64748b;
    font-size: 0.9rem;
    font-style: italic;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin: 2rem 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    border-radius: 12px;
    margin: 2rem 0;
}

.cta-section h3 {
    color: white;
    margin: 0 0 0.5rem;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    margin: 0 0 1.5rem;
}

/* Button Styles */
.btn-primary,
.btn-cta,
a.btn-primary,
a.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--primary-color, #FF5A5F) !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover,
.btn-cta:hover,
a.btn-primary:hover,
a.btn-cta:hover {
    background: var(--primary-hover, #e04e52) !important;
    transform: translateY(-2px);
    text-decoration: none !important;
    color: white !important;
}

/* Pricing button */
.pricing-btn,
a.pricing-btn {
    display: block;
    margin: 0 1.5rem 1.5rem;
    padding: 0.75rem;
    background: var(--primary-color, #FF5A5F) !important;
    color: white !important;
    text-align: center;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.pricing-btn:hover,
a.pricing-btn:hover {
    background: var(--primary-hover, #e04e52) !important;
    text-decoration: none !important;
    color: white !important;
}

/* Responsive for Content Blocks */
@media (max-width: 768px) {
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-content ul {
        text-align: left;
    }

    .feature-grid,
    .icon-cards,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .accordion-header {
        font-size: 0.95rem;
    }
}
