/* BAS Implementation Page Styles */

/* Hero Section */
.hero--implementation {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero__grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.hero__orb--1 {
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: #2b5af4;
    /* Primary Accent */
}

.hero__orb--2 {
    bottom: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: #ff5000;
    /* Orange Accent */
    opacity: 0.2;
}

.hero--implementation .hero__overlay {
    /* Overlay removed or simplified as we are using solid color based on new requirements */
    display: none;
}

.hero--implementation .hero__container {
    position: relative;
    z-index: 2;
}

.hero--implementation .hero__content {
    max-width: 900px;
    margin: 0 auto;
}

/* =========================================
   Compact Hero (Inner Pages) — NO inline styles needed
   Usage: <section class="hero hero--page">
   ========================================= */

/* Compact hero for inner pages (implementation, it-architecture, etc.) */
.hero--page {
    min-height: auto !important;
    padding-top: 140px !important;
    padding-bottom: 100px !important;
}

/* Single column hero grid (no visual side) */
.hero__grid--single {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}

/* Left-aligned hero content */
.hero__content--left {
    text-align: left !important;
    margin: 0 !important;
    max-width: 800px !important;
}

/* Multiple badges in a row (hero) */
.badges-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.badges-list .hero__badge {
    margin-bottom: 0 !important;
}

/* Left-aligned hero actions */
.hero__actions--start {
    justify-content: flex-start !important;
}

/* ==========================================
   Badges */
.hero__badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero__badge {
    background: rgba(255, 255, 255, 0.05);
    /* Muted gray pill background */
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    /* Muted gray text */
    text-transform: none;
    /* Normal styling */
}

.hero__badge:first-child {
    /* Remove distinct styling for first child to match "Muted gray pills" request */
    border-color: transparent;
    color: #6b7280;
    background: rgba(255, 255, 255, 0.05);
}

/* Typography */
.hero--implementation .hero__title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
}

.hero--implementation .text-primary {
    color: #ff5000;
}

.hero--implementation .hero__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    /* Very dark/muted text */
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Actions */
.hero__actions {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
}

/* Primary Button Style */
.btn-primary {
    background-color: #ff5000;
    border-color: #ff5000;
    color: white;
}

.btn-primary:hover {
    background-color: #e64900;
    border-color: #e64900;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero--implementation {
        min-height: auto;
        padding: 80px 0;
    }

    .hero--implementation .hero__title {
        font-size: 40px;
    }

    .hero__badges {
        gap: 8px;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .hero__actions .btn {
        width: 100%;
    }
}

/* =========================================
   Features Grid Section
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
    border-color: #ff5000;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: #fff7ed;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #ff5000;
}

.feature-card:hover .feature-icon {
    background-color: #ff5000;
    color: white;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.625;
    margin: 0;
}

/* =========================================
   Advantages Section
   ========================================= */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

.advantage-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.advantage-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
    border-color: #ff5000;
}

.advantage-icon {
    width: 56px;
    height: 56px;
    background-color: #fff7ed;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #ff5000;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    background-color: #ff5000;
    color: white;
}

.advantage-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.advantage-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.625;
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-box {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: #ff5000;
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.stat-value {
    font-size: 48px;
    font-weight: 700;
    color: #ff5000;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: #475569;
}

/* =========================================
   Solutions Section
   ========================================= */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

.solution-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.solution-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
    border-color: #ff5000;
}

.solution-icon {
    width: 56px;
    height: 56px;
    background-color: #fff7ed;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #ff5000;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
    background-color: #ff5000;
    color: white;
}

.solution-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.solution-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.625;
    margin: 0;
}

/* =========================================
   Why Us Section
   ========================================= */
#why-us {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-us-content .section__title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.why-us-content .section__subtitle {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.625;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reason-item {
    display: flex;
    gap: 16px;
}

.reason-icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 80, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 80, 0, 0.2);
}

.reason-icon-box svg {
    width: 24px;
    height: 24px;
    color: #ff5000;
}

.reason-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.reason-desc {
    font-size: 16px;
    color: #94a3b8;
    line-height: 1.5;
}

/* Visual Side (Stats) */
.why-us-visual {
    position: relative;
}

.visual-gradient-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
    .visual-gradient-box {
        padding: 32px;
    }
}

.stats-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-box-glass {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box-glass .val {
    font-size: 36px;
    font-weight: 700;
    color: #ff5000;
    margin-bottom: 8px;
}

.stat-box-glass .lab {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
}

.partner-box-glass {
    margin-top: 32px;
    padding: 24px;
    background-color: rgba(255, 80, 0, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 80, 0, 0.2);
}

.partner-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.partner-icon-circle {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 80, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-icon-circle svg {
    width: 20px;
    height: 20px;
    color: #ff5000;
}

.partner-title {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.partner-desc {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================
   How We Work Section
   ========================================= */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

.principle-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.principle-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.principle-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.principle-icon--blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.principle-icon--green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.principle-icon--violet {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.principle-icon--orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.principle-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.principle-subtitle {
    font-size: 16px;
    color: #475569;
    line-height: 1.625;
    margin-bottom: 24px;
}

.principle-content {
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.principle-label {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.principle-list {
    margin: 0 0 20px 0;
    padding: 0 0 0 20px;
    list-style: none;
}

.principle-list li {
    position: relative;
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 8px;
}

.principle-list li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 7px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff5000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.principle-result {
    font-size: 15px;
    color: #0f172a;
    line-height: 1.6;
    margin: 0;
    margin-top: auto;
    padding: 16px;
    background-color: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #ff5000;
}

.principle-result strong {
    color: #ff5000;
}

/* =========================================
   Roadmap Section
   ========================================= */
.roadmap {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.roadmap-item {
    display: flex;
    gap: 32px;
    position: relative;
    padding-bottom: 64px;
}

.roadmap-item--last {
    padding-bottom: 0;
}

/* Vertical line connecting markers */
.roadmap-item:not(.roadmap-item--last)::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 64px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #ff5000 0%, #e2e8f0 100%);
}

.roadmap-marker {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.roadmap-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5000 0%, #ea580c 100%);
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 80, 0, 0.3);
    position: relative;
}

/* Pulse animation for first item */
.roadmap-item:first-child .roadmap-number::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #ff5000;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.roadmap-content {
    flex: 1;
    padding-top: 4px;
}

.roadmap-title {
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.roadmap-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .roadmap-item {
        gap: 20px;
        padding-bottom: 48px;
    }

    .roadmap-item:not(.roadmap-item--last)::before {
        left: 23px;
        top: 56px;
    }

    .roadmap-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .roadmap-title {
        font-size: 20px;
    }

    .roadmap-desc {
        font-size: 15px;
    }
}

/* =========================================
   FAQ Section
   ========================================= */
.section--dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.faq-item {
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 80, 0, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5000 0%, #ea580c 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-question-text {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: white;
    line-height: 1.4;
}

.faq-icon {
    flex-shrink: 0;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #ff5000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px 72px;
}

.faq-answer p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
        gap: 12px;
    }

    .faq-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .faq-question-text {
        font-size: 16px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 60px;
    }

    .faq-answer p {
        font-size: 15px;
    }
}

/* Support Pricing Styles */
.support-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .support-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .support-pricing-grid {
        grid-template-columns: 1fr;
    }
}

.support-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.support-card.popular-card {
    border: 2px solid #ff5000;
    box-shadow: 0 20px 25px -5px rgba(255, 80, 0, 0.15);
}

.popular-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff5000;
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
}

.support-card__hours {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.support-card__price {
    font-size: 36px;
    font-weight: 700;
    color: #ff5000;
    line-height: 1;
    margin-bottom: 4px;
}

.support-card__price .currency {
    font-size: 18px;
    font-weight: 500;
    color: #64748b;
}

.support-card__meta {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 16px;
}

.support-card__rate {
    background: #f1f5f9;
    color: #334155;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.support-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    width: 100%;
}

.support-card__features li {
    padding: 8px 0;
    color: #475569;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.support-card__features li:last-child {
    border-bottom: none;
}

.btn-full {
    width: 100%;
}

.btn-outline-primary {
    background: transparent;
    border: 1px solid #ff5000;
    color: #ff5000;
}

.btn-outline-primary:hover {
    background: #ff5000;
    color: white;
}