.pricing-section {
    padding: 120px 0;
    background-color: #fcfcfc;
    position: relative;
    overflow: visible !important;
}

.blueprint-bg {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
    background-image: linear-gradient(var(--color-primary, #0f766e) 1px, transparent 1px), linear-gradient(90deg, var(--color-primary, #0f766e) 1px, transparent 1px);
    background-size: 80px 80px;
}

.container-matrix {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
    overflow: visible !important;
}

/* Header Matrix */
.header-matrix {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .header-matrix {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.matrix-desktop{
    margin-top: 80px;
}

/* Matrix Payment Badge - integrated inside matrix-desktop */
.matrix-payment-badge {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 24px auto;
    padding: 0 24px;
}

.matrix-payment-badge .payment-badge-matrix {
    background-color: var(--color-primary, #0f766e);
    color: white;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 4px solid #5eead4;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15);
    transition: all 0.3s ease;
    cursor: help;
    max-width: 100%;
}

.matrix-payment-badge .payment-badge-matrix:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.2);
}

.matrix-payment-badge .badge-icon {
    background: rgba(255,255,255,0.1);
    padding: 12px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.matrix-payment-badge .badge-icon svg {
    width: 24px;
    height: 24px;
}

.matrix-payment-badge .badge-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.matrix-payment-badge .badge-label {
    display: block;
    font-size: 10px;
    font-weight: 900;
    opacity: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.matrix-payment-badge .badge-value {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
}

.matrix-payment-badge .badge-progress {
    margin-top: 8px;
    height: 3px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 200px;
}

.matrix-payment-badge .progress-bar {
    position: absolute;
    inset: 0;
    width: 50%;
    background: linear-gradient(90deg, transparent, #5eead4, transparent);
    animation: flow 3s infinite linear;
}

.matrix-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    background-color: var(--color-primary, #0f766e);
    color: white;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.3em;
    
}

.icon-terminal { width: 12px; height: 12px; }

.section-title-matrix {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: var(--color-text-dark);
    letter-spacing: -0.02em;
    
    line-height: 1.3;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: clamp(14px, 1.8vw, 24px); /* Giảm lại 1 xíu so với trước đó */
    font-weight: 700;
    color: #6b7280;
    
    letter-spacing: 0;
    line-height: 1.4;
}

.section-subtitle .text-highlight {
    color: #0f766e;
    background: linear-gradient(transparent 70%, rgba(15, 118, 110, 0.1) 30%);
    padding: 0 4px;
}

/* Payment Badge Matrix */
.payment-badge-matrix {
    background-color: var(--color-primary, #0f766e);
    color: white;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 8px solid #5eead4;
    box-shadow: 15px 15px 0px rgba(15, 118, 110, 0.1);
    transition: all 0.3s ease;
    cursor: help;
}

.payment-badge-matrix:hover {
    transform: translate(5px, -5px);
}

.badge-icon {
    background: rgba(255,255,255,0.1);
    padding: 12px;
    width: 48px;
    height: 48px;
}

.badge-label {
    display: block;
    font-size: 10px;
    font-weight: 900;
    opacity: 1; /* Tăng lên 1 để đảm bảo độ tương phản đủ cao */
    letter-spacing: 0.2em;
    
    margin-bottom: 4px;
}

.badge-value {
    display: block;
    font-size: 18px;
    font-weight: 900;
    
    
    color: #ffffff; /* Đảm bảo màu trắng tinh khiết */
}

.badge-progress {
    margin-top: 8px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.progress-bar {
    position: absolute;
    inset: 0;
    width: 50%;
    background: linear-gradient(90deg, transparent, #5eead4, transparent);
    animation: flow 3s infinite linear;
}

@keyframes flow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* Matrix Table */
.matrix-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
}

.matrix-table-wrapper {
    border: 1px solid var(--color-primary, #0f766e);
    background: var(--color-primary, #0f766e);
}

.grid-header .col-criteria {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.grid-header .col-phase {
    padding: 32px;
}

.label-tiny {
    color: white;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.4em;
    
}

.col-phase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-primary, #0f766e);
    position: relative;
}

.border-white-10 { border-right: 1px solid rgba(255,255,255,0.1); }

 

.best-choice {
    position: absolute;
    top: 0;
    right: 0;
    background: white;
    color: var(--color-primary, #0f766e);
    padding: 4px 12px;
    font-size: 8px;
    font-weight: 950;
    
    letter-spacing: 0.1em;
}

.phase-name { font-size: 10px; font-weight: 900; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.phase-title { font-size: 14px; font-weight: 950; color: white;   margin: 0 0 8px 0; }
.phase-price { font-size: 20px; font-weight: 950; color: white; }
.phase-price .unit { font-size: 13px;  }

/* Body */
.matrix-body { background: white; }
.grid-row { border-bottom: 1px solid rgba(15, 118, 110, 0.1); transition: background 0.2s; }
.grid-row:hover { background: #f8fafc; }

.col-criteria-detail { padding: 16px; border-right: 1px solid rgba(15, 118, 110, 0.1); }
.feature-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.icon-row { width: 16px; height: 16px; color: var(--color-primary, #0f766e); opacity: 0.4; }
.grid-row:hover .icon-row { opacity: 1; }
.feature-title { font-size: 16px; font-weight: 700; color: var(--color-primary, #0f766e);  }
.feature-desc { font-size: 13px; font-weight: 500; color: #4b5563;  letter-spacing: 0.1em; padding-left: 26px; }

.col-val { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 16px;
    border-right: 1px solid rgba(15, 118, 110, 0.1);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #4b5563;
}


.icon-x { width: 16px; height: 16px;  color: var(--color-primary, #0f766e); }

/* Badge Row - Điều kiện áp dụng (8th row spanning 3 columns) */
.grid-badge-row {
    background: rgba(15, 118, 110, 0.05);
    border-bottom: 2px solid rgba(15, 118, 110, 0.2) !important;
}

.grid-badge-row:hover {
    background: rgba(15, 118, 110, 0.08);
}

.grid-badge-row .feature-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f766e;
}

.col-badge-span {
    grid-column: 2 / 5;
    border-right: none;
    padding: 16px;
}

.col-badge-span {
    font-size: 15px;
    font-weight: 800;
    color: #0f766e;
}

.badge-span-value {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-primary, #0f766e);
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.2);
}

.badge-small-icon {
    width: 18px;
    height: 18px;
    color: #5eead4;
    flex-shrink: 0;
}

/* CTA Row */
.grid-cta-row { background: #f8fafc; }
.col-cta { padding: 32px; display: flex; justify-content: center; }
.btn-matrix {
    width: 100%;
    background: var(--color-primary, #0f766e);
    color: white;
    border: none;
    text-decoration: none;
    padding: 16px;
    font-size: 11px;
    font-weight: 600;
    
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-matrix:hover { background: #115e59; }
.btn-highlight { background: #115e59; }
.btn-highlight:hover { background: var(--color-primary); }
.icon-btn { width: 14px; height: 14px; }

/* Metadata Footer */
.matrix-footer {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    background: transparent;
    border: none;
}

@media (min-width: 1024px) {
    .matrix-footer { 
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

.footer-box {
    border: 1px solid rgba(15, 118, 110, 0.15);
    border-radius: 12px;
}

.footer-box.box-light {
    background: white;
}

.footer-box.box-dark {
    background: var(--color-primary, #0f766e);
    color: white;
    border-color: rgba(15, 118, 110, 0.3);
}

.footer-box { padding: 20px; position: relative; overflow: hidden; }

.footer-box .box-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.footer-box .box-inner {
    position: relative;
    z-index: 1;
}

/* Box Light - Functional Subsystem (AI Management Image) */
.box-bg-light {
    background-image: url("/images-optimized/product/ai-management-hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Box Dark - Important Notice (Compare Platform Image) */
.box-bg-dark {
    background-image: url("/images/product/about-compare-platform.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.box-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.icon-footer { width: 24px; height: 24px; color: var(--color-primary, #0f766e); }
.text-teal { color: #5eead4; }

.footer-box h3 { font-size: 18px; font-weight: 950; margin: 0; }
.footer-box p { font-size: 16px; font-weight: 600; line-height: 1.6; color: #4b5563; margin-bottom: 24px; }
.box-dark p { color: rgba(255, 255, 255, 0.85); } /* Tăng từ 0.7 lên 0.85 */

.text-white-70 { color: rgba(255, 255, 255, 0.85) !important; } /* Tăng độ tương phản cho text trên nền tối */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud span {
  background: #f8fafc;
  border: 1px solid rgba(15,118,110,0.1);
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary, #0f766e);
}

.system-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 10px;
    font-weight: 900;
    
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.icon-status { width: 16px; height: 16px; }

/* Decorator */
.matrix-decorator {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0.1;
}

.scale-line {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(90deg, #0f766e, #0f766e 1px, transparent 1px, transparent 10px);
}

.scale-text { font-size: 9px; font-family: monospace; font-weight: 900; }

/* Matrix Comparison - Mobile View */
.matrix-mobile {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    overflow: visible !important;
}

.mobile-price-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    position: -webkit-sticky; /* Support cho Safari */
    position: sticky;
    top: 65px; /* Đã khớp với --header-height: 72px từ global-tokens.css */
    z-index: 1000;
    background: white;
    padding: 12px 16px;
    margin: 0 -24px 24px -24px;
    border-bottom: 2px solid #0f766e;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

@supports (backdrop-filter: blur(10px)) {
    .mobile-price-summary {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }
}

.summary-card {
    width: 100%;
    min-width: 0; /* Cho phép flex/grid co giãn */
    padding: 10px 4px;
    background: white;
    border: 1px solid rgba(15, 118, 110, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.summary-card::before {
    display: none;
}

.summary-card.card-highlight {
    border-color: var(--color-primary, #0f766e);
    background: var(--color-primary, #0f766e);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15);
}

.summary-card .p-title {
    font-size: 8px;
    font-weight: 800;
    color: var(--color-primary, #0f766e);
    margin-bottom: 2px;
    
    opacity: 1; /* Tăng opacity để đảm bảo độ tương phản */
}

.summary-card.card-highlight .p-title {
    color: rgba(255, 255, 255, 1); /* Tăng opacity lên 1 để đảm bảo độ tương phản */
}

.summary-card .p-price {
    font-size: 10px; /* Giảm từ 11px */
    font-weight: 950;
    color: var(--color-primary, #0f766e);
    
    white-space: nowrap;
}

.summary-card.card-highlight .p-price {
    color: white;
}

.summary-card .p-price::after {
    content: " VNĐ/PH";
    font-size: 5px; /* Giảm từ 6px */
    opacity: 0.6;
    font-weight: 700;
}

.btn-matrix-mini {
    width: 100%;
    padding: 6px 2px; /* Giảm padding từ 8px 4px */
    font-size: 0.65rem; /* Giảm fz tương ứng */
    font-weight: 600;
    background: white;
    border: 1.5px solid #0f766e;
    color: #0f766e;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    
}

.btn-highlight {
    background: #0f766e;
    color: white;
    border-color: #0f766e;
}

.mobile-features-list {
    margin-top: 6px;
    width: 90%;
    border: none;
    color: white;
    padding: 4px;
    font-size: 8px;
    font-weight: 950;
    
    
    cursor: pointer;
}

.summary-card.card-highlight .btn-matrix-mini {
    background: white;
    color: var(--color-primary, #0f766e);
}

.mobile-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-feature-card {
    background: white;
    border: 1px solid rgba(15, 118, 110, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.mobile-feature-card .card-head {
    background: #f1f5f9;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-primary, #0f766e);
    border-bottom: 2px solid rgba(15, 118, 110, 0.1);
    position: relative;
}

.mobile-feature-card .card-head::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--color-primary, #0f766e);
}

.mobile-feature-card .card-head::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--color-primary, #0f766e), var(--color-primary, #0f766e) 2px, transparent 2px, transparent 4px);
    opacity: 0.2;
}

.icon-card-row { width: 12px; height: 12px; opacity: 0.6; }
.mobile-feature-card h4 {
    font-size: 9px;
    font-weight: 800;
    
    letter-spacing: 0.05em;
    margin: 0;
    opacity: 0.8;
}

.card-vals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.val-item {
    padding: 12px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    border-right: 1px solid rgba(15, 118, 110, 0.05);
}

.summary-card .p-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary, #0f766e);
    
}

.summary-card .p-price::after {
    content: " VNĐ";
    font-size: 7px;
    opacity: 0.6;
    font-weight: 700;
}

.btn-matrix-mini {
    margin-top: 12px;
    width: 100%;
    background: transparent;
    border: 1px solid var(--color-primary, #0f766e);
    color: var(--color-primary, #0f766e);
    padding: 8px;
    font-size: 9px;
    font-weight: 600;
    
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-matrix-mini.btn-highlight {
    background: white;
    border-color: white;
    color: var(--color-primary, #0f766e);
}

.summary-card:not(.card-highlight):hover .btn-matrix-mini {
    background: var(--color-primary, #0f766e);
    color: white;
}

.mobile-features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.mobile-feature-card {
    background: transparent;
    border: none;
    width: 100%;
    position: relative;
    overflow: visible;
    margin-bottom: 8px; /* Thêm margin bottom để tạo khoảng cách an toàn */
}

.mobile-feature-card .card-head {
    background: #f1f5f9;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-primary, #0f766e);
    border-left: 4px solid var(--color-primary, #0f766e);
    margin-bottom: 8px;
    border-radius: 4px;
}

.icon-card-row { width: 14px; height: 14px; opacity: 0.7; }

.feature-name {
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.05em;
    margin: 0;
    color: var(--color-primary, #0f766e);
}

.card-vals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: white;
    border: 1px solid rgba(15, 118, 110, 0.1);
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.val-item {
    padding: 16px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    border-right: 1px solid rgba(15, 118, 110, 0.05);
    min-height: 70px;
    width: 100%;
}

.val-item:last-child { border-right: none; }

.val-item::before {
    content: attr(data-phase);
    font-size: 7px;
    font-weight: 950;
    color: #94a3b8;
    
    margin-bottom: 2px;
    opacity: 0.8;
}

.val-item strong {
    font-size: 9px;
    font-weight: 950;
    color: #4b5563;
    
    line-height: 1.2;
}

.val-item.item-highlight {
    background: rgba(15, 118, 110, 0.03);
}

.val-item.item-highlight strong { 
    color: var(--color-primary, #0f766e); 
}

.i-x { width: 12px; height: 12px; color: #9ca3af; opacity: 0.5; }

.mobile-cta-box {
    margin-top: 16px;
    padding: 16px;
    background: rgba(15, 118, 110, 0.03);
    border: 1px dashed rgba(15, 118, 110, 0.2);
    text-align: center;
}

.cta-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 800;
    color: var(--color-primary, #0f766e);
    
    letter-spacing: 0.05em;
}

.cta-notice svg {
    width: 12px;
    height: 12px;
}

/* Tablet & Desktop View */
.hidden-mobile { display: none; }
@media (min-width: 1024px) { 
    .hidden-mobile { display: block; } 
}

/* Mobile & Tablet Card View */
.matrix-mobile {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 1024px) {
    .matrix-mobile { display: none; }
}

/* Utilities */
.md\:hidden { 
    display: block !important;
}
@media (min-width: 1024px) {
    .md\:hidden { 
        display: none !important;
    }
}

/* ========================================
   MOBILE/TABLET SUBSCRIPTION VIEW
   (Like Mobbin Design - Border Style)
   ======================================== */

/* Mobile view (< 768px) */
.mobile-subscription-view {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    background: white;
    margin-top: 24px;
}

/* Header */
.mobile-sub-header {
    padding: 0 0 16px 0;
    border-bottom: 1px solid rgba(15, 118, 110, 0.15);
}

/* Payment Badge in Mobile View */
.mobile-subscription-view .header-right-matrix {
    width: 100%;
    margin: 0 0 20px 0;
}

.mobile-subscription-view .payment-badge-matrix {
    width: 100%;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--color-primary, #0f766e);
    color: white;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15);
    border-left: 4px solid #5eead4;
    border-radius: 8px;
}

.mobile-subscription-view .badge-content {
    display: flex;
    flex-direction: column;
}

.mobile-subscription-view .badge-progress {
    margin-top: 8px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.mobile-subscription-view .progress-bar {
    position: absolute;
    inset: 0;
    width: 50%;
    background: linear-gradient(90deg, transparent, #5eead4, transparent);
    animation: flow 3s infinite linear;
}

.mobile-subscription-view .badge-icon {
    width: 40px;
    height: 40px;
    padding: 11px;
}

.mobile-subscription-view .badge-label {
    font-size: 10px;
    margin-bottom: 4px;
    letter-spacing: 0.15em;
}

.mobile-subscription-view .badge-value {
    font-size: 16px;
    font-weight: 900;
}

.mobile-subscription-view .badge-progress {
    margin-top: 8px;
    height: 2px;
}

.mobile-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon {
    width: 18px;
    height: 18px;
    color: #0f766e;
}

.mobile-header-title span {
    font-size: 12px;
    font-weight: 700;
    color: #0f766e;
    letter-spacing: 0.02em;
}

.mobile-back-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #0f766e;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.mobile-back-btn svg {
    width: 20px;
    height: 20px;
}

.mobile-sub-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f766e;
    margin: 0;
}

.mobile-sub-placeholder {
    width: 56px;
}

/* Plan Info Section */
.mobile-plan-info {
    padding: 20px 0;
    text-align: center;
}

.plan-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 6px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.price-value {
    font-size: 28px;
    font-weight: 800;
    color: #0f766e;
}

.price-unit {
    font-size: 11px;
    font-weight: 600;
    color: rgba(15, 118, 110, 0.7);
}

.plan-description {
    font-size: 12px;
    color: rgba(15, 118, 110, 0.6);
    line-height: 1.4;
}

/* Plan Tabs - Segmented Control Style */
.mobile-plan-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
    background: rgba(15, 118, 110, 0.08);
    border-radius: 12px;
    margin-bottom: 8px;
}

.plan-tab {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 0;
padding: 6px 0px    ;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 13px;
    font-weight: 600;
    color: rgba(15, 118, 110, 0.6);
    border-right: 1px solid rgba(15, 118, 110, 0.2);
}

.plan-tab:last-child {
    border-right: none;
}

.plan-tab.tab-active {
    background: #0f766e;
    color: #fff;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
    border-right-color: rgba(255, 255, 255, 0.2);
}

.plan-tab.tab-active:last-child {
    border-right: none;
}

.popular-badge {
    display: none;
}

/* Features Section */
.mobile-features-section {
    padding: 20px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
}

.feature-item:last-child {
    border-bottom: none;
}

.check-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #0f766e;
    margin-top: 1px;
}

.cross-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: rgba(15, 118, 110, 0.3);
    margin-top: 1px;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.feature-text strong {
    font-size: 16px;
    font-weight: 600;
    color: #0f766e;
}

.feature-text span {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.35;
    font-weight: 500;
}

/* Price Display at Bottom of Features */
.feature-price-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 15px;
    margin: 20px auto 0 auto;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.06) 0%, rgba(20, 184, 166, 0.08) 100%);
    border-radius: 16px;
    border: 2px solid rgba(15, 118, 110, 0.25);
    max-width: 400px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.12);
}

.feature-price-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0f766e, transparent);
}



 

 

.price-value {
    font-size: 18px;
    font-weight: 800;
    color: #0f766e;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Subscribe CTA Button - NOT fixed, part of the flow */
.mobile-subscribe-cta {
    padding: 20px 0 0 0;
    border-top: 1px solid rgba(15, 118, 110, 0.1);
}

.btn-subscribe {
    width: 100%;
    background: #0f766e;
    color: #fff;
    border: none;
    text-decoration: none;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.btn-subscribe:hover {
    background: #115e59;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.4);
}

.btn-subscribe:active {
    transform: translateY(0);
}

.btn-subscribe svg {
    width: 18px;
    height: 18px;
}

/* Tablet view (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .mobile-subscription-view {
        width: 100%;
        margin: 0 auto 0 0;
        padding: 24px 24px 40px 24px;
    }

    .mobile-sub-header {
        padding: 0 0 24px 0;
    }

    .mobile-subscription-view .header-right-matrix {
        margin: 0 0 24px 0;
    }

    .mobile-subscription-view .payment-badge-matrix {
        padding: 24px 20px;
        box-shadow: 0 6px 16px rgba(15, 118, 110, 0.18);
        border-left: 6px solid #5eead4;
    }

    .mobile-subscription-view .badge-icon {
        width: 48px;
        height: 48px;
        padding: 13px;
    }

    .mobile-subscription-view .badge-label {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .mobile-subscription-view .badge-value {
        font-size: 18px;
    }

    .mobile-subscription-view .badge-progress {
        margin-top: 10px;
        height: 2px;
    }

    .header-icon {
        width: 20px;
        height: 20px;
    }

    .mobile-header-title span {
        font-size: 13px;
    }

    .mobile-sub-title {
        font-size: 16px;
    }

    .mobile-plan-info {
        padding: 24px 0;
    }

    .plan-name {
        font-size: 18px;
    }

    .price-value {
        font-size: 32px;
    }

    .price-unit {
        font-size: 12px;
    }

    .plan-description {
        font-size: 13px;
    }

    .mobile-plan-tabs {
        gap: 0;
    }

    .plan-tab {
        border-radius: 0;
        padding: 14px 10px;
        font-size: 14px;
        border-right: 1px solid rgba(15, 118, 110, 0.2);
    }

    .plan-tab:last-child {
        border-right: none;
    }

    .plan-tab.tab-active {
        border-right-color: rgba(255, 255, 255, 0.2);
    }

    .plan-tab.tab-active:last-child {
        border-right: none;
    }

    .feature-price-display {
   padding: 10px 15px;
        max-width: 400px;
        box-shadow: 0 6px 28px rgba(15, 118, 110, 0.15);
    }

    .price-label {
        font-size: 14px;
    }

    .price-value {
        font-size: 20px;
    }

    .popular-badge {
        display: none;
    }

    .mobile-features-section {
        padding: 24px 0;
    }

    .feature-item {
        gap: 12px;
        padding: 16px 0;
    }

    .check-icon,
    .cross-icon {
        width: 20px;
        height: 20px;
    }

    .feature-text strong {
        font-size: 16px;
    }

    .feature-text span {
        font-size: 14px;
        line-height: 1.4;
    }

    .mobile-subscribe-cta {
        padding: 24px 0 0 0;
    }

    .btn-subscribe {
        padding: 18px 24px;
        font-size: 14px;
    }
}

/* Hide old mobile view */
.matrix-mobile {
    display: none !important;
}
