/* ===================================
   MCB AI Style - Homepage Sections
   Hero, Cards, Stats, Skills, etc.
   =================================== */

/* --- Grid Background --- */
.kgai-main-content {
    position: relative;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* --- Hero Section --- */
.mcb-hero {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: calc(100vh - 60px);
    padding: 80px 40px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.mcb-hero-image {
    flex-shrink: 0;
    width: 340px;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(59, 130, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.mcb-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mcb-hero-placeholder {
    font-size: 6rem;
    opacity: 0.5;
}

.mcb-hero-text {
    flex: 1;
}

.mcb-hero-name {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.mcb-hero-role {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    background: linear-gradient(135deg, #2563EB, #60a5fa, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 24px;
    min-height: 1.2em;
}

.mcb-hero-desc {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 32px;
}

.mcb-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.mcb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.25s;
}

.mcb-btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.mcb-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.25s;
}

.mcb-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.mcb-hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    color: #64748b;
    font-size: 0.85rem;
}

.mcb-hero-avatars {
    display: flex;
}

.mcb-hero-avatars span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgb(3, 0, 20);
    margin-left: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background: rgba(37, 99, 235, 0.3);
}

.mcb-hero-avatars span:first-child {
    margin-left: 0;
}

/* --- Featured Cards --- */
.mcb-featured {
    padding: 60px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.mcb-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.mcb-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mcb-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.mcb-card-big {
    grid-row: span 2;
}

.mcb-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    background: rgba(37, 99, 235, 0.15);
}

.mcb-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 8px;
}

.mcb-card p {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* --- Section Header --- */
.mcb-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.2);
    color: #facc15;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.mcb-section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.mcb-section-title span {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Expertise Section --- */
.mcb-expertise {
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.mcb-expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.mcb-mission-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.mcb-mission-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mcb-mission-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.mcb-mission-tag {
    padding: 6px 16px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.mcb-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}

.mcb-stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    background: rgba(37, 99, 235, 0.15);
}

.mcb-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.2;
}

.mcb-stat-label {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* --- Skills Section --- */
.mcb-skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.mcb-skills-card,
.mcb-achievements-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px;
}

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

.mcb-skills-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: rgba(37, 99, 235, 0.15);
}

.mcb-skills-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
}

.mcb-skill-item {
    margin-bottom: 20px;
}

.mcb-skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mcb-skill-name {
    color: #f8fafc;
    font-size: 0.85rem;
    font-weight: 500;
}

.mcb-skill-percent {
    color: #94a3b8;
    font-size: 0.85rem;
}

.mcb-skill-bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.mcb-skill-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-out;
}

.mcb-skill-fill.blue {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.mcb-skill-fill.cyan {
    background: linear-gradient(90deg, #06b6d4, #22d3ee);
}

.mcb-skill-fill.green {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.mcb-skill-fill.gradient {
    background: linear-gradient(90deg, #f43f5e, #ec4899, #a855f6);
}

/* --- Achievements Grid --- */
.mcb-achieve-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mcb-achieve-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}

.mcb-achieve-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #94a3b8;
}

.mcb-achieve-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #f8fafc;
}

.mcb-achieve-label {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* --- Services Section --- */
.mcb-services {
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.mcb-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* --- Social Dock --- */
.mcb-social-dock {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(15, 10, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    z-index: 998;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mcb-social-dock a {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8 !important;
    font-size: 1.2rem;
    text-decoration: none !important;
    transition: all 0.25s;
}

.mcb-social-dock a:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
    color: #f8fafc !important;
    transform: translateY(-4px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .mcb-hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 40px;
    }

    .mcb-hero-image {
        width: 260px;
        height: 320px;
    }

    .mcb-hero-desc {
        margin: 0 auto 32px;
    }

    .mcb-hero-buttons {
        justify-content: center;
    }

    .mcb-hero-trust {
        justify-content: center;
    }

    .mcb-featured-grid {
        grid-template-columns: 1fr;
    }

    .mcb-card-big {
        grid-row: span 1;
    }

    .mcb-expertise-grid {
        grid-template-columns: 1fr;
    }

    .mcb-skills-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .mcb-social-dock {
        bottom: 16px;
        padding: 8px 14px;
        gap: 8px;
    }

    .mcb-social-dock a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

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

    .mcb-achieve-grid {
        grid-template-columns: 1fr;
    }

    .mcb-hero-role {
        font-size: 3rem;
    }
}