/* ============================================================
   VLINK BLUEPRINT HERO - FIX ALIGNMENT FOR HTML
   ============================================================ */

.vlink-blueprint-hero-wrapper {
    padding: 80px 0;
    //background: radial-gradient(circle at top right, #f0f7ff 0%, transparent 40%);
    width: 100%;
    text-align: center;
}

/* Ép container căn giữa */
.vlink-blueprint-hero-wrapper .vlink-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

/* QUAN TRỌNG: Căn giữa cho thẻ bọc nội dung chính của anh */
.hero-main-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Căn giữa mọi thứ từ Title, Desc đến Nút */
    width: 100%;
}

/* 1. Breadcrumb */
.vlink-breadcrumb {
    margin-bottom: 40px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.vlink-breadcrumb a { color: #64748b; text-decoration: none; }
.vlink-breadcrumb .current a { color: #001a41; font-weight: 700; }

/* 2. Title & Desc */
.hero-title {
    font-size: 56px;
    font-weight: 900;
    margin: 20px auto;
    background: linear-gradient(135deg, #001a41 0%, #0046be 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-desc {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: #475569;
}

/* 3. Live Badge (Giữ nguyên hiệu ứng Live của anh) */
.live-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: #fff;
    border-radius: 50px;
    border: 1px solid #edf2f7;
    margin-bottom: 15px;
}

.pulse-dot {
    width: 10px; height: 10px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
}

.pulse-dot::after {
    content: ""; position: absolute; width: 100%; height: 100%;
    background: inherit; border-radius: 50%;
    animation: hero-pulse-live 2s infinite;
}

@keyframes hero-pulse-live {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

/* 4. Cụm nút bấm (Hero Actions) - Đảm bảo không lệch */
.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center; /* Căn giữa hàng nút */
    flex-wrap: wrap;
    margin-bottom: 40px;
    width: 100%;
}

.vlink-btn {
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}

.btn-primary { background: #001a41; color: #fff !important; }
.btn-primary:hover { background: #0046be; transform: translateY(-3px); }

.btn-outline { border: 2px solid #e2e8f0; color: #001a41 !important; }
.btn-outline:hover { border-color: #0046be; color: #0046be !important; }

.btn-cart { background: #f1f5f9; color: #475569 !important; }

/* 5. Trust Badges - Căn giữa hàng icon */
.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.badge-item {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
}

.badge-item i { color: #22c55e; margin-right: 8px; }

/* Mobile */
@media (max-width: 768px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .vlink-btn { width: 100%; max-width: 300px; justify-content: center; }
    .hero-trust-badges { flex-direction: column; gap: 15px; }
}


/* ============================================================
   SECTION 2: GRID UPGRADE + LIVE BUTTON RETURN
   ============================================================ */

.vlink-blueprint-grid-wrapper {
    padding: 100px 0;
    background-color: #fcfdfe;
    background-image: radial-gradient(#e2e8f0 0.6px, transparent 0.6px);
    background-size: 30px 30px;
    width: 100%;
}

/* 1. Header & Kicker */
.grid-header { text-align: center; margin-bottom: 60px; }
.grid-header .kicker {
    font-size: 13px; font-weight: 800; color: #0046be;
    letter-spacing: 2px; display: block; margin-bottom: 10px;
}
.grid-header h2 { font-size: 36px; font-weight: 900; color: #001a41; margin: 0; }
.header-line { width: 60px; height: 4px; background: #0046be; margin: 20px auto 0; border-radius: 2px; }

/* 2. Grid & Cards */
.vlink-main-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 30px; margin-bottom: 60px;
}
.grid-card {
    background: #ffffff; border: 1px solid #edf2f7; border-radius: 24px;
    padding: 40px; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.grid-card:hover {
    transform: translateY(-10px); border-color: #0046be;
    box-shadow: 0 20px 40px rgba(0, 70, 190, 0.1);
}
.card-icon-box { font-size: 32px; margin-bottom: 20px; }
.grid-card h3 { font-size: 20px; font-weight: 800; color: #001a41; margin-bottom: 15px; }
.grid-card p { font-size: 15px; color: #64748b; line-height: 1.6; margin-bottom: 25px; }

/* 3. Quick Links */
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-links a {
    padding: 8px 16px; background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: 8px; font-size: 13px; font-weight: 700; color: #475569;
    text-decoration: none !important; transition: 0.2s;
}
.quick-links a:hover { background: #0046be; color: #fff !important; border-color: #0046be; }

/* 4. TRẢ LẠI NÚT LIVE ASSETS VÀ HIỆU ỨNG NHẤP NHÁY */
.grid-footer { display: flex; justify-content: center; margin-top: 20px; }
.url-live-link {
    display: inline-flex; align-items: center; background: #001a41;
    padding: 12px 28px; border-radius: 50px; text-decoration: none !important;
    transition: all 0.3s ease;
}
.url-live-link:hover { background: #0046be; box-shadow: 0 8px 20px rgba(0, 70, 190, 0.3); }

.url-live-link .label { color: #94a3b8; font-size: 13px; margin-right: 10px; }
.url-live-link .path { color: #ffffff; font-weight: 700; font-size: 15px; margin-right: 18px; }

.status-indicator {
    display: flex; align-items: center; border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 18px;
}
.status-dot {
    width: 10px; height: 10px; background-color: #22c55e;
    border-radius: 50%; margin-right: 10px; position: relative;
}

/* Hiệu ứng Live nhấp nháy mạnh */
.status-dot::after {
    content: ""; position: absolute; width: 100%; height: 100%;
    background: #22c55e; border-radius: 50%; animation: grid-pulse-live 1.5s infinite;
}

@keyframes grid-pulse-live {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3.5); opacity: 0; }
}

.status-text {
    color: #22c55e; font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 992px) {
    .vlink-main-grid { grid-template-columns: 1fr; }
    .url-live-link { flex-direction: column; border-radius: 15px; padding: 20px; }
    .status-indicator { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 15px; padding: 15px 0 0 0; }
}


/* ============================================================
   SECTION 3: BUNDLES CATALOG - PREMIUM LOOK
   ============================================================ */

.vlink-blueprint-catalog.bundle-section {
    padding: 80px 0;
    background: #ffffff; /* Nền trắng sạch để làm nổi bật sản phẩm */
    width: 100%;
}

/* 1. Header của Catalog */
.catalog-header {
    text-align: left; /* Canh trái đồng bộ với phong cách FAQ/Grid anh muốn */
    margin-bottom: 50px;
    max-width: 800px;
}

.catalog-kicker {
    font-size: 12px;
    font-weight: 800;
    color: #d35400; /* Màu cam đậm tạo cảm giác "Deal/Tiết kiệm" */
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.catalog-header h2 {
    font-size: 32px;
    font-weight: 900;
    color: #001a41;
    margin-bottom: 15px;
}

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

/* 2. Tinh chỉnh Product Loop (Dành cho Flatsome/WooCommerce) */
.vlink-product-loop {
    margin-top: 20px;
}

/* Ép các ô sản phẩm có giao diện tương đồng với Grid Card */
.vlink-product-loop .product-small.col {
    padding-bottom: 30px;
}

.vlink-product-loop .col-inner {
    background: #fff;
    border: 1px solid #edf2f7 !important;
    border-radius: 20px !important;
    padding: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.vlink-product-loop .col-inner:hover {
    transform: translateY(-8px);
    border-color: #0046be !important;
    box-shadow: 0 15px 30px rgba(0, 70, 190, 0.08) !important;
}

/* 3. Price & Badge (Điểm nhấn cho Bundle) */
.vlink-product-loop .price {
    font-weight: 800;
    color: #d35400 !important; /* Màu giá tiền nổi bật */
}

.vlink-product-loop .add_to_cart_button {
    background-color: #001a41 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

.vlink-product-loop .add_to_cart_button:hover {
    background-color: #0046be !important;
    color: #0046be;
}

/* Responsive */
@media (max-width: 768px) {
    .catalog-header { text-align: center; }
    .catalog-header h2 { font-size: 26px; }
}

/* ============================================================
   SECTION 4: ASSETS LIBRARY - SEGMENTS STYLES
   ============================================================ */

.vlink-blueprint-catalog.library-block {
    padding: 60px 0 100px;
    background: #ffffff;
    width: 100%;
}

/* 1. Tiêu đề phân đoạn (Segment Title) */
.segment {
    margin-bottom: 50px;
}

.segment-info {
    margin-bottom: 30px;
    text-align: left; /* Đồng bộ canh trái để dễ quét thông tin */
}

.segment-title {
    font-size: 24px;
    font-weight: 850;
    color: #001a41;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

/* Thêm vạch màu xanh đứng bên cạnh tiêu đề để tạo điểm nhấn chuyên nghiệp */
.segment-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 24px;
    background: #0046be;
    margin-right: 15px;
    border-radius: 2px;
}

.segment-desc {
    font-size: 15px;
    color: #64748b;
    margin-left: 19px; /* Căn lề thẳng với text sau vạch xanh */
    max-width: 700px;
}

/* 2. Divider - Đường phân cách giữa các loại tài liệu */
.vlink-divider {
    height: 1px;
    background: linear-gradient(to right, #e2e8f0, transparent);
    margin: 60px 0;
    width: 100%;
}

/* 3. Tinh chỉnh Product Grid trong Library */
/* Giữ nguyên logic hover từ phần Bundle để nhất quán trải nghiệm */
.has-shadow>.col>.col-inner{
    overflow: hidden!important;
}
.product-grid-wrapper .col-inner {
    background: #fff;
    border: 1px solid #edf2f7 !important;
    border-radius: 16px !important;
    transition: all 0.3s ease;
}

.product-grid-wrapper .col-inner:hover {
    border-color: #0046be !important;
    box-shadow: 0 10px 25px rgba(0, 70, 190, 0.08) !important;
}

/* Đồng bộ nút bấm mua hàng cho toàn trang Library */
.product-grid-wrapper .add_to_cart_button {
    background-color: #ffffff !important;
    text-transform: uppercase;
    font-size: 12px !important;
    letter-spacing: 0.5px;
    font-weight: 700 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .segment-title { font-size: 20px; }
    .segment-desc { margin-left: 0; padding-left: 19px; }
}

/* Canh giữa Header tổng của Library */
.vlink-blueprint-catalog .catalog-header {
    text-align: center;
    margin: 0 auto 60px;
}

/* Canh giữa tiêu đề của từng nhóm (Templates, SOPs, Playbooks) */
.segment-info {
    text-align: center;
    margin-bottom: 40px;
}

.segment-title {
    justify-content: center; /* Đưa text ra giữa */
    font-size: 26px;
}

/* Đổi vạch xanh từ đứng dọc (bên trái) sang nằm ngang (bên dưới) để hợp với Layout giữa */
.segment-title::before {
    display: none; /* Bỏ vạch dọc cũ */
}

.segment-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #0046be;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.segment-title {
    position: relative;
    margin-bottom: 25px;
}

.segment-desc {
    margin: 0 auto; /* Căn giữa đoạn mô tả */
    max-width: 650px;
}


/* ============================================================
   SECTION 5: FAQ - VLINK BLUEPRINT LIBRARY
   ============================================================ */

/* .faq-block: Khối bao ngoài cùng để tạo khoảng cách giữa các Section */
.vlink-blueprint-faq.faq-block {
    padding: 60px 0 100px;
    background-color: transparent; /* Giữ theo nền của Section cha */
    width: 100%;
}

/* .vlink-container: Khung giới hạn chiều rộng và căn khối nội dung vào giữa màn hình */
.vlink-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

/* .block.faq: Khối chứa danh sách FAQ, ép chiều rộng để không bị quá loãng trên Desktop */
.block.faq {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: left; /* Đảm bảo mọi thứ bên trong ưu tiên canh trái */
}

/* Tiêu đề chính h2 của khối FAQ */
.block.faq h2 {
    font-size: 28px;
    font-weight: 850;
    color: #001a41;
    margin-bottom: 35px;
    text-align: left; /* Canh trái tiêu đề theo yêu cầu */
}

/* 1. details: Thẻ bao quanh mỗi cặp Câu hỏi/Trả lời */
.block.faq details {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

/* Hiệu ứng khi đang mở câu hỏi (open) */
.block.faq details[open] {
    border-color: #0046be;
    box-shadow: 0 4px 20px rgba(0, 70, 190, 0.06);
}

/* 2. summary: Phần tiêu đề câu hỏi (Clickable) */
.block.faq summary {
    padding: 18px 25px;
    font-size: 16px;
    font-weight: 700;
    color: #001a41;
    cursor: pointer;
    list-style: none; /* Ẩn mũi tên mặc định */
    position: relative;
    padding-right: 60px; /* Chừa chỗ cho icon +/- */
    text-align: left; /* Canh trái nội dung câu hỏi */
}

/* Tạo Icon dấu (+) cho phần câu hỏi */
.block.faq summary::after {
    content: "+";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

/* Xoay icon và đổi màu khi mở câu hỏi */
.block.faq details[open] summary::after {
    content: "−";
    color: #0046be;
}

/* 3. .ans: Khối chứa nội dung trả lời chi tiết */
.block.faq .ans {
    padding: 0 25px 25px;
    font-size: 15px;
    line-height: 1.75;
    color: #4a5568;
    border-top: 1px solid #f1f5f9; /* Đường kẻ mờ phân tách câu hỏi/trả lời */
    padding-top: 20px;
    text-align: left; /* Canh trái câu trả lời */
}

/* Định dạng các điểm nhấn trong câu trả lời */
.block.faq .ans strong {
    color: #1e293b;
    font-weight: 700;
}

/* 4. UL & LI bên trong câu trả lời: Xử lý danh sách */
.block.faq .ans ul {
    margin: 15px 0 0 20px !important;
    padding: 0;
}

.block.faq .ans ul li {
    margin-bottom: 10px;
    list-style-type: disc; /* Hiện dấu chấm đầu dòng */
}

/* --- Tối ưu hóa cho thiết bị di động (Mobile) --- */
@media (max-width: 768px) {
    .block.faq h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    .block.faq summary {
        padding: 15px 20px;
        font-size: 15px;
    }
    .block.faq .ans {
        padding: 15px 20px 20px;
    }
}
/* Canh giữa tiêu đề FAQ */
.block.faq h2 {
    text-align: center;
    margin-bottom: 50px;
}

/* Giữ nội dung câu hỏi và trả lời canh trái để đảm bảo trải nghiệm đọc (UX) tốt nhất */
.block.faq summary, 
.block.faq .ans {
    text-align: left;
}
/* ============================================================
   SECTION 6: LIBRARY FOOTER - CHỐT HẠ CHUYÊN NGHIỆP
   ============================================================ */

.vlink-blueprint-footer.library-footer {
    padding: 80px 0 60px;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    width: 100%;
}

/* 1. Căn giữa tổng thể container */
.vlink-blueprint-footer .vlink-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Chống lệch: Ép mọi thứ vào giữa */
    text-align: center;
}

/* 2. footer-info: Đoạn văn bản mô tả */
.footer-info {
    max-width: 750px;
    margin-bottom: 40px;
}

.footer-note {
    font-size: 14px;
    line-height: 1.8;
    color: #64748b;
    margin: 0;
}

.footer-note a {
    color: #0046be;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dotted #0046be;
}

/* 3. footer-nav-extra: Cụm nút Live Menu */
.footer-nav-extra {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.nav-item:hover {
    transform: translateY(-3px);
    border-color: #0046be;
    box-shadow: 0 10px 20px rgba(0, 70, 190, 0.08);
}

.nav-label {
    font-size: 14px;
    font-weight: 700;
    color: #001a41;
}

/* 4. Hiệu ứng Pulse nhấp nháy cho từng nút */
.live-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
}

/* Màu đèn: Xanh lá cho Wiki, Xanh dương cho Career Path */
.live-pulse.green { background-color: #22c55e; }
.live-pulse.blue { background-color: #0046be; }

.live-pulse::after {
    content: "";
    position: absolute;
    width: 100%; height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: footer-pulse 2s infinite;
}

@keyframes footer-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(3.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .footer-nav-extra {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    .nav-item {
        justify-content: center;
    }
}