/* Bang Gia Page Specific Styles */

/* 1. Header Section */
.pricing-header {
    text-align: center;
    padding: 6rem 0 3rem;
    background-color: #ffffff;
}

.pricing-header h1 {
    font-size: 2.8rem;
    color: #0f172a;
    margin-bottom: 1rem;
}

.pricing-header p {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 2.5rem;
}

/* Toggle Switch */
.pricing-toggle {
    display: inline-flex;
    background-color: #f1f5f9;
    border-radius: 30px;
    padding: 4px;
    position: relative;
    border: 1px solid #e2e8f0;
}

.pricing-toggle-btn {
    padding: 0.6rem 2rem;
    border-radius: 26px;
    font-weight: 600;
    font-size: 1rem;
    color: #475569;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.pricing-toggle-btn.active {
    color: white;
}

/* This is the active background that slides */
.pricing-toggle-bg {
    position: absolute;
    top: 4px;
    bottom: 4px;
    width: calc(50% - 4px);
    background-color: #2563eb;
    border-radius: 26px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.pricing-toggle.yearly .pricing-toggle-bg {
    transform: translateX(100%);
}

/* 2. Pricing Cards Section */
.pricing-cards-section {
    padding: 2rem 0 6rem;
    background-color: #ffffff;
}

.pricing-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pricing-card.popular {
    border: 2px solid #2563eb;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-1rem);
}
.pricing-onepro-badge-img {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10;
    max-width: 120px;
}
.pricing-badge-img {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10;
    max-width: 100px; /* Adjust if needed based on actual image size */
}

.pricing-card-header {
    margin-bottom: 2rem;
}

.pricing-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.pricing-card-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2563eb;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.pricing-card-price span {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
}

.pricing-card-price-custom {
    color: #2563eb;
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    flex-grow: 1;
}

.pricing-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
}

.pricing-card-features li img {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

.pricing-card-features li strong {
    color: #0f172a;
}

#onepro-wrapper .pricing-card-features li strong {
    color: var(--text-main);
    font-weight: 600;
}

.pricing-card-features li.highlight-feature {
    color: #2563eb;
    font-weight: 600;
}

.pricing-card-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.pricing-card-btn-outline {
    background: transparent;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.pricing-card-btn-outline:hover {
    background: #eff6ff;
}

.pricing-card-btn-solid {
    background: #2563eb;
    color: white;
    border: none;
}

.pricing-card-btn-solid:hover {
    background: #1d4ed8;
}

/* 3. Detailed Table Section */
.pricing-table-section {
    padding: 4rem 0 6rem;
    background-color: #ffffff;
}

.pricing-table-container {
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.pricing-table th, .pricing-table td {
    padding: 1.25rem 1rem;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-table th:first-child, .pricing-table td:first-child {
    text-align: left;
    width: 30%;
}

.pricing-table th {
    font-size: 1.25rem;
    color: #0f172a;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

/* Section Header Rows */
.pricing-table tr.section-header td {
    background-color: #f8fafc;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.5rem 1rem 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-table td {
    font-size: 0.95rem;
    color: #475569;
}

.pricing-table td.feature-name {
    color: #0f172a;
    font-weight: 500;
}

.pricing-table td.feature-name.highlight {
    color: #2563eb;
}

.pricing-table td img {
    width: 20px;
    height: 20px;
}

/* 4. Proposal Section */
.proposal-section {
    padding: 0 0 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.proposal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #0f172a;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.proposal-btn:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.proposal-btn img {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .pricing-cards-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 450px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
}
