/* ===== AI Capabilities Page Styles ===== */

/* Hero / Page Header */
.ai-hero {
    background: linear-gradient(135deg, rgba(1, 26, 65, 0.92) 0%, rgba(53, 94, 252, 0.88) 100%),
        url('https://images.unsplash.com/photo-1677442135703-1787eea5ce01?w=1600&q=80') center/cover no-repeat;
    padding: 10rem 0 5rem;
    color: #fff;
}

.ai-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.ai-hero p.lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
}

.ai-hero .badge-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

/* ---- Stats strip ---- */
.stats-strip {
    background: var(--primary);
    padding: 2rem 0;
    color: #fff;
}

.stats-strip .stat-item h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.stats-strip .stat-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.stats-strip .stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
    height: 50px;
    margin: auto;
}

/* ---- Section titles ---- */
.section-label {
    display: inline-block;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 500;
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
    background: var(--light);
    margin-bottom: 0.75rem;
}

/* ---- Technology cards ---- */
.tech-card {
    background: #fff;
    border: 1px solid #e4eaff;
    border-radius: 14px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(53, 94, 252, 0.13);
    border-color: var(--primary);
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-card .tech-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: background 0.3s, color 0.3s;
}

.tech-card:hover .tech-icon {
    background: var(--primary);
    color: #fff;
}

.tech-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.tech-card p {
    font-size: 0.9rem;
    color: var(--tertiary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tech-card .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
}

.tech-card .tag {
    font-size: 0.75rem;
    background: var(--light);
    color: var(--primary);
    border-radius: 50px;
    padding: 0.2rem 0.65rem;
    font-weight: 500;
}

/* ---- Deep-dive / featured sections ---- */
.deep-dive-section {
    background: #f7f9ff;
    border-radius: 18px;
    padding: 3rem;
}

.deep-dive-section.dark-bg {
    background: var(--dark);
    color: #fff;
}

.deep-dive-section.dark-bg h2,
.deep-dive-section.dark-bg h3,
.deep-dive-section.dark-bg p {
    color: rgba(255, 255, 255, 0.9);
}

.deep-dive-section .feature-list li {
    padding: 0.55rem 0;
    font-size: 0.95rem;
    color: var(--tertiary);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.deep-dive-section.dark-bg .feature-list li {
    color: rgba(255, 255, 255, 0.8);
}

.deep-dive-section .feature-list li i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.deep-dive-section.dark-bg .feature-list li i {
    color: #7fa4ff;
}

/* ---- Architecture diagram box ---- */
.arch-box {
    background: #fff;
    border: 1px solid #dde5ff;
    border-radius: 14px;
    padding: 2rem;
}

.arch-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.arch-step {
    background: var(--light);
    border: 1px solid #c8d5ff;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    min-width: 110px;
}

.arch-arrow {
    font-size: 1.1rem;
    color: var(--primary);
}

/* ---- Expertise pillars ---- */
.pillar-card {
    background: var(--dark);
    color: #fff;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(53, 94, 252, 0.25);
}

.pillar-card .pillar-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: block;
    color: #7fa4ff;
}

.pillar-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.pillar-card p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

/* ---- Use Cases placeholder ---- */
.usecase-placeholder {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 100%);
    border: 2px dashed #b3c2ff;
    border-radius: 18px;
    padding: 4rem 2rem;
    text-align: center;
}

.usecase-placeholder .placeholder-icon {
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.4;
    margin-bottom: 1rem;
}

.usecase-placeholder h3 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.usecase-placeholder p {
    color: var(--tertiary);
    max-width: 520px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* ---- CTA section ---- */
.ai-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3cad 100%);
    border-radius: 18px;
    padding: 3.5rem 2.5rem;
    color: #fff;
    text-align: center;
}

.ai-cta h2 {
    color: #fff;
    font-weight: 700;
}

.ai-cta p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 1.75rem;
}

.ai-cta .btn-light {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: 0.3s;
}

.ai-cta .btn-light:hover {
    background: var(--light);
}

/* ---- Responsive tweaks ---- */
@media (max-width: 768px) {
    .ai-hero h1 {
        font-size: 2rem;
    }

    .deep-dive-section {
        padding: 1.75rem 1.25rem;
    }

    .arch-flow {
        flex-direction: column;
    }

    .arch-arrow {
        transform: rotate(90deg);
    }

    .stats-strip .stat-divider {
        display: none;
    }
}
