/* ========================================
   SAP Business One Overview Page
   Class prefix: b1-
   Colors: #1a1a2e, #0ea5e9, #FDB813, white
   ======================================== */

.sap-b1-overview-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.7;
    color: #333;
    font-size: 26px;
    overflow-x: hidden;
}

.sap-b1-overview-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.sap-b1-overview-page .section-title {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1a1a2e;
    line-height: 1.2;
}

.sap-b1-overview-page .section-subtitle,
.sap-b1-overview-page .section-text {
    font-size: 2rem;
    line-height: 1.7;
}

.sap-b1-overview-page .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sap-b1-overview-page .section-text {
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* === Buttons (scope to page) === */
.sap-b1-overview-page .btn {
    display: inline-block;
    padding: 20px 50px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 2.4rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.sap-b1-overview-page .btn-primary-large {
    background: #FDB813;
    color: #1a1a2e;
    padding: 20px 50px;
    font-size: 2.4rem;
}

.sap-b1-overview-page .btn-primary-large:hover {
    background: #ffc933;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 184, 19, 0.4);
}

.sap-b1-overview-page .btn-secondary-large {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 20px 50px;
    font-size: 2.4rem;
}

.sap-b1-overview-page .btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* === Section 1: Hero === */
.b1-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-color: #1a1a2e;
    background-image: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(44, 62, 80, 0.75) 100%),
                url('/wp-content/uploads/2026/02/mtc-hero-sap-b1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 80px 0;
}

.b1-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(253, 184, 19, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.b1-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.b1-hero-badge {
    display: inline-block;
    background: rgba(253, 184, 19, 0.2);
    color: #FDB813;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(253, 184, 19, 0.3);
}

.b1-hero-title {
    font-size: 5.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.b1-hero-title .highlight {
    color: #FDB813;
}

.b1-hero-subtitle {
    font-size: 2.6rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.b1-hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Section 2: Intro + Stats === */
.b1-intro {
    padding: 80px 0;
    background: #fff;
}

.b1-intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 2rem;
}

.b1-intro-text .section-text {
    text-align: left;
    margin-left: 0;
}

.b1-intro-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.b1-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.b1-intro .section-title {
    margin-bottom: 1.5rem;
}

.b1-intro .section-text {
    text-align: center;
}

.b1-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 3rem;
}

.b1-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.b1-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.b1-stat-number {
    display: block;
    font-size: 2.6rem;
    font-weight: 700;
    color: #0ea5e9;
    margin-bottom: 0.5rem;
}

.b1-stat-label {
    font-size: 2rem;
    color: #666;
    font-weight: 500;
}

/* === Section 3: Modules === */
.b1-modules {
    padding: 80px 0;
    background: #f8f9fa;
}

.b1-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 2.5rem;
}

.b1-module-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.b1-module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.b1-module-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.b1-module-card h3 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.b1-module-card p {
    font-size: 2rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* === Section 4: Why MTC === */
.b1-why-mtc {
    padding: 80px 0;
    background: #fff;
}

.b1-why-mtc .b1-why-mtc-image {
    max-width: 480px;
    margin: 2.5rem auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.b1-why-mtc .b1-why-mtc-image img {
    width: 100%;
    height: auto;
    display: block;
}

.b1-diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 2.5rem;
}

.b1-diff-item {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #0ea5e9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.b1-diff-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.b1-diff-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0ea5e9;
    margin-bottom: 0.5rem;
}

.b1-diff-item h3 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.b1-diff-item p {
    font-size: 2rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* === Section 5: Deployment === */
.b1-deployment {
    padding: 80px 0;
    background: #f8f9fa;
}

.b1-deploy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 2.5rem;
}

.b1-deploy-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.b1-deploy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.b1-deploy-card.b1-deploy-featured {
    border: 2px solid #FDB813;
    background: linear-gradient(to bottom, #fffef8 0%, #fff 100%);
}

.b1-deploy-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FDB813;
    color: #1a1a2e;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 2rem;
    font-weight: 700;
}

.b1-deploy-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.b1-deploy-card h3 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.b1-deploy-card p {
    font-size: 2rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.b1-deploy-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 2rem;
}

.b1-deploy-note a {
    color: #0ea5e9;
    font-weight: 600;
    text-decoration: none;
}

.b1-deploy-note a:hover {
    text-decoration: underline;
}

/* === Section 6: Process Timeline === */
.b1-process {
    padding: 80px 0;
    background: #fff;
}

.b1-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin-top: 2.5rem;
}

.b1-timeline-step {
    flex: 1 1 160px;
    min-width: 160px;
    max-width: 200px;
    background: #fff;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.b1-step-number {
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    background: #0ea5e9;
    color: #fff;
    font-weight: 700;
    font-size: 2.4rem;
    margin: 0 auto 1rem;
}

.b1-timeline-step h3 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.b1-timeline-step p {
    font-size: 2rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.b1-timeline-connector {
    width: 24px;
    flex-shrink: 0;
    align-self: center;
    border-top: 2px dashed #ccc;
}

/* === Section 7: Service Triangle === */
.b1-triangle {
    padding: 80px 0;
    background: #f8f9fa;
}

.b1-triangle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 2.5rem;
}

.b1-triangle-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.b1-triangle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.b1-triangle-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.b1-triangle-card h3 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.b1-triangle-card p {
    font-size: 2rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* === Section 8: FAQ === */
.b1-faq {
    padding: 80px 0;
    background: #fff;
}

.b1-faq-list {
    max-width: 800px;
    margin: 2.5rem auto 0;
}

.b1-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.b1-faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 2rem;
    color: #1a1a2e;
    list-style: none;
}

.b1-faq-item summary::-webkit-details-marker {
    display: none;
}

.b1-faq-item summary::after {
    content: '+';
    float: right;
    font-size: 2.4rem;
    color: #0ea5e9;
}

.b1-faq-item[open] summary::after {
    content: '−';
}

.b1-faq-item summary h3 {
    display: inline;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.b1-faq-item p {
    padding: 0 24px 20px;
    margin: 0;
    font-size: 2rem;
    color: #555;
    line-height: 1.6;
}

.b1-faq-item a {
    color: #0ea5e9;
    font-weight: 600;
    text-decoration: none;
}

.b1-faq-item a:hover {
    text-decoration: underline;
}

/* === Section 9: CTA === */
.b1-cta {
    position: relative;
    padding: 80px 0;
    background-color: #1a1a2e;
    background-image: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(14, 165, 233, 0.5) 100%),
                url('/wp-content/uploads/2026/02/mtc-hero-sap-b1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
}

.b1-cta .container {
    position: relative;
    z-index: 2;
}

.b1-cta h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.b1-cta p {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.b1-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.b1-cta .btn-primary-large {
    background: #FDB813;
    color: #1a1a2e;
}

.b1-cta .btn-secondary-large {
    border-color: #fff;
    color: #fff;
}

.b1-cta .btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .b1-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .b1-modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .b1-deploy-grid {
        grid-template-columns: 1fr;
    }
    .b1-deploy-card.b1-deploy-featured {
        order: -1;
    }
    .b1-timeline {
        flex-direction: column;
        align-items: center;
    }
    .b1-timeline-connector {
        width: 0;
        height: 16px;
        border-top: none;
        border-left: none;
        border-bottom: 2px dashed #ccc;
    }
    .b1-triangle-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .b1-intro-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .b1-intro-text .section-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .b1-hero,
    .b1-intro,
    .b1-modules,
    .b1-why-mtc,
    .b1-deployment,
    .b1-process,
    .b1-triangle,
    .b1-faq,
    .b1-cta {
        padding: 48px 0;
    }
    .b1-hero {
        min-height: 60vh;
    }
    .b1-stats-grid {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }
    .b1-modules-grid {
        grid-template-columns: 1fr;
        margin-top: 1.5rem;
    }
    .b1-diff-grid {
        margin-top: 1.5rem;
    }
    .b1-hero-cta {
        flex-direction: column;
    }
    .b1-cta-buttons {
        flex-direction: column;
    }
}

/* Intro summary (GEO first paragraph) */
.sap-b1-overview-page .b1-intro-summary {
    font-size: 1.35rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Comparison table */
.b1-compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
}
.b1-compare-table th {
    background: #1a365d;
    color: #fff;
    padding: 14px 16px;
    text-align: left;
}
.b1-compare-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}
.b1-compare-table tr:hover {
    background: #f8f9fa;
}
.b1-compare-note {
    color: #888;
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Related Questions */
.related-questions {
    background: #f8f9fa;
    padding: 24px 32px;
    border-radius: 12px;
    margin: 40px 0;
}
.related-questions .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
.related-questions h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 12px;
}
.related-questions ul {
    list-style: none;
    padding: 0;
}
.related-questions li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}
.related-questions li:last-child {
    border-bottom: none;
}
.related-questions a {
    color: #2d5a87;
    text-decoration: none;
    font-size: 1.05rem;
}
.related-questions a:hover {
    text-decoration: underline;
}
