/* === Artvision Programmatic Pages v1.0.3 === */

/* Base section */
.section { padding: 60px 0; }
.section--alt { background: #f8f7fc; }
.section__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 800px; }

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}
.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.stat-card__num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #614ce1;
    font-family: 'Manrope', sans-serif;
}
.stat-card__text { margin-top: 8px; color: #666; font-size: 0.95rem; }

/* FAQ */
.faq__item { border-bottom: 1px solid #e5e5e5; padding: 16px 0; }
.faq__question {
    all: unset;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    width: 100%;
}
.faq__answer { display: none; padding-top: 12px; color: #555; line-height: 1.6; }
.faq__item.active .faq__answer { display: block; }

/* Timeline */
.timeline__step { display: flex; gap: 20px; margin-bottom: 24px; }
.timeline__num {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #614ce1;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem;
}
.timeline__content h3 { margin: 0 0 8px; }
.timeline__content p { margin: 0; color: #555; line-height: 1.6; }

/* Price table */
.price-table { overflow-x: auto; }
.price-table table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
    padding: 14px 16px; text-align: left; border-bottom: 1px solid #e5e5e5;
}
.price-table thead th { background: #614ce1; color: #fff; font-weight: 700; }
.price-table tbody tr:hover { background: #f8f7fc; }

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.advantage-card {
    padding: 28px; background: #fff;
    border-radius: 16px; border-left: 4px solid #614ce1;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* CTA block */
.cta-block {
    text-align: center; padding: 48px 32px;
    background: linear-gradient(135deg, #614ce1 0%, #8b5cf6 100%);
    border-radius: 24px; color: #fff;
}
.cta-block h2 { color: #fff; }
.cta-block p { color: rgba(255,255,255,0.9); }
.btn--dark {
    display: inline-block; margin-top: 20px; padding: 14px 32px;
    background: #26262c; color: #fff; border-radius: 9999px;
    text-decoration: none; font-weight: 700; transition: background 0.2s;
}
.btn--dark:hover { background: #3a3a42; }

/* Service/Industry/Case grids */
.services-grid, .industries-grid, .cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.service-card, .industry-card, .case-card {
    padding: 28px; background: #fff; border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.2s;
    text-decoration: none; color: inherit;
}
.service-card:hover, .industry-card:hover, .case-card:hover {
    transform: translateY(-4px);
}
.service-card h3 a, .industry-card h3 a, .case-card h3 a {
    color: #26262c; text-decoration: none;
}
.service-card h3 a:hover, .industry-card h3 a:hover, .case-card h3 a:hover {
    color: #614ce1;
}

/* Testimonials */
.testimonial {
    padding: 28px; background: #fff; border-radius: 16px;
    margin-bottom: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.testimonial__author { font-weight: 700; margin-top: 12px; }
.testimonial__company { color: #888; font-size: 0.9rem; }

/* Blog article */
.article-subtitle { font-size: 1.25rem; color: #555; }
.article-meta { margin-top: 12px; color: #888; font-size: 0.9rem; }
.related-links { list-style: none; padding: 0; }
.related-links li { margin-bottom: 10px; }
.related-links a { color: #614ce1; text-decoration: none; }
.related-links a:hover { text-decoration: underline; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.85rem; color: #888; margin-bottom: 20px; }
.breadcrumbs a { color: #614ce1; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
    .section { padding: 40px 0; }
    .stat-card__num { font-size: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline__step { flex-direction: column; }
    .price-table { overflow-x: auto; }
    .cta-block { padding: 32px 20px; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .services-grid, .industries-grid, .cases-grid { grid-template-columns: 1fr; }
}

/* CTA actions — multi-button layout */
.cta-block__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.btn--outline {
    display: inline-block;
    padding: 14px 28px;
    border: 2px solid #614ce1;
    color: #614ce1;
    background: transparent;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all .3s;
}
.btn--outline:hover {
    background: #614ce1;
    color: #fff;
}
@media (max-width: 600px) {
    .cta-block__actions {
        flex-direction: column;
        align-items: center;
    }
    .cta-block__actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}
