/* ============================================
   Block Styles - Reusable StreamField Blocks
   Stats, Process, CTA, Features, Clients,
   Case Preview, FAQ, Governance, Testimonials,
   Lead Magnets
   ============================================ */

/* ============================================
   Stats Section - Dark gradient background
   ============================================ */
.stats-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
}

.stat-item {
    padding: 20px;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Stats Context */
.stats-context {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stats-context p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    font-style: italic;
}

/* ============================================
   Process Section - How We Work
   ============================================ */
.process-section {
    background: var(--color-bg-light);
}

.process-section h2 {
    color: var(--color-primary);
}

.process-steps {
    position: relative;
}

.process-step {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.process-step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 14px rgba(14,165,233,0.35);
}

.process-step-title {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.process-step-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .process-step {
        padding: 1.5rem 1.25rem;
    }

    .process-step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* ============================================
   CTA Section - Bright accent gradient
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-section .lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.95) !important;
}

.cta-section .btn-primary {
    background-color: white !important;
    color: var(--color-primary) !important;
    border-color: white !important;
    font-weight: 600;
    padding: 14px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.cta-section .btn-primary:hover {
    background-color: var(--color-bg-light) !important;
    border-color: var(--color-bg-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* bg-primary sections (CTA in other templates) */
.bg-primary.text-white {
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%) !important;
}

.bg-primary.text-white .btn-light {
    background-color: white;
    color: var(--color-primary);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.bg-primary.text-white .btn-light:hover {
    background-color: var(--color-bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ============================================
   Feature/Service Cards
   ============================================ */
.feature-card,
.service-card {
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    background: white;
    overflow: hidden;
}

.feature-card:hover,
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card .card-title,
.service-card .card-title {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-card .card-text,
.service-card .card-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Clients Section
   ============================================ */
.clients-section {
    padding: 60px 0;
    background: white;
}

.clients-section h2 {
    color: var(--color-text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.client-logo {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.client-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.client-logo:hover .client-name {
    opacity: 1;
}

/* ============================================
   Case Preview Cards
   ============================================ */
.case-preview-card {
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    background: white;
    position: relative;
    overflow: hidden;
}

.case-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-accent) 0%, #3b82f6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.case-preview-card:hover::before {
    opacity: 1;
}

.case-preview-card .card-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.case-preview-card a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.case-preview-card a:hover {
    color: var(--color-accent-hover);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-section .faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-section .faq-header h2 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.faq-section .faq-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.accordion-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.accordion-item:hover {
    border-color: var(--color-accent-light);
}

.accordion-button {
    font-weight: 500;
    color: var(--color-text);
    background-color: white;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--color-accent-light);
    color: var(--color-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    color: var(--color-text-muted);
    line-height: 1.7;
    padding: 1.25rem;
    background: white;
}

/* ============================================
   Governance & Strategy Blocks
   ============================================ */

/* Governance Section */
.governance-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.governance-card {
    border: none;
    border-radius: var(--radius-lg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.governance-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.governance-icon {
    font-size: 2.5rem;
}

.governance-results {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: var(--radius-lg);
}

/* ICP Segmentation */
.icp-card {
    border: none;
    border-radius: var(--radius-lg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.icp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ROI Methodology */
.roi-step {
    text-align: center;
}

.roi-step-badge {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
}

.roi-examples {
    border: 2px solid var(--color-border-light);
}

/* Testimonials */
.testimonial-card {
    border: none;
    border-radius: var(--radius-lg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Lead Magnets */
.lead-magnet-card {
    border: none;
    border-radius: var(--radius-lg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.lead-magnet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.lead-magnet-icon {
    font-size: 3rem;
}

/* ============================================
   Responsive - Blocks
   ============================================ */
@media (max-width: 768px) {
    .cta-section h2 { font-size: 1.75rem; }
    .stat-number { font-size: 2.5rem; }
    .faq-section { padding: 60px 0; }
}
