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

.ai-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Hero ===== */
.ai-hero {
    background: linear-gradient(135deg, #0a2a5e 0%, #1a4ba0 50%, #2563eb 100%);
    color: #fff;
    padding: 5rem 1.5rem 4.5rem;
    text-align: center;
}
.ai-hero-content {
    max-width: 780px;
    margin: 0 auto;
}
.ai-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
}
.ai-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}
.ai-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
    margin-bottom: 2.25rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.ai-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-outline-dark {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-outline-dark:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* ===== Section Header ===== */
.ai-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}
.ai-section-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--gray-900);
    margin-bottom: 0.85rem;
}
.ai-section-header p {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== Alt Section Background ===== */
.ai-section-alt {
    background: #f8fafc;
}

/* ===== Stats Grid ===== */
.ai-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.ai-stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(10,42,94,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.ai-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.12);
}
.ai-stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.6rem;
}
.ai-stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
    font-weight: 500;
}

/* ===== Services Grid ===== */
.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.ai-service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 2rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.ai-service-card:hover {
    box-shadow: 0 8px 28px rgba(37,99,235,0.10);
    transform: translateY(-2px);
}
.ai-service-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.ai-service-card h3 {
    font-size: 1.15rem;
    color: var(--gray-900);
    margin-bottom: 0.6rem;
}
.ai-service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Platforms Grid ===== */
.ai-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.ai-platform-card {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.ai-platform-card:hover {
    box-shadow: 0 6px 24px rgba(37,99,235,0.12);
    transform: translateY(-2px);
    border-color: #93c5fd;
    color: inherit;
}
.ai-platform-logo {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.15rem;
}
.ai-platform-info h3 {
    font-size: 1.05rem;
    color: var(--gray-900);
    margin-bottom: 0.15rem;
}
.ai-platform-maker {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ai-platform-info p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ===== Use Cases Grid ===== */
.ai-usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.ai-usecase-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.75rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.ai-usecase-card:hover {
    box-shadow: 0 6px 24px rgba(37,99,235,0.09);
    transform: translateY(-2px);
}
.ai-usecase-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
.ai-usecase-card h3 {
    font-size: 1.05rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}
.ai-usecase-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.ai-usecase-card ul li {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.5;
    padding-left: 0.25rem;
}

/* ===== Training Grid ===== */
.ai-training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
}
.ai-training-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.ai-training-card:hover {
    box-shadow: 0 8px 28px rgba(37,99,235,0.10);
    transform: translateY(-3px);
    border-color: #93c5fd;
}
.ai-training-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.ai-training-card h3 {
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}
.ai-training-card > p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.ai-training-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ai-training-list li {
    font-size: 0.9rem;
    color: var(--gray-700);
    background: #f0fdf4;
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    line-height: 1.5;
}

/* ===== Process Steps ===== */
.ai-process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 720px;
    margin: 0 auto;
}
.ai-process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}
.ai-process-step:last-child { border-bottom: none; }
.ai-process-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}
.ai-process-body h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 0.4rem;
}
.ai-process-body p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .ai-hero { padding: 3.5rem 1.25rem 3rem; }
    .ai-hero h1 { font-size: 1.9rem; }
    .ai-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-stat-number { font-size: 2rem; }
    .ai-platform-card { flex-direction: column; gap: 0.75rem; }
    .ai-process-number { width: 40px; height: 40px; font-size: 1.1rem; }
}
