/* ==========================================================================
   PACKAGE CARD STYLESHEET - BẢNG GIÁ & THẺ GÓI CƯỚC (PREMIUM NEON)
   ==========================================================================
   MỤC LỤC / TABLE OF CONTENTS:
   01. PACKAGES GRID CONTAINER  - Bố cục danh sách lưới căn giữa
   02. CARD WRAPPER & GLOW      - Viền chuyển động xoay tròn neon & bo góc
   03. CARD HEADER & BADGES     - Nhãn HOT / Ưa chuộng & tốc độ Mbps
   04. PRICING & PROMOTIONS     - Giá cước hàng tháng và ưu đãi giảm giá
   05. FEATURE LIST & ICONS     - Danh sách đặc điểm gói cước với icon SVG
   06. CTA BUTTONS & DETAILS    - Nút Đăng ký lắp đặt & Xem chi tiết
   07. DARK MODE THEME          - Tương thích giao diện chế độ tối
   08. RESPONSIVE BREAKPOINTS   - Co giãn linh hoạt theo thiết bị
   ========================================================================== */

/* ===== CONTAINER — FLEX WRAP + CĂN GIỮA ===== */
.packages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 22px;
    padding-bottom: 50px;
    position: relative;
    z-index: 1;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* =========================================================
   WRAPPER — chứa viền xoay + card, overflow hidden
   ========================================================= */
.pkg-wrap {
    position: relative;
    border-radius: 1rem;
    padding: 1px;
    background: #ffffff;
    overflow: hidden;
    isolation: isolate;

    /* ⭐ Kích thước cố định: 4 card + 3 gap = 100% */
    flex: 0 0 calc((100% - 3 * 22px) / 4);
    max-width: calc((100% - 3 * 22px) / 4);
    min-width: 260px;
    box-sizing: border-box;
    min-height: 480px;

    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: auto;
    align-self: stretch;
}

.pkg-wrap:hover {
    transform: translateY(-6px);
}

/* ⭐ Viền xoay */
.pkg-wrap::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 240deg,
        #f37021 280deg,
        #ffb26b 310deg,
        #ff8c42 340deg,
        #f37021 360deg
    );
    animation: pkgWrapSpin 15s linear infinite;
    opacity: 0.8;
    transition: opacity 0.35s ease;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.pkg-wrap:hover::before {
    opacity: 1;
}

@keyframes pkgWrapSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =========================================================
   CARD — nội dung bên trong wrapper
   ========================================================= */
.pkg {
    --white: #1a1a1a;
    --paragraph: rgba(30, 30, 30, 0.7);
    --line: rgba(243, 112, 33, 0.15);
    --primary: #f37021;
    --primary-light: #f37021;

    width: 100%;
    height: 100%;

    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: calc(1rem - 1px);

    /* ⭐ NỀN TRẮNG + ÁNH SÁNG CAM Ở ĐÁY */
    background-color: #ffffff;
    background-image:
        radial-gradient(at 88% 100%, rgba(243, 112, 33, 0.18) 0px, transparent 60%),
        radial-gradient(at 12% 95%, rgba(255, 178, 107, 0.25) 0px, transparent 55%),
        radial-gradient(at 50% 100%, rgba(217, 88, 16, 0.1) 0px, transparent 60%);

    box-shadow:
        inset 0 -20px 30px -10px rgba(243, 112, 33, 0.25);

    z-index: 1;
}

.pkg-wrap:hover .pkg {
    box-shadow:
        inset 0 -20px 30px -10px rgba(243, 112, 33, 0.4);
}

.pkg > * {
    position: relative;
    z-index: 2;
}

/* =========================================================
   HEADER — NỀN CAM, CHỮ TRẮNG GRADIENT KIM LOẠI
   ========================================================= */
.pkg .pkg-header {
    margin: 0;
    padding: 1.4rem 1.2rem 1.2rem;

    background-image: linear-gradient(135deg, #f37021 0%, #ff8c42 50%, #ffb26b 100%);

    text-align: left;

    /* ⭐ Font đẹp */
    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: -0.5px;

    /* ⭐ Gradient trắng kim loại cho chữ */
    background-clip: padding-box;
    color: #ffffff;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.2);

    border-bottom: none;
    border-radius: calc(1rem - 1px) calc(1rem - 1px) 0 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    position: relative;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(243, 112, 33, 0.25);
}

/* ⭐ Chữ header dùng gradient trắng kim loại — tách riêng để không ảnh hưởng background */
.pkg .pkg-header {
    /* Đảm bảo text trắng có glow, không dùng text-fill-color transparent vì sẽ che background */
}

.pkg .pkg-header small {
    display: block;
    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.4rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 90%;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* ===== BODY ===== */
.pkg-body {
    padding: 1.4rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 1rem;
}

/* =========================================================
   GIÁ — GRADIENT CAM KIM LOẠI
   ========================================================= */
.pkg .price {
    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    letter-spacing: -1.8px;
    margin: 0;
    white-space: nowrap;

    /* ⭐ Gradient cam kim loại */
    background: linear-gradient(180deg,
        #ff8c42 0%,
        #f37021 35%,
        #d95810 55%,
        #f37021 75%,
        #e65100 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    filter: drop-shadow(0 2px 10px rgba(243, 112, 33, 0.4))
            drop-shadow(0 0 20px rgba(243, 112, 33, 0.15));
}

.pkg .price .unit {
    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: rgba(30, 30, 30, 0.65);
    margin-left: 4px;
    text-shadow: none;
    white-space: nowrap;

    /* ⭐ Reset gradient cho unit — chỉ số mới có gradient */
    -webkit-text-fill-color: rgba(30, 30, 30, 0.65);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    filter: none;
}

/* =========================================================
   DANH SÁCH QUYỀN LỢI
   ========================================================= */
.pkg ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
    flex: 1;
    min-width: 0;
}

.pkg ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1px;
    color: #1a1a1a;
    line-height: 1.5;
    padding: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    min-width: 0;
}

/* ⭐ Check icon — SVG trắng trong hình tròn cam */
.pkg ul li::before {
    content: "";
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath fill-rule='evenodd' d='M12.416 3.376a.75.75 0 0 1 .208 1.04l-5 7.5a.75.75 0 0 1-1.154.114l-3-3a.75.75 0 0 1 1.06-1.06l2.353 2.353 4.493-6.74a.75.75 0 0 1 1.04-.207Z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 0.8rem 0.8rem;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 10px rgba(243, 112, 33, 0.5);
    margin-top: 0.15rem;
}

/* =========================================================
   NÚT MUA NGAY
   ========================================================= */
.pkg .btn-pkg {
    display: block;
    cursor: pointer;
    margin-top: auto;
    padding: 0.8rem 1rem;
    width: 100%;
    box-sizing: border-box;

    background-image: linear-gradient(0deg, #d95810 0%, #ffb26b 100%);

    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    color: #ffffff;

    border: 0;
    border-radius: 9999px;
    box-shadow:
        inset 0 -2px 25px -4px rgba(255, 255, 255, 0.7),
        0 4px 12px rgba(217, 88, 16, 0.3);

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.pkg .btn-pkg::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.6s ease;
}

.pkg .btn-pkg:hover::before {
    left: 100%;
}

.pkg .btn-pkg:hover {
    background-image: linear-gradient(0deg, #ff8c42 0%, #ffd4a8 100%);
    transform: translateY(-2px);
    color: #1a1a1a;
    box-shadow:
        inset 0 -2px 25px -4px rgba(255, 255, 255, 0.9),
        0 8px 25px rgba(243, 112, 33, 0.5);
}

/* =========================================================
   RIBBON HOT / NỔI BẬT
   ========================================================= */
.pkg .pkg-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px 6px;
    border-radius: 9999px;

    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;

    color: #ffffff;
    line-height: 1;
    white-space: nowrap;
    z-index: 10;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pkg .pkg-ribbon svg {
    width: 11px;
    height: 11px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.pkg .pkg-ribbon-hot {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f97316 100%);
    box-shadow:
        0 4px 12px rgba(220, 38, 38, 0.5),
        0 0 15px rgba(239, 68, 68, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: ribbonHotPulse 2s ease-in-out infinite;
}

@keyframes ribbonHotPulse {
    0%, 100% {
        box-shadow:
            0 4px 12px rgba(220, 38, 38, 0.5),
            0 0 15px rgba(239, 68, 68, 0.7),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow:
            0 4px 12px rgba(220, 38, 38, 0.7),
            0 0 22px rgba(239, 68, 68, 0.9),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

.pkg .pkg-ribbon-featured {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
    box-shadow:
        0 4px 12px rgba(217, 119, 6, 0.5),
        0 0 15px rgba(251, 191, 36, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    animation: ribbonFeaturedPulse 2.5s ease-in-out infinite;
}

@keyframes ribbonFeaturedPulse {
    0%, 100% {
        box-shadow:
            0 4px 12px rgba(217, 119, 6, 0.5),
            0 0 15px rgba(251, 191, 36, 0.7),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }
    50% {
        box-shadow:
            0 4px 12px rgba(217, 119, 6, 0.7),
            0 0 22px rgba(251, 191, 36, 0.9),
            inset 0 1px 0 rgba(255, 255, 255, 0.45);
    }
}

.pkg-wrap:hover .pkg-ribbon {
    transform: translateY(-2px) scale(1.05);
}

.pkg:has(.pkg-ribbon) .pkg-header {
    padding-right: 75px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .pkg-wrap {
        flex: 0 0 calc((100% - 2 * 22px) / 3);
        max-width: calc((100% - 2 * 22px) / 3);
    }
}

@media (max-width: 900px) {
    .pkg-wrap {
        flex: 0 0 calc((100% - 1 * 22px) / 2);
        max-width: calc((100% - 1 * 22px) / 2);
    }
}

@media (max-width: 640px) {
    .packages {
        gap: 16px;
        padding-bottom: 30px;
    }
    .pkg-wrap {
        flex: 0 0 100%;
        max-width: 100%;
        min-width: 0;
        width: 100%;
        min-height: auto;
    }
    /* ⭐ Tắt xoay conic gradient nặng GPU trên mobile */
    .pkg-wrap::before {
        animation: none !important;
        transform: none !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(135deg, #f37021, #ffb26b) !important;
        opacity: 0.35 !important;
    }
    .pkg-wrap:hover {
        transform: none !important;
    }
    .pkg .price { font-size: 1.85rem; }
    .pkg .pkg-header { font-size: 1.1rem; }
    .pkg:has(.pkg-ribbon) .pkg-header { padding-right: 65px; }
}

/* =========================================================
   DARK MODE — Package Card
   ========================================================= */

body.dark-mode .pkg-wrap {
    background: #1f2937 !important;
}

body.dark-mode .pkg {
    background-color: #1f2937 !important;
    background-image:
        radial-gradient(at 88% 100%, rgba(243, 112, 33, 0.08) 0px, transparent 60%),
        radial-gradient(at 12% 95%, rgba(255, 178, 107, 0.08) 0px, transparent 55%),
        radial-gradient(at 50% 100%, rgba(217, 88, 16, 0.04) 0px, transparent 60%) !important;
}

body.dark-mode .pkg ul li {
    color: #d1d5db !important;
}

body.dark-mode .pkg .price {
    /* ⭐ Gradient cam sáng hơn cho dark mode */
    background: linear-gradient(180deg,
        #ffb26b 0%,
        #ff8c42 35%,
        #f37021 55%,
        #ff8c42 75%,
        #e65100 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.dark-mode .pkg .price .unit {
    color: rgba(255, 255, 255, 0.6) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
}

body.dark-mode .pkg-body {
    color: #e5e7eb !important;
}

/* ⭐ Section title — Gradient cam FPT (tĩnh, sắc nét, siêu mượt) */
.section-title h2 {
    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    font-weight: 900;
    letter-spacing: -0.8px;
    background: linear-gradient(135deg,
        #d95810 0%,
        #f37021 35%,
        #ff8c42 70%,
        #d95810 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* =========================================================
   MESH WIFI SHOWCASE SECTION — UIVERSE CARD EFFECT
   ========================================================= */
.mesh-section-wrap {
    margin-top: 35px;
    margin-bottom: 50px;
}

.mesh-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px;
    align-items: stretch;
}

/* ⭐ Wrapper chứa viền xoay phát sáng Uiverse */
.mesh-card-wrap {
    position: relative;
    border-radius: 1.15rem;
    padding: 1.5px;
    background: linear-gradient(0deg, rgba(243, 112, 33, 0.35) -50%, rgba(243, 112, 33, 0.12) 100%);
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
    box-shadow: 0 10px 30px rgba(243, 112, 33, 0.08);
}

.mesh-card-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(243, 112, 33, 0.22);
}

/* ⭐ Viền xoay Uiverse (card__border + ::before rotate) */
.mesh-card-wrap .mesh-card__border {
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: 1.15rem;
}

.mesh-card-wrap .mesh-card__border::before {
    content: "";
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 240%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%) rotate(0deg);
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 210deg,
        rgba(243, 112, 33, 0.95) 265deg,
        #ffb26b 305deg,
        #ff7a18 335deg,
        rgba(243, 112, 33, 0.95) 360deg
    );
    animation: meshBorderRotate 8s linear infinite;
    opacity: 0.85;
    transition: opacity 0.35s ease;
    will-change: transform;
}

.mesh-card-wrap:hover .mesh-card__border::before {
    opacity: 1;
}

@keyframes meshBorderRotate {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ⭐ Thẻ Card bên trong với hiệu ứng Radial Gradient + Inset Glow Uiverse */
.mesh-card {
    --white: #1e293b;
    --paragraph: #64748b;
    --line: rgba(243, 112, 33, 0.18);
    --primary: #f37021;

    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: calc(1.15rem - 1.5px);
    padding: 26px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;

    background-color: #ffffff;
    background-image:
        radial-gradient(at 88% 40%, rgba(255, 255, 255, 0.96) 0px, transparent 85%),
        radial-gradient(at 49% 30%, rgba(255, 255, 255, 0.96) 0px, transparent 85%),
        radial-gradient(at 14% 26%, rgba(255, 255, 255, 0.96) 0px, transparent 85%),
        radial-gradient(at 0% 64%, rgba(243, 112, 33, 0.14) 0px, transparent 80%),
        radial-gradient(at 41% 94%, rgba(255, 178, 107, 0.26) 0px, transparent 80%),
        radial-gradient(at 100% 99%, rgba(255, 122, 24, 0.22) 0px, transparent 80%);

    box-shadow:
        inset 0px -16px 24px 0px rgba(243, 112, 33, 0.22),
        inset 0px 1px 0px 0px rgba(255, 255, 255, 0.9);
    border: none;
    overflow: hidden;
    transition: box-shadow 0.35s ease;
}

.mesh-card-wrap:hover .mesh-card {
    box-shadow:
        inset 0px -18px 28px 0px rgba(243, 112, 33, 0.35),
        inset 0px 1px 0px 0px rgba(255, 255, 255, 1);
}

.mesh-card.mesh-featured {
    background-image:
        radial-gradient(at 88% 40%, rgba(255, 255, 255, 0.95) 0px, transparent 85%),
        radial-gradient(at 49% 30%, rgba(255, 255, 255, 0.95) 0px, transparent 85%),
        radial-gradient(at 14% 26%, rgba(255, 255, 255, 0.95) 0px, transparent 85%),
        radial-gradient(at 0% 64%, rgba(243, 112, 33, 0.18) 0px, transparent 80%),
        radial-gradient(at 41% 94%, rgba(255, 178, 107, 0.32) 0px, transparent 80%),
        radial-gradient(at 100% 99%, rgba(255, 122, 24, 0.26) 0px, transparent 80%);
}

.mesh-card > * {
    position: relative;
    z-index: 2;
}

.mesh-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 2px;
    border-bottom: none;
}

.mesh-card-header h3 {
    margin: 0;
    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.5px;
}

.mesh-subtitle {
    font-size: 0.78rem;
    color: var(--paragraph);
    margin-top: 4px;
    font-weight: 500;
}

.mesh-line {
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(243, 112, 33, 0.35) 0%, rgba(243, 112, 33, 0.12) 65%, transparent 100%);
    border: none;
    margin: -4px 0 0;
}

.mesh-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(243, 112, 33, 0.16) 0%, rgba(255, 178, 107, 0.25) 100%);
    color: #e65100;
    border: 1px solid rgba(243, 112, 33, 0.3);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(243, 112, 33, 0.12);
}

.mesh-price-box {
    background: rgba(255, 247, 237, 0.75);
    border-radius: 12px;
    padding: 14px 18px;
    border: 1px dashed rgba(243, 112, 33, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.mesh-monthly {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.mesh-plus {
    font-size: 1.45rem;
    font-weight: 900;
    color: #f37021;
}

.mesh-amount {
    font-size: 2.05rem;
    font-weight: 900;
    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    letter-spacing: -1px;
    background: linear-gradient(180deg,
        #ff8c42 0%,
        #f37021 35%,
        #d95810 55%,
        #f37021 75%,
        #e65100 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 2px 8px rgba(243, 112, 33, 0.3));
}

.mesh-unit {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    margin-left: 2px;
}

.mesh-note-fee {
    margin-top: 6px;
    font-size: 0.82rem;
    color: #475569;
}

.mesh-note-fee strong {
    color: #0f172a;
}

.mesh-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
}

.mesh-specs li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #1e293b;
    line-height: 1.5;
}

/* ⭐ Icon tròn phát sáng kiểu Uiverse (.check) */
.mesh-specs .mesh-check {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 1.45rem;
    height: 1.45rem;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(243, 112, 33, 0.5);
    margin-top: 1px;
}

.mesh-specs .mesh-icon {
    width: 0.85rem;
    height: 0.85rem;
    stroke: #ffffff;
    flex-shrink: 0;
    margin-top: 0;
}

.mesh-note-inline {
    color: #d95810;
    font-size: 12.5px;
}

/* ⭐ Nút bấm Uiverse (.button với inset glow + shine) */
.btn-mesh {
    cursor: pointer;
    display: block;
    width: 100%;
    padding: 0.78rem 1.1rem;
    margin-top: auto;
    box-sizing: border-box;

    background-image: linear-gradient(
        0deg,
        #d95810 0%,
        #ffb26b 100%
    );

    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);

    border: 0;
    border-radius: 9999px;
    box-shadow:
        inset 0 -2px 25px -4px rgba(255, 255, 255, 0.75),
        0 4px 14px rgba(217, 88, 16, 0.32);

    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-mesh::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transition: left 0.6s ease;
}

.btn-mesh:hover::before {
    left: 100%;
}

.btn-mesh:hover {
    background-image: linear-gradient(0deg, #ff8c42 0%, #ffd4a8 100%);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow:
        inset 0 -2px 25px -4px rgba(255, 255, 255, 0.92),
        0 8px 25px rgba(243, 112, 33, 0.5);
}

@media (max-width: 768px) {
    .mesh-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 12px;
    }
    .mesh-card-wrap .mesh-card__border::before {
        animation: none !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        background: linear-gradient(135deg, #f37021, #ffb26b) !important;
        opacity: 0.45 !important;
    }
    .mesh-card {
        padding: 22px 18px 20px;
    }
    .mesh-card-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    .mesh-monthly {
        flex-wrap: wrap;
    }
    .btn-pkg,
    .btn-mesh {
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pkg-body {
        padding: 18px 16px 20px;
    }
    .pkg .price {
        font-size: clamp(24px, 7.5vw, 30px);
    }
    .mesh-card {
        padding: 18px 15px 18px;
        gap: 13px;
    }
    .mesh-card-header h3 {
        font-size: 1.2rem;
    }
    .mesh-price-box {
        padding: 12px 14px;
    }
    .mesh-amount {
        font-size: clamp(1.65rem, 6.8vw, 2.05rem);
    }
    .mesh-specs li {
        font-size: 0.84rem;
    }
}

/* =========================================================
   DARK MODE — Mesh WiFi Uiverse Card
   ========================================================= */
body.dark-mode .mesh-card-wrap {
    background: #1f2937;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

body.dark-mode .mesh-card {
    --white: #f8fafc;
    --paragraph: #cbd5e1;
    background-color: hsla(240, 15%, 9%, 1);
    background-image:
        radial-gradient(at 88% 40%, hsla(240, 15%, 9%, 1) 0px, transparent 85%),
        radial-gradient(at 49% 30%, hsla(240, 15%, 9%, 1) 0px, transparent 85%),
        radial-gradient(at 14% 26%, hsla(240, 15%, 9%, 1) 0px, transparent 85%),
        radial-gradient(at 0% 64%, rgba(243, 112, 33, 0.35) 0px, transparent 85%),
        radial-gradient(at 41% 94%, rgba(255, 178, 107, 0.28) 0px, transparent 85%),
        radial-gradient(at 100% 99%, rgba(230, 81, 0, 0.38) 0px, transparent 85%);
    box-shadow: 0px -16px 24px 0px rgba(255, 255, 255, 0.14) inset;
}

body.dark-mode .mesh-card-header h3 {
    color: #ffffff;
}

body.dark-mode .mesh-subtitle {
    color: #cbd5e1;
}

body.dark-mode .mesh-tag {
    background: rgba(243, 112, 33, 0.22);
    color: #ffb26b;
    border-color: rgba(255, 178, 107, 0.35);
}

body.dark-mode .mesh-price-box {
    background: rgba(243, 112, 33, 0.12);
    border-color: rgba(243, 112, 33, 0.45);
    box-shadow: none;
}

body.dark-mode .mesh-unit {
    color: #cbd5e1;
}

body.dark-mode .mesh-note-fee {
    color: #cbd5e1;
}

body.dark-mode .mesh-note-fee strong {
    color: #ffffff;
}

body.dark-mode .mesh-specs li {
    color: #f1f5f9;
}

body.dark-mode .mesh-note-inline {
    color: #ffb26b;
}