/* --- RESET & CƠ BẢN --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- GRID BỐ CỤC CHÍNH (PC) --- */
.main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    align-items: stretch; /* Ép cột trái và cột phải luôn bằng chiều cao nhau */
}

.left-column {
    display: flex;
    flex-direction: column;
}

.right-column {
    display: flex;
    flex-direction: column;
}

/* Các hộp chứa chung */
.block-box {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Khối cuối cùng của mỗi cột sẽ bỏ margin-bottom và tự giãn đầy chiều cao */
.left-column .block-box:last-child,
.right-column .block-box:last-child {
    margin-bottom: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Ép phần ruột trắng của khối số 3 tự giãn ra hết cỡ */
.left-column .block-box:last-child .block-content {
    flex-grow: 1;
    display: flex;
    align-items: center;  /* Căn giữa các icon theo chiều dọc */
    justify-content: center; /* Căn giữa các icon theo chiều ngang */
}

.border-blue { border: 2px solid #0056b3; }
.border-green { border: 2px solid #28a745; }
.border-red { border: 2px solid #dc3545; }

.block-title {
    color: white;
    font-size: 15px;
    padding: 12px 15px;
    font-weight: bold;
    width: 100%;
}

.highlight-yellow {
    color: #fff200;
}

.bg-blue { background-color: #0056b3; }
.bg-green { background-color: #28a745; }
.bg-red { background-color: #dc3545; }

.block-content {
    padding: 20px;
    width: 100%;
}

.intro-text {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* --- KHỐI 1: TÍNH NĂNG --- */
.feature-layout {
    display: flex;
    gap: 20px;
}

.feature-img {
    background: #f0f4f8;
    border: 1px solid #cbd5e1;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-width: 100px;
    height: 110px;
    font-weight: bold;
    color: #0056b3;
    font-size: 18px;
}

.download-icon {
    font-size: 32px;
    margin-top: 5px;
}

.badge-title {
    background-color: #002d62;
    color: white;
    display: inline-block;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 10px;
}

.feature-list ul {
    list-style: none;
}

.feature-list li {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* --- KHỐI 2: NHÀ MẠNG HỖ TRỢ --- */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin: 10px 0;
    width: 100%;
}

.brand-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 5px;
    text-align: center;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

/* --- KHỐI 3: KHÔNG HỖ TRỢ --- */
.no-support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 15px;
    text-align: center;
    width: 100%;
}

.no-item {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.no-item .icon {
    font-size: 24px;
}

/* --- KHỐI 4: BẢNG GIÁ DỊCH VỤ --- */
.relative-box {
    position: relative;
}

.badge-best-price {
    position: absolute;
    top: 55px;
    right: 20px;
    background: #f59e0b;
    color: white;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: rotate(10deg);
    z-index: 2;
}

.badge-text {
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.price-table th, .price-table td {
    border: 1px solid #cbd5e1;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

.price-table th {
    background-color: #002d62;
    color: white;
    font-weight: bold;
}

.price-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.price-text {
    color: #dc3545;
    font-weight: bold;
    font-size: 16px;
}

.unlimited-badge {
    margin-top: 20px;
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    color: #b45309;
    line-height: 1.5;
}

/* --- CỤM KHỐI DÙNG THỬ MỚI THÊM --- */
.trial-box {
    margin-top: 20px;
    background: #f0fdf4;
    border: 2px dashed #22c55e;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.trial-title {
    font-size: 14px;
    font-weight: bold;
    color: #15803d;
    margin-bottom: 8px;
}

.trial-info p {
    font-size: 13px;
    color: #1e293b;
    margin: 4px 0;
}

.btn-trial {
    display: inline-block;
    margin-top: 12px;
    background-color: #22c55e;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    transition: background 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-trial:hover {
    background-color: #16a34a;
}

.main-price-title {
    text-align: center;
    margin-top: 25px;
    font-size: 32px;
    font-weight: 900;
    color: #dc3545;
    letter-spacing: 1px;
}

.date-apply {
    font-size: 22px;
    margin-top: 5px;
    font-weight: 700;
}

/* --- FOOTER LƯU Ý --- */
.footer-note {
    background-color: #002d62;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.star-icon {
    background-color: #f59e0b;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
}

.footer-note p {
    font-size: 14px;
    line-height: 1.4;
}

/* --- THANH HOTLINE BẢN QUYỀN DƯỚI CÙNG --- */
.main-footer {
    width: 100%;
    text-align: center;
    padding: 15px 0 5px 0;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* --- ĐÁP ỨNG RESPONSIVE (MOBILE & TABLET) --- */
@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    .left-column .block-box:last-child {
        margin-bottom: 20px;
    }
    .badge-best-price {
        top: 12px;
        right: 15px;
        width: 65px;
        height: 65px;
    }
    .badge-text {
        font-size: 9px;
    }
}

@media (max-width: 576px) {
    body {
        padding: 10px;
    }

    .feature-layout {
        flex-direction: column;
        align-items: center;
    }

    .feature-img {
        width: 100%;
        height: auto;
        padding: 10px;
    }

    .footer-note {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .main-price-title {
        font-size: 28px;
    }
    
    .date-apply {
        font-size: 18px;
    }
}

/* --- HIỆU ỨNG NÚT BẤM --- */
.btn-secondary-outline,
.cta-btn.primary,
.btn-trial {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    animation: ctaPulseEffect 2.5s infinite ease-in-out;
}

.btn-secondary-outline::after,
.cta-btn.primary::after,
.btn-trial::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.5) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-30deg);
    animation: ctaShineEffect 3.5s infinite ease-in-out;
}

@keyframes ctaPulseEffect {
    0% { transform: scale(1); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); }
    50% { transform: scale(1.04); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); }
    100% { transform: scale(1); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); }
}

@keyframes ctaShineEffect {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.btn-secondary-outline:hover,
.cta-btn.primary:hover,
.btn-trial:hover {
    animation: none;
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* --- THANH ĐIỀU HƯỚNG --- */
.navigation-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    margin-bottom: 5px;
}

.nav-home-link {
    font-size: 14.5px;
    font-weight: 600;
    color: #0056b3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-home-link:hover {
    color: #0042cc;
    transform: translateY(-1px);
}

.nav-separator {
    color: #94a3b8;
    font-size: 14px;
    user-select: none;
}

.nav-current {
    font-size: 14.5px;
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 576px) {
    .navigation-header {
        padding: 10px 15px;
        font-size: 13.5px;
    }
}