.sub-container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    position: relative;
}

.sub-header-content {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: white;
    padding: 20px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.sub-header-content::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

h2 {
    font-size: 1.8rem !important;
    margin-bottom: 10px !important;
    position: relative;
    z-index: 2;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    z-index: 2;
    position: relative;
}

.plans-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.plan-card {
    flex: 1;
    color: black;
    min-width: 280px;
    max-width: 350px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--warning);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.plan-header {
    background: linear-gradient(120deg, var(--primary-light), var(--primary));
    /* color: black; */
    padding: 25px;
    text-align: center;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.plan-price {
    font-size: 2rem;
    font-weight: bold;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.plan-price small {
    font-size: 1rem;
    margin-top: 5px;
    margin-left: 5px;
}

.plan-body {
    padding: 25px;
    flex-grow: 1;
}

.plan-features {
    list-style: none;
    margin: 20px 0;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: center;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    margin-left: 10px;
}

.plan-duration {
    background: #e8f4ff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    color: var(--primary);
    margin: 15px 0;
}

.btn-select-plan {
    margin-top: auto;
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.btn-select-plan:hover {
    background: var(--secondary);
}

#checkout {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-top: 40px;
    border: 1px solid var(--border);
    max-width: 800px;
    margin: 40px auto;
}

#checkout h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

#checkout h3::before {
    content: "🔒";
}

.price-display {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 1.1rem;
    color: var(--gray);
}

.price-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
}

.discount-section {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.discount-section input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    min-width: 200px;
}

.discount-section input:focus {
    border-color: var(--primary);
    outline: none;
}

#apply-discount {
    background: var(--success);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

#apply-discount:hover {
    background: #3ab0d9;
}

.btn-pay {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(120deg, #4caf50, #2e7d32);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.btn-pay:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    justify-content: center;
}

.payment-method {
    width: 60px;
    height: 40px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.info-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: black;
}

@media (max-width: 768px) {
    .plans-container {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card {
        width: 100%;
        max-width: 400px;
    }
    
    .discount-section {
        flex-direction: column;
    }
    
    .discount-section input,
    #apply-discount {
        width: 100%;
    }
}