/* /assets/index.css (PHIÊN BẢN HOÀN CHỈNH THEO HÌNH VẼ) */

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.hero-section {
    text-align: center;
    max-width: 800px;
    margin-bottom: 20px;
    margin-top: 20px; /* THÊM DÒNG NÀY */
}

.hero-section h2 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--accent-neon);
    margin-top: 20px; /* THÊM DÒNG NÀY */
}

.hero-section p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: 20px; /* THÊM DÒNG NÀY */
}

.service-grid-tech {
    display: grid;
    /* Khoảng trống cho logo đã được điều chỉnh trong gap */
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr;
    gap: 20px; /* Tăng khoảng cách hàng để chừa chỗ cho logo */
    width: 100%;
    max-width: 900px; /* Điều chỉnh lại max-width cho phù hợp */
    position: relative;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-neon);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border-radius: 12px;
    position: relative; /* QUAN TRỌNG: Để định vị phần tử giả */
    overflow: hidden; /* QUAN TRỌNG: Để che đi phần thừa */
}

/* --- KỸ THUẬT CẮT GÓC CONG BẰNG PSEUDO-ELEMENT --- */
.service-card::before {
    content: '';
    position: absolute;
    width: 220px; /* Kích thước đường tròn cắt (lớn hơn logo) */
    height: 220px;
    background: var(--bg-dark); /* Màu nền của trang */
    border-radius: 50%;
    z-index: 1; /* Nằm trên card nhưng dưới nội dung card */
}

/* Định vị đường tròn cắt cho từng card */
.top-left::before {
    bottom: -110px; /* Nửa chiều cao */
    right: -110px;  /* Nửa chiều rộng */
}
.top-right::before {
    bottom: -110px;
    left: -110px;
}
.bottom-left::before {
    top: -110px;
    right: -110px;
}
.bottom-right::before {
    top: -110px;
    left: -110px;
}

.service-card h3, .service-card p {
    position: relative;
    z-index: 2; /* Đảm bảo nội dung chữ nằm trên lớp cắt */
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 25px rgba(100, 255, 218, 0.4);
    border-color: var(--accent-neon);
}

.service-card h3 {
    font-size: 1.8em;
    margin: 0 0 10px 0;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* --- LOGO VÀ HIỆU ỨNG (GIỮ NGUYÊN) --- */
.center-logo-container {
    /* Định vị logo tuyệt đối ở giữa grid */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.vietbot-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, var(--bg-dark) 70%);
    border: 3px solid var(--border-neon);
    color: var(--text-secondary);
    font-family: var(--font-heading);
	font-weight: bold;
    font-size: 2.8em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.2), inset 0 0 10px rgba(100, 255, 218, 0.1);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.vietbot-logo:hover, .vietbot-logo:focus {
    transform: scale(1.05);
    box-shadow: 0 0 35px var(--accent-neon), inset 0 0 20px rgba(100, 255, 218, 0.8);
    background: radial-gradient(circle, var(--accent-neon) 0%, var(--bg-dark) 70%);
    color: #fff;
    outline: none;
}

.vietbot-logo:active {
    transform: scale(0.98);
    transition-duration: 0.1s;
}

.center-logo-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--accent-neon);
    opacity: 0;
    pointer-events: none;
    transition: all 0.8s ease-out;
}

.center-logo-container.pulse::after {
    width: 700px;
    height: 700px;
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1.5);
    background-color: transparent;
    border: 2px solid var(--accent-neon);
}

.service-card.glow {
    box-shadow: 0 0 35px var(--accent-neon), inset 0 0 15px rgba(100, 255, 218, 0.5);
    border-color: #fff;
    transform: scale(1.03);
}

/* /assets/index.css */
/* ... (toàn bộ code phía trên giữ nguyên) ... */

/* /assets/index.css */
/* ... (toàn bộ code phía trên giữ nguyên) ... */

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .service-grid-tech {
        /* Chuyển sang bố cục flexbox dạng cột trên mobile */
        display: flex;
        flex-direction: column;
        gap: 20px; /* Reset gap trên mobile */
    }

    .service-card {
        /* Bỏ các hiệu ứng cắt và grid phức tạp */
        clip-path: none;
        -webkit-mask-image: none;
        mask-image: none;
        grid-column: auto;
        grid-row: auto;
    }
    .service-card::before {
        display: none; /* Ẩn hiệu ứng cắt giả */
    }

    .center-logo-container {
        position: static; /* Reset vị trí logo */
        display: none; /* THÊM DÒNG NÀY ĐỂ ẨN LOGO */		
        transform: none;
        order: 3; /* Đặt logo ở giữa, sau 2 card đầu tiên */
        margin: 10px 0; /* Thêm khoảng cách trên dưới cho logo */
    }
    .vietbot-logo {
        width: 120px; /* Giảm kích thước logo một chút */
        height: 120px;
        font-size: 2.5em;
    }

    /* Sắp xếp lại thứ tự các card */
    .top-left { order: 1; }
    .top-right { order: 2; }
    .bottom-left { order: 4; }
    .bottom-right { order: 5; }
}